# \#compiler-error

**URL:** https://forums.swift.org/tag/compiler-error/955.md

[Latest](https://forums.swift.org/latest.md) · [Categories](https://forums.swift.org/categories.md) · [Tags](https://forums.swift.org/tags.md)

---

## [Profile Recorder (and projects depending on it) not compiling with Static Linux SDK](https://forums.swift.org/t/profile-recorder-and-projects-depending-on-it-not-compiling-with-static-linux-sdk/87510)

<div class="topic-metadata">

**Author:** [@craigwrong](https://forums.swift.org/u/craigwrong)\
**Replies:** 1\
**Last updated:** [June 19, 2026, 9:21pm UTC](https://forums.swift.org/t/profile-recorder-and-projects-depending-on-it-not-compiling-with-static-linux-sdk/87510 "2026-06-19T21:21:58Z")

</div>

The latest release (0.3.17) and main branch seem to be broken for static Linux builds. Looks like the lack of Glibc is addressed in some of the earlier files but not on the newer additions. The CI check appears failed b…

---

## [Intermittent(!) error "lifetime-dependent variable escapes its scope"](https://forums.swift.org/t/intermittent-error-lifetime-dependent-variable-escapes-its-scope/85617)

<div class="topic-metadata">

**Author:** [@snej](https://forums.swift.org/u/snej)\
**Replies:** 7\
**Last updated:** [March 27, 2026, 5:22pm UTC](https://forums.swift.org/t/intermittent-error-lifetime-dependent-variable-escapes-its-scope/85617 "2026-03-27T17:22:50Z")

</div>

In my project that uses the swift-binary-parsing package, I get three intermittent lifetime-related compile errors in one source file; “intermittent” in the sense that, if I build again (with no changes!) they go away fo…

---

## [Public enum inaccessible due to @\_spi isolation level error](https://forums.swift.org/t/public-enum-inaccessible-due-to-spi-isolation-level-error/82499)

<div class="topic-metadata">

**Author:** [@Drejzer](https://forums.swift.org/u/Drejzer)\
**Replies:** 1\
**Last updated:** [October 6, 2025, 12:29pm UTC](https://forums.swift.org/t/public-enum-inaccessible-due-to-spi-isolation-level-error/82499 "2025-10-06T12:29:00Z")

</div>

For context I’m working on a wrapper for a C++ library. I havepublic enum PMXEventSubscriptionRequest: Hashable, Sendable used for event registration. Well, event registration takes a struct that has that enum, a string…

---

## [Cannot use subscripts to modify @MainActor Dictionaries…?](https://forums.swift.org/t/cannot-use-subscripts-to-modify-mainactor-dictionaries/69522)

<div class="topic-metadata">

**Author:** [@wadetregaskis](https://forums.swift.org/u/wadetregaskis)\
**Replies:** 4\
**Last updated:** [January 19, 2024, 5:45am UTC](https://forums.swift.org/t/cannot-use-subscripts-to-modify-mainactor-dictionaries/69522 "2024-01-19T05:45:14Z")

</div>

@MainActor struct Example { var dict: \[String: String\] = \[:\] mutating func demonstrateBug() { Task.detached { await MainActor.run { self.dict\["Oh"\] = "no" } …
