你好rust

第一次安装rust,记录一下笔记。

几年前就听说过rust,自己一直是个c++爱好者,所以比较抵触rust,早年还有什么rust向上突破群。一直比较抵触,直到这几年rust已经渐渐深入到linux内核、云原生可观测以及zend社区当中,所以渐渐也接受了rust。

独立安装rust:

wget https://static.rust-lang.org/dist/rust-1.65.0-x86_64-unknown-linux-gnu.tar.gz
tar zxvf rust-1.65.0-x86_64-unknown-linux-gnu.tar.gz
cd rust-1.65.0-x86_64-unknown-linux-gnu
./install.sh --prefix=/usr

如果出现错误:

PHP_CONFIG=php-config cargo build --release

info: syncing channel updates for '1.65-x86_64-unknown-linux-gnu'

error: could not download file from 'https://static.rust-lang.org/dist/channel-rust-1.65.toml.sha256' to '/root/.rustup/tmp/rjx7lqowlbfhxgt8_file': error during download: [60] SSL peer certificate or SSH remote key was not OK (SSL certificate problem: unable to get local issuer certificate)

make: *** [Makefile:201: cargo_build] Error 1

可以对ca 证书更新:

mkdir -p /root/backup/openssl/bin/openssl
mv /usr/local/bin/openssl /root/backup/openssl/bin/openssl
mv /usr/local/ssl /root/backup/openssl/
update-ca-certificates

更新成功后,更新依赖

root@zhanglei-HP-ZHAN-66-Pro-14-inch-G5-Notebook-PC:/home/zhanglei/swoole-monitor/skywalking-php# make -j4
PHP_CONFIG=php-config cargo build --release 
    Updating `ustc` index
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to crates-io.proxy.ustclug.org:443 )
  Downloaded tonic v0.8.3 (registry `ustc`)
  Downloaded futures-core v0.3.28 (registry `ustc`)
  Downloaded futures-task v0.3.28 (registry `ustc`)
  Downloaded glob v0.3.1 (registry `ustc`)
  Downloaded heck v0.4.1 (registry `ustc`)
  Downloaded httparse v1.8.0 (registry `ustc`)
  Downloaded idna v0.4.0 (registry `ustc`)
  Downloaded libloading v0.7.4 (registry `ustc`)
  Downloaded itoa v1.0.9 (registry `ustc`)
  Downloaded log v0.4.19 (registry `ustc`)
  Downloaded memchr v2.5.0 (registry `ustc`)
  Downloaded mio v0.8.8 (registry `ustc`)
  Downloaded num_cpus v1.16.0 (registry `ustc`)
  Downloaded parking_lot v0.12.1 (registry `ustc`)
  Downloaded phper-macros v0.12.0 (registry `ustc`)
  Downloaded petgraph v0.6.3 (registry `ustc`)
  Downloaded pin-project-lite v0.2.10 (registry `ustc`)
  Downloaded addr2line v0.20.0 (registry `ustc`)
  Downloaded fixedbitset v0.4.2 (registry `ustc`)
  Downloaded quote v1.0.32 (registry `ustc`)
  Downloaded rustc_version v0.4.0 (registry `ustc`)
  Downloaded regex v1.9.1 (registry `ustc`)
  Downloaded rustversion v1.0.14 (registry `ustc`)
  Downloaded semver v1.0.18 (registry `ustc`)
  Downloaded regex-syntax v0.7.4 (registry `ustc`)
  Downloaded signal-hook-registry v1.4.1 (registry `ustc`)
  Downloaded serde_path_to_error v0.1.14 (registry `ustc`)
  Downloaded socket2 v0.4.9 (registry `ustc`)
  Downloaded thiserror-impl v1.0.44 (registry `ustc`)
  Downloaded sync_wrapper v0.1.2 (registry `ustc`)
  Downloaded tinyvec v1.6.0 (registry `ustc`)
  Downloaded tokio-macros v2.1.0 (registry `ustc`)
  Downloaded slab v0.4.8 (registry `ustc`)
  Downloaded multimap v0.8.3 (registry `ustc`)
  Downloaded matchit v0.7.1 (registry `ustc`)
  Downloaded indexmap v2.0.0 (registry `ustc`)
  Downloaded libz-sys v1.1.12 (registry `ustc`)
  Downloaded linux-raw-sys v0.4.5 (registry `ustc`)
  Downloaded itertools v0.10.5 (registry `ustc`)
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to static-crates-io.proxy.ustclug.org:443 )
  Downloaded lazy_static v1.4.0 (registry `ustc`)
  Downloaded lazycell v1.3.0 (registry `ustc`)
  Downloaded lock_api v0.4.10 (registry `ustc`)
  Downloaded matchers v0.1.0 (registry `ustc`)
  Downloaded match_cfg v0.1.0 (registry `ustc`)
  Downloaded mime v0.3.17 (registry `ustc`)
  Downloaded miniz_oxide v0.7.1 (registry `ustc`)
  Downloaded minimal-lexical v0.2.1 (registry `ustc`)
  Downloaded nu-ansi-term v0.46.0 (registry `ustc`)
  Downloaded overload v0.1.1 (registry `ustc`)
  Downloaded nom v7.1.3 (registry `ustc`)
  Downloaded object v0.31.1 (registry `ustc`)
  Downloaded equivalent v1.0.1 (registry `ustc`)
  Downloaded libc v0.2.147 (registry `ustc`)
  Downloaded unicode-normalization v0.1.22 (registry `ustc`)
  Downloaded untrusted v0.7.1 (registry `ustc`)
  Downloaded url v2.4.0 (registry `ustc`)
  Downloaded uuid v1.4.1 (registry `ustc`)
  Downloaded vcpkg v0.2.15 (registry `ustc`)
  Downloaded want v0.3.1 (registry `ustc`)
  Downloaded webpki v0.22.0 (registry `ustc`)
  Downloaded which v4.4.0 (registry `ustc`)
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to static-crates-io.proxy.ustclug.org:443 )
  Downloaded async-stream-impl v0.3.5 (registry `ustc`)
  Downloaded adler v1.0.2 (registry `ustc`)
  Downloaded axum-core v0.3.4 (registry `ustc`)
  Downloaded bincode v1.3.3 (registry `ustc`)
  Downloaded bytes v1.4.0 (registry `ustc`)
  Downloaded cfg-if v1.0.0 (registry `ustc`)
  Downloaded derive_more v0.99.17 (registry `ustc`)
  Downloaded prost v0.11.9 (registry `ustc`)
  Downloaded portable-atomic v1.4.2 (registry `ustc`)
  Downloaded once_cell v1.18.0 (registry `ustc`)
  Downloaded axum v0.6.19 (registry `ustc`)
  Downloaded backtrace v0.3.68 (registry `ustc`)
  Downloaded base64 v0.13.1 (registry `ustc`)
  Downloaded bindgen v0.63.0 (registry `ustc`)
  Downloaded form_urlencoded v1.2.0 (registry `ustc`)
  Downloaded fnv v1.0.7 (registry `ustc`)
  Downloaded cexpr v0.6.0 (registry `ustc`)
  Downloaded futures-io v0.3.28 (registry `ustc`)
  Downloaded futures-channel v0.3.28 (registry `ustc`)
  Downloaded futures-sink v0.3.28 (registry `ustc`)
  Downloaded futures-macro v0.3.28 (registry `ustc`)
  Downloaded futures-util v0.3.28 (registry `ustc`)
  Downloaded getrandom v0.2.10 (registry `ustc`)
  Downloaded gimli v0.27.3 (registry `ustc`)
  Downloaded h2 v0.3.20 (registry `ustc`)
  Downloaded hashbrown v0.12.3 (registry `ustc`)
  Downloaded hashbrown v0.14.0 (registry `ustc`)
  Downloaded hostname v0.3.1 (registry `ustc`)
  Downloaded http v0.2.9 (registry `ustc`)
  Downloaded http-body v0.4.5 (registry `ustc`)
  Downloaded httpdate v1.0.2 (registry `ustc`)
  Downloaded hyper v0.14.27 (registry `ustc`)
  Downloaded hyper-timeout v0.4.1 (registry `ustc`)
  Downloaded pin-utils v0.1.0 (registry `ustc`)
  Downloaded pin-project-internal v1.1.2 (registry `ustc`)
  Downloaded pin-project v1.1.2 (registry `ustc`)
  Downloaded phper-sys v0.12.1 (registry `ustc`)
  Downloaded phper-alloc v0.12.0 (registry `ustc`)
  Downloaded phper v0.12.0 (registry `ustc`)
  Downloaded percent-encoding v2.3.0 (registry `ustc`)
  Downloaded peeking_take_while v0.1.2 (registry `ustc`)
  Downloaded parking_lot_core v0.9.8 (registry `ustc`)
  Downloaded indexmap v1.9.3 (registry `ustc`)
  Downloaded portable-atomic v0.3.20 (registry `ustc`)
  Downloaded pkg-config v0.3.27 (registry `ustc`)
  Downloaded rustc-demangle v0.1.23 (registry `ustc`)
  Downloaded phper-build v0.12.0 (registry `ustc`)
  Downloaded prettyplease v0.1.25 (registry `ustc`)
  Downloaded tracing v0.1.37 (registry `ustc`)
  Downloaded tempfile v3.7.0 (registry `ustc`)
  Downloaded tokio-util v0.7.8 (registry `ustc`)
  Downloaded tonic-build v0.8.4 (registry `ustc`)
  Downloaded tower v0.4.13 (registry `ustc`)
  Downloaded tower-service v0.3.2 (registry `ustc`)
  Downloaded tracing-attributes v0.1.26 (registry `ustc`)
  Downloaded tower-layer v0.3.2 (registry `ustc`)
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to static-crates-io.proxy.ustclug.org:443 )
warning: spurious network error (2 tries remaining): [35] SSL connect error (OpenSSL SSL_connect: Connection reset by peer in connection to static-crates-io.proxy.ustclug.org:443 )
  Downloaded tracing-core v0.1.31 (registry `ustc`)
  Downloaded tracing-log v0.1.3 (registry `ustc`)
  Downloaded tracing-futures v0.2.5 (registry `ustc`)
  Downloaded try-lock v0.2.4 (registry `ustc`)
  Downloaded tracing-subscriber v0.3.17 (registry `ustc`)
  Downloaded unicode-bidi v0.3.13 (registry `ustc`)
  Downloaded unicode-ident v1.0.11 (registry `ustc`)
  Downloaded rand_core v0.6.4 (registry `ustc`)
  Downloaded bytesize v1.2.0 (registry `ustc`)
  Downloaded time-core v0.1.1 (registry `ustc`)
  Downloaded anyhow v1.0.72 (registry `ustc`)
  Downloaded thread_local v1.1.4 (registry `ustc`)
  Downloaded spin v0.5.2 (registry `ustc`)
  Downloaded async-trait v0.1.72 (registry `ustc`)
  Downloaded async-stream v0.3.5 (registry `ustc`)
  Downloaded ring v0.16.20 (registry `ustc`)
  Downloaded rustls v0.20.8 (registry `ustc`)
  Downloaded systemstat v0.2.3 (registry `ustc`)
  Downloaded thiserror v1.0.44 (registry `ustc`)
  Downloaded aho-corasick v1.0.2 (registry `ustc`)
  Downloaded time v0.3.23 (registry `ustc`)
  Downloaded tinyvec_macros v0.1.1 (registry `ustc`)
  Downloaded tokio-io-timeout v1.2.0 (registry `ustc`)
  Downloaded tokio-rustls v0.23.4 (registry `ustc`)
  Downloaded tokio-stream v0.1.14 (registry `ustc`)
  Downloaded bitflags v1.3.2 (registry `ustc`)
  Downloaded bitflags v2.3.3 (registry `ustc`)
  Downloaded clang-sys v1.6.1 (registry `ustc`)
  Downloaded cc v1.0.80 (registry `ustc`)
  Downloaded convert_case v0.4.0 (registry `ustc`)
  Downloaded dashmap v5.5.0 (registry `ustc`)
  Downloaded tokio v1.29.1 (registry `ustc`)
warning: spurious network error (2 tries remaining): [56] Failure when receiving data from the peer (Connection died, tried 5 times before giving up)
warning: spurious network error (2 tries remaining): [56] Failure when receiving data from the peer (Connection died, tried 5 times before giving up)
warning: spurious network error (2 tries remaining): [56] Failure when receiving data from the peer (Connection died, tried 5 times before giving up)
warning: spurious network error (2 tries remaining): [56] Failure when receiving data from the peer (Connection died, tried 5 times before giving up)
warning: spurious network error (2 tries remaining): [56] Failure when receiving data from the peer (Connection died, tried 5 times before giving up)
warning: spurious network error (2 tries remaining): [56] Failure when receiving data from the peer (Connection died, tried 5 times before giving up)
warning: spurious network error (2 tries remaining): [56] Failure when receiving data from the peer (Connection died, tried 5 times before giving up)
warning: spurious network error (2 tries remaining): [56] Failure when receiving data from the peer (Connection died, tried 5 times before giving up)
warning: spurious network error (2 tries remaining): [56] Failure when receiving data from the peer (Connection died, tried 5 times before giving up)
warning: spurious network error (2 tries remaining): [56] Failure when receiving data from the peer (Connection died, tried 5 times before giving up)
warning: spurious network error (2 tries remaining): [56] Failure when receiving data from the peer (Connection died, tried 5 times before giving up)
  Downloaded prost-derive v0.11.9 (registry `ustc`)
  Downloaded smallvec v1.11.0 (registry `ustc`)
  Downloaded fastrand v2.0.0 (registry `ustc`)
  Downloaded either v1.9.0 (registry `ustc`)
  Downloaded autocfg v1.1.0 (registry `ustc`)
  Downloaded ppv-lite86 v0.2.17 (registry `ustc`)
  Downloaded proc-macro2 v1.0.66 (registry `ustc`)
  Downloaded prost-build v0.11.9 (registry `ustc`)
  Downloaded prost-types v0.11.9 (registry `ustc`)
  Downloaded syn v1.0.109 (registry `ustc`)
  Downloaded rand_chacha v0.3.1 (registry `ustc`)
  Downloaded base64 v0.21.2 (registry `ustc`)
  Downloaded rustc-hash v1.1.0 (registry `ustc`)
  Downloaded rand v0.8.5 (registry `ustc`)
  Downloaded regex-automata v0.1.10 (registry `ustc`)
  Downloaded regex-syntax v0.6.29 (registry `ustc`)
  Downloaded syn v2.0.28 (registry `ustc`)
  Downloaded rustix v0.38.4 (registry `ustc`)
  Downloaded regex-automata v0.3.4 (registry `ustc`)
  Downloaded shlex v1.1.0 (registry `ustc`)
  Downloaded serde_urlencoded v0.7.1 (registry `ustc`)
  Downloaded serde_json v1.0.104 (registry `ustc`)
  Downloaded sct v0.7.0 (registry `ustc`)
  Downloaded serde v1.0.180 (registry `ustc`)
  Downloaded scopeguard v1.2.0 (registry `ustc`)
  Downloaded ryu v1.0.15 (registry `ustc`)
  Downloaded rustls-pemfile v1.0.3 (registry `ustc`)
  Downloaded sharded-slab v0.1.4 (registry `ustc`)
  Downloaded skywalking v0.8.0 (registry `ustc`)
  Downloaded serde_derive v1.0.180 (registry `ustc`)
  Downloaded 179 crates (21.5 MB) in 26.15s (largest was `ring` at 5.1 MB)
   Compiling libc v0.2.147
   Compiling proc-macro2 v1.0.66
   Compiling unicode-ident v1.0.11
   Compiling autocfg v1.1.0
   Compiling syn v1.0.109
   Compiling either v1.9.0
   Compiling cfg-if v1.0.0
   Compiling regex-syntax v0.7.4
   Compiling once_cell v1.18.0
   Compiling log v0.4.19
   Compiling lazy_static v1.4.0
   Compiling glob v0.3.1
   Compiling memchr v2.5.0
   Compiling pin-project-lite v0.2.10
   Compiling minimal-lexical v0.2.1
   Compiling libloading v0.7.4
   Compiling bindgen v0.63.0
   Compiling bytes v1.4.0
   Compiling smallvec v1.11.0
   Compiling parking_lot_core v0.9.8
   Compiling shlex v1.1.0
   Compiling rustc-hash v1.1.0
   Compiling lazycell v1.3.0
   Compiling scopeguard v1.2.0
   Compiling futures-core v0.3.28
   Compiling bitflags v1.3.2
   Compiling peeking_take_while v0.1.2
   Compiling tracing-core v0.1.31
   Compiling anyhow v1.0.72
   Compiling futures-task v0.3.28
   Compiling itertools v0.10.5
   Compiling rustversion v1.0.14
   Compiling futures-util v0.3.28
   Compiling indexmap v1.9.3
   Compiling clang-sys v1.6.1
   Compiling lock_api v0.4.10
   Compiling tokio v1.29.1
   Compiling slab v0.4.8
   Compiling itoa v1.0.9
   Compiling nom v7.1.3
   Compiling mio v0.8.8
   Compiling quote v1.0.32
   Compiling socket2 v0.4.9
   Compiling num_cpus v1.16.0
   Compiling signal-hook-registry v1.4.1
   Compiling cc v1.0.80
   Compiling syn v2.0.28
   Compiling which v4.4.0
   Compiling parking_lot v0.12.1
   Compiling fnv v1.0.7
   Compiling hashbrown v0.12.3
   Compiling pin-utils v0.1.0
   Compiling http v0.2.9
   Compiling getrandom v0.2.10
   Compiling futures-sink v0.3.28
   Compiling regex-automata v0.3.4
   Compiling rustix v0.38.4
   Compiling serde v1.0.180
   Compiling spin v0.5.2
   Compiling httparse v1.8.0
   Compiling serde_derive v1.0.180
   Compiling futures-channel v0.3.28
   Compiling linux-raw-sys v0.4.5
   Compiling prettyplease v0.1.25
   Compiling ring v0.16.20
   Compiling tower-service v0.3.2
   Compiling bitflags v2.3.3
   Compiling untrusted v0.7.1
   Compiling cexpr v0.6.0
   Compiling http-body v0.4.5
   Compiling rand_core v0.6.4
   Compiling async-trait v0.1.72
   Compiling fixedbitset v0.4.2
   Compiling fastrand v2.0.0
   Compiling ppv-lite86 v0.2.17
   Compiling regex v1.9.1
   Compiling try-lock v0.2.4
   Compiling want v0.3.1
   Compiling petgraph v0.6.3
   Compiling rand_chacha v0.3.1
   Compiling axum-core v0.3.4
   Compiling pkg-config v0.3.27
   Compiling tower-layer v0.3.2
   Compiling httpdate v1.0.2
   Compiling percent-encoding v2.3.0
   Compiling vcpkg v0.2.15
   Compiling heck v0.4.1
   Compiling multimap v0.8.3
   Compiling rustls v0.20.8
   Compiling rand v0.8.5
   Compiling axum v0.6.19
   Compiling mime v0.3.17
   Compiling thiserror v1.0.44
   Compiling tinyvec_macros v0.1.1
   Compiling portable-atomic v1.4.2
   Compiling tinyvec v1.6.0
   Compiling backtrace v0.3.68
   Compiling tempfile v3.7.0
   Compiling time-core v0.1.1
   Compiling libz-sys v1.1.12
   Compiling gimli v0.27.3
   Compiling matchit v0.7.1
   Compiling base64 v0.21.2
   Compiling hashbrown v0.14.0
   Compiling sync_wrapper v0.1.2
   Compiling portable-atomic v0.3.20
   Compiling adler v1.0.2
   Compiling regex-syntax v0.6.29
   Compiling miniz_oxide v0.7.1
   Compiling unicode-normalization v0.1.22
   Compiling rustls-pemfile v1.0.3
   Compiling time v0.3.23
   Compiling object v0.31.1
   Compiling serde_json v1.0.104
   Compiling match_cfg v0.1.0
   Compiling bytesize v1.2.0
   Compiling unicode-bidi v0.3.13
   Compiling rustc-demangle v0.1.23
   Compiling equivalent v1.0.1
   Compiling convert_case v0.4.0
   Compiling base64 v0.13.1
   Compiling regex-automata v0.1.10
   Compiling overload v0.1.1
   Compiling tokio-macros v2.1.0
   Compiling tracing-attributes v0.1.26
   Compiling futures-macro v0.3.28
   Compiling prost-derive v0.11.9
   Compiling pin-project-internal v1.1.2
   Compiling sct v0.7.0
   Compiling webpki v0.22.0
   Compiling thiserror-impl v1.0.44
   Compiling tracing v0.1.37
   Compiling async-stream-impl v0.3.5
   Compiling prost v0.11.9
   Compiling pin-project v1.1.2
   Compiling tracing-futures v0.2.5
   Compiling addr2line v0.20.0
   Compiling matchers v0.1.0
   Compiling derive_more v0.99.17
   Compiling prost-types v0.11.9
   Compiling phper-macros v0.12.0
   Compiling async-stream v0.3.5
   Compiling systemstat v0.2.3
   Compiling phper-sys v0.12.1
   Compiling nu-ansi-term v0.46.0
   Compiling prost-build v0.11.9
   Compiling tonic-build v0.8.4
   Compiling indexmap v2.0.0
   Compiling idna v0.4.0
   Compiling hostname v0.3.1
   Compiling skywalking v0.8.0
   Compiling uuid v1.4.1
   Compiling sharded-slab v0.1.4
   Compiling tracing-log v0.1.3
   Compiling tokio-util v0.7.8
   Compiling tokio-io-timeout v1.2.0
   Compiling tokio-rustls v0.23.4
   Compiling tokio-stream v0.1.14
   Compiling form_urlencoded v1.2.0
   Compiling h2 v0.3.20
   Compiling tower v0.4.13
   Compiling thread_local v1.1.4
   Compiling ryu v1.0.15
   Compiling url v2.4.0
   Compiling tracing-subscriber v0.3.17
   Compiling bincode v1.3.3
   Compiling dashmap v5.5.0
   Compiling hyper v0.14.27
   Compiling hyper-timeout v0.4.1
   Compiling tonic v0.8.3
   Compiling phper-build v0.12.0
   Compiling phper-alloc v0.12.0
   Compiling phper v0.12.0
   Compiling skywalking-php v0.8.0-dev (/home/zhanglei/swoole-monitor/skywalking-php)
    Finished release [optimized] target(s) in 6m 50s
if [ -f ./target/release/libskywalking_agent.dylib ] ; then \
	cp ./target/release/libskywalking_agent.dylib ./modules/skywalking_agent.so ; fi
if [ -f ./target/release/libskywalking_agent.so ] ; then \
	cp ./target/release/libskywalking_agent.so ./modules/skywalking_agent.so ; fi

Build complete.
Don't forget to run 'make test'.
相关推荐
eclipsercp几秒前
PyQt5:Python GUI开发的超级英雄
开发语言·python·qt
小扳3 分钟前
微服务篇-深入了解使用 RestTemplate 远程调用、Nacos 注册中心基本原理与使用、OpenFeign 的基本使用
java·运维·分布式·后端·spring·微服务·架构
军训猫猫头7 分钟前
44.扫雷第二部分、放置随机的雷,扫雷,炸死或成功 C语言
c语言·开发语言
北巷!!8 分钟前
宇信科技JAVA笔试(2024-11-26日 全部AK)
java·开发语言·科技
ᝰꫝꪉꪯꫀ36110 分钟前
JavaWeb——SpringBoot原理
java·开发语言·后端·springboot
LLLibra14610 分钟前
如何使用Postman优雅地进行接口自动加密与解密
后端
Octopus207712 分钟前
【C++】读取数量不定的输入数据
开发语言·c++·笔记·学习
忘梓.13 分钟前
C嘎嘎探索篇:栈与队列的交响:C++中的结构艺术
c语言·开发语言·c++·
Chris _data24 分钟前
如何提升编程能力第二篇
开发语言·青少年编程
遇到困难睡大觉哈哈24 分钟前
JavaScript面向对象
开发语言·javascript·ecmascript