Perfect部署到服务器工作记录


Perfect部署到服务器工作记录

========================

Welcome to Ubuntu 20.04.1 LTS (GNU/Linux 5.4.0-65-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

Welcome to Alibaba Cloud Elastic Compute Service !

Last login: Sat Mar 20 16:36:55 2021 from 47.96.60.213
root@iZwz9ir4og87e0nnfrmugkZ:~# cd ..
root@iZwz9ir4og87e0nnfrmugkZ:/# cd home
root@iZwz9ir4og87e0nnfrmugkZ:/home# ls
Code  Swift  swift-5.3.3-RELEASE-ubuntu20.04  swift-5.3.3-RELEASE-ubuntu20.04.tar.gz  swift-5.3.3-RELEASE-ubuntu20.04.tar.gz.sig  wget-log
root@iZwz9ir4og87e0nnfrmugkZ:/home# cd Code
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code# ls
Server-tencet2
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code# cd Server-tencet2
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code/Server-tencet2# swift build
error: root manifest not found
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code/Server-tencet2# ls
LICENSE  Perfect  PerfectTemplate  README.md  swift-5.3.3-RELEASE-ubuntu20.04.tar.gz  swift-5.3.3-RELEASE-ubuntu20.04.tar.gz.sig
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code/Server-tencet2# cd PerfectTemplate
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code/Server-tencet2/PerfectTemplate# swift build
Updating https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-HTTPServer-tencent.git
Fetching https://github.com/PerfectlySoft/Perfect-HTTP.git
^C
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code/Server-tencet2/PerfectTemplate# cd ..
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code/Server-tencet2# git pull
Username for 'https://e.coding.net': 3440217568@qq.com
Password for 'https://3440217568@qq.com@e.coding.net': 
remote: Enumerating objects: 9, done.
remote: Counting objects: 100% (9/9), done.
remote: Compressing objects: 100% (5/5), done.
remote: Total 7 (delta 2), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (7/7), 558 bytes | 558.00 KiB/s, done.
From https://e.coding.net/Zhangsaidong/server-tencet2/Server-tencet2
   5495386..830be1e  master     -> origin/master
Updating 5495386..830be1e
Fast-forward
 Perfect/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata | 7 +++++++
 1 file changed, 7 insertions(+)
 create mode 100644 Perfect/.swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code/Server-tencet2# ls
LICENSE  Perfect  PerfectTemplate  README.md  swift-5.3.3-RELEASE-ubuntu20.04.tar.gz  swift-5.3.3-RELEASE-ubuntu20.04.tar.gz.sig
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code/Server-tencet2# cd PerfectTemplate
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code/Server-tencet2/PerfectTemplate# swift build
Updating https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-HTTPServer-tencent.git
Fetching https://github.com/PerfectlySoft/Perfect-HTTP.git
^C
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code/Server-tencet2/PerfectTemplate# cd ..
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code/Server-tencet2# cd PerfecttTemplate
-bash: cd: PerfecttTemplate: No such file or directory
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code/Server-tencet2# cd PerfectTemplate
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code/Server-tencet2/PerfectTemplate# ls
LICENSE  LICENSE.zh_CN  Package.swift  README.md  README.zh_CN.md  Sources
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code/Server-tencet2/PerfectTemplate# ls -a
.  ..  .build  .gitignore  LICENSE  LICENSE.zh_CN  Package.swift  README.md  README.zh_CN.md  Sources  .swiftpm
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code/Server-tencet2/PerfectTemplate# rm -rf .build
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code/Server-tencet2/PerfectTemplate# ls
LICENSE  LICENSE.zh_CN  Package.swift  README.md  README.zh_CN.md  Sources
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code/Server-tencet2/PerfectTemplate# ls -a
.  ..  .gitignore  LICENSE  LICENSE.zh_CN  Package.swift  README.md  README.zh_CN.md  Sources  .swiftpm
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code/Server-tencet2/PerfectTemplate# swift build
Fetching https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-HTTPServer-tencent.git
Fetching https://github.com/PerfectlySoft/Perfect-HTTP.git
^Cerror: Failed to clone https://github.com/PerfectlySoft/Perfect-HTTP.git:
    Cloning into bare repository '/home/Code/Server-tencet2/PerfectTemplate/.build/repositories/Perfect-HTTP-3192655d'...
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code/Server-tencet2/PerfectTemplate# cd Perfect
-bash: cd: Perfect: No such file or directory
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code/Server-tencet2/PerfectTemplate# ls
LICENSE  LICENSE.zh_CN  Package.swift  README.md  README.zh_CN.md  Sources
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code/Server-tencet2/PerfectTemplate# cd Package.swift
-bash: cd: Package.swift: Not a directory
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code/Server-tencet2/PerfectTemplate# vi Package.swift
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code/Server-tencet2/PerfectTemplate# cd ..
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code/Server-tencet2# git pull
Username for 'https://e.coding.net': 3440217568@qq.com
Password for 'https://3440217568@qq.com@e.coding.net': 
remote: Enumerating objects: 7, done.
remote: Counting objects: 100% (7/7), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 3), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (4/4), 322 bytes | 322.00 KiB/s, done.
From https://e.coding.net/Zhangsaidong/server-tencet2/Server-tencet2
   830be1e..a6d4c36  master     -> origin/master
Updating 830be1e..a6d4c36
Fast-forward
 PerfectTemplate/Package.swift | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code/Server-tencet2# ls
LICENSE  Perfect  PerfectTemplate  README.md  swift-5.3.3-RELEASE-ubuntu20.04.tar.gz  swift-5.3.3-RELEASE-ubuntu20.04.tar.gz.sig
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code/Server-tencet2# cd PerfectTemplatet
-bash: cd: PerfectTemplatet: No such file or directory
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code/Server-tencet2# cd PerfectTemplate
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code/Server-tencet2/PerfectTemplate# swift build
Updating https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-HTTPServer-tencent.git
Fetching https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-HTTP-tencent.git
Fetching https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-CZlib-src-tencent.git
Fetching https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-Net-tencent.git
Fetching https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-LinuxBridge-tencent.git
Fetching https://e.coding.net/Zhangsaidong/server-tencet2/PerfectLib-tencent.git
Fetching https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-Thread-tencent.git
Fetching https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-Crypto-tencent.git
https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-Crypto-tencent.git @ 4.0.0: error: duplicate dependency 'perfectlib-tencent'
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code/Server-tencet2/PerfectTemplate# swift build
Updating https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-HTTPServer-tencent.git
Updating https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-HTTP-tencent.git
Updating https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-CZlib-src-tencent.git
Updating https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-Net-tencent.git
Updating https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-LinuxBridge-tencent.git
Updating https://e.coding.net/Zhangsaidong/server-tencet2/PerfectLib-tencent.git
Updating https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-Thread-tencent.git
Updating https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-Crypto-tencent.git
Fetching https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-COpenSSL-Linux-tencent.git
Cloning https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-COpenSSL-Linux-tencent.git
Resolving https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-COpenSSL-Linux-tencent.git at 4.0.2
Cloning https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-Net-tencent.git
Resolving https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-Net-tencent.git at 4.0.0
Cloning https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-CZlib-src-tencent.git
Resolving https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-CZlib-src-tencent.git at 0.0.4
Cloning https://e.coding.net/Zhangsaidong/server-tencet2/PerfectLib-tencent.git
Resolving https://e.coding.net/Zhangsaidong/server-tencet2/PerfectLib-tencent.git at 4.0.1
Cloning https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-LinuxBridge-tencent.git
Resolving https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-LinuxBridge-tencent.git at 3.1.0
Cloning https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-Crypto-tencent.git
Resolving https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-Crypto-tencent.git at 4.0.0
Cloning https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-HTTPServer-tencent.git
Resolving https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-HTTPServer-tencent.git at 3.0.23
Cloning https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-HTTP-tencent.git
Resolving https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-HTTP-tencent.git at 3.3.0
Cloning https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-Thread-tencent.git
Resolving https://e.coding.net/Zhangsaidong/server-tencet2/Perfect-Thread-tencent.git at 3.0.7
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev

/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetAddress.swift:97:26: warning: variable 'resultList' was never mutated; consider changing to 'let' constant
                guard result == 0, var resultList = resultListPtr else {
                                   ~~~ ^
                                   let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetNamedPipe.swift:41:7: warning: variable 'addr' was never mutated; consider changing to 'let' constant
                var addr = UnsafeMutablePointer<sockaddr_un>.allocate(capacity: 1)
                ~~~ ^
                let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetNamedPipe.swift:42:7: warning: variable 'len' was never mutated; consider changing to 'let' constant
                var len = UnsafeMutablePointer<socklen_t>.allocate(capacity: 1)
                ~~~ ^
                let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetNamedPipe.swift:70:7: warning: variable 'addr' was never mutated; consider changing to 'let' constant
                var addr = UnsafeMutablePointer<sockaddr_un>.allocate(capacity: 1)
                ~~~ ^
                let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetNamedPipe.swift:71:7: warning: variable 'len' was never mutated; consider changing to 'let' constant
                var len = UnsafeMutablePointer<socklen_t>.allocate(capacity: 1)
                ~~~ ^
                let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetNamedPipe.swift:209:7: warning: variable 'nothingPtr' was never mutated; consider changing to 'let' constant
                var nothingPtr = UnsafeMutablePointer<iovec>.allocate(capacity: 1)
                ~~~ ^
                let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetNamedPipe.swift:210:7: warning: variable 'nothing' was never mutated; consider changing to 'let' constant
                var nothing = UnsafeMutablePointer<CChar>.allocate(capacity: 1)
                ~~~ ^
                let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetNamedPipe.swift:273:7: warning: variable 'nothingPtr' was never mutated; consider changing to 'let' constant
                var nothingPtr = UnsafeMutablePointer<iovec>.allocate(capacity: 1)
                ~~~ ^
                let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetNamedPipe.swift:274:7: warning: variable 'nothing' was never mutated; consider changing to 'let' constant
                var nothing = UnsafeMutablePointer<CChar>.allocate(capacity: 1)
                ~~~ ^
                let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetAddress.swift:97:26: warning: variable 'resultList' was never mutated; consider changing to 'let' constant
                guard result == 0, var resultList = resultListPtr else {
                                   ~~~ ^
                                   let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetNamedPipe.swift:41:7: warning: variable 'addr' was never mutated; consider changing to 'let' constant
                var addr = UnsafeMutablePointer<sockaddr_un>.allocate(capacity: 1)
                ~~~ ^
                let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetNamedPipe.swift:42:7: warning: variable 'len' was never mutated; consider changing to 'let' constant
                var len = UnsafeMutablePointer<socklen_t>.allocate(capacity: 1)
                ~~~ ^
                let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetNamedPipe.swift:70:7: warning: variable 'addr' was never mutated; consider changing to 'let' constant
                var addr = UnsafeMutablePointer<sockaddr_un>.allocate(capacity: 1)
                ~~~ ^
                let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetNamedPipe.swift:71:7: warning: variable 'len' was never mutated; consider changing to 'let' constant
                var len = UnsafeMutablePointer<socklen_t>.allocate(capacity: 1)
                ~~~ ^
                let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetNamedPipe.swift:209:7: warning: variable 'nothingPtr' was never mutated; consider changing to 'let' constant
                var nothingPtr = UnsafeMutablePointer<iovec>.allocate(capacity: 1)
                ~~~ ^
                let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetNamedPipe.swift:210:7: warning: variable 'nothing' was never mutated; consider changing to 'let' constant
                var nothing = UnsafeMutablePointer<CChar>.allocate(capacity: 1)
                ~~~ ^
                let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetNamedPipe.swift:273:7: warning: variable 'nothingPtr' was never mutated; consider changing to 'let' constant
                var nothingPtr = UnsafeMutablePointer<iovec>.allocate(capacity: 1)
                ~~~ ^
                let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetNamedPipe.swift:274:7: warning: variable 'nothing' was never mutated; consider changing to 'let' constant
                var nothing = UnsafeMutablePointer<CChar>.allocate(capacity: 1)
                ~~~ ^
                let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetAddress.swift:97:26: warning: variable 'resultList' was never mutated; consider changing to 'let' constant
                guard result == 0, var resultList = resultListPtr else {
                                   ~~~ ^
                                   let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetNamedPipe.swift:41:7: warning: variable 'addr' was never mutated; consider changing to 'let' constant
                var addr = UnsafeMutablePointer<sockaddr_un>.allocate(capacity: 1)
                ~~~ ^
                let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetNamedPipe.swift:42:7: warning: variable 'len' was never mutated; consider changing to 'let' constant
                var len = UnsafeMutablePointer<socklen_t>.allocate(capacity: 1)
                ~~~ ^
                let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetNamedPipe.swift:70:7: warning: variable 'addr' was never mutated; consider changing to 'let' constant
                var addr = UnsafeMutablePointer<sockaddr_un>.allocate(capacity: 1)
                ~~~ ^
                let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetNamedPipe.swift:71:7: warning: variable 'len' was never mutated; consider changing to 'let' constant
                var len = UnsafeMutablePointer<socklen_t>.allocate(capacity: 1)
                ~~~ ^
                let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetNamedPipe.swift:209:7: warning: variable 'nothingPtr' was never mutated; consider changing to 'let' constant
                var nothingPtr = UnsafeMutablePointer<iovec>.allocate(capacity: 1)
                ~~~ ^
                let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetNamedPipe.swift:210:7: warning: variable 'nothing' was never mutated; consider changing to 'let' constant
                var nothing = UnsafeMutablePointer<CChar>.allocate(capacity: 1)
                ~~~ ^
                let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetNamedPipe.swift:273:7: warning: variable 'nothingPtr' was never mutated; consider changing to 'let' constant
                var nothingPtr = UnsafeMutablePointer<iovec>.allocate(capacity: 1)
                ~~~ ^
                let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetNamedPipe.swift:274:7: warning: variable 'nothing' was never mutated; consider changing to 'let' constant
                var nothing = UnsafeMutablePointer<CChar>.allocate(capacity: 1)
                ~~~ ^
                let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetAddress.swift:97:26: warning: variable 'resultList' was never mutated; consider changing to 'let' constant
                guard result == 0, var resultList = resultListPtr else {
                                   ~~~ ^
                                   let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetNamedPipe.swift:41:7: warning: variable 'addr' was never mutated; consider changing to 'let' constant
                var addr = UnsafeMutablePointer<sockaddr_un>.allocate(capacity: 1)
                ~~~ ^
                let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetNamedPipe.swift:42:7: warning: variable 'len' was never mutated; consider changing to 'let' constant
                var len = UnsafeMutablePointer<socklen_t>.allocate(capacity: 1)
                ~~~ ^
                let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetNamedPipe.swift:70:7: warning: variable 'addr' was never mutated; consider changing to 'let' constant
                var addr = UnsafeMutablePointer<sockaddr_un>.allocate(capacity: 1)
                ~~~ ^
                let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetNamedPipe.swift:71:7: warning: variable 'len' was never mutated; consider changing to 'let' constant
                var len = UnsafeMutablePointer<socklen_t>.allocate(capacity: 1)
                ~~~ ^
                let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetNamedPipe.swift:209:7: warning: variable 'nothingPtr' was never mutated; consider changing to 'let' constant
                var nothingPtr = UnsafeMutablePointer<iovec>.allocate(capacity: 1)
                ~~~ ^
                let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetNamedPipe.swift:210:7: warning: variable 'nothing' was never mutated; consider changing to 'let' constant
                var nothing = UnsafeMutablePointer<CChar>.allocate(capacity: 1)
                ~~~ ^
                let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetNamedPipe.swift:273:7: warning: variable 'nothingPtr' was never mutated; consider changing to 'let' constant
                var nothingPtr = UnsafeMutablePointer<iovec>.allocate(capacity: 1)
                ~~~ ^
                let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetNamedPipe.swift:274:7: warning: variable 'nothing' was never mutated; consider changing to 'let' constant
                var nothing = UnsafeMutablePointer<CChar>.allocate(capacity: 1)
                ~~~ ^
                let
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetTCPSSL.swift:219:42: warning: 'TLSv1_2_method()' is deprecated
                case .tlsV1_2: newSslCtx = SSL_CTX_new(TLSv1_2_method())
                                                       ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetTCPSSL.swift:220:42: warning: 'TLSv1_1_method()' is deprecated
                case .tlsV1_1: newSslCtx = SSL_CTX_new(TLSv1_1_method())
                                                       ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetTCPSSL.swift:221:40: warning: 'TLSv1_method()' is deprecated
                case .tlsV1: newSslCtx = SSL_CTX_new(TLSv1_method())
                                                     ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetTCPSSL.swift:219:42: warning: 'TLSv1_2_method()' is deprecated
                case .tlsV1_2: newSslCtx = SSL_CTX_new(TLSv1_2_method())
                                                       ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetTCPSSL.swift:220:42: warning: 'TLSv1_1_method()' is deprecated
                case .tlsV1_1: newSslCtx = SSL_CTX_new(TLSv1_1_method())
                                                       ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetTCPSSL.swift:221:40: warning: 'TLSv1_method()' is deprecated
                case .tlsV1: newSslCtx = SSL_CTX_new(TLSv1_method())
                                                     ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetTCPSSL.swift:219:42: warning: 'TLSv1_2_method()' is deprecated
                case .tlsV1_2: newSslCtx = SSL_CTX_new(TLSv1_2_method())
                                                       ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetTCPSSL.swift:220:42: warning: 'TLSv1_1_method()' is deprecated
                case .tlsV1_1: newSslCtx = SSL_CTX_new(TLSv1_1_method())
                                                       ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-Net-tencent/Sources/PerfectNet/NetTCPSSL.swift:221:40: warning: 'TLSv1_method()' is deprecated
                case .tlsV1: newSslCtx = SSL_CTX_new(TLSv1_method())
                                                     ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTP-tencent/Sources/PerfectHTTP/HTTPHeaders.swift:41:15: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPRequestHeader.Name' to 'Hashable' by implementing 'hash(into:)' instead
                        public var hashValue: Int {
                                   ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTP-tencent/Sources/PerfectHTTP/HTTPHeaders.swift:242:15: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPResponseHeader.Name' to 'Hashable' by implementing 'hash(into:)' instead
                        public var hashValue: Int {
                                   ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTP-tencent/Sources/PerfectHTTP/HTTPMethod.swift:67:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPMethod' to 'Hashable' by implementing 'hash(into:)' instead
                public var hashValue: Int {
                           ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTP-tencent/Sources/PerfectHTTP/HTTPHeaders.swift:41:15: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPRequestHeader.Name' to 'Hashable' by implementing 'hash(into:)' instead
                        public var hashValue: Int {
                                   ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTP-tencent/Sources/PerfectHTTP/HTTPHeaders.swift:242:15: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPResponseHeader.Name' to 'Hashable' by implementing 'hash(into:)' instead
                        public var hashValue: Int {
                                   ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTP-tencent/Sources/PerfectHTTP/HTTPMethod.swift:67:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPMethod' to 'Hashable' by implementing 'hash(into:)' instead
                public var hashValue: Int {
                           ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTP-tencent/Sources/PerfectHTTP/HTTPHeaders.swift:41:15: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPRequestHeader.Name' to 'Hashable' by implementing 'hash(into:)' instead
                        public var hashValue: Int {
                                   ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTP-tencent/Sources/PerfectHTTP/HTTPHeaders.swift:242:15: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPResponseHeader.Name' to 'Hashable' by implementing 'hash(into:)' instead
                        public var hashValue: Int {
                                   ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTP-tencent/Sources/PerfectHTTP/HTTPMethod.swift:67:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPMethod' to 'Hashable' by implementing 'hash(into:)' instead
                public var hashValue: Int {
                           ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTP-tencent/Sources/PerfectHTTP/HTTPHeaders.swift:41:15: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPRequestHeader.Name' to 'Hashable' by implementing 'hash(into:)' instead
                        public var hashValue: Int {
                                   ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTP-tencent/Sources/PerfectHTTP/HTTPHeaders.swift:242:15: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPResponseHeader.Name' to 'Hashable' by implementing 'hash(into:)' instead
                        public var hashValue: Int {
                                   ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTP-tencent/Sources/PerfectHTTP/HTTPMethod.swift:67:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPMethod' to 'Hashable' by implementing 'hash(into:)' instead
                public var hashValue: Int {
                           ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTP-tencent/Sources/PerfectHTTP/HTTPHeaders.swift:41:15: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPRequestHeader.Name' to 'Hashable' by implementing 'hash(into:)' instead
                        public var hashValue: Int {
                                   ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTP-tencent/Sources/PerfectHTTP/HTTPHeaders.swift:242:15: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPResponseHeader.Name' to 'Hashable' by implementing 'hash(into:)' instead
                        public var hashValue: Int {
                                   ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTP-tencent/Sources/PerfectHTTP/HTTPMethod.swift:67:14: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPMethod' to 'Hashable' by implementing 'hash(into:)' instead
                public var hashValue: Int {
                           ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTP-tencent/Sources/PerfectHTTP/MimeReader.swift:362:17: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
                                        let qPtr = UnsafePointer<UInt8>(byts)
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTP-tencent/Sources/PerfectHTTP/MimeReader.swift:362:38: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
                                        let qPtr = UnsafePointer<UInt8>(byts)
                                                                        ^~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTP-tencent/Sources/PerfectHTTP/MimeReader.swift:362:38: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                                        let qPtr = UnsafePointer<UInt8>(byts)
                                                                        ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTP-tencent/Sources/PerfectHTTP/MimeReader.swift:362:17: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
                                        let qPtr = UnsafePointer<UInt8>(byts)
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTP-tencent/Sources/PerfectHTTP/MimeReader.swift:362:38: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
                                        let qPtr = UnsafePointer<UInt8>(byts)
                                                                        ^~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTP-tencent/Sources/PerfectHTTP/MimeReader.swift:362:38: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                                        let qPtr = UnsafePointer<UInt8>(byts)
                                                                        ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTP-tencent/Sources/PerfectHTTP/MimeReader.swift:362:17: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
                                        let qPtr = UnsafePointer<UInt8>(byts)
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTP-tencent/Sources/PerfectHTTP/MimeReader.swift:362:38: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
                                        let qPtr = UnsafePointer<UInt8>(byts)
                                                                        ^~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTP-tencent/Sources/PerfectHTTP/MimeReader.swift:362:38: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                                        let qPtr = UnsafePointer<UInt8>(byts)
                                                                        ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTP-tencent/Sources/PerfectHTTP/MimeReader.swift:362:17: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
                                        let qPtr = UnsafePointer<UInt8>(byts)
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTP-tencent/Sources/PerfectHTTP/MimeReader.swift:362:38: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
                                        let qPtr = UnsafePointer<UInt8>(byts)
                                                                        ^~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTP-tencent/Sources/PerfectHTTP/MimeReader.swift:362:38: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                                        let qPtr = UnsafePointer<UInt8>(byts)
                                                                        ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTP-tencent/Sources/PerfectHTTP/MimeReader.swift:362:17: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
                                        let qPtr = UnsafePointer<UInt8>(byts)
                                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTP-tencent/Sources/PerfectHTTP/MimeReader.swift:362:38: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
                                        let qPtr = UnsafePointer<UInt8>(byts)
                                                                        ^~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTP-tencent/Sources/PerfectHTTP/MimeReader.swift:362:38: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                                        let qPtr = UnsafePointer<UInt8>(byts)
                                                                        ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP2/HTTP2Session.swift:73:7: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTP2Session' to 'Hashable' by implementing 'hash(into:)' instead
                var hashValue: Int { return Int(net.fd.fd) }
                    ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTPContentCompression.swift:52:21: warning: initialization of 'UnsafeMutablePointer<UInt8>' results in a dangling pointer
                        stream.next_in = UnsafeMutablePointer(mutating: bytes)
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTPContentCompression.swift:52:52: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
                        stream.next_in = UnsafeMutablePointer(mutating: bytes)
                                                                        ^~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTPContentCompression.swift:52:52: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                        stream.next_in = UnsafeMutablePointer(mutating: bytes)
                                                                        ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP2/HTTP2Session.swift:73:7: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTP2Session' to 'Hashable' by implementing 'hash(into:)' instead
                var hashValue: Int { return Int(net.fd.fd) }
                    ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTPContentCompression.swift:52:21: warning: initialization of 'UnsafeMutablePointer<UInt8>' results in a dangling pointer
                        stream.next_in = UnsafeMutablePointer(mutating: bytes)
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTPContentCompression.swift:52:52: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
                        stream.next_in = UnsafeMutablePointer(mutating: bytes)
                                                                        ^~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTPContentCompression.swift:52:52: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                        stream.next_in = UnsafeMutablePointer(mutating: bytes)
                                                                        ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP2/HTTP2Session.swift:73:7: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTP2Session' to 'Hashable' by implementing 'hash(into:)' instead
                var hashValue: Int { return Int(net.fd.fd) }
                    ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTPContentCompression.swift:52:21: warning: initialization of 'UnsafeMutablePointer<UInt8>' results in a dangling pointer
                        stream.next_in = UnsafeMutablePointer(mutating: bytes)
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTPContentCompression.swift:52:52: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
                        stream.next_in = UnsafeMutablePointer(mutating: bytes)
                                                                        ^~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTPContentCompression.swift:52:52: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                        stream.next_in = UnsafeMutablePointer(mutating: bytes)
                                                                        ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP2/HTTP2Session.swift:73:7: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTP2Session' to 'Hashable' by implementing 'hash(into:)' instead
                var hashValue: Int { return Int(net.fd.fd) }
                    ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTPContentCompression.swift:52:21: warning: initialization of 'UnsafeMutablePointer<UInt8>' results in a dangling pointer
                        stream.next_in = UnsafeMutablePointer(mutating: bytes)
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTPContentCompression.swift:52:52: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
                        stream.next_in = UnsafeMutablePointer(mutating: bytes)
                                                                        ^~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTPContentCompression.swift:52:52: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                        stream.next_in = UnsafeMutablePointer(mutating: bytes)
                                                                        ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP2/HTTP2Session.swift:73:7: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTP2Session' to 'Hashable' by implementing 'hash(into:)' instead
                var hashValue: Int { return Int(net.fd.fd) }
                    ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTPContentCompression.swift:52:21: warning: initialization of 'UnsafeMutablePointer<UInt8>' results in a dangling pointer
                        stream.next_in = UnsafeMutablePointer(mutating: bytes)
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTPContentCompression.swift:52:52: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
                        stream.next_in = UnsafeMutablePointer(mutating: bytes)
                                                                        ^~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTPContentCompression.swift:52:52: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                        stream.next_in = UnsafeMutablePointer(mutating: bytes)
                                                                        ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP2/HTTP2Session.swift:73:7: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTP2Session' to 'Hashable' by implementing 'hash(into:)' instead
                var hashValue: Int { return Int(net.fd.fd) }
                    ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTPContentCompression.swift:52:21: warning: initialization of 'UnsafeMutablePointer<UInt8>' results in a dangling pointer
                        stream.next_in = UnsafeMutablePointer(mutating: bytes)
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTPContentCompression.swift:52:52: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
                        stream.next_in = UnsafeMutablePointer(mutating: bytes)
                                                                        ^~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTPContentCompression.swift:52:52: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                        stream.next_in = UnsafeMutablePointer(mutating: bytes)
                                                                        ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP2/HTTP2Session.swift:73:7: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTP2Session' to 'Hashable' by implementing 'hash(into:)' instead
                var hashValue: Int { return Int(net.fd.fd) }
                    ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTPContentCompression.swift:52:21: warning: initialization of 'UnsafeMutablePointer<UInt8>' results in a dangling pointer
                        stream.next_in = UnsafeMutablePointer(mutating: bytes)
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTPContentCompression.swift:52:52: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
                        stream.next_in = UnsafeMutablePointer(mutating: bytes)
                                                                        ^~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTPContentCompression.swift:52:52: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                        stream.next_in = UnsafeMutablePointer(mutating: bytes)
                                                                        ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP2/HTTP2Session.swift:73:7: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTP2Session' to 'Hashable' by implementing 'hash(into:)' instead
                var hashValue: Int { return Int(net.fd.fd) }
                    ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTPContentCompression.swift:52:21: warning: initialization of 'UnsafeMutablePointer<UInt8>' results in a dangling pointer
                        stream.next_in = UnsafeMutablePointer(mutating: bytes)
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTPContentCompression.swift:52:52: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
                        stream.next_in = UnsafeMutablePointer(mutating: bytes)
                                                                        ^~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTPContentCompression.swift:52:52: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                        stream.next_in = UnsafeMutablePointer(mutating: bytes)
                                                                        ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP2/HTTP2Session.swift:73:7: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTP2Session' to 'Hashable' by implementing 'hash(into:)' instead
                var hashValue: Int { return Int(net.fd.fd) }
                    ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTPContentCompression.swift:52:21: warning: initialization of 'UnsafeMutablePointer<UInt8>' results in a dangling pointer
                        stream.next_in = UnsafeMutablePointer(mutating: bytes)
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTPContentCompression.swift:52:52: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(mutating:)'
                        stream.next_in = UnsafeMutablePointer(mutating: bytes)
                                                                        ^~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTPContentCompression.swift:52:52: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                        stream.next_in = UnsafeMutablePointer(mutating: bytes)
                                                                        ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:386:44: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
                        lastHeaderName = String(validatingUTF8: UnsafeMutableRawPointer(mutating: workingBuffer).assumingMemoryBound(to: Int8.self))
                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:386:78: note: implicit argument conversion from '[UInt8]' to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(mutating:)'
                        lastHeaderName = String(validatingUTF8: UnsafeMutableRawPointer(mutating: workingBuffer).assumingMemoryBound(to: Int8.self))
                                                                                                  ^~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:386:78: note: use the 'withUnsafeBytes' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                        lastHeaderName = String(validatingUTF8: UnsafeMutableRawPointer(mutating: workingBuffer).assumingMemoryBound(to: Int8.self))
                                                                                                  ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:467:7: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
                _ = UnsafePointer(b).withMemoryRebound(to: Int8.self, capacity: b.count) {
                    ^~~~~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:467:21: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
                _ = UnsafePointer(b).withMemoryRebound(to: Int8.self, capacity: b.count) {
                                  ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:467:21: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                _ = UnsafePointer(b).withMemoryRebound(to: Int8.self, capacity: b.count) {
                                  ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:386:44: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
                        lastHeaderName = String(validatingUTF8: UnsafeMutableRawPointer(mutating: workingBuffer).assumingMemoryBound(to: Int8.self))
                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:386:78: note: implicit argument conversion from '[UInt8]' to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(mutating:)'
                        lastHeaderName = String(validatingUTF8: UnsafeMutableRawPointer(mutating: workingBuffer).assumingMemoryBound(to: Int8.self))
                                                                                                  ^~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:386:78: note: use the 'withUnsafeBytes' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                        lastHeaderName = String(validatingUTF8: UnsafeMutableRawPointer(mutating: workingBuffer).assumingMemoryBound(to: Int8.self))
                                                                                                  ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:467:7: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
                _ = UnsafePointer(b).withMemoryRebound(to: Int8.self, capacity: b.count) {
                    ^~~~~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:467:21: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
                _ = UnsafePointer(b).withMemoryRebound(to: Int8.self, capacity: b.count) {
                                  ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:467:21: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                _ = UnsafePointer(b).withMemoryRebound(to: Int8.self, capacity: b.count) {
                                  ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:386:44: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
                        lastHeaderName = String(validatingUTF8: UnsafeMutableRawPointer(mutating: workingBuffer).assumingMemoryBound(to: Int8.self))
                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:386:78: note: implicit argument conversion from '[UInt8]' to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(mutating:)'
                        lastHeaderName = String(validatingUTF8: UnsafeMutableRawPointer(mutating: workingBuffer).assumingMemoryBound(to: Int8.self))
                                                                                                  ^~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:386:78: note: use the 'withUnsafeBytes' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                        lastHeaderName = String(validatingUTF8: UnsafeMutableRawPointer(mutating: workingBuffer).assumingMemoryBound(to: Int8.self))
                                                                                                  ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:467:7: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
                _ = UnsafePointer(b).withMemoryRebound(to: Int8.self, capacity: b.count) {
                    ^~~~~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:467:21: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
                _ = UnsafePointer(b).withMemoryRebound(to: Int8.self, capacity: b.count) {
                                  ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:467:21: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                _ = UnsafePointer(b).withMemoryRebound(to: Int8.self, capacity: b.count) {
                                  ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:386:44: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
                        lastHeaderName = String(validatingUTF8: UnsafeMutableRawPointer(mutating: workingBuffer).assumingMemoryBound(to: Int8.self))
                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:386:78: note: implicit argument conversion from '[UInt8]' to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(mutating:)'
                        lastHeaderName = String(validatingUTF8: UnsafeMutableRawPointer(mutating: workingBuffer).assumingMemoryBound(to: Int8.self))
                                                                                                  ^~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:386:78: note: use the 'withUnsafeBytes' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                        lastHeaderName = String(validatingUTF8: UnsafeMutableRawPointer(mutating: workingBuffer).assumingMemoryBound(to: Int8.self))
                                                                                                  ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:467:7: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
                _ = UnsafePointer(b).withMemoryRebound(to: Int8.self, capacity: b.count) {
                    ^~~~~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:467:21: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
                _ = UnsafePointer(b).withMemoryRebound(to: Int8.self, capacity: b.count) {
                                  ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:467:21: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                _ = UnsafePointer(b).withMemoryRebound(to: Int8.self, capacity: b.count) {
                                  ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:386:44: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
                        lastHeaderName = String(validatingUTF8: UnsafeMutableRawPointer(mutating: workingBuffer).assumingMemoryBound(to: Int8.self))
                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:386:78: note: implicit argument conversion from '[UInt8]' to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(mutating:)'
                        lastHeaderName = String(validatingUTF8: UnsafeMutableRawPointer(mutating: workingBuffer).assumingMemoryBound(to: Int8.self))
                                                                                                  ^~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:386:78: note: use the 'withUnsafeBytes' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                        lastHeaderName = String(validatingUTF8: UnsafeMutableRawPointer(mutating: workingBuffer).assumingMemoryBound(to: Int8.self))
                                                                                                  ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:467:7: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
                _ = UnsafePointer(b).withMemoryRebound(to: Int8.self, capacity: b.count) {
                    ^~~~~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:467:21: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
                _ = UnsafePointer(b).withMemoryRebound(to: Int8.self, capacity: b.count) {
                                  ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:467:21: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                _ = UnsafePointer(b).withMemoryRebound(to: Int8.self, capacity: b.count) {
                                  ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:386:44: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
                        lastHeaderName = String(validatingUTF8: UnsafeMutableRawPointer(mutating: workingBuffer).assumingMemoryBound(to: Int8.self))
                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:386:78: note: implicit argument conversion from '[UInt8]' to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(mutating:)'
                        lastHeaderName = String(validatingUTF8: UnsafeMutableRawPointer(mutating: workingBuffer).assumingMemoryBound(to: Int8.self))
                                                                                                  ^~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:386:78: note: use the 'withUnsafeBytes' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                        lastHeaderName = String(validatingUTF8: UnsafeMutableRawPointer(mutating: workingBuffer).assumingMemoryBound(to: Int8.self))
                                                                                                  ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:467:7: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
                _ = UnsafePointer(b).withMemoryRebound(to: Int8.self, capacity: b.count) {
                    ^~~~~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:467:21: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
                _ = UnsafePointer(b).withMemoryRebound(to: Int8.self, capacity: b.count) {
                                  ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:467:21: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                _ = UnsafePointer(b).withMemoryRebound(to: Int8.self, capacity: b.count) {
                                  ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:386:44: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
                        lastHeaderName = String(validatingUTF8: UnsafeMutableRawPointer(mutating: workingBuffer).assumingMemoryBound(to: Int8.self))
                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:386:78: note: implicit argument conversion from '[UInt8]' to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(mutating:)'
                        lastHeaderName = String(validatingUTF8: UnsafeMutableRawPointer(mutating: workingBuffer).assumingMemoryBound(to: Int8.self))
                                                                                                  ^~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:386:78: note: use the 'withUnsafeBytes' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                        lastHeaderName = String(validatingUTF8: UnsafeMutableRawPointer(mutating: workingBuffer).assumingMemoryBound(to: Int8.self))
                                                                                                  ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:467:7: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
                _ = UnsafePointer(b).withMemoryRebound(to: Int8.self, capacity: b.count) {
                    ^~~~~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:467:21: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
                _ = UnsafePointer(b).withMemoryRebound(to: Int8.self, capacity: b.count) {
                                  ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:467:21: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                _ = UnsafePointer(b).withMemoryRebound(to: Int8.self, capacity: b.count) {
                                  ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:386:44: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
                        lastHeaderName = String(validatingUTF8: UnsafeMutableRawPointer(mutating: workingBuffer).assumingMemoryBound(to: Int8.self))
                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:386:78: note: implicit argument conversion from '[UInt8]' to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(mutating:)'
                        lastHeaderName = String(validatingUTF8: UnsafeMutableRawPointer(mutating: workingBuffer).assumingMemoryBound(to: Int8.self))
                                                                                                  ^~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:386:78: note: use the 'withUnsafeBytes' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                        lastHeaderName = String(validatingUTF8: UnsafeMutableRawPointer(mutating: workingBuffer).assumingMemoryBound(to: Int8.self))
                                                                                                  ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:467:7: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
                _ = UnsafePointer(b).withMemoryRebound(to: Int8.self, capacity: b.count) {
                    ^~~~~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:467:21: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
                _ = UnsafePointer(b).withMemoryRebound(to: Int8.self, capacity: b.count) {
                                  ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:467:21: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                _ = UnsafePointer(b).withMemoryRebound(to: Int8.self, capacity: b.count) {
                                  ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:386:44: warning: initialization of 'UnsafeMutableRawPointer' results in a dangling pointer
                        lastHeaderName = String(validatingUTF8: UnsafeMutableRawPointer(mutating: workingBuffer).assumingMemoryBound(to: Int8.self))
                                                                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:386:78: note: implicit argument conversion from '[UInt8]' to 'UnsafeRawPointer' produces a pointer valid only for the duration of the call to 'init(mutating:)'
                        lastHeaderName = String(validatingUTF8: UnsafeMutableRawPointer(mutating: workingBuffer).assumingMemoryBound(to: Int8.self))
                                                                                                  ^~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:386:78: note: use the 'withUnsafeBytes' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                        lastHeaderName = String(validatingUTF8: UnsafeMutableRawPointer(mutating: workingBuffer).assumingMemoryBound(to: Int8.self))
                                                                                                  ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:467:7: warning: initialization of 'UnsafePointer<UInt8>' results in a dangling pointer
                _ = UnsafePointer(b).withMemoryRebound(to: Int8.self, capacity: b.count) {
                    ^~~~~~~~~~~~~~~~
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:467:21: note: implicit argument conversion from '[UInt8]' to 'UnsafePointer<UInt8>' produces a pointer valid only for the duration of the call to 'init(_:)'
                _ = UnsafePointer(b).withMemoryRebound(to: Int8.self, capacity: b.count) {
                                  ^
/home/Code/Server-tencet2/PerfectTemplate/.build/checkouts/Perfect-HTTPServer-tencent/Sources/PerfectHTTPServer/HTTP11/HTTP11Request.swift:467:21: note: use the 'withUnsafeBufferPointer' method on Array in order to explicitly convert argument to buffer pointer valid for a defined scope
                _ = UnsafePointer(b).withMemoryRebound(to: Int8.self, capacity: b.count) {
                                  ^
[88/88] Linking PerfectTemplate
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code/Server-tencet2/PerfectTemplate# .build/debug/PerfectTemplate
[INFO] Starting HTTP server localhost on 0.0.0.0:8181
^C
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code/Server-tencet2/PerfectTemplate# cd ..
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code/Server-tencet2# cd ..
root@iZwz9ir4og87e0nnfrmugkZ:/home/Code# cd ..
root@iZwz9ir4og87e0nnfrmugkZ:/home# mkdir WebService
root@iZwz9ir4og87e0nnfrmugkZ:/home# cd WebService
root@iZwz9ir4og87e0nnfrmugkZ:/home/WebService# swift package init --type=executable
Creating executable package: WebService
Creating Package.swift
Creating README.md
Creating .gitignore
Creating Sources/
Creating Sources/WebService/main.swift
Creating Tests/
Creating Tests/LinuxMain.swift
Creating Tests/WebServiceTests/
Creating Tests/WebServiceTests/WebServiceTests.swift
Creating Tests/WebServiceTests/XCTestManifests.swift
root@iZwz9ir4og87e0nnfrmugkZ:/home/WebService# 

文章作者: 张赛东
文章链接: https://zsd.name
版权声明: 本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 张赛东 !
评论
  目录