安装Aptos CLI 并 部署move智能合约

环境

VMware Workstation中安装的Ubuntu 22.04,可参考:VMware 安装Ubuntu22.04_瘦身小蚂蚁的博客-CSDN博客

提前条件

安装git

安装Aptos CLI

创建并进入文件目录

mkdir aptos

cd aptos

root@tracy-virtual-machine:/home# mkdir aptos
root@tracy-virtual-machine:/home# cd aptos/

下载Aptos

git clone https://github.com/aptos-labs/aptos-core.git

root@tracy-virtual-machine:/home/aptos# git clone https://github.com/aptos-labs/aptos-core.git
Cloning into 'aptos-core'...
remote: Enumerating objects: 310555, done.
remote: Counting objects: 100% (91/91), done.
remote: Compressing objects: 100% (69/69), done.
remote: Total 310555 (delta 35), reused 44 (delta 21), pack-reused 310464
Receiving objects: 100% (310555/310555), 214.32 MiB | 5.56 MiB/s, done.
Resolving deltas: 100% (212687/212687), done.

进入aptos-core目录

cd aptos-core

root@tracy-virtual-machine:/home/aptos# cd aptos-core/

执行脚本文件

./scripts/dev_setup.sh 

root@tracy-virtual-machine:/home/aptos/aptos-core# ./scripts/dev_setup.sh 
Welcome to Aptos!

This script will download and install the necessary dependencies needed to
build, test and inspect Aptos Core.

Based on your selection, these tools will be included:
Build tools (since -t or no option was provided):
  * Rust (and the necessary components, e.g. rust-fmt, clippy)
  * CMake
  * Clang
  * grcov
  * lcov
  * pkg-config
  * libssl-dev
  * NodeJS / NPM
  * protoc (and related tools)
  * lld (only for Linux)
If you'd prefer to install these dependencies yourself, please exit this script
now with Ctrl-C.
Proceed with installing necessary dependencies? (y/N) > y
Updating apt-get......
Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Hit:2 http://cn.archive.ubuntu.com/ubuntu jammy InRelease
Get:3 http://cn.archive.ubuntu.com/ubuntu jammy-updates InRelease [114 kB]
Get:4 http://security.ubuntu.com/ubuntu jammy-security/main amd64 DEP-11 Metadata [20.0 kB]
Get:5 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 DEP-11 Metadata [13.3 kB]
Get:6 http://cn.archive.ubuntu.com/ubuntu jammy-backports InRelease [99.8 kB]
Get:7 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages [382 kB]
Get:8 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [730 kB]
Get:9 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main Translation-en [164 kB]
Get:10 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 DEP-11 Metadata [94.8 kB]
Get:11 http://cn.archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [449 kB]
Get:12 http://cn.archive.ubuntu.com/ubuntu jammy-updates/restricted Translation-en [68.7 kB]
Get:13 http://cn.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [757 kB]
Get:14 http://cn.archive.ubuntu.com/ubuntu jammy-updates/universe i386 Packages [554 kB]
Get:15 http://cn.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 DEP-11 Metadata [257 kB]
Get:16 http://cn.archive.ubuntu.com/ubuntu jammy-updates/multiverse amd64 DEP-11 Metadata [940 B]
Get:17 http://cn.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 DEP-11 Metadata [11.7 kB]
Fetched 3,827 kB in 15s (258 kB/s)                                             
Reading package lists... Done
Installing ca-certificates......
Installing ca-certificates.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
ca-certificates is already the newest version (20211016).
ca-certificates set to manually installed.
The following package was automatically installed and is no longer required:
  systemd-hwe-hwdb
Use 'apt autoremove' to remove it.
0 upgraded, 0 newly installed, 0 to remove and 187 not upgraded.
apt-get install result code: 0
Installing curl.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  systemd-hwe-hwdb
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
  libcurl4
The following NEW packages will be installed:
  curl
The following packages will be upgraded:
  libcurl4
1 upgraded, 1 newly installed, 0 to remove and 186 not upgraded.
Need to get 194 kB/484 kB of archives.
After this operation, 453 kB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 curl amd64 7.81.0-1ubuntu1.6 [194 kB]
Fetched 194 kB in 2s (77.9 kB/s)
(Reading database ... 201428 files and directories currently installed.)
Preparing to unpack .../libcurl4_7.81.0-1ubuntu1.6_amd64.deb ...
Unpacking libcurl4:amd64 (7.81.0-1ubuntu1.6) over (7.81.0-1ubuntu1.3) ...
Selecting previously unselected package curl.
Preparing to unpack .../curl_7.81.0-1ubuntu1.6_amd64.deb ...
Unpacking curl (7.81.0-1ubuntu1.6) ...
Setting up libcurl4:amd64 (7.81.0-1ubuntu1.6) ...
Setting up curl (7.81.0-1ubuntu1.6) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
apt-get install result code: 0
unzip is already installed
Installing build-essential.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  systemd-hwe-hwdb
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu cpp-11 dpkg-dev g++
  g++-11 gcc gcc-11 gcc-11-base gcc-12-base libasan6 libatomic1 libbinutils
  libc-dev-bin libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0 libctf0
  libdpkg-perl libgcc-11-dev libgcc-s1 libgomp1 libitm1 liblsan0 libnsl-dev
  libquadmath0 libstdc++-11-dev libstdc++6 libtirpc-dev libtsan0 libubsan1
  linux-libc-dev lto-disabled-list make rpcsvc-proto
Suggested packages:
  binutils-doc gcc-11-locales debian-keyring g++-multilib g++-11-multilib
  gcc-11-doc gcc-multilib manpages-dev autoconf automake libtool flex bison
  gcc-doc gcc-11-multilib glibc-doc bzr libstdc++-11-doc make-doc
Recommended packages:
  fakeroot libalgorithm-merge-perl manpages-dev libc-devtools
  libfile-fcntllock-perl
The following NEW packages will be installed:
  binutils binutils-common binutils-x86-64-linux-gnu build-essential dpkg-dev
  g++ g++-11 gcc gcc-11 libasan6 libatomic1 libbinutils libc-dev-bin libc6-dev
  libcc1-0 libcrypt-dev libctf-nobfd0 libctf0 libdpkg-perl libgcc-11-dev
  libitm1 liblsan0 libnsl-dev libquadmath0 libstdc++-11-dev libtirpc-dev
  libtsan0 libubsan1 linux-libc-dev lto-disabled-list make rpcsvc-proto
The following packages will be upgraded:
  cpp-11 gcc-11-base gcc-12-base libgcc-s1 libgomp1 libstdc++6
6 upgraded, 32 newly installed, 0 to remove and 180 not upgraded.
Need to get 51.6 MB/62.5 MB of archives.
After this operation, 181 MB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 binutils-common amd64 2.38-4ubuntu2 [221 kB]
Get:2 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libbinutils amd64 2.38-4ubuntu2 [661 kB]
Get:3 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libctf-nobfd0 amd64 2.38-4ubuntu2 [107 kB]
Get:4 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libctf0 amd64 2.38-4ubuntu2 [103 kB]
Get:5 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 binutils-x86-64-linux-gnu amd64 2.38-4ubuntu2 [2,328 kB]
Get:6 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 binutils amd64 2.38-4ubuntu2 [3,198 B]
Get:7 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libc-dev-bin amd64 2.35-0ubuntu3.1 [20.4 kB]
Get:8 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 linux-libc-dev amd64 5.15.0-53.59 [1,344 kB]
Get:9 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 libcrypt-dev amd64 1:4.4.27-1 [112 kB]
Get:10 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 rpcsvc-proto amd64 1.4.2-0ubuntu6 [68.5 kB]
Get:11 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libtirpc-dev amd64 1.3.2-2ubuntu0.1 [192 kB]
Get:12 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 libnsl-dev amd64 1.3.0-2build2 [71.3 kB]
Get:13 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libc6-dev amd64 2.35-0ubuntu3.1 [2,099 kB]
Get:14 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libcc1-0 amd64 12.1.0-2ubuntu1~22.04 [47.4 kB]
Get:15 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libitm1 amd64 12.1.0-2ubuntu1~22.04 [30.2 kB]
Get:16 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libasan6 amd64 11.3.0-1ubuntu1~22.04 [2,284 kB]
Get:17 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 liblsan0 amd64 12.1.0-2ubuntu1~22.04 [1,069 kB]
Get:18 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libtsan0 amd64 11.3.0-1ubuntu1~22.04 [2,262 kB]
Get:19 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libubsan1 amd64 12.1.0-2ubuntu1~22.04 [976 kB]
Get:20 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libquadmath0 amd64 12.1.0-2ubuntu1~22.04 [154 kB]
Get:21 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libgcc-11-dev amd64 11.3.0-1ubuntu1~22.04 [2,517 kB]
Get:22 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 gcc-11 amd64 11.3.0-1ubuntu1~22.04 [20.1 MB]
Get:23 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 gcc amd64 4:11.2.0-1ubuntu1 [5,112 B]
Get:24 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libstdc++-11-dev amd64 11.3.0-1ubuntu1~22.04 [2,087 kB]
Get:25 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 g++-11 amd64 11.3.0-1ubuntu1~22.04 [11.4 MB]
Get:26 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 g++ amd64 4:11.2.0-1ubuntu1 [1,412 B]
Get:27 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 make amd64 4.3-4.1build1 [180 kB]
Get:28 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libdpkg-perl all 1.21.1ubuntu2.1 [237 kB]
Get:29 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 lto-disabled-list all 24 [12.5 kB]
Get:30 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 dpkg-dev all 1.21.1ubuntu2.1 [922 kB]
Get:31 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 build-essential amd64 12.9ubuntu3 [4,744 B]
Fetched 51.6 MB in 3min 0s (287 kB/s)                                          
Extracting templates from packages: 100%
(Reading database ... 201435 files and directories currently installed.)
Preparing to unpack .../gcc-12-base_12.1.0-2ubuntu1~22.04_amd64.deb ...
Unpacking gcc-12-base:amd64 (12.1.0-2ubuntu1~22.04) over (12-20220319-1ubuntu1) ...
Setting up gcc-12-base:amd64 (12.1.0-2ubuntu1~22.04) ...
(Reading database ... 201435 files and directories currently installed.)
Preparing to unpack .../libstdc++6_12.1.0-2ubuntu1~22.04_amd64.deb ...
Unpacking libstdc++6:amd64 (12.1.0-2ubuntu1~22.04) over (12-20220319-1ubuntu1) ...
Setting up libstdc++6:amd64 (12.1.0-2ubuntu1~22.04) ...
(Reading database ... 201435 files and directories currently installed.)
Preparing to unpack .../libgomp1_12.1.0-2ubuntu1~22.04_amd64.deb ...
Unpacking libgomp1:amd64 (12.1.0-2ubuntu1~22.04) over (12-20220319-1ubuntu1) ...
Preparing to unpack .../libgcc-s1_12.1.0-2ubuntu1~22.04_amd64.deb ...
Unpacking libgcc-s1:amd64 (12.1.0-2ubuntu1~22.04) over (12-20220319-1ubuntu1) ...
Setting up libgcc-s1:amd64 (12.1.0-2ubuntu1~22.04) ...
Selecting previously unselected package binutils-common:amd64.
(Reading database ... 201435 files and directories currently installed.)
Preparing to unpack .../00-binutils-common_2.38-4ubuntu2_amd64.deb ...
Unpacking binutils-common:amd64 (2.38-4ubuntu2) ...
Selecting previously unselected package libbinutils:amd64.
Preparing to unpack .../01-libbinutils_2.38-4ubuntu2_amd64.deb ...
Unpacking libbinutils:amd64 (2.38-4ubuntu2) ...
Selecting previously unselected package libctf-nobfd0:amd64.
Preparing to unpack .../02-libctf-nobfd0_2.38-4ubuntu2_amd64.deb ...
Unpacking libctf-nobfd0:amd64 (2.38-4ubuntu2) ...
Selecting previously unselected package libctf0:amd64.
Preparing to unpack .../03-libctf0_2.38-4ubuntu2_amd64.deb ...
Unpacking libctf0:amd64 (2.38-4ubuntu2) ...
Selecting previously unselected package binutils-x86-64-linux-gnu.
Preparing to unpack .../04-binutils-x86-64-linux-gnu_2.38-4ubuntu2_amd64.deb ...
Unpacking binutils-x86-64-linux-gnu (2.38-4ubuntu2) ...
Selecting previously unselected package binutils.
Preparing to unpack .../05-binutils_2.38-4ubuntu2_amd64.deb ...
Unpacking binutils (2.38-4ubuntu2) ...
Selecting previously unselected package libc-dev-bin.
Preparing to unpack .../06-libc-dev-bin_2.35-0ubuntu3.1_amd64.deb ...
Unpacking libc-dev-bin (2.35-0ubuntu3.1) ...
Selecting previously unselected package linux-libc-dev:amd64.
Preparing to unpack .../07-linux-libc-dev_5.15.0-53.59_amd64.deb ...
Unpacking linux-libc-dev:amd64 (5.15.0-53.59) ...
Selecting previously unselected package libcrypt-dev:amd64.
Preparing to unpack .../08-libcrypt-dev_1%3a4.4.27-1_amd64.deb ...
Unpacking libcrypt-dev:amd64 (1:4.4.27-1) ...
Selecting previously unselected package rpcsvc-proto.
Preparing to unpack .../09-rpcsvc-proto_1.4.2-0ubuntu6_amd64.deb ...
Unpacking rpcsvc-proto (1.4.2-0ubuntu6) ...
Selecting previously unselected package libtirpc-dev:amd64.
Preparing to unpack .../10-libtirpc-dev_1.3.2-2ubuntu0.1_amd64.deb ...
Unpacking libtirpc-dev:amd64 (1.3.2-2ubuntu0.1) ...
Selecting previously unselected package libnsl-dev:amd64.
Preparing to unpack .../11-libnsl-dev_1.3.0-2build2_amd64.deb ...
Unpacking libnsl-dev:amd64 (1.3.0-2build2) ...
Selecting previously unselected package libc6-dev:amd64.
Preparing to unpack .../12-libc6-dev_2.35-0ubuntu3.1_amd64.deb ...
Unpacking libc6-dev:amd64 (2.35-0ubuntu3.1) ...
Preparing to unpack .../13-cpp-11_11.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking cpp-11 (11.3.0-1ubuntu1~22.04) over (11.2.0-19ubuntu1) ...
Preparing to unpack .../14-gcc-11-base_11.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking gcc-11-base:amd64 (11.3.0-1ubuntu1~22.04) over (11.2.0-19ubuntu1) ...
Selecting previously unselected package libcc1-0:amd64.
Preparing to unpack .../15-libcc1-0_12.1.0-2ubuntu1~22.04_amd64.deb ...
Unpacking libcc1-0:amd64 (12.1.0-2ubuntu1~22.04) ...
Selecting previously unselected package libitm1:amd64.
Preparing to unpack .../16-libitm1_12.1.0-2ubuntu1~22.04_amd64.deb ...
Unpacking libitm1:amd64 (12.1.0-2ubuntu1~22.04) ...
Selecting previously unselected package libatomic1:amd64.
Preparing to unpack .../17-libatomic1_12.1.0-2ubuntu1~22.04_amd64.deb ...
Unpacking libatomic1:amd64 (12.1.0-2ubuntu1~22.04) ...
Selecting previously unselected package libasan6:amd64.
Preparing to unpack .../18-libasan6_11.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libasan6:amd64 (11.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package liblsan0:amd64.
Preparing to unpack .../19-liblsan0_12.1.0-2ubuntu1~22.04_amd64.deb ...
Unpacking liblsan0:amd64 (12.1.0-2ubuntu1~22.04) ...
Selecting previously unselected package libtsan0:amd64.
Preparing to unpack .../20-libtsan0_11.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libtsan0:amd64 (11.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libubsan1:amd64.
Preparing to unpack .../21-libubsan1_12.1.0-2ubuntu1~22.04_amd64.deb ...
Unpacking libubsan1:amd64 (12.1.0-2ubuntu1~22.04) ...
Selecting previously unselected package libquadmath0:amd64.
Preparing to unpack .../22-libquadmath0_12.1.0-2ubuntu1~22.04_amd64.deb ...
Unpacking libquadmath0:amd64 (12.1.0-2ubuntu1~22.04) ...
Selecting previously unselected package libgcc-11-dev:amd64.
Preparing to unpack .../23-libgcc-11-dev_11.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libgcc-11-dev:amd64 (11.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package gcc-11.
Preparing to unpack .../24-gcc-11_11.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking gcc-11 (11.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package gcc.
Preparing to unpack .../25-gcc_4%3a11.2.0-1ubuntu1_amd64.deb ...
Unpacking gcc (4:11.2.0-1ubuntu1) ...
Selecting previously unselected package libstdc++-11-dev:amd64.
Preparing to unpack .../26-libstdc++-11-dev_11.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libstdc++-11-dev:amd64 (11.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package g++-11.
Preparing to unpack .../27-g++-11_11.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking g++-11 (11.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package g++.
Preparing to unpack .../28-g++_4%3a11.2.0-1ubuntu1_amd64.deb ...
Unpacking g++ (4:11.2.0-1ubuntu1) ...
Selecting previously unselected package make.
Preparing to unpack .../29-make_4.3-4.1build1_amd64.deb ...
Unpacking make (4.3-4.1build1) ...
Selecting previously unselected package libdpkg-perl.
Preparing to unpack .../30-libdpkg-perl_1.21.1ubuntu2.1_all.deb ...
Unpacking libdpkg-perl (1.21.1ubuntu2.1) ...
Selecting previously unselected package lto-disabled-list.
Preparing to unpack .../31-lto-disabled-list_24_all.deb ...
Unpacking lto-disabled-list (24) ...
Selecting previously unselected package dpkg-dev.
Preparing to unpack .../32-dpkg-dev_1.21.1ubuntu2.1_all.deb ...
Unpacking dpkg-dev (1.21.1ubuntu2.1) ...
Selecting previously unselected package build-essential.
Preparing to unpack .../33-build-essential_12.9ubuntu3_amd64.deb ...
Unpacking build-essential (12.9ubuntu3) ...
Setting up gcc-11-base:amd64 (11.3.0-1ubuntu1~22.04) ...
Setting up lto-disabled-list (24) ...
Setting up binutils-common:amd64 (2.38-4ubuntu2) ...
Setting up linux-libc-dev:amd64 (5.15.0-53.59) ...
Setting up libctf-nobfd0:amd64 (2.38-4ubuntu2) ...
Setting up libgomp1:amd64 (12.1.0-2ubuntu1~22.04) ...
Setting up libasan6:amd64 (11.3.0-1ubuntu1~22.04) ...
Setting up libtirpc-dev:amd64 (1.3.2-2ubuntu0.1) ...
Setting up rpcsvc-proto (1.4.2-0ubuntu6) ...
Setting up make (4.3-4.1build1) ...
Setting up libquadmath0:amd64 (12.1.0-2ubuntu1~22.04) ...
Setting up libatomic1:amd64 (12.1.0-2ubuntu1~22.04) ...
Setting up libdpkg-perl (1.21.1ubuntu2.1) ...
Setting up libubsan1:amd64 (12.1.0-2ubuntu1~22.04) ...
Setting up libnsl-dev:amd64 (1.3.0-2build2) ...
Setting up libcrypt-dev:amd64 (1:4.4.27-1) ...
Setting up libbinutils:amd64 (2.38-4ubuntu2) ...
Setting up libc-dev-bin (2.35-0ubuntu3.1) ...
Setting up libcc1-0:amd64 (12.1.0-2ubuntu1~22.04) ...
Setting up liblsan0:amd64 (12.1.0-2ubuntu1~22.04) ...
Setting up libitm1:amd64 (12.1.0-2ubuntu1~22.04) ...
Setting up libtsan0:amd64 (11.3.0-1ubuntu1~22.04) ...
Setting up libctf0:amd64 (2.38-4ubuntu2) ...
Setting up cpp-11 (11.3.0-1ubuntu1~22.04) ...
Setting up libgcc-11-dev:amd64 (11.3.0-1ubuntu1~22.04) ...
Setting up libc6-dev:amd64 (2.35-0ubuntu3.1) ...
Setting up binutils-x86-64-linux-gnu (2.38-4ubuntu2) ...
Setting up binutils (2.38-4ubuntu2) ...
Setting up dpkg-dev (1.21.1ubuntu2.1) ...
Setting up libstdc++-11-dev:amd64 (11.3.0-1ubuntu1~22.04) ...
Setting up gcc-11 (11.3.0-1ubuntu1~22.04) ...
Setting up g++-11 (11.3.0-1ubuntu1~22.04) ...
Setting up gcc (4:11.2.0-1ubuntu1) ...
Setting up g++ (4:11.2.0-1ubuntu1) ...
update-alternatives: using /usr/bin/g++ to provide /usr/bin/c++ (c++) in auto mode
Setting up build-essential (12.9ubuntu3) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
apt-get install result code: 0
Installing cmake.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  systemd-hwe-hwdb
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
  cmake-data dh-elpa-helper libjsoncpp25 librhash0
Suggested packages:
  cmake-doc ninja-build cmake-format
The following NEW packages will be installed:
  cmake cmake-data dh-elpa-helper libjsoncpp25 librhash0
0 upgraded, 5 newly installed, 0 to remove and 180 not upgraded.
Need to get 7,138 kB of archives.
After this operation, 31.8 MB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 libjsoncpp25 amd64 1.9.5-3 [80.0 kB]
Get:2 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 librhash0 amd64 1.4.2-1ubuntu1 [125 kB]
Get:3 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 dh-elpa-helper all 2.0.9ubuntu1 [7,610 B]
Get:4 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 cmake-data all 3.22.1-1ubuntu1.22.04.1 [1,913 kB]
Get:5 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 cmake amd64 3.22.1-1ubuntu1.22.04.1 [5,013 kB]
Fetched 7,138 kB in 27s (265 kB/s)                                             
Selecting previously unselected package libjsoncpp25:amd64.
(Reading database ... 204972 files and directories currently installed.)
Preparing to unpack .../libjsoncpp25_1.9.5-3_amd64.deb ...
Unpacking libjsoncpp25:amd64 (1.9.5-3) ...
Selecting previously unselected package librhash0:amd64.
Preparing to unpack .../librhash0_1.4.2-1ubuntu1_amd64.deb ...
Unpacking librhash0:amd64 (1.4.2-1ubuntu1) ...
Selecting previously unselected package dh-elpa-helper.
Preparing to unpack .../dh-elpa-helper_2.0.9ubuntu1_all.deb ...
Unpacking dh-elpa-helper (2.0.9ubuntu1) ...
Selecting previously unselected package cmake-data.
Preparing to unpack .../cmake-data_3.22.1-1ubuntu1.22.04.1_all.deb ...
Unpacking cmake-data (3.22.1-1ubuntu1.22.04.1) ...
Selecting previously unselected package cmake.
Preparing to unpack .../cmake_3.22.1-1ubuntu1.22.04.1_amd64.deb ...
Unpacking cmake (3.22.1-1ubuntu1.22.04.1) ...
Setting up dh-elpa-helper (2.0.9ubuntu1) ...
Setting up libjsoncpp25:amd64 (1.9.5-3) ...
Setting up librhash0:amd64 (1.4.2-1ubuntu1) ...
Setting up cmake-data (3.22.1-1ubuntu1.22.04.1) ...
Setting up cmake (3.22.1-1ubuntu1.22.04.1) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
apt-get install result code: 0
Installing clang.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  systemd-hwe-hwdb
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
  clang-14 lib32gcc-s1 lib32stdc++6 libc6-i386 libclang-common-14-dev
  libclang-cpp14 libclang1-14 libllvm14 libobjc-11-dev libobjc4
  llvm-14-linker-tools
Suggested packages:
  clang-14-doc
Recommended packages:
  llvm-14-dev
The following NEW packages will be installed:
  clang clang-14 lib32gcc-s1 lib32stdc++6 libc6-i386 libclang-common-14-dev
  libclang-cpp14 libclang1-14 libllvm14 libobjc-11-dev libobjc4
  llvm-14-linker-tools
0 upgraded, 12 newly installed, 0 to remove and 180 not upgraded.
Need to get 54.2 MB of archives.
After this operation, 297 MB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 libllvm14 amd64 1:14.0.0-1ubuntu1 [24.0 MB]
Get:2 http://cn.archive.ubuntu.com/ubuntu jammy/universe amd64 libclang-cpp14 amd64 1:14.0.0-1ubuntu1 [12.1 MB]
Get:3 http://cn.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 libobjc4 amd64 12.1.0-2ubuntu1~22.04 [48.7 kB]
Get:4 http://cn.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 libobjc-11-dev amd64 11.3.0-1ubuntu1~22.04 [196 kB]
Get:5 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libc6-i386 amd64 2.35-0ubuntu3.1 [2,837 kB]
Get:6 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 lib32gcc-s1 amd64 12.1.0-2ubuntu1~22.04 [64.5 kB]
Get:7 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 lib32stdc++6 amd64 12.1.0-2ubuntu1~22.04 [737 kB]
Get:8 http://cn.archive.ubuntu.com/ubuntu jammy/universe amd64 libclang-common-14-dev amd64 1:14.0.0-1ubuntu1 [5,976 kB]
Get:9 http://cn.archive.ubuntu.com/ubuntu jammy/universe amd64 llvm-14-linker-tools amd64 1:14.0.0-1ubuntu1 [1,353 kB]
Get:10 http://cn.archive.ubuntu.com/ubuntu jammy/universe amd64 libclang1-14 amd64 1:14.0.0-1ubuntu1 [6,796 kB]
Get:11 http://cn.archive.ubuntu.com/ubuntu jammy/universe amd64 clang-14 amd64 1:14.0.0-1ubuntu1 [81.2 kB]
Get:12 http://cn.archive.ubuntu.com/ubuntu jammy/universe amd64 clang amd64 1:14.0-55~exp2 [3,558 B]
Fetched 54.2 MB in 2min 51s (316 kB/s)                                         
Selecting previously unselected package libllvm14:amd64.
(Reading database ... 208058 files and directories currently installed.)
Preparing to unpack .../00-libllvm14_1%3a14.0.0-1ubuntu1_amd64.deb ...
Unpacking libllvm14:amd64 (1:14.0.0-1ubuntu1) ...
Selecting previously unselected package libclang-cpp14.
Preparing to unpack .../01-libclang-cpp14_1%3a14.0.0-1ubuntu1_amd64.deb ...
Unpacking libclang-cpp14 (1:14.0.0-1ubuntu1) ...
Selecting previously unselected package libobjc4:amd64.
Preparing to unpack .../02-libobjc4_12.1.0-2ubuntu1~22.04_amd64.deb ...
Unpacking libobjc4:amd64 (12.1.0-2ubuntu1~22.04) ...
Selecting previously unselected package libobjc-11-dev:amd64.
Preparing to unpack .../03-libobjc-11-dev_11.3.0-1ubuntu1~22.04_amd64.deb ...
Unpacking libobjc-11-dev:amd64 (11.3.0-1ubuntu1~22.04) ...
Selecting previously unselected package libc6-i386.
Preparing to unpack .../04-libc6-i386_2.35-0ubuntu3.1_amd64.deb ...
Unpacking libc6-i386 (2.35-0ubuntu3.1) ...
Selecting previously unselected package lib32gcc-s1.
Preparing to unpack .../05-lib32gcc-s1_12.1.0-2ubuntu1~22.04_amd64.deb ...
Unpacking lib32gcc-s1 (12.1.0-2ubuntu1~22.04) ...
Selecting previously unselected package lib32stdc++6.
Preparing to unpack .../06-lib32stdc++6_12.1.0-2ubuntu1~22.04_amd64.deb ...
Unpacking lib32stdc++6 (12.1.0-2ubuntu1~22.04) ...
Selecting previously unselected package libclang-common-14-dev.
Preparing to unpack .../07-libclang-common-14-dev_1%3a14.0.0-1ubuntu1_amd64.deb ...
Unpacking libclang-common-14-dev (1:14.0.0-1ubuntu1) ...
Selecting previously unselected package llvm-14-linker-tools.
Preparing to unpack .../08-llvm-14-linker-tools_1%3a14.0.0-1ubuntu1_amd64.deb ...
Unpacking llvm-14-linker-tools (1:14.0.0-1ubuntu1) ...
Selecting previously unselected package libclang1-14.
Preparing to unpack .../09-libclang1-14_1%3a14.0.0-1ubuntu1_amd64.deb ...
Unpacking libclang1-14 (1:14.0.0-1ubuntu1) ...
Selecting previously unselected package clang-14.
Preparing to unpack .../10-clang-14_1%3a14.0.0-1ubuntu1_amd64.deb ...
Unpacking clang-14 (1:14.0.0-1ubuntu1) ...
Selecting previously unselected package clang.
Preparing to unpack .../11-clang_1%3a14.0-55~exp2_amd64.deb ...
Unpacking clang (1:14.0-55~exp2) ...
Setting up libobjc4:amd64 (12.1.0-2ubuntu1~22.04) ...
Setting up libllvm14:amd64 (1:14.0.0-1ubuntu1) ...
Setting up libc6-i386 (2.35-0ubuntu3.1) ...
Setting up llvm-14-linker-tools (1:14.0.0-1ubuntu1) ...
Setting up libobjc-11-dev:amd64 (11.3.0-1ubuntu1~22.04) ...
Setting up libclang1-14 (1:14.0.0-1ubuntu1) ...
Setting up lib32gcc-s1 (12.1.0-2ubuntu1~22.04) ...
Setting up lib32stdc++6 (12.1.0-2ubuntu1~22.04) ...
Setting up libclang-common-14-dev (1:14.0.0-1ubuntu1) ...
Setting up libclang-cpp14 (1:14.0.0-1ubuntu1) ...
Setting up clang-14 (1:14.0.0-1ubuntu1) ...
Setting up clang (1:14.0-55~exp2) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
apt-get install result code: 0
Installing llvm.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  systemd-hwe-hwdb
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
  libpfm4 llvm-14 llvm-14-runtime llvm-runtime
Suggested packages:
  llvm-14-doc
Recommended packages:
  llvm-14-dev binfmt-support
The following NEW packages will be installed:
  libpfm4 llvm llvm-14 llvm-14-runtime llvm-runtime
0 upgraded, 5 newly installed, 0 to remove and 180 not upgraded.
Need to get 13.5 MB of archives.
After this operation, 53.4 MB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu jammy/universe amd64 llvm-14-runtime amd64 1:14.0.0-1ubuntu1 [484 kB]
Get:2 http://cn.archive.ubuntu.com/ubuntu jammy/universe amd64 llvm-runtime amd64 1:14.0-55~exp2 [3,204 B]
Get:3 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 libpfm4 amd64 4.11.1+git32-gd0b85fb-1 [278 kB]
Get:4 http://cn.archive.ubuntu.com/ubuntu jammy/universe amd64 llvm-14 amd64 1:14.0.0-1ubuntu1 [12.7 MB]
Get:5 http://cn.archive.ubuntu.com/ubuntu jammy/universe amd64 llvm amd64 1:14.0-55~exp2 [3,758 B]
Fetched 13.5 MB in 49s (274 kB/s)                                              
Selecting previously unselected package llvm-14-runtime.
(Reading database ... 208896 files and directories currently installed.)
Preparing to unpack .../llvm-14-runtime_1%3a14.0.0-1ubuntu1_amd64.deb ...
Unpacking llvm-14-runtime (1:14.0.0-1ubuntu1) ...
Selecting previously unselected package llvm-runtime:amd64.
Preparing to unpack .../llvm-runtime_1%3a14.0-55~exp2_amd64.deb ...
Unpacking llvm-runtime:amd64 (1:14.0-55~exp2) ...
Selecting previously unselected package libpfm4:amd64.
Preparing to unpack .../libpfm4_4.11.1+git32-gd0b85fb-1_amd64.deb ...
Unpacking libpfm4:amd64 (4.11.1+git32-gd0b85fb-1) ...
Selecting previously unselected package llvm-14.
Preparing to unpack .../llvm-14_1%3a14.0.0-1ubuntu1_amd64.deb ...
Unpacking llvm-14 (1:14.0.0-1ubuntu1) ...
Selecting previously unselected package llvm.
Preparing to unpack .../llvm_1%3a14.0-55~exp2_amd64.deb ...
Unpacking llvm (1:14.0-55~exp2) ...
Setting up libpfm4:amd64 (4.11.1+git32-gd0b85fb-1) ...
Setting up llvm-14-runtime (1:14.0.0-1ubuntu1) ...
Setting up llvm-runtime:amd64 (1:14.0-55~exp2) ...
Setting up llvm-14 (1:14.0.0-1ubuntu1) ...
Setting up llvm (1:14.0-55~exp2) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
apt-get install result code: 0
Installing libssl-dev.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  systemd-hwe-hwdb
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
  libssl3
Suggested packages:
  libssl-doc
The following NEW packages will be installed:
  libssl-dev
The following packages will be upgraded:
  libssl3
1 upgraded, 1 newly installed, 0 to remove and 179 not upgraded.
Need to get 2,372 kB/4,271 kB of archives.
After this operation, 12.4 MB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libssl-dev amd64 3.0.2-0ubuntu1.7 [2,372 kB]
Fetched 2,372 kB in 10s (243 kB/s)                                             
Preconfiguring packages ...
(Reading database ... 209188 files and directories currently installed.)
Preparing to unpack .../libssl3_3.0.2-0ubuntu1.7_amd64.deb ...
Unpacking libssl3:amd64 (3.0.2-0ubuntu1.7) over (3.0.2-0ubuntu1.6) ...
Setting up libssl3:amd64 (3.0.2-0ubuntu1.7) ...
Selecting previously unselected package libssl-dev:amd64.
(Reading database ... 209188 files and directories currently installed.)
Preparing to unpack .../libssl-dev_3.0.2-0ubuntu1.7_amd64.deb ...
Unpacking libssl-dev:amd64 (3.0.2-0ubuntu1.7) ...
Setting up libssl-dev:amd64 (3.0.2-0ubuntu1.7) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
apt-get install result code: 0
Installing pkg-config.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  systemd-hwe-hwdb
Use 'apt autoremove' to remove it.
The following NEW packages will be installed:
  pkg-config
0 upgraded, 1 newly installed, 0 to remove and 179 not upgraded.
Need to get 48.2 kB of archives.
After this operation, 134 kB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 pkg-config amd64 0.29.2-1ubuntu3 [48.2 kB]
Fetched 48.2 kB in 2s (28.1 kB/s)     
Selecting previously unselected package pkg-config.
(Reading database ... 209336 files and directories currently installed.)
Preparing to unpack .../pkg-config_0.29.2-1ubuntu3_amd64.deb ...
Unpacking pkg-config (0.29.2-1ubuntu3) ...
Setting up pkg-config (0.29.2-1ubuntu3) ...
Processing triggers for man-db (2.10.2-1) ...
apt-get install result code: 0
Installing lld.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  systemd-hwe-hwdb
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
  lld-14
The following NEW packages will be installed:
  lld lld-14
0 upgraded, 2 newly installed, 0 to remove and 179 not upgraded.
Need to get 1,253 kB of archives.
After this operation, 4,805 kB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu jammy/universe amd64 lld-14 amd64 1:14.0.0-1ubuntu1 [1,250 kB]
Get:2 http://cn.archive.ubuntu.com/ubuntu jammy/universe amd64 lld amd64 1:14.0-55~exp2 [3,178 B]
Fetched 1,253 kB in 6s (217 kB/s)
Selecting previously unselected package lld-14.
(Reading database ... 209351 files and directories currently installed.)
Preparing to unpack .../lld-14_1%3a14.0.0-1ubuntu1_amd64.deb ...
Unpacking lld-14 (1:14.0.0-1ubuntu1) ...
Selecting previously unselected package lld:amd64.
Preparing to unpack .../lld_1%3a14.0-55~exp2_amd64.deb ...
Unpacking lld:amd64 (1:14.0-55~exp2) ...
Setting up lld-14 (1:14.0.0-1ubuntu1) ...
Setting up lld:amd64 (1:14.0-55~exp2) ...
Processing triggers for man-db (2.10.2-1) ...
apt-get install result code: 0
installing rust.
Installing Rust......
./scripts/dev_setup.sh: line 174: rustup: command not found
info: downloading installer
info: profile set to 'default'
info: default host triple is x86_64-unknown-linux-gnu
info: syncing channel updates for 'stable-x86_64-unknown-linux-gnu'
info: latest update on 2022-11-03, rust version 1.65.0 (897e37553 2022-11-02)
info: downloading component 'cargo'
  6.5 MiB /   6.5 MiB (100 %)   4.5 MiB/s in  1s ETA:  0s
info: downloading component 'clippy'
info: downloading component 'rust-docs'
 18.8 MiB /  18.8 MiB (100 %)   4.1 MiB/s in  4s ETA:  0s
info: downloading component 'rust-std'
 30.0 MiB /  30.0 MiB (100 %)   4.3 MiB/s in  7s ETA:  0s
info: downloading component 'rustc'
 56.2 MiB /  56.2 MiB (100 %)   4.2 MiB/s in 13s ETA:  0s
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
 18.8 MiB /  18.8 MiB (100 %)   7.5 MiB/s in  2s ETA:  0s
info: installing component 'rust-std'
 30.0 MiB /  30.0 MiB (100 %)  10.2 MiB/s in  2s ETA:  0s
info: installing component 'rustc'
 56.2 MiB /  56.2 MiB (100 %)  13.1 MiB/s in  4s ETA:  0s
info: installing component 'rustfmt'
info: default toolchain set to 'stable-x86_64-unknown-linux-gnu'

  stable-x86_64-unknown-linux-gnu installed - rustc 1.65.0 (897e37553 2022-11-02)


Rust is installed now. Great!

To get started you may need to restart your current shell.
This would reload your PATH environment variable to include
Cargo's bin directory ($HOME/.cargo/bin).

To configure your current shell, run:
source "$HOME/.cargo/env"
info: syncing channel updates for '1.64.0-x86_64-unknown-linux-gnu'
info: latest update on 2022-09-22, rust version 1.64.0 (a55dd71d5 2022-09-19)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'rust-docs'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'rust-docs'
info: installing component 'rust-std'
info: installing component 'rustc'
info: installing component 'rustfmt'
1.64.0 rust toolchain already installed
info: component 'rustfmt' for target 'x86_64-unknown-linux-gnu' is up to date
info: component 'clippy' for target 'x86_64-unknown-linux-gnu' is up to date
    Updating crates.io index
  Downloaded cargo-sort v1.0.9
  Downloaded 1 crate (50.2 KB) in 2.38s
  Installing cargo-sort v1.0.9
  Downloaded strsim v0.10.0
  Downloaded linked-hash-map v0.5.4
  Downloaded num-integer v0.1.44
  Downloaded void v1.0.2
  Downloaded autocfg v1.0.1
  Downloaded ascii v0.9.3
  Downloaded clap_lex v0.3.0
  Downloaded num-traits v0.2.14
  Downloaded chrono v0.4.19
  Downloaded os_str_bytes v6.3.0
  Downloaded combine v3.8.1
  Downloaded termcolor v1.1.2
  Downloaded memchr v2.4.0
  Downloaded atty v0.2.14
  Downloaded io-lifetimes v0.7.3
  Downloaded time v0.1.44
  Downloaded once_cell v1.15.0
  Downloaded byteorder v1.4.3
  Downloaded glob v0.3.0
  Downloaded rustix v0.35.11
  Downloaded either v1.6.1
  Downloaded linux-raw-sys v0.0.46
  Downloaded terminal_size v0.2.1
  Downloaded libc v0.2.134
  Downloaded unreachable v1.0.0
  Downloaded bitflags v1.2.1
  Downloaded clap v4.0.10
  Downloaded 27 crates (2.6 MB) in 2.12s
   Compiling libc v0.2.134
   Compiling autocfg v1.0.1
   Compiling io-lifetimes v0.7.3
   Compiling bitflags v1.2.1
   Compiling rustix v0.35.11
   Compiling memchr v2.4.0
   Compiling linux-raw-sys v0.0.46
   Compiling void v1.0.2
   Compiling os_str_bytes v6.3.0
   Compiling ascii v0.9.3
   Compiling either v1.6.1
   Compiling byteorder v1.4.3
   Compiling termcolor v1.1.2
   Compiling strsim v0.10.0
   Compiling once_cell v1.15.0
   Compiling glob v0.3.0
   Compiling linked-hash-map v0.5.4
   Compiling num-traits v0.2.14
   Compiling num-integer v0.1.44
   Compiling unreachable v1.0.0
   Compiling clap_lex v0.3.0
   Compiling combine v3.8.1
   Compiling time v0.1.44
   Compiling atty v0.2.14
   Compiling chrono v0.4.19
   Compiling terminal_size v0.2.1
   Compiling clap v4.0.10
   Compiling cargo-sort v1.0.9
    Finished release [optimized] target(s) in 2m 33s
  Installing /root/.cargo/bin/cargo-sort
   Installed package `cargo-sort v1.0.9` (executable `cargo-sort`)
    Updating crates.io index
  Downloaded cargo-nextest v0.9.44
  Downloaded 1 crate (55.4 KB) in 1.04s
  Installing cargo-nextest v0.9.44
warning: package `zstd-sys v2.0.2+zstd.1.5.2` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
  Downloaded either v1.8.0
  Downloaded futures-io v0.3.25
  Downloaded iana-time-zone v0.1.53
  Downloaded http v0.2.8
  Downloaded futures-core v0.3.25
  Downloaded idna v0.3.0
  Downloaded mime v0.3.16
  Downloaded nextest-filtering v0.3.0
  Downloaded nested v0.1.1
  Downloaded miette-derive v5.4.1
  Downloaded itoa v1.0.4
  Downloaded nix v0.25.0
  Downloaded pin-project v1.0.12
  Downloaded nom v5.1.2
  Downloaded arrayvec v0.5.2
  Downloaded ahash v0.7.6
  Downloaded addr2line v0.17.0
  Downloaded async-scoped v0.7.1
  Downloaded atomicwrites v0.3.1
  Downloaded bytecount v0.6.3
  Downloaded backtrace v0.3.66
  Downloaded bytes v1.3.0
  Downloaded cargo_metadata v0.15.2
  Downloaded clap_derive v4.0.21
  Downloaded chrono v0.4.23
  Downloaded combine v4.6.6
  Downloaded clap v4.0.26
  Downloaded config v0.13.2
  Downloaded dialoguer v0.10.2
  Downloaded env_logger v0.9.3
  Downloaded duct v0.13.5
  Downloaded eyre v0.6.8
  Downloaded fnv v1.0.7
  Downloaded fixedbitset v0.4.2
  Downloaded futures-executor v0.3.25
  Downloaded futures-macro v0.3.25
  Downloaded tracing v0.1.37
  Downloaded fastrand v1.8.0
  Downloaded flate2 v1.0.24
  Downloaded home v0.5.4
  Downloaded heck v0.4.0
  Downloaded humantime v2.1.0
  Downloaded humantime-serde v1.1.1
  Downloaded indenter v0.3.3
  Downloaded hyper-rustls v0.23.1
  Downloaded jobserver v0.1.25
  Downloaded miette v5.4.1
  Downloaded lexical-core v0.7.6
  Downloaded cfg-if v1.0.0
  Downloaded http-body v0.4.5
  Downloaded itertools v0.10.5
  Downloaded is_ci v1.1.1
  Downloaded color-eyre v0.6.2
  Downloaded adler v1.0.2
  Downloaded cfg-expr v0.12.0
  Downloaded debug-ignore v1.0.3
  Downloaded futures-channel v0.3.25
  Downloaded futures v0.3.25
  Downloaded hashbrown v0.12.3
  Downloaded guppy-workspace-hack v0.1.0
  Downloaded minimal-lexical v0.2.1
  Downloaded autocfg v1.1.0
  Downloaded httparse v1.8.0
  Downloaded bitflags v1.3.2
  Downloaded ipnet v2.5.1
  Downloaded proc-macro2 v1.0.47
  Downloaded proc-macro-error v1.0.4
  Downloaded async-trait v0.1.58
  Downloaded camino v1.1.1
  Downloaded cc v1.0.77
  Downloaded futures-sink v0.3.25
  Downloaded aho-corasick v0.7.20
  Downloaded form_urlencoded v1.1.0
  Downloaded console v0.15.2
  Downloaded cargo-platform v0.1.2
  Downloaded getrandom v0.2.8
  Downloaded regex v1.7.0
  Downloaded futures-task v0.3.25
  Downloaded futures-util v0.3.25
  Downloaded h2 v0.3.15
  Downloaded regex-syntax v0.6.28
  Downloaded log v0.4.17
  Downloaded lazy_static v1.4.0
  Downloaded httpdate v1.0.2
  Downloaded filetime v0.2.18
  Downloaded indexmap v1.9.2
  Downloaded hyper v0.14.23
  Downloaded unicode-normalization v0.1.22
  Downloaded base64 v0.13.1
  Downloaded pin-utils v0.1.0
  Downloaded xattr v0.2.3
  Downloaded gimli v0.26.2
  Downloaded memchr v2.5.0
  Downloaded crc32fast v1.3.2
  Downloaded libc v0.2.137
  Downloaded textwrap v0.15.2
  Downloaded self_update v0.32.0
  Downloaded quick-xml v0.26.0
  Downloaded serde v1.0.147
  Downloaded once_cell v1.16.0
  Downloaded tower-service v0.3.2
  Downloaded guppy v0.15.0
  Downloaded encoding_rs v0.8.31
  Downloaded toml_edit v0.15.0
  Downloaded num-integer v0.1.45
  Downloaded tokio-util v0.7.4
  Downloaded num_cpus v1.14.0
  Downloaded pathdiff v0.2.1
  Downloaded num-traits v0.2.15
  Downloaded indicatif v0.17.2
  Downloaded indent_write v2.2.0
  Downloaded buffer-unordered-weighted v0.1.2
  Downloaded portable-atomic v0.3.15
  Downloaded number_prefix v0.4.0
  Downloaded nextest-workspace-hack v0.1.0
  Downloaded nextest-metadata v0.7.2
  Downloaded bytecount v0.3.2
  Downloaded webpki-roots v0.22.5
  Downloaded owo-colors v3.5.0
  Downloaded nom-tracable v0.8.0
  Downloaded enable-ansi-support v0.1.2
  Downloaded tracing-core v0.1.30
  Downloaded os_pipe v0.9.2
  Downloaded miniz_oxide v0.5.4
  Downloaded ppv-lite86 v0.2.17
  Downloaded unicode-linebreak v0.1.4
  Downloaded quote v1.0.21
  Downloaded rand v0.8.5
  Downloaded reqwest v0.11.13
  Downloaded sct v0.7.0
  Downloaded remove_dir_all v0.5.3
  Downloaded ryu v1.0.11
  Downloaded smallvec v1.10.0
  Downloaded shared_child v0.3.5
  Downloaded serde_path_to_error v0.1.8
  Downloaded shell-words v1.1.0
  Downloaded static_assertions v1.1.0
  Downloaded smawk v0.3.1
  Downloaded supports-color v1.3.1
  Downloaded strip-ansi-escapes v0.1.1
  Downloaded supports-hyperlinks v1.2.0
  Downloaded tempfile v3.3.0
  Downloaded tar v0.4.38
  Downloaded target-spec v1.2.2
  Downloaded target-lexicon v0.12.5
  Downloaded try-lock v0.2.3
  Downloaded spin v0.5.2
  Downloaded os_str_bytes v6.4.1
  Downloaded url v2.3.1
  Downloaded rustls-pemfile v1.0.1
  Downloaded serde_derive v1.0.147
  Downloaded supports-unicode v1.0.2
  Downloaded serde_ignored v0.1.5
  Downloaded petgraph v0.6.2
  Downloaded object v0.29.0
  Downloaded rand_chacha v0.3.1
  Downloaded serde_urlencoded v0.7.1
  Downloaded pin-project-internal v1.0.12
  Downloaded rand_core v0.6.4
  Downloaded rustc-demangle v0.1.21
  Downloaded signal-hook-registry v1.4.0
  Downloaded semver v1.0.14
  Downloaded termcolor v1.1.3
  Downloaded slab v0.4.7
  Downloaded thiserror v1.0.37
  Downloaded pin-project-lite v0.2.9
  Downloaded socket2 v0.4.7
  Downloaded rustls v0.20.7
  Downloaded syn v1.0.103
  Downloaded terminal_size v0.1.17
  Downloaded proc-macro-error-attr v1.0.4
  Downloaded quick-xml v0.22.0
  Downloaded serde_json v1.0.89
  Downloaded zstd-sys v2.0.2+zstd.1.5.2
  Downloaded ring v0.16.20
  Downloaded uuid v1.2.2
  Downloaded zstd-safe v5.0.2+zstd.1.5.2
  Downloaded zeroize v1.5.7
  Downloaded vte_generate_state_changes v0.1.1
  Downloaded zstd v0.11.2+zstd.1.5.2
  Downloaded vte v0.10.1
  Downloaded tinyvec_macros v0.1.0
  Downloaded unicode-width v0.1.10
  Downloaded version_check v0.9.4
  Downloaded want v0.3.0
  Downloaded unicode-ident v1.0.5
  Downloaded mio v0.8.5
  Downloaded tokio-rustls v0.23.4
  Downloaded thiserror-impl v1.0.37
  Downloaded percent-encoding v2.2.0
  Downloaded untrusted v0.7.1
  Downloaded quick-junit v0.3.2
  Downloaded nextest-runner v0.32.0
  Downloaded utf8parse v0.2.0
  Downloaded tokio-macros v1.8.0
  Downloaded twox-hash v1.6.3
  Downloaded toml_datetime v0.5.0
  Downloaded unicode-bidi v0.3.8
  Downloaded webpki v0.22.0
  Downloaded nom v7.1.1
  Downloaded tinyvec v1.6.0
  Downloaded target-spec-miette v0.1.0
  Downloaded toml v0.5.9
  Downloaded tokio v1.22.0
  Downloaded recursion v0.3.3
  Downloaded nom_locate v4.0.0
  Downloaded nom-tracable-macros v0.8.0
  Downloaded mukti-metadata v0.1.0
  Downloaded nom_locate v1.0.0
  Downloaded 209 crates (19.8 MB) in 6.74s (largest was `ring` at 5.1 MB)
   Compiling proc-macro2 v1.0.47
   Compiling unicode-ident v1.0.5
   Compiling quote v1.0.21
   Compiling libc v0.2.137
   Compiling syn v1.0.103
   Compiling cfg-if v1.0.0
   Compiling memchr v2.5.0
   Compiling autocfg v1.1.0
   Compiling serde_derive v1.0.147
   Compiling serde v1.0.147
   Compiling version_check v0.9.4
   Compiling once_cell v1.16.0
   Compiling pin-project-lite v0.2.9
   Compiling futures-core v0.3.25
   Compiling log v0.4.17
   Compiling futures-channel v0.3.25
   Compiling futures-sink v0.3.25
   Compiling futures-task v0.3.25
   Compiling futures-util v0.3.25
   Compiling bytes v1.3.0
   Compiling itoa v1.0.4
   Compiling ryu v1.0.11
   Compiling pin-utils v0.1.0
   Compiling futures-io v0.3.25
   Compiling hashbrown v0.12.3
   Compiling spin v0.5.2
   Compiling thiserror v1.0.37
   Compiling untrusted v0.7.1
   Compiling camino v1.1.1
   Compiling target-lexicon v0.12.5
   Compiling serde_json v1.0.89
   Compiling unicode-width v0.1.10
   Compiling regex-syntax v0.6.28
   Compiling adler v1.0.2
   Compiling fnv v1.0.7
   Compiling semver v1.0.14
   Compiling static_assertions v1.1.0
   Compiling arrayvec v0.5.2
   Compiling bitflags v1.3.2
   Compiling guppy-workspace-hack v0.1.0
   Compiling rustls v0.20.7
   Compiling gimli v0.26.2
   Compiling smallvec v1.10.0
   Compiling tinyvec_macros v0.1.0
   Compiling httparse v1.8.0
   Compiling target-spec v1.2.2
   Compiling is_ci v1.1.1
   Compiling lexical-core v0.7.6
   Compiling rustc-demangle v0.1.21
   Compiling try-lock v0.2.3
   Compiling nextest-workspace-hack v0.1.0
   Compiling either v1.8.0
   Compiling lazy_static v1.4.0
   Compiling minimal-lexical v0.2.1
   Compiling percent-encoding v2.2.0
   Compiling smawk v0.3.1
   Compiling crc32fast v1.3.2
   Compiling remove_dir_all v0.5.3
   Compiling tower-service v0.3.2
   Compiling encoding_rs v0.8.31
   Compiling portable-atomic v0.3.15
   Compiling fastrand v1.8.0
   Compiling unicode-bidi v0.3.8
   Compiling httpdate v1.0.2
   Compiling zstd-safe v5.0.2+zstd.1.5.2
   Compiling async-trait v0.1.58
   Compiling bytecount v0.3.2
   Compiling base64 v0.13.1
   Compiling fixedbitset v0.4.2
   Compiling bytecount v0.6.3
   Compiling eyre v0.6.8
   Compiling nested v0.1.1
   Compiling debug-ignore v1.0.3
   Compiling iana-time-zone v0.1.53
   Compiling utf8parse v0.2.0
   Compiling self_update v0.32.0
   Compiling number_prefix v0.4.0
   Compiling mime v0.3.16
   Compiling ipnet v2.5.1
   Compiling ppv-lite86 v0.2.17
   Compiling humantime v2.1.0
   Compiling nextest-runner v0.32.0
   Compiling indenter v0.3.3
   Compiling heck v0.4.0
   Compiling os_str_bytes v6.4.1
   Compiling strsim v0.10.0
   Compiling zeroize v1.5.7
   Compiling home v0.5.4
   Compiling shell-words v1.1.0
   Compiling termcolor v1.1.3
   Compiling indent_write v2.2.0
   Compiling enable-ansi-support v0.1.2
   Compiling slab v0.4.7
   Compiling indexmap v1.9.2
   Compiling tokio v1.22.0
   Compiling num-traits v0.2.15
   Compiling num-integer v0.1.45
   Compiling tracing-core v0.1.30
   Compiling ahash v0.7.6
   Compiling nom v5.1.2
   Compiling proc-macro-error-attr v1.0.4
   Compiling proc-macro-error v1.0.4
   Compiling miniz_oxide v0.5.4
   Compiling http v0.2.8
   Compiling twox-hash v1.6.3
   Compiling tinyvec v1.6.0
   Compiling itertools v0.10.5
   Compiling form_urlencoded v1.1.0
   Compiling addr2line v0.17.0
   Compiling rustls-pemfile v1.0.1
   Compiling clap_lex v0.3.0
   Compiling tracing v0.1.37
   Compiling http-body v0.4.5
   Compiling unicode-normalization v0.1.22
   Compiling object v0.29.0
   Compiling nom v7.1.1
   Compiling aho-corasick v0.7.20
   Compiling quick-xml v0.26.0
   Compiling quick-xml v0.22.0
   Compiling combine v4.6.6
   Compiling socket2 v0.4.7
   Compiling atty v0.2.14
   Compiling signal-hook-registry v1.4.0
   Compiling num_cpus v1.14.0
   Compiling terminal_size v0.1.17
   Compiling getrandom v0.2.8
   Compiling tempfile v3.3.0
   Compiling filetime v0.2.18
   Compiling time v0.1.44
   Compiling xattr v0.2.3
   Compiling shared_child v0.3.5
   Compiling os_pipe v0.9.2
   Compiling nix v0.25.0
   Compiling jobserver v0.1.25
   Compiling mio v0.8.5
   Compiling want v0.3.0
   Compiling env_logger v0.9.3
   Compiling cfg-expr v0.12.0
   Compiling flate2 v1.0.24
   Compiling idna v0.3.0
   Compiling vte_generate_state_changes v0.1.1
   Compiling regex v1.7.0
   Compiling nom_locate v4.0.0
   Compiling supports-color v1.3.1
   Compiling supports-unicode v1.0.2
   Compiling supports-hyperlinks v1.2.0
   Compiling console v0.15.2
   Compiling rand_core v0.6.4
   Compiling uuid v1.2.2
   Compiling atomicwrites v0.3.1
   Compiling tar v0.4.38
   Compiling duct v0.13.5
   Compiling cc v1.0.77
   Compiling petgraph v0.6.2
   Compiling url v2.3.1
   Compiling vte v0.10.1
   Compiling nom_locate v1.0.0
   Compiling owo-colors v3.5.0
   Compiling rand_chacha v0.3.1
   Compiling indicatif v0.17.2
   Compiling dialoguer v0.10.2
   Compiling futures-macro v0.3.25
   Compiling tokio-macros v1.8.0
   Compiling thiserror-impl v1.0.37
   Compiling miette-derive v5.4.1
   Compiling pin-project-internal v1.0.12
   Compiling nom-tracable-macros v0.8.0
   Compiling chrono v0.4.23
   Compiling ring v0.16.20
   Compiling backtrace v0.3.66
   Compiling zstd-sys v2.0.2+zstd.1.5.2
   Compiling strip-ansi-escapes v0.1.1
   Compiling rand v0.8.5
   Compiling clap_derive v4.0.21
   Compiling unicode-linebreak v0.1.4
   Compiling nom-tracable v0.8.0
   Compiling pin-project v1.0.12
   Compiling clap v4.0.26
   Compiling quick-junit v0.3.2
   Compiling futures-executor v0.3.25
   Compiling buffer-unordered-weighted v0.1.2
   Compiling tokio-util v0.7.4
   Compiling cargo-platform v0.1.2
   Compiling serde_urlencoded v0.7.1
   Compiling toml v0.5.9
   Compiling toml_datetime v0.5.0
   Compiling humantime-serde v1.1.1
   Compiling serde_path_to_error v0.1.8
   Compiling serde_ignored v0.1.5
   Compiling futures v0.3.25
   Compiling color-eyre v0.6.2
   Compiling textwrap v0.15.2
   Compiling h2 v0.3.15
   Compiling pathdiff v0.2.1
   Compiling mukti-metadata v0.1.0
   Compiling nextest-metadata v0.7.2
   Compiling cargo_metadata v0.15.2
   Compiling toml_edit v0.15.0
   Compiling recursion v0.3.3
   Compiling async-scoped v0.7.1
   Compiling miette v5.4.1
   Compiling config v0.13.2
   Compiling hyper v0.14.23
   Compiling guppy v0.15.0
   Compiling target-spec-miette v0.1.0
   Compiling nextest-filtering v0.3.0
   Compiling webpki v0.22.0
   Compiling sct v0.7.0
   Compiling webpki-roots v0.22.5
   Compiling tokio-rustls v0.23.4
   Compiling hyper-rustls v0.23.1
   Compiling reqwest v0.11.13
   Compiling zstd v0.11.2+zstd.1.5.2
   Compiling cargo-nextest v0.9.44
    Finished release [optimized] target(s) in 2m 40s
  Installing /root/.cargo/bin/cargo-nextest
   Installed package `cargo-nextest v0.9.44` (executable `cargo-nextest`)
  Downloaded grcov v0.8.2
  Downloaded 1 crate (80.1 KB) in 2.49s
    Updating crates.io index
  Installing grcov v0.8.2
warning: package `crossbeam-deque v0.8.0` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
warning: package `crossbeam-utils v0.8.5` in Cargo.lock is yanked in registry `crates-io`, consider running without --locked
  Downloaded is_executable v1.0.1
  Downloaded percent-encoding v2.1.0
  Downloaded crossbeam v0.8.1
  Downloaded clap v2.33.3
  Downloaded crossbeam-deque v0.8.0
  Downloaded globset v0.4.8
  Downloaded log v0.4.14
  Downloaded memmap v0.7.0
  Downloaded maplit v1.0.2
  Downloaded msvc-demangler v0.9.0
  Downloaded opaque-debug v0.3.0
  Downloaded pest v2.1.3
  Downloaded pkg-config v0.3.19
  Downloaded pest_generator v2.1.3
  Downloaded rand_core v0.6.3
  Downloaded parse-zoneinfo v0.3.0
  Downloaded semver-parser v0.7.0
  Downloaded rustc-cfg v0.4.0
  Downloaded serde_json v1.0.64
  Downloaded once_cell v1.8.0
  Downloaded serde v1.0.126
  Downloaded rustc-demangle v0.1.20
  Downloaded slug v0.1.4
  Downloaded proc-macro2 v1.0.27
  Downloaded ryu v1.0.5
  Downloaded rayon v1.5.1
  Downloaded smallvec v1.6.1
  Downloaded quote v1.0.9
  Downloaded globwalk v0.8.1
  Downloaded itoa v0.4.7
  Downloaded rayon-core v1.9.1
  Downloaded heck v0.3.3
  Downloaded fake-simd v0.1.2
  Downloaded digest v0.9.0
  Downloaded byte-tools v0.3.1
  Downloaded num_cpus v1.13.0
  Downloaded regex v1.5.4
  Downloaded scopeguard v1.1.0
  Downloaded rustc-hash v1.1.0
  Downloaded same-file v1.0.6
  Downloaded miniz_oxide v0.4.4
  Downloaded getrandom v0.2.3
  Downloaded rustc_version v0.2.3
  Downloaded regex-syntax v0.6.25
  Downloaded opaque-debug v0.2.3
  Downloaded rand v0.8.4
  Downloaded thiserror v1.0.25
  Downloaded aho-corasick v0.7.18
  Downloaded unic-char-property v0.9.0
  Downloaded unic-ucd-version v0.9.0
  Downloaded block-padding v0.1.5
  Downloaded anyhow v1.0.41
  Downloaded addr2line v0.15.2
  Downloaded ansi_term v0.11.0
  Downloaded crc32fast v1.2.1
  Downloaded crossbeam-channel v0.5.1
  Downloaded cc v1.0.68
  Downloaded failure_derive v0.1.8
  Downloaded crossbeam-queue v0.3.2
  Downloaded crossbeam-epoch v0.9.5
  Downloaded crossbeam-utils v0.8.5
  Downloaded flate2 v1.0.20
  Downloaded unic-common v0.9.0
  Downloaded md-5 v0.9.1
  Downloaded unicode-width v0.1.8
  Downloaded ignore v0.4.18
  Downloaded libz-sys v1.1.3
  Downloaded unic-ucd-segment v0.9.0
  Downloaded version_check v0.9.3
  Downloaded unic-char-range v0.9.0
  Downloaded typenum v1.13.0
  Downloaded zip v0.5.13
  Downloaded time v0.1.43
  Downloaded syn v1.0.73
  Downloaded unic-segment v0.9.0
  Downloaded synstructure v0.12.4
  Downloaded block-buffer v0.9.0
  Downloaded vec_map v0.8.2
  Downloaded digest v0.8.1
  Downloaded block-buffer v0.7.3
  Downloaded thiserror-impl v1.0.25
  Downloaded uuid v0.8.2
  Downloaded memoffset v0.6.4
  Downloaded generic-array v0.14.4
  Downloaded walkdir v2.3.2
  Downloaded humansize v1.1.1
  Downloaded generic-array v0.12.4
  Downloaded bstr v0.2.16
  Downloaded unicode-segmentation v1.8.0
  Downloaded libc v0.2.97
  Downloaded symbolic-demangle v8.3.0
  Downloaded object v0.25.3
  Downloaded tempfile v3.2.0
  Downloaded thread_local v1.1.3
  Downloaded simplelog v0.10.0
  Downloaded pest_derive v2.1.0
  Downloaded ppv-lite86 v0.2.10
  Downloaded chrono-tz v0.5.3
  Downloaded fomat-macros v0.3.1
  Downloaded cargo_metadata v0.11.4
  Downloaded semver v1.0.3
  Downloaded semver v0.10.0
  Downloaded textwrap v0.11.0
  Downloaded debugid v0.7.2
  Downloaded symbolic-common v8.3.0
  Downloaded structopt-derive v0.4.15
  Downloaded structopt v0.3.22
  Downloaded cargo-binutils v0.3.3
  Downloaded cpp_demangle v0.3.2
  Downloaded backtrace v0.3.60
  Downloaded deunicode v0.4.3
  Downloaded tera v1.12.1
  Downloaded sha-1 v0.8.2
  Downloaded serde_derive v1.0.126
  Downloaded toml v0.5.8
  Downloaded ucd-trie v0.1.3
  Downloaded semver v0.9.0
  Downloaded stable_deref_trait v1.2.0
  Downloaded failure v0.1.8
  Downloaded pest_meta v2.1.3
  Downloaded gimli v0.24.0
  Downloaded unicode-xid v0.2.2
  Downloaded strsim v0.8.0
  Downloaded 123 crates (8.3 MB) in 3.28s (largest was `libz-sys` at 1.3 MB)
   Compiling cfg-if v1.0.0
   Compiling libc v0.2.97
   Compiling autocfg v1.0.1
   Compiling proc-macro2 v1.0.27
   Compiling unicode-xid v0.2.2
   Compiling syn v1.0.73
   Compiling memchr v2.4.0
   Compiling version_check v0.9.3
   Compiling crossbeam-utils v0.8.5
   Compiling serde_derive v1.0.126
   Compiling lazy_static v1.4.0
   Compiling serde v1.0.126
   Compiling cc v1.0.68
   Compiling bitflags v1.2.1
   Compiling adler v1.0.2
   Compiling log v0.4.14
   Compiling crossbeam-epoch v0.9.5
   Compiling regex-syntax v0.6.25
   Compiling typenum v1.13.0
   Compiling ryu v1.0.5
   Compiling ucd-trie v0.1.3
   Compiling pkg-config v0.3.19
   Compiling semver-parser v0.7.0
   Compiling scopeguard v1.1.0
   Compiling failure_derive v0.1.8
   Compiling serde_json v1.0.64
   Compiling rustc-demangle v0.1.20
   Compiling gimli v0.24.0
   Compiling maplit v1.0.2
   Compiling crc32fast v1.2.1
   Compiling ppv-lite86 v0.2.10
   Compiling same-file v1.0.6
   Compiling unic-common v0.9.0
   Compiling unic-char-range v0.9.0
   Compiling itoa v0.4.7
   Compiling rayon-core v1.9.1
   Compiling once_cell v1.8.0
   Compiling unicode-width v0.1.8
   Compiling fnv v1.0.7
   Compiling glob v0.3.0
   Compiling crossbeam-queue v0.3.2
   Compiling strsim v0.8.0
   Compiling anyhow v1.0.41
   Compiling ansi_term v0.11.0
   Compiling unicode-segmentation v1.8.0
   Compiling vec_map v0.8.2
   Compiling symbolic-demangle v8.3.0
   Compiling stable_deref_trait v1.2.0
   Compiling deunicode v0.4.3
   Compiling semver v1.0.3
   Compiling byteorder v1.4.3
   Compiling percent-encoding v2.1.0
   Compiling termcolor v1.1.2
   Compiling opaque-debug v0.3.0
   Compiling either v1.6.1
   Compiling remove_dir_all v0.5.3
   Compiling humansize v1.1.1
   Compiling rustc-hash v1.1.0
   Compiling smallvec v1.6.1
   Compiling is_executable v1.0.1
   Compiling fomat-macros v0.3.1
   Compiling miniz_oxide v0.4.4
   Compiling num-traits v0.2.14
   Compiling memoffset v0.6.4
   Compiling num-integer v0.1.44
   Compiling rayon v1.5.1
   Compiling generic-array v0.14.4
   Compiling proc-macro-error-attr v1.0.4
   Compiling proc-macro-error v1.0.4
   Compiling backtrace v0.3.60
   Compiling pest v2.1.3
   Compiling semver v0.9.0
   Compiling libz-sys v1.1.3
   Compiling walkdir v2.3.2
   Compiling unic-ucd-version v0.9.0
   Compiling unic-char-property v0.9.0
   Compiling thread_local v1.1.3
   Compiling textwrap v0.11.0
   Compiling addr2line v0.15.2
   Compiling cpp_demangle v0.3.2
   Compiling heck v0.3.3
   Compiling slug v0.1.4
   Compiling rustc_version v0.2.3
   Compiling unic-ucd-segment v0.9.0
   Compiling pest_meta v2.1.3
   Compiling quote v1.0.9
   Compiling getrandom v0.2.3
   Compiling time v0.1.43
   Compiling atty v0.2.14
   Compiling memmap v0.7.0
   Compiling num_cpus v1.13.0
   Compiling aho-corasick v0.7.18
   Compiling object v0.25.3
   Compiling bstr v0.2.16
   Compiling quick-xml v0.22.0
   Compiling crossbeam-channel v0.5.1
   Compiling msvc-demangler v0.9.0
   Compiling unic-segment v0.9.0
   Compiling rand_core v0.6.3
   Compiling uuid v0.8.2
   Compiling clap v2.33.3
   Compiling regex v1.5.4
   Compiling digest v0.9.0
   Compiling block-buffer v0.9.0
   Compiling flate2 v1.0.20
   Compiling rand_chacha v0.3.1
   Compiling debugid v0.7.2
   Compiling crossbeam-deque v0.8.0
   Compiling globset v0.4.8
   Compiling synstructure v0.12.4
   Compiling pest_generator v2.1.3
   Compiling parse-zoneinfo v0.3.0
   Compiling thiserror-impl v1.0.25
   Compiling md-5 v0.9.1
   Compiling rand v0.8.4
   Compiling symbolic-common v8.3.0
   Compiling crossbeam v0.8.1
   Compiling ignore v0.4.18
   Compiling structopt-derive v0.4.15
   Compiling pest_derive v2.1.0
   Compiling chrono-tz v0.5.3
   Compiling tempfile v3.2.0
   Compiling thiserror v1.0.25
   Compiling globwalk v0.8.1
   Compiling failure v0.1.8
   Compiling structopt v0.3.22
   Compiling zip v0.5.13
   Compiling rustc-cfg v0.4.0
   Compiling chrono v0.4.19
   Compiling semver v0.10.0
   Compiling toml v0.5.8
   Compiling simplelog v0.10.0
   Compiling cargo_metadata v0.11.4
   Compiling cargo-binutils v0.3.3
   Compiling tera v1.12.1
   Compiling grcov v0.8.2
    Finished release [optimized] target(s) in 1m 19s
  Installing /root/.cargo/bin/grcov
   Installed package `grcov v0.8.2` (executable `grcov`)
Installing libpq-dev.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  systemd-hwe-hwdb
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
  libpq5
Suggested packages:
  postgresql-doc-14
The following NEW packages will be installed:
  libpq-dev libpq5
0 upgraded, 2 newly installed, 0 to remove and 179 not upgraded.
Need to get 287 kB of archives.
After this operation, 991 kB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpq5 amd64 14.5-0ubuntu0.22.04.1 [140 kB]
Get:2 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpq-dev amd64 14.5-0ubuntu0.22.04.1 [147 kB]
Fetched 287 kB in 3s (93.3 kB/s)   
Selecting previously unselected package libpq5:amd64.
(Reading database ... 209376 files and directories currently installed.)
Preparing to unpack .../libpq5_14.5-0ubuntu0.22.04.1_amd64.deb ...
Unpacking libpq5:amd64 (14.5-0ubuntu0.22.04.1) ...
Selecting previously unselected package libpq-dev.
Preparing to unpack .../libpq-dev_14.5-0ubuntu0.22.04.1_amd64.deb ...
Unpacking libpq-dev (14.5-0ubuntu0.22.04.1) ...
Setting up libpq5:amd64 (14.5-0ubuntu0.22.04.1) ...
Setting up libpq-dev (14.5-0ubuntu0.22.04.1) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Processing triggers for man-db (2.10.2-1) ...
apt-get install result code: 0
git is already installed
Installing lcov.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  systemd-hwe-hwdb
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
  libjson-perl libperlio-gzip-perl
Recommended packages:
  libgd-gd2-perl libjson-xs-perl
The following NEW packages will be installed:
  lcov libjson-perl libperlio-gzip-perl
0 upgraded, 3 newly installed, 0 to remove and 179 not upgraded.
Need to get 196 kB of archives.
After this operation, 744 kB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 libjson-perl all 4.04000-1 [81.8 kB]
Get:2 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 libperlio-gzip-perl amd64 0.19-1build8 [14.9 kB]
Get:3 http://cn.archive.ubuntu.com/ubuntu jammy/universe amd64 lcov all 1.15-1 [99.5 kB]
Fetched 196 kB in 2s (87.2 kB/s)
Selecting previously unselected package libjson-perl.
(Reading database ... 209407 files and directories currently installed.)
Preparing to unpack .../libjson-perl_4.04000-1_all.deb ...
Unpacking libjson-perl (4.04000-1) ...
Selecting previously unselected package libperlio-gzip-perl.
Preparing to unpack .../libperlio-gzip-perl_0.19-1build8_amd64.deb ...
Unpacking libperlio-gzip-perl (0.19-1build8) ...
Selecting previously unselected package lcov.
Preparing to unpack .../archives/lcov_1.15-1_all.deb ...
Unpacking lcov (1.15-1) ...
Setting up libjson-perl (4.04000-1) ...
Setting up libperlio-gzip-perl (0.19-1build8) ...
Setting up lcov (1.15-1) ...
Processing triggers for man-db (2.10.2-1) ...
apt-get install result code: 0

## Installing the NodeSource Node.js 14.x repo...


## Populating apt-get cache...

+ apt-get update
Hit:1 http://cn.archive.ubuntu.com/ubuntu jammy InRelease   
Hit:2 http://cn.archive.ubuntu.com/ubuntu jammy-updates InRelease
Hit:3 http://security.ubuntu.com/ubuntu jammy-security InRelease
Hit:4 http://cn.archive.ubuntu.com/ubuntu jammy-backports InRelease
Reading package lists... Done

## Confirming "jammy" is supported...

+ curl -sLf -o /dev/null 'https://deb.nodesource.com/node_14.x/dists/jammy/Release'

## Adding the NodeSource signing key to your keyring...

+ curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null

## Creating apt sources list file for the NodeSource Node.js 14.x repo...

+ echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_14.x jammy main' > /etc/apt/sources.list.d/nodesource.list
+ echo 'deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_14.x jammy main' >> /etc/apt/sources.list.d/nodesource.list

## Running `apt-get update` for you...

+ apt-get update
Get:1 https://deb.nodesource.com/node_14.x jammy InRelease [4,563 B]           
Hit:2 http://security.ubuntu.com/ubuntu jammy-security InRelease               
Hit:3 http://cn.archive.ubuntu.com/ubuntu jammy InRelease
Hit:4 http://cn.archive.ubuntu.com/ubuntu jammy-updates InRelease
Get:5 https://deb.nodesource.com/node_14.x jammy/main amd64 Packages [773 B]
Hit:6 http://cn.archive.ubuntu.com/ubuntu jammy-backports InRelease
Fetched 5,336 B in 2s (3,260 B/s)
Reading package lists... Done

## Run `sudo apt-get install -y nodejs` to install Node.js 14.x and npm
## You may also need development tools to build native addons:
     sudo apt-get install gcc g++ make
## To install the Yarn package manager, run:
     curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
     echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
     sudo apt-get update && sudo apt-get install yarn


Installing nodejs.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  systemd-hwe-hwdb
Use 'apt autoremove' to remove it.
The following NEW packages will be installed:
  nodejs
0 upgraded, 1 newly installed, 0 to remove and 179 not upgraded.
Need to get 25.7 MB of archives.
After this operation, 125 MB of additional disk space will be used.
Get:1 https://deb.nodesource.com/node_14.x jammy/main amd64 nodejs amd64 14.21.1-deb-1nodesource1 [25.7 MB]
Fetched 25.7 MB in 6s (4,415 kB/s)                 
Selecting previously unselected package nodejs.
(Reading database ... 209461 files and directories currently installed.)
Preparing to unpack .../nodejs_14.21.1-deb-1nodesource1_amd64.deb ...
Unpacking nodejs (14.21.1-deb-1nodesource1) ...
Setting up nodejs (14.21.1-deb-1nodesource1) ...
Processing triggers for man-db (2.10.2-1) ...
apt-get install result code: 0
npm is already installed
==> Extracting pnpm binaries 7.14.2
Copying pnpm CLI from /tmp/tmp.HpdJFcjxbn/pnpm to /root/.local/share/pnpm/pnpm
Appended new lines to /root/.bashrc

Next configuration changes were made:
export PNPM_HOME="/root/.local/share/pnpm"
export PATH="$PNPM_HOME:$PATH"

To start using pnpm, run:
source /root/.bashrc
unzip is already installed
Installing protoc and plugins
Archive:  protoc-21.4-linux-x86_64.zip
  inflating: /usr/local/bin/protoc   
Archive:  protoc-21.4-linux-x86_64.zip
  inflating: /usr/local/include/google/protobuf/any.proto  
  inflating: /usr/local/include/google/protobuf/api.proto  
  inflating: /usr/local/include/google/protobuf/compiler/plugin.proto  
  inflating: /usr/local/include/google/protobuf/descriptor.proto  
  inflating: /usr/local/include/google/protobuf/duration.proto  
  inflating: /usr/local/include/google/protobuf/empty.proto  
  inflating: /usr/local/include/google/protobuf/field_mask.proto  
  inflating: /usr/local/include/google/protobuf/source_context.proto  
  inflating: /usr/local/include/google/protobuf/struct.proto  
  inflating: /usr/local/include/google/protobuf/timestamp.proto  
  inflating: /usr/local/include/google/protobuf/type.proto  
  inflating: /usr/local/include/google/protobuf/wrappers.proto  
    Updating crates.io index
  Downloaded protoc-gen-prost v0.2.1
  Downloaded 1 crate (11.8 KB) in 2.45s
  Installing protoc-gen-prost v0.2.1
  Downloaded which v4.3.0
  Downloaded prost v0.11.2
  Downloaded prost-types v0.11.2
  Downloaded prost-build v0.11.1
  Downloaded prost-derive v0.11.2
  Downloaded multimap v0.8.3
  Downloaded anyhow v1.0.66
  Downloaded 7 crates (186.6 KB) in 1.14s
   Compiling proc-macro2 v1.0.47
   Compiling quote v1.0.21
   Compiling unicode-ident v1.0.5
   Compiling syn v1.0.103
   Compiling anyhow v1.0.66
   Compiling either v1.8.0
   Compiling autocfg v1.1.0
   Compiling libc v0.2.137
   Compiling hashbrown v0.12.3
   Compiling bytes v1.3.0
   Compiling log v0.4.17
   Compiling cfg-if v1.0.0
   Compiling fixedbitset v0.4.2
   Compiling remove_dir_all v0.5.3
   Compiling regex-syntax v0.6.28
   Compiling fastrand v1.8.0
   Compiling lazy_static v1.4.0
   Compiling multimap v0.8.3
   Compiling heck v0.4.0
   Compiling once_cell v1.16.0
   Compiling itertools v0.10.5
   Compiling indexmap v1.9.2
   Compiling regex v1.7.0
   Compiling tempfile v3.3.0
   Compiling which v4.3.0
   Compiling petgraph v0.6.2
   Compiling prost-derive v0.11.2
   Compiling prost v0.11.2
   Compiling prost-types v0.11.2
   Compiling prost-build v0.11.1
   Compiling protoc-gen-prost v0.2.1
    Finished release [optimized + debuginfo] target(s) in 35.40s
  Installing /root/.cargo/bin/protoc-gen-prost
   Installed package `protoc-gen-prost v0.2.1` (executable `protoc-gen-prost`)
    Updating crates.io index
  Downloaded protoc-gen-prost-serde v0.2.1
  Downloaded 1 crate (7.3 KB) in 2.29s
  Installing protoc-gen-prost-serde v0.2.1
  Downloaded pbjson-build v0.5.1
  Downloaded 1 crate (16.7 KB) in 1.94s
   Compiling proc-macro2 v1.0.47
   Compiling unicode-ident v1.0.5
   Compiling quote v1.0.21
   Compiling anyhow v1.0.66
   Compiling syn v1.0.103
   Compiling either v1.8.0
   Compiling autocfg v1.1.0
   Compiling libc v0.2.137
   Compiling bytes v1.3.0
   Compiling log v0.4.17
   Compiling hashbrown v0.12.3
   Compiling cfg-if v1.0.0
   Compiling fixedbitset v0.4.2
   Compiling regex-syntax v0.6.28
   Compiling remove_dir_all v0.5.3
   Compiling heck v0.4.0
   Compiling fastrand v1.8.0
   Compiling multimap v0.8.3
   Compiling lazy_static v1.4.0
   Compiling once_cell v1.16.0
   Compiling itertools v0.10.5
   Compiling indexmap v1.9.2
   Compiling regex v1.7.0
   Compiling tempfile v3.3.0
   Compiling which v4.3.0
   Compiling petgraph v0.6.2
   Compiling prost-derive v0.11.2
   Compiling prost v0.11.2
   Compiling prost-types v0.11.2
   Compiling prost-build v0.11.1
   Compiling pbjson-build v0.5.1
   Compiling protoc-gen-prost v0.2.1
   Compiling protoc-gen-prost-serde v0.2.1
    Finished release [optimized + debuginfo] target(s) in 35.94s
  Installing /root/.cargo/bin/protoc-gen-prost-serde
   Installed package `protoc-gen-prost-serde v0.2.1` (executable `protoc-gen-prost-serde`)
    Updating crates.io index
  Downloaded protoc-gen-prost-crate v0.3.1
  Downloaded 1 crate (11.0 KB) in 2.32s
  Installing protoc-gen-prost-crate v0.3.1
   Compiling proc-macro2 v1.0.47
   Compiling quote v1.0.21
   Compiling unicode-ident v1.0.5
   Compiling anyhow v1.0.66
   Compiling syn v1.0.103
   Compiling libc v0.2.137
   Compiling either v1.8.0
   Compiling autocfg v1.1.0
   Compiling log v0.4.17
   Compiling cfg-if v1.0.0
   Compiling hashbrown v0.12.3
   Compiling bytes v1.3.0
   Compiling fastrand v1.8.0
   Compiling regex-syntax v0.6.28
   Compiling remove_dir_all v0.5.3
   Compiling fixedbitset v0.4.2
   Compiling heck v0.4.0
   Compiling multimap v0.8.3
   Compiling lazy_static v1.4.0
   Compiling once_cell v1.16.0
   Compiling itertools v0.10.5
   Compiling indexmap v1.9.2
   Compiling regex v1.7.0
   Compiling which v4.3.0
   Compiling tempfile v3.3.0
   Compiling petgraph v0.6.2
   Compiling prost-derive v0.11.2
   Compiling prost v0.11.2
   Compiling prost-types v0.11.2
   Compiling prost-build v0.11.1
   Compiling protoc-gen-prost v0.2.1
   Compiling protoc-gen-prost-crate v0.3.1
    Finished release [optimized + debuginfo] target(s) in 31.57s
  Installing /root/.cargo/bin/protoc-gen-prost-crate
   Installed package `protoc-gen-prost-crate v0.3.1` (executable `protoc-gen-prost-crate`)
Installing python3-all-dev.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  systemd-hwe-hwdb
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
  libexpat1 libexpat1-dev libjs-jquery libjs-sphinxdoc libjs-underscore
  libpython3-all-dev libpython3-dev libpython3-stdlib libpython3.10
  libpython3.10-dev libpython3.10-minimal libpython3.10-stdlib python3
  python3-all python3-dev python3-distutils python3-lib2to3 python3-minimal
  python3.10 python3.10-dev python3.10-minimal zlib1g-dev
Suggested packages:
  python3-doc python3-tk python3-venv python3.10-venv python3.10-doc
  binfmt-support
Recommended packages:
  javascript-common
The following NEW packages will be installed:
  libexpat1-dev libjs-jquery libjs-sphinxdoc libjs-underscore
  libpython3-all-dev libpython3-dev libpython3.10-dev python3-all
  python3-all-dev python3-dev python3-distutils python3.10-dev zlib1g-dev
The following packages will be upgraded:
  libexpat1 libpython3-stdlib libpython3.10 libpython3.10-minimal
  libpython3.10-stdlib python3 python3-lib2to3 python3-minimal python3.10
  python3.10-minimal
10 upgraded, 13 newly installed, 0 to remove and 169 not upgraded.
Need to get 6,324 kB/13.9 MB of archives.
After this operation, 25.3 MB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libexpat1-dev amd64 2.4.7-1ubuntu0.2 [147 kB]
Get:2 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 libjs-jquery all 3.6.0+dfsg+~3.5.13-1 [321 kB]
Get:3 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 libjs-underscore all 1.13.2~dfsg-2 [118 kB]
Get:4 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 libjs-sphinxdoc all 4.3.2-1 [139 kB]
Get:5 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 zlib1g-dev amd64 1:1.2.11.dfsg-2ubuntu9.2 [164 kB]
Get:6 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpython3.10-dev amd64 3.10.6-1~22.04.1 [4,753 kB]
Get:7 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpython3-dev amd64 3.10.6-1~22.04 [7,166 B]
Get:8 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 libpython3-all-dev amd64 3.10.6-1~22.04 [926 B]
Get:9 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-distutils all 3.10.6-1~22.04 [139 kB]
Get:10 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-all amd64 3.10.6-1~22.04 [908 B]
Get:11 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3.10-dev amd64 3.10.6-1~22.04.1 [507 kB]
Get:12 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-dev amd64 3.10.6-1~22.04 [26.0 kB]
Get:13 http://cn.archive.ubuntu.com/ubuntu jammy-updates/main amd64 python3-all-dev amd64 3.10.6-1~22.04 [920 B]
Fetched 6,324 kB in 25s (255 kB/s)                                             
(Reading database ... 214421 files and directories currently installed.)
Preparing to unpack .../0-libexpat1_2.4.7-1ubuntu0.2_amd64.deb ...
Unpacking libexpat1:amd64 (2.4.7-1ubuntu0.2) over (2.4.7-1) ...
Preparing to unpack .../1-libpython3.10_3.10.6-1~22.04.1_amd64.deb ...
Unpacking libpython3.10:amd64 (3.10.6-1~22.04.1) over (3.10.4-3ubuntu0.1) ...
Preparing to unpack .../2-python3.10_3.10.6-1~22.04.1_amd64.deb ...
Unpacking python3.10 (3.10.6-1~22.04.1) over (3.10.4-3ubuntu0.1) ...
Preparing to unpack .../3-python3-lib2to3_3.10.6-1~22.04_all.deb ...
Unpacking python3-lib2to3 (3.10.6-1~22.04) over (3.10.4-0ubuntu1) ...
Preparing to unpack .../4-libpython3.10-stdlib_3.10.6-1~22.04.1_amd64.deb ...
Unpacking libpython3.10-stdlib:amd64 (3.10.6-1~22.04.1) over (3.10.4-3ubuntu0.1) ...
Preparing to unpack .../5-python3.10-minimal_3.10.6-1~22.04.1_amd64.deb ...
Unpacking python3.10-minimal (3.10.6-1~22.04.1) over (3.10.4-3ubuntu0.1) ...
Preparing to unpack .../6-libpython3.10-minimal_3.10.6-1~22.04.1_amd64.deb ...
Unpacking libpython3.10-minimal:amd64 (3.10.6-1~22.04.1) over (3.10.4-3ubuntu0.1) ...
Setting up libpython3.10-minimal:amd64 (3.10.6-1~22.04.1) ...
Setting up libexpat1:amd64 (2.4.7-1ubuntu0.2) ...
Setting up python3.10-minimal (3.10.6-1~22.04.1) ...
(Reading database ... 214500 files and directories currently installed.)
Preparing to unpack .../python3-minimal_3.10.6-1~22.04_amd64.deb ...
Unpacking python3-minimal (3.10.6-1~22.04) over (3.10.4-0ubuntu2) ...
Setting up python3-minimal (3.10.6-1~22.04) ...
(Reading database ... 214500 files and directories currently installed.)
Preparing to unpack .../00-python3_3.10.6-1~22.04_amd64.deb ...
running python pre-rtupdate hooks for python3.10...
Unpacking python3 (3.10.6-1~22.04) over (3.10.4-0ubuntu2) ...
Preparing to unpack .../01-libpython3-stdlib_3.10.6-1~22.04_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.10.6-1~22.04) over (3.10.4-0ubuntu2) ...
Selecting previously unselected package libexpat1-dev:amd64.
Preparing to unpack .../02-libexpat1-dev_2.4.7-1ubuntu0.2_amd64.deb ...
Unpacking libexpat1-dev:amd64 (2.4.7-1ubuntu0.2) ...
Selecting previously unselected package libjs-jquery.
Preparing to unpack .../03-libjs-jquery_3.6.0+dfsg+~3.5.13-1_all.deb ...
Unpacking libjs-jquery (3.6.0+dfsg+~3.5.13-1) ...
Selecting previously unselected package libjs-underscore.
Preparing to unpack .../04-libjs-underscore_1.13.2~dfsg-2_all.deb ...
Unpacking libjs-underscore (1.13.2~dfsg-2) ...
Selecting previously unselected package libjs-sphinxdoc.
Preparing to unpack .../05-libjs-sphinxdoc_4.3.2-1_all.deb ...
Unpacking libjs-sphinxdoc (4.3.2-1) ...
Selecting previously unselected package zlib1g-dev:amd64.
Preparing to unpack .../06-zlib1g-dev_1%3a1.2.11.dfsg-2ubuntu9.2_amd64.deb ...
Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu9.2) ...
Selecting previously unselected package libpython3.10-dev:amd64.
Preparing to unpack .../07-libpython3.10-dev_3.10.6-1~22.04.1_amd64.deb ...
Unpacking libpython3.10-dev:amd64 (3.10.6-1~22.04.1) ...
Selecting previously unselected package libpython3-dev:amd64.
Preparing to unpack .../08-libpython3-dev_3.10.6-1~22.04_amd64.deb ...
Unpacking libpython3-dev:amd64 (3.10.6-1~22.04) ...
Selecting previously unselected package libpython3-all-dev:amd64.
Preparing to unpack .../09-libpython3-all-dev_3.10.6-1~22.04_amd64.deb ...
Unpacking libpython3-all-dev:amd64 (3.10.6-1~22.04) ...
Selecting previously unselected package python3-distutils.
Preparing to unpack .../10-python3-distutils_3.10.6-1~22.04_all.deb ...
Unpacking python3-distutils (3.10.6-1~22.04) ...
Selecting previously unselected package python3-all.
Preparing to unpack .../11-python3-all_3.10.6-1~22.04_amd64.deb ...
Unpacking python3-all (3.10.6-1~22.04) ...
Selecting previously unselected package python3.10-dev.
Preparing to unpack .../12-python3.10-dev_3.10.6-1~22.04.1_amd64.deb ...
Unpacking python3.10-dev (3.10.6-1~22.04.1) ...
Selecting previously unselected package python3-dev.
Preparing to unpack .../13-python3-dev_3.10.6-1~22.04_amd64.deb ...
Unpacking python3-dev (3.10.6-1~22.04) ...
Selecting previously unselected package python3-all-dev.
Preparing to unpack .../14-python3-all-dev_3.10.6-1~22.04_amd64.deb ...
Unpacking python3-all-dev (3.10.6-1~22.04) ...
Setting up libpython3.10-stdlib:amd64 (3.10.6-1~22.04.1) ...
Setting up libexpat1-dev:amd64 (2.4.7-1ubuntu0.2) ...
Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu9.2) ...
Setting up libjs-jquery (3.6.0+dfsg+~3.5.13-1) ...
Setting up libpython3-stdlib:amd64 (3.10.6-1~22.04) ...
Setting up libjs-underscore (1.13.2~dfsg-2) ...
Setting up libpython3.10:amd64 (3.10.6-1~22.04.1) ...
Setting up python3.10 (3.10.6-1~22.04.1) ...
Setting up python3 (3.10.6-1~22.04) ...
running python rtupdate hooks for python3.10...
running python post-rtupdate hooks for python3.10...
Setting up libpython3.10-dev:amd64 (3.10.6-1~22.04.1) ...
Setting up libjs-sphinxdoc (4.3.2-1) ...
Setting up python3.10-dev (3.10.6-1~22.04.1) ...
Setting up python3-lib2to3 (3.10.6-1~22.04) ...
Setting up python3-distutils (3.10.6-1~22.04) ...
Setting up libpython3-dev:amd64 (3.10.6-1~22.04) ...
Setting up python3-all (3.10.6-1~22.04) ...
Setting up libpython3-all-dev:amd64 (3.10.6-1~22.04) ...
Setting up python3-dev (3.10.6-1~22.04) ...
Setting up python3-all-dev (3.10.6-1~22.04) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for libc-bin (2.35-0ubuntu3.1) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
apt-get install result code: 0
Installing python3-setuptools.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  systemd-hwe-hwdb
Use 'apt autoremove' to remove it.
Suggested packages:
  python-setuptools-doc
The following NEW packages will be installed:
  python3-setuptools
0 upgraded, 1 newly installed, 0 to remove and 169 not upgraded.
Need to get 339 kB of archives.
After this operation, 1,789 kB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu jammy/main amd64 python3-setuptools all 59.6.0-1.2 [339 kB]
Fetched 339 kB in 3s (121 kB/s)              
Selecting previously unselected package python3-setuptools.
(Reading database ... 214931 files and directories currently installed.)
Preparing to unpack .../python3-setuptools_59.6.0-1.2_all.deb ...
Unpacking python3-setuptools (59.6.0-1.2) ...
Setting up python3-setuptools (59.6.0-1.2) ...
apt-get install result code: 0
Installing python3-pip.
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following package was automatically installed and is no longer required:
  systemd-hwe-hwdb
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
  python3-wheel
The following NEW packages will be installed:
  python3-pip python3-wheel
0 upgraded, 2 newly installed, 0 to remove and 169 not upgraded.
Need to get 1,337 kB of archives.
After this operation, 7,176 kB of additional disk space will be used.
Get:1 http://cn.archive.ubuntu.com/ubuntu jammy/universe amd64 python3-wheel all 0.37.1-2 [31.9 kB]
Get:2 http://cn.archive.ubuntu.com/ubuntu jammy/universe amd64 python3-pip all 22.0.2+dfsg-1 [1,306 kB]
Fetched 1,337 kB in 6s (221 kB/s)                                              
Selecting previously unselected package python3-wheel.
(Reading database ... 215079 files and directories currently installed.)
Preparing to unpack .../python3-wheel_0.37.1-2_all.deb ...
Unpacking python3-wheel (0.37.1-2) ...
Selecting previously unselected package python3-pip.
Preparing to unpack .../python3-pip_22.0.2+dfsg-1_all.deb ...
Unpacking python3-pip (22.0.2+dfsg-1) ...
Setting up python3-wheel (0.37.1-2) ...
Setting up python3-pip (22.0.2+dfsg-1) ...
Processing triggers for man-db (2.10.2-1) ...
apt-get install result code: 0
Collecting pre-commit
  Downloading pre_commit-2.20.0-py2.py3-none-any.whl (199 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 199.5/199.5 KB 1.2 MB/s eta 0:00:00
Collecting toml
  Downloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting virtualenv>=20.0.8
  Downloading virtualenv-20.16.7-py3-none-any.whl (8.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 8.8/8.8 MB 4.9 MB/s eta 0:00:00
Collecting nodeenv>=0.11.1
  Downloading nodeenv-1.7.0-py2.py3-none-any.whl (21 kB)
Collecting cfgv>=2.0.0
  Downloading cfgv-3.3.1-py2.py3-none-any.whl (7.3 kB)
Requirement already satisfied: pyyaml>=5.1 in /usr/lib/python3/dist-packages (from pre-commit) (5.4.1)
Collecting identify>=1.0.0
  Downloading identify-2.5.9-py2.py3-none-any.whl (98 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.8/98.8 KB 5.7 MB/s eta 0:00:00
Requirement already satisfied: setuptools in /usr/lib/python3/dist-packages (from nodeenv>=0.11.1->pre-commit) (59.6.0)
Collecting filelock<4,>=3.4.1
  Downloading filelock-3.8.0-py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.6
  Downloading distlib-0.3.6-py2.py3-none-any.whl (468 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 468.5/468.5 KB 6.2 MB/s eta 0:00:00
Collecting platformdirs<3,>=2.4
  Downloading platformdirs-2.5.4-py3-none-any.whl (14 kB)
Installing collected packages: distlib, toml, platformdirs, nodeenv, identify, filelock, cfgv, virtualenv, pre-commit
Successfully installed cfgv-3.3.1 distlib-0.3.6 filelock-3.8.0 identify-2.5.9 nodeenv-1.7.0 platformdirs-2.5.4 pre-commit-2.20.0 toml-0.10.2 virtualenv-20.16.7
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
/usr/local/bin/pre-commit
pre-commit installed at .git/hooks/pre-commit
Finished installing all dependencies.

You should now be able to build the project by running:
	cargo build

更新环境

source ~/.cargo/env

root@tracy-virtual-machine:/home/aptos/aptos-core# source ~/.cargo/env

创建并进入文件目录

mkdir aptoscli

cd aptoscli

root@tracy-virtual-machine:/home/aptos# mkdir aptoscli
root@tracy-virtual-machine:/home/aptos# cd aptoscli/

下载文件

下载地址:https://github.com/aptos-labs/aptos-core/releases?q=cli&expanded=true

wget https://github.com/aptos-labs/aptos-core/releases/download/aptos-cli-v1.0.1/aptos-cli-1.0.1-Ubuntu-22.04-x86_64.zip

root@tracy-virtual-machine:/home/aptos/aptoscli# wget https://github.com/aptos-labs/aptos-core/releases/download/aptos-cli-v1.0.1/aptos-cli-1.0.1-Ubuntu-22.04-x86_64.zip
--2022-11-25 14:25:46--  https://github.com/aptos-labs/aptos-core/releases/download/aptos-cli-v1.0.1/aptos-cli-1.0.1-Ubuntu-22.04-x86_64.zip
Resolving github.com (github.com)... 20.205.243.166
Connecting to github.com (github.com)|20.205.243.166|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/462597790/ed3fab4a-76db-4ec4-8027-5549ac587f03?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20221125%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221125T062547Z&X-Amz-Expires=300&X-Amz-Signature=912e6656490eca9200ccb7c442c8381080caeaa8d1a17370257ba9e5e6493328&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=462597790&response-content-disposition=attachment%3B%20filename%3Daptos-cli-1.0.1-Ubuntu-22.04-x86_64.zip&response-content-type=application%2Foctet-stream [following]
--2022-11-25 14:25:47--  https://objects.githubusercontent.com/github-production-release-asset-2e65be/462597790/ed3fab4a-76db-4ec4-8027-5549ac587f03?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20221125%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20221125T062547Z&X-Amz-Expires=300&X-Amz-Signature=912e6656490eca9200ccb7c442c8381080caeaa8d1a17370257ba9e5e6493328&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=462597790&response-content-disposition=attachment%3B%20filename%3Daptos-cli-1.0.1-Ubuntu-22.04-x86_64.zip&response-content-type=application%2Foctet-stream
Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.110.133, ...
Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 17263155 (16M) [application/octet-stream]
Saving to: ‘aptos-cli-1.0.1-Ubuntu-22.04-x86_64.zip’

aptos-cli-1.0.1-Ubu 100%[===================>]  16.46M  5.66MB/s    in 2.9s    

2022-11-25 14:25:51 (5.66 MB/s) - ‘aptos-cli-1.0.1-Ubuntu-22.04-x86_64.zip’ saved [17263155/17263155]

 解压压缩文件

unzip -d /home/aptos/aptoscli/ aptos-cli-1.0.1-Ubuntu-22.04-x86_64.zip

root@tracy-virtual-machine:/home/aptos/aptoscli# unzip -d /home/aptos/aptoscli/ aptos-cli-1.0.1-Ubuntu-22.04-x86_64.zip 
Archive:  aptos-cli-1.0.1-Ubuntu-22.04-x86_64.zip
  inflating: /home/aptos/aptoscli/aptos  
root@tracy-virtual-machine:/home/aptos/aptoscli# ls
aptos  aptos-cli-1.0.1-Ubuntu-22.04-x86_64.zip

授权执行权限

chmod +x aptos

root@tracy-virtual-machine:/home/aptos/aptoscli# chmod +x aptos
root@tracy-virtual-machine:/home/aptos/aptoscli# ll
total 57560
drwxr-xr-x 2 root root     4096 11月 25 14:37 ./
drwxr-xr-x 4 root root     4096 11月 25 14:25 ../
-rwxr-xr-x 1 root root 41666872 11月  3 03:11 aptos*
-rw-r--r-- 1 root root 17263155 11月  3 03:23 aptos-cli-1.0.1-Ubuntu-22.04-x86_64.zip

配置环境变量

vim ~/.bashrc

单击键盘Insert键或 字母 I 键,进入编辑状态,在文件最后增加如下配置: 

# aptos
export APTOS_CLI="/home/aptos/aptoscli"
export PATH="$APTOS_CLI:$PATH"
# aptos end

# aptos
export APTOS_CLI="/home/aptos/aptoscli"
export PATH="$APTOS_CLI:$PATH"
# aptos end

编辑完后,按Esc退出编辑状态,输入:wq 保存文件。

使用配置生效

source ~/.bashrc

root@tracy-virtual-machine:/home/aptos/aptoscli# source ~/.bashrc

查看aptos帮助命令

aptos help

root@tracy-virtual-machine:/home/aptos/aptoscli# aptos help
aptos 1.0.1
Aptos Labs 
Command Line Interface (CLI) for developing and interacting with the Aptos blockchain

USAGE:
    aptos 

OPTIONS:
    -h, --help       Print help information
    -V, --version    Print version information

SUBCOMMANDS:
    account       Tool for interacting with accounts
    config        Tool for interacting with configuration of the Aptos CLI tool
    genesis       Tool for setting up an Aptos chain Genesis transaction
    governance    Tool for on-chain governance
    help          Print this message or the help of the given subcommand(s)
    info          Show build information about the CLI
    init          Tool to initialize current directory for the aptos tool
    key           Tool for generating, inspecting, and interacting with keys
    move          Tool for Move related operations
    node          Tool for operations related to nodes
    stake         Tool for manipulating stake and stake pools

启动本地节点,部署合约

可参考官网:Run Local Testnet with CLI | Aptos Docs

启动本地节点(带faucet)

aptos node run-local-testnet --with-faucet

root@tracy-virtual-machine:/home/aptos/aptoscli# aptos node run-local-testnet --with-faucet
Completed generating configuration:
	Log file: "/home/aptos/aptoscli/.aptos/testnet/validator.log"
	Test dir: "/home/aptos/aptoscli/.aptos/testnet"
	Aptos root key path: "/home/aptos/aptoscli/.aptos/testnet/mint.key"
	Waypoint: 0:a171a942c1b1e94047804557047a5e3789bd62df486913f6bb7c21f030219227
	ChainId: testing
	REST API endpoint: http://0.0.0.0:8080
	Metrics endpoint: http://0.0.0.0:9101/metrics
	Aptosnet Fullnode network endpoint: /ip4/0.0.0.0/tcp/6181

Aptos is running, press ctrl-c to exit

Faucet is running.  Faucet endpoint: 0.0.0.0:8081

初始化本地local

aptos init --profile local --rest-url http://localhost:8080 --faucet-url http://localhost:8081

root@tracy-virtual-machine:/# aptos init --profile local --rest-url http://localhost:8080 --faucet-url http://localhost:8081
Configuring for profile local
Choose network from [devnet, testnet, mainnet, local, custom | defaults to devnet]
local  # 输入初始化的网络
Enter your private key as a hex literal (0x...) [Current: None | No input: Generate new key (or keep one if present)] 
# 直接回车,系统自己生成账户

No key given, generating key...
Account 2088571edef2ecf177e807c8a3afbb42fffb3d151aaddfced5496a72a4653275 doesn't exist, creating it and funding it with 100000000 Octas
Account 2088571edef2ecf177e807c8a3afbb42fffb3d151aaddfced5496a72a4653275 funded successfully

---
Aptos CLI is now set up for account 2088571edef2ecf177e807c8a3afbb42fffb3d151aaddfced5496a72a4653275 as profile local!  Run `aptos --help` for more information about commands
{
  "Result": "Success"
}

将已有账户导入本地链或其他链

aptos init

root@tracy-virtual-machine:/home/tracy# aptos init
Configuring for profile default
Choose network from [devnet, testnet, mainnet, local, custom | defaults to devnet]
testnet # 输入使用哪个网络,回车
Enter your private key as a hex literal (0x...) [Current: None | No input: Generate new key (or keep one if present)]
# 输入密钥,回车
Account ff4db5fb7c332ff1e82360d4a317cae333cd54223f31399159e9f69ad642272a does not exist, you will need to create and fund the account through a community faucet e.g. https://aptoslabs.com/testnet-faucet, or by transferring funds from another account

---
Aptos CLI is now set up for account ff4db5fb7c332ff1e82360d4a317cae333cd54223f31399159e9f69ad642272a as profile default!  Run `aptos --help` for more information about commands
{
  "Result": "Success"
}

查询生成的账户信息

aptos account list --query balance --profile=local

root@tracy-virtual-machine:/# aptos account list --query balance --profile=local
{
  "Result": [
    {
      "coin": {
        "value": "100000000"
      },
      "deposit_events": {
        "counter": "1",
        "guid": {
          "id": {
            "addr": "0x2088571edef2ecf177e807c8a3afbb42fffb3d151aaddfced5496a72a4653275",
            "creation_num": "2"
          }
        }
      },
      "frozen": false,
      "withdraw_events": {
        "counter": "0",
        "guid": {
          "id": {
            "addr": "0x2088571edef2ecf177e807c8a3afbb42fffb3d151aaddfced5496a72a4653275",
            "creation_num": "3"
          }
        }
      }
    }
  ]
}

创建资源账户

aptos account create-resource-account --profile local --seed 1

root@tracy-virtual-machine:/# aptos account create-resource-account --profile local --seed 1
Do you want to submit a transaction for a range of [150000 - 225000] Octas at a gas unit price of 100 Octas? [yes/no] >
y # 输入
{
  "Result": {
    "resource_account": "b834400c85c72468674b263355cedd2b05dc49be5236150434ce4835496dbb1e",
    "transaction_hash": "0x94e5c441c9b938bd4499f76caf24cba6de0a4acf054c0bac25d53998e663811e",
    "gas_used": 1535,
    "gas_unit_price": 100,
    "sender": "2088571edef2ecf177e807c8a3afbb42fffb3d151aaddfced5496a72a4653275",
    "sequence_number": 0,
    "success": true,
    "timestamp_us": 1669366223153404,
    "version": 21541,
    "vm_status": "Executed successfully"
  }
}

合约部署

在使用git下载aptos-core里有官网提供测试合约,路径 /home/aptos/aptos-core/aptos-move/move-examples/hello_blockchain/

编译合约

aptos move compile --package-dir /home/aptos/aptos-core/aptos-move/move-examples/hello_blockchain/ --named-addresses hello_blockchain=local

root@tracy-virtual-machine:/# aptos move compile --package-dir /home/aptos/aptos-core/aptos-move/move-examples/hello_blockchain/ --named-addresses hello_blockchain=local
Compiling, may take a little while to download git dependencies...
INCLUDING DEPENDENCY AptosFramework
INCLUDING DEPENDENCY AptosStdlib
INCLUDING DEPENDENCY MoveStdlib
BUILDING Examples
{
  "Result": [
    "2088571edef2ecf177e807c8a3afbb42fffb3d151aaddfced5496a72a4653275::message"
  ]
}

部署合约

aptos move publish --profile local --package-dir /home/aptos/aptos-core/aptos-move/move-examples/hello_blockchain/ --named-addresses hello_blockchain=local

root@tracy-virtual-machine:/# aptos move publish --profile local --package-dir /home/aptos/aptos-core/aptos-move/move-examples/hello_blockchain/ --named-addresses hello_blockchain=local
Compiling, may take a little while to download git dependencies...
INCLUDING DEPENDENCY AptosFramework
INCLUDING DEPENDENCY AptosStdlib
INCLUDING DEPENDENCY MoveStdlib
BUILDING Examples
package size 1734 bytes
Do you want to submit a transaction for a range of [686500 - 1029700] Octas at a gas unit price of 100 Octas? [yes/no] >
yes
{
  "Result": {
    "transaction_hash": "0x754e07ee518423491d760777750a3e9af58fab492f239e251c5ac40174a99e62",
    "gas_used": 6865,
    "gas_unit_price": 100,
    "sender": "2088571edef2ecf177e807c8a3afbb42fffb3d151aaddfced5496a72a4653275",
    "sequence_number": 1,
    "success": true,
    "timestamp_us": 1669369014954799,
    "version": 39912,
    "vm_status": "Executed successfully"
  }
}

调用合约函数

aptos move run --function-id 2088571edef2ecf177e807c8a3afbb42fffb3d151aaddfced5496a72a4653275::message::set_message --args string:Hello --profile local

root@tracy-virtual-machine:/# aptos move run --function-id 2088571edef2ecf177e807c8a3afbb42fffb3d151aaddfced5496a72a4653275::message::set_message --args string:Hello --profile local
Do you want to submit a transaction for a range of [74700 - 112000] Octas at a gas unit price of 100 Octas? [yes/no] >
yes
{
  "Result": {
    "transaction_hash": "0x4146180eafee9d81baad0d8fef314b63b7af9d5bc7dda9d43c016b308f81e48e",
    "gas_used": 782,
    "gas_unit_price": 100,
    "sender": "2088571edef2ecf177e807c8a3afbb42fffb3d151aaddfced5496a72a4653275",
    "sequence_number": 2,
    "success": true,
    "timestamp_us": 1669372873484584,
    "version": 65394,
    "vm_status": "Executed successfully"
  }
}

Faucet

curl --location --request POST 'http://127.0.0.1:8081/mint?amount=100000000&address=2088571edef2ecf177e807c8a3afbb42fffb3d151aaddfced5496a72a4653275'

root@tracy-virtual-machine:/# curl --location --request POST 'http://127.0.0.1:8081/mint?amount=100000000&address=2088571edef2ecf177e807c8a3afbb42fffb3d151aaddfced5496a72a4653275'

你可能感兴趣的:(安装配置,Linux,智能合约,智能合约)