Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.5.0 fails to build on Linux #302

Open
3 tasks done
finestructure opened this issue Nov 12, 2024 · 0 comments
Open
3 tasks done

1.5.0 fails to build on Linux #302

finestructure opened this issue Nov 12, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@finestructure
Copy link
Contributor

Description

root@orbstack:/host# git rev-parse @
a24a0f1037b5c65885876be89f598b6f1e70f21c
root@orbstack:/host# swift --version
Swift version 6.0.2 (swift-6.0.2-RELEASE)
Target: aarch64-unknown-linux-gnu
root@orbstack:/host# swift build
warning: 'combine-schedulers': /host/.build/checkouts/combine-schedulers/[email protected]:5:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
 3 | import PackageDescription
 4 | 
 5 | let package = Package(
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
 6 |   name: "combine-schedulers",
 7 |   platforms: [
warning: 'swift-clocks': /host/.build/checkouts/swift-clocks/[email protected]:5:15: warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
 3 | import PackageDescription
 4 | 
 5 | let package = Package(
   |               |- warning: 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageVersions:cLanguageStandard:cxxLanguageStandard:)' is deprecated: replaced by 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)'
   |               `- note: use 'init(name:defaultLocalization:platforms:pkgConfig:providers:products:dependencies:targets:swiftLanguageModes:cLanguageStandard:cxxLanguageStandard:)' instead
 6 |   name: "swift-clocks",
 7 |   // NB: While the `Clock` protocol is iOS 16+, etc., the package should support earlier platforms
warning: 'host': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/Tests/DependenciesMacrosPluginTests/DependenciesMacros.xctestplan
Building for debugging...
/host/Sources/Dependencies/DependencyValues.swift:549:24: error: cannot find 'previewValues' in scope
547 |             value = CachedValues.$isAccessingCachedDependencies.withValue(true) {
548 |               #if compiler(>=6)
549 |                 return previewValues[key]
    |                        `- error: cannot find 'previewValues' in scope
550 |               #else
551 |                 return Key.previewValue
[26/81] Compiling SwiftSyntax Utils.swift

Checklist

  • I have determined whether this bug is also reproducible in a vanilla SwiftUI project.
  • If possible, I've reproduced the issue using the main branch of this package.
  • This issue hasn't been addressed in an existing GitHub issue or discussion.

Expected behavior

No response

Actual behavior

No response

Steps to reproduce

No response

Dependencies version information

1.5.0

Destination operating system

Linux

Xcode version information

No response

Swift Compiler version information

Swift version 6.0.2 (swift-6.0.2-RELEASE)
Target: aarch64-unknown-linux-gnu
@finestructure finestructure added the bug Something isn't working label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant