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

The Vapor example uses deprecated APIs and should be updated #61

Open
euanh opened this issue Feb 14, 2025 · 0 comments
Open

The Vapor example uses deprecated APIs and should be updated #61

euanh opened this issue Feb 14, 2025 · 0 comments
Labels
area/documentation Improvements or additions to documentation area/testing Improvements to tests. good first issue Good for newcomers

Comments

@euanh
Copy link
Collaborator

euanh commented Feb 14, 2025

/home/runner/work/swift-container-plugin/swift-container-plugin/Examples/HelloWorldVapor/Sources/main.swift:20:15: warning: 'init(_:_:)' is deprecated: Migrate to using the async APIs. Use use Application.make(_:_:) instead
18 | let myos = ProcessInfo.processInfo.operatingSystemVersionString
19 | 
20 | let app = try Application(.detect())
   |               `- warning: 'init(_:_:)' is deprecated: Migrate to using the async APIs. Use use Application.make(_:_:) instead
21 | app.http.server.configuration.hostname = "0.0.0.0"
22 | defer { app.shutdown() }
[2262/2265] Compiling hello_world main.swift
/home/runner/work/swift-container-plugin/swift-container-plugin/Examples/HelloWorldVapor/Sources/main.swift:20:15: warning: 'init(_:_:)' is deprecated: Migrate to using the async APIs. Use use Application.make(_:_:) instead
18 | let myos = ProcessInfo.processInfo.operatingSystemVersionString
19 | 
20 | let app = try Application(.detect())
   |               `- warning: 'init(_:_:)' is deprecated: Migrate to using the async APIs. Use use Application.make(_:_:) instead
21 | app.http.server.configuration.hostname = "0.0.0.0"
22 | defer { app.shutdown() }
[2263/2266] Wrapping AST for hello-world for debugging
[2264/2266] Write Objects.LinkFileList
clang: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
@euanh euanh added area/documentation Improvements or additions to documentation area/testing Improvements to tests. good first issue Good for newcomers semver/none No version bump required. labels Feb 14, 2025
@euanh euanh removed the semver/none No version bump required. label Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/documentation Improvements or additions to documentation area/testing Improvements to tests. good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant