+ pwd /home/katei/ghq/github.com/omochi/swift-deps-rebuild-bug + cd AppPackage + swift package clean + swift build Building for debugging... [30/30] Linking app Build complete! (3.71s) + cd .. + cd ToyboxPackage/Sources/ToyboxCore + sed 's/a: Int = 0/a: Int = 0, b: Int = 0/' Debug.swift + mv -f Debug.2.swift Debug.swift + cd ../../../AppPackage + swift build Building for debugging... error: link command failed with exit code 1 (use -v to see invocation) /home/katei/ghq/github.com/omochi/swift-deps-rebuild-bug/AppPackage/Sources/AppModule/App.swift:9: error: undefined reference to '$s10ToyboxCore8toyDebug1aySi_tF' clang: error: linker command failed with exit code 1 (use -v to see invocation) [14/16] Linking codegen