Reproduction:
git clone --single-branch -b hugo-forum-topic-36924 https://github.com/jmooring/hugo-testing hugo-forum-topic-36924
cd hugo-forum-topic-36924
With hugo 0.110.0, I can build this cloned test site without problems:
$ hugo
Start building sites …
hugo v0.110.0-e32a493b7826d02763c3b79623952e625402b168+extended windows/amd64 BuildDate=2023-01-17T12:16:09Z VendorInfo=gohugoio
| EN
-------------------+-----
Pages | 60
Paginator pages | 0
Non-page files | 2
Static files | 0
Processed images | 0
Aliases | 0
Sitemaps | 0
Cleaned | 0
Total in 528 ms
With hugo 0.111.2, however, building the test site fails:
$ hugo
Start building sites …
hugo v0.111.2-4164f8fef9d71f50ef3962897e319ab6219a1dad+extended windows/amd64 BuildDate=2023-03-05T12:32:20Z VendorInfo=gohugoio
Error: Error building site: "C:\path\to\hugo-forum-topic-36924\content\diagrams\activity-diagram-actdiag-from-file\index.md:9:1": failed to extract shortcode: unclosed shortcode "kroki"
Total in 335 ms