环境

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 libbinutilslibc-dev-bin libc6-dev libcc1-0 libcrypt-dev libctf-nobfd0 libctf0libdpkg-perl libgcc-11-dev libgcc-s1 libgomp1 libitm1 liblsan0 libnsl-devlibquadmath0 libstdc++-11-dev libstdc++6 libtirpc-dev libtsan0 libubsan1linux-libc-dev lto-disabled-list make rpcsvc-proto
Suggested packages:binutils-doc gcc-11-locales debian-keyring g++-multilib g++-11-multilibgcc-11-doc gcc-multilib manpages-dev autoconf automake libtool flex bisongcc-doc gcc-11-multilib glibc-doc bzr libstdc++-11-doc make-doc
Recommended packages:fakeroot libalgorithm-merge-perl manpages-dev libc-devtoolslibfile-fcntllock-perl
The following NEW packages will be installed:binutils binutils-common binutils-x86-64-linux-gnu build-essential dpkg-devg++ g++-11 gcc gcc-11 libasan6 libatomic1 libbinutils libc-dev-bin libc6-devlibcc1-0 libcrypt-dev libctf-nobfd0 libctf0 libdpkg-perl libgcc-11-devlibitm1 liblsan0 libnsl-dev libquadmath0 libstdc++-11-dev libtirpc-devlibtsan0 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-devlibclang-cpp14 libclang1-14 libllvm14 libobjc-11-dev libobjc4llvm-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-devlibclang-cpp14 libclang1-14 libllvm14 libobjc-11-dev libobjc4llvm-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 dateUpdating crates.io indexDownloaded cargo-sort v1.0.9Downloaded 1 crate (50.2 KB) in 2.38sInstalling cargo-sort v1.0.9Downloaded strsim v0.10.0Downloaded linked-hash-map v0.5.4Downloaded num-integer v0.1.44Downloaded void v1.0.2Downloaded autocfg v1.0.1Downloaded ascii v0.9.3Downloaded clap_lex v0.3.0Downloaded num-traits v0.2.14Downloaded chrono v0.4.19Downloaded os_str_bytes v6.3.0Downloaded combine v3.8.1Downloaded termcolor v1.1.2Downloaded memchr v2.4.0Downloaded atty v0.2.14Downloaded io-lifetimes v0.7.3Downloaded time v0.1.44Downloaded once_cell v1.15.0Downloaded byteorder v1.4.3Downloaded glob v0.3.0Downloaded rustix v0.35.11Downloaded either v1.6.1Downloaded linux-raw-sys v0.0.46Downloaded terminal_size v0.2.1Downloaded libc v0.2.134Downloaded unreachable v1.0.0Downloaded bitflags v1.2.1Downloaded clap v4.0.10Downloaded 27 crates (2.6 MB) in 2.12sCompiling libc v0.2.134Compiling autocfg v1.0.1Compiling io-lifetimes v0.7.3Compiling bitflags v1.2.1Compiling rustix v0.35.11Compiling memchr v2.4.0Compiling linux-raw-sys v0.0.46Compiling void v1.0.2Compiling os_str_bytes v6.3.0Compiling ascii v0.9.3Compiling either v1.6.1Compiling byteorder v1.4.3Compiling termcolor v1.1.2Compiling strsim v0.10.0Compiling once_cell v1.15.0Compiling glob v0.3.0Compiling linked-hash-map v0.5.4Compiling num-traits v0.2.14Compiling num-integer v0.1.44Compiling unreachable v1.0.0Compiling clap_lex v0.3.0Compiling combine v3.8.1Compiling time v0.1.44Compiling atty v0.2.14Compiling chrono v0.4.19Compiling terminal_size v0.2.1Compiling clap v4.0.10Compiling cargo-sort v1.0.9Finished release [optimized] target(s) in 2m 33sInstalling /root/.cargo/bin/cargo-sortInstalled package `cargo-sort v1.0.9` (executable `cargo-sort`)Updating crates.io indexDownloaded cargo-nextest v0.9.44Downloaded 1 crate (55.4 KB) in 1.04sInstalling 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 --lockedDownloaded either v1.8.0Downloaded futures-io v0.3.25Downloaded iana-time-zone v0.1.53Downloaded http v0.2.8Downloaded futures-core v0.3.25Downloaded idna v0.3.0Downloaded mime v0.3.16Downloaded nextest-filtering v0.3.0Downloaded nested v0.1.1Downloaded miette-derive v5.4.1Downloaded itoa v1.0.4Downloaded nix v0.25.0Downloaded pin-project v1.0.12Downloaded nom v5.1.2Downloaded arrayvec v0.5.2Downloaded ahash v0.7.6Downloaded addr2line v0.17.0Downloaded async-scoped v0.7.1Downloaded atomicwrites v0.3.1Downloaded bytecount v0.6.3Downloaded backtrace v0.3.66Downloaded bytes v1.3.0Downloaded cargo_metadata v0.15.2Downloaded clap_derive v4.0.21Downloaded chrono v0.4.23Downloaded combine v4.6.6Downloaded clap v4.0.26Downloaded config v0.13.2Downloaded dialoguer v0.10.2Downloaded env_logger v0.9.3Downloaded duct v0.13.5Downloaded eyre v0.6.8Downloaded fnv v1.0.7Downloaded fixedbitset v0.4.2Downloaded futures-executor v0.3.25Downloaded futures-macro v0.3.25Downloaded tracing v0.1.37Downloaded fastrand v1.8.0Downloaded flate2 v1.0.24Downloaded home v0.5.4Downloaded heck v0.4.0Downloaded humantime v2.1.0Downloaded humantime-serde v1.1.1Downloaded indenter v0.3.3Downloaded hyper-rustls v0.23.1Downloaded jobserver v0.1.25Downloaded miette v5.4.1Downloaded lexical-core v0.7.6Downloaded cfg-if v1.0.0Downloaded http-body v0.4.5Downloaded itertools v0.10.5Downloaded is_ci v1.1.1Downloaded color-eyre v0.6.2Downloaded adler v1.0.2Downloaded cfg-expr v0.12.0Downloaded debug-ignore v1.0.3Downloaded futures-channel v0.3.25Downloaded futures v0.3.25Downloaded hashbrown v0.12.3Downloaded guppy-workspace-hack v0.1.0Downloaded minimal-lexical v0.2.1Downloaded autocfg v1.1.0Downloaded httparse v1.8.0Downloaded bitflags v1.3.2Downloaded ipnet v2.5.1Downloaded proc-macro2 v1.0.47Downloaded proc-macro-error v1.0.4Downloaded async-trait v0.1.58Downloaded camino v1.1.1Downloaded cc v1.0.77Downloaded futures-sink v0.3.25Downloaded aho-corasick v0.7.20Downloaded form_urlencoded v1.1.0Downloaded console v0.15.2Downloaded cargo-platform v0.1.2Downloaded getrandom v0.2.8Downloaded regex v1.7.0Downloaded futures-task v0.3.25Downloaded futures-util v0.3.25Downloaded h2 v0.3.15Downloaded regex-syntax v0.6.28Downloaded log v0.4.17Downloaded lazy_static v1.4.0Downloaded httpdate v1.0.2Downloaded filetime v0.2.18Downloaded indexmap v1.9.2Downloaded hyper v0.14.23Downloaded unicode-normalization v0.1.22Downloaded base64 v0.13.1Downloaded pin-utils v0.1.0Downloaded xattr v0.2.3Downloaded gimli v0.26.2Downloaded memchr v2.5.0Downloaded crc32fast v1.3.2Downloaded libc v0.2.137Downloaded textwrap v0.15.2Downloaded self_update v0.32.0Downloaded quick-xml v0.26.0Downloaded serde v1.0.147Downloaded once_cell v1.16.0Downloaded tower-service v0.3.2Downloaded guppy v0.15.0Downloaded encoding_rs v0.8.31Downloaded toml_edit v0.15.0Downloaded num-integer v0.1.45Downloaded tokio-util v0.7.4Downloaded num_cpus v1.14.0Downloaded pathdiff v0.2.1Downloaded num-traits v0.2.15Downloaded indicatif v0.17.2Downloaded indent_write v2.2.0Downloaded buffer-unordered-weighted v0.1.2Downloaded portable-atomic v0.3.15Downloaded number_prefix v0.4.0Downloaded nextest-workspace-hack v0.1.0Downloaded nextest-metadata v0.7.2Downloaded bytecount v0.3.2Downloaded webpki-roots v0.22.5Downloaded owo-colors v3.5.0Downloaded nom-tracable v0.8.0Downloaded enable-ansi-support v0.1.2Downloaded tracing-core v0.1.30Downloaded os_pipe v0.9.2Downloaded miniz_oxide v0.5.4Downloaded ppv-lite86 v0.2.17Downloaded unicode-linebreak v0.1.4Downloaded quote v1.0.21Downloaded rand v0.8.5Downloaded reqwest v0.11.13Downloaded sct v0.7.0Downloaded remove_dir_all v0.5.3Downloaded ryu v1.0.11Downloaded smallvec v1.10.0Downloaded shared_child v0.3.5Downloaded serde_path_to_error v0.1.8Downloaded shell-words v1.1.0Downloaded static_assertions v1.1.0Downloaded smawk v0.3.1Downloaded supports-color v1.3.1Downloaded strip-ansi-escapes v0.1.1Downloaded supports-hyperlinks v1.2.0Downloaded tempfile v3.3.0Downloaded tar v0.4.38Downloaded target-spec v1.2.2Downloaded target-lexicon v0.12.5Downloaded try-lock v0.2.3Downloaded spin v0.5.2Downloaded os_str_bytes v6.4.1Downloaded url v2.3.1Downloaded rustls-pemfile v1.0.1Downloaded serde_derive v1.0.147Downloaded supports-unicode v1.0.2Downloaded serde_ignored v0.1.5Downloaded petgraph v0.6.2Downloaded object v0.29.0Downloaded rand_chacha v0.3.1Downloaded serde_urlencoded v0.7.1Downloaded pin-project-internal v1.0.12Downloaded rand_core v0.6.4Downloaded rustc-demangle v0.1.21Downloaded signal-hook-registry v1.4.0Downloaded semver v1.0.14Downloaded termcolor v1.1.3Downloaded slab v0.4.7Downloaded thiserror v1.0.37Downloaded pin-project-lite v0.2.9Downloaded socket2 v0.4.7Downloaded rustls v0.20.7Downloaded syn v1.0.103Downloaded terminal_size v0.1.17Downloaded proc-macro-error-attr v1.0.4Downloaded quick-xml v0.22.0Downloaded serde_json v1.0.89Downloaded zstd-sys v2.0.2+zstd.1.5.2Downloaded ring v0.16.20Downloaded uuid v1.2.2Downloaded zstd-safe v5.0.2+zstd.1.5.2Downloaded zeroize v1.5.7Downloaded vte_generate_state_changes v0.1.1Downloaded zstd v0.11.2+zstd.1.5.2Downloaded vte v0.10.1Downloaded tinyvec_macros v0.1.0Downloaded unicode-width v0.1.10Downloaded version_check v0.9.4Downloaded want v0.3.0Downloaded unicode-ident v1.0.5Downloaded mio v0.8.5Downloaded tokio-rustls v0.23.4Downloaded thiserror-impl v1.0.37Downloaded percent-encoding v2.2.0Downloaded untrusted v0.7.1Downloaded quick-junit v0.3.2Downloaded nextest-runner v0.32.0Downloaded utf8parse v0.2.0Downloaded tokio-macros v1.8.0Downloaded twox-hash v1.6.3Downloaded toml_datetime v0.5.0Downloaded unicode-bidi v0.3.8Downloaded webpki v0.22.0Downloaded nom v7.1.1Downloaded tinyvec v1.6.0Downloaded target-spec-miette v0.1.0Downloaded toml v0.5.9Downloaded tokio v1.22.0Downloaded recursion v0.3.3Downloaded nom_locate v4.0.0Downloaded nom-tracable-macros v0.8.0Downloaded mukti-metadata v0.1.0Downloaded nom_locate v1.0.0Downloaded 209 crates (19.8 MB) in 6.74s (largest was `ring` at 5.1 MB)Compiling proc-macro2 v1.0.47Compiling unicode-ident v1.0.5Compiling quote v1.0.21Compiling libc v0.2.137Compiling syn v1.0.103Compiling cfg-if v1.0.0Compiling memchr v2.5.0Compiling autocfg v1.1.0Compiling serde_derive v1.0.147Compiling serde v1.0.147Compiling version_check v0.9.4Compiling once_cell v1.16.0Compiling pin-project-lite v0.2.9Compiling futures-core v0.3.25Compiling log v0.4.17Compiling futures-channel v0.3.25Compiling futures-sink v0.3.25Compiling futures-task v0.3.25Compiling futures-util v0.3.25Compiling bytes v1.3.0Compiling itoa v1.0.4Compiling ryu v1.0.11Compiling pin-utils v0.1.0Compiling futures-io v0.3.25Compiling hashbrown v0.12.3Compiling spin v0.5.2Compiling thiserror v1.0.37Compiling untrusted v0.7.1Compiling camino v1.1.1Compiling target-lexicon v0.12.5Compiling serde_json v1.0.89Compiling unicode-width v0.1.10Compiling regex-syntax v0.6.28Compiling adler v1.0.2Compiling fnv v1.0.7Compiling semver v1.0.14Compiling static_assertions v1.1.0Compiling arrayvec v0.5.2Compiling bitflags v1.3.2Compiling guppy-workspace-hack v0.1.0Compiling rustls v0.20.7Compiling gimli v0.26.2Compiling smallvec v1.10.0Compiling tinyvec_macros v0.1.0Compiling httparse v1.8.0Compiling target-spec v1.2.2Compiling is_ci v1.1.1Compiling lexical-core v0.7.6Compiling rustc-demangle v0.1.21Compiling try-lock v0.2.3Compiling nextest-workspace-hack v0.1.0Compiling either v1.8.0Compiling lazy_static v1.4.0Compiling minimal-lexical v0.2.1Compiling percent-encoding v2.2.0Compiling smawk v0.3.1Compiling crc32fast v1.3.2Compiling remove_dir_all v0.5.3Compiling tower-service v0.3.2Compiling encoding_rs v0.8.31Compiling portable-atomic v0.3.15Compiling fastrand v1.8.0Compiling unicode-bidi v0.3.8Compiling httpdate v1.0.2Compiling zstd-safe v5.0.2+zstd.1.5.2Compiling async-trait v0.1.58Compiling bytecount v0.3.2Compiling base64 v0.13.1Compiling fixedbitset v0.4.2Compiling bytecount v0.6.3Compiling eyre v0.6.8Compiling nested v0.1.1Compiling debug-ignore v1.0.3Compiling iana-time-zone v0.1.53Compiling utf8parse v0.2.0Compiling self_update v0.32.0Compiling number_prefix v0.4.0Compiling mime v0.3.16Compiling ipnet v2.5.1Compiling ppv-lite86 v0.2.17Compiling humantime v2.1.0Compiling nextest-runner v0.32.0Compiling indenter v0.3.3Compiling heck v0.4.0Compiling os_str_bytes v6.4.1Compiling strsim v0.10.0Compiling zeroize v1.5.7Compiling home v0.5.4Compiling shell-words v1.1.0Compiling termcolor v1.1.3Compiling indent_write v2.2.0Compiling enable-ansi-support v0.1.2Compiling slab v0.4.7Compiling indexmap v1.9.2Compiling tokio v1.22.0Compiling num-traits v0.2.15Compiling num-integer v0.1.45Compiling tracing-core v0.1.30Compiling ahash v0.7.6Compiling nom v5.1.2Compiling proc-macro-error-attr v1.0.4Compiling proc-macro-error v1.0.4Compiling miniz_oxide v0.5.4Compiling http v0.2.8Compiling twox-hash v1.6.3Compiling tinyvec v1.6.0Compiling itertools v0.10.5Compiling form_urlencoded v1.1.0Compiling addr2line v0.17.0Compiling rustls-pemfile v1.0.1Compiling clap_lex v0.3.0Compiling tracing v0.1.37Compiling http-body v0.4.5Compiling unicode-normalization v0.1.22Compiling object v0.29.0Compiling nom v7.1.1Compiling aho-corasick v0.7.20Compiling quick-xml v0.26.0Compiling quick-xml v0.22.0Compiling combine v4.6.6Compiling socket2 v0.4.7Compiling atty v0.2.14Compiling signal-hook-registry v1.4.0Compiling num_cpus v1.14.0Compiling terminal_size v0.1.17Compiling getrandom v0.2.8Compiling tempfile v3.3.0Compiling filetime v0.2.18Compiling time v0.1.44Compiling xattr v0.2.3Compiling shared_child v0.3.5Compiling os_pipe v0.9.2Compiling nix v0.25.0Compiling jobserver v0.1.25Compiling mio v0.8.5Compiling want v0.3.0Compiling env_logger v0.9.3Compiling cfg-expr v0.12.0Compiling flate2 v1.0.24Compiling idna v0.3.0Compiling vte_generate_state_changes v0.1.1Compiling regex v1.7.0Compiling nom_locate v4.0.0Compiling supports-color v1.3.1Compiling supports-unicode v1.0.2Compiling supports-hyperlinks v1.2.0Compiling console v0.15.2Compiling rand_core v0.6.4Compiling uuid v1.2.2Compiling atomicwrites v0.3.1Compiling tar v0.4.38Compiling duct v0.13.5Compiling cc v1.0.77Compiling petgraph v0.6.2Compiling url v2.3.1Compiling vte v0.10.1Compiling nom_locate v1.0.0Compiling owo-colors v3.5.0Compiling rand_chacha v0.3.1Compiling indicatif v0.17.2Compiling dialoguer v0.10.2Compiling futures-macro v0.3.25Compiling tokio-macros v1.8.0Compiling thiserror-impl v1.0.37Compiling miette-derive v5.4.1Compiling pin-project-internal v1.0.12Compiling nom-tracable-macros v0.8.0Compiling chrono v0.4.23Compiling ring v0.16.20Compiling backtrace v0.3.66Compiling zstd-sys v2.0.2+zstd.1.5.2Compiling strip-ansi-escapes v0.1.1Compiling rand v0.8.5Compiling clap_derive v4.0.21Compiling unicode-linebreak v0.1.4Compiling nom-tracable v0.8.0Compiling pin-project v1.0.12Compiling clap v4.0.26Compiling quick-junit v0.3.2Compiling futures-executor v0.3.25Compiling buffer-unordered-weighted v0.1.2Compiling tokio-util v0.7.4Compiling cargo-platform v0.1.2Compiling serde_urlencoded v0.7.1Compiling toml v0.5.9Compiling toml_datetime v0.5.0Compiling humantime-serde v1.1.1Compiling serde_path_to_error v0.1.8Compiling serde_ignored v0.1.5Compiling futures v0.3.25Compiling color-eyre v0.6.2Compiling textwrap v0.15.2Compiling h2 v0.3.15Compiling pathdiff v0.2.1Compiling mukti-metadata v0.1.0Compiling nextest-metadata v0.7.2Compiling cargo_metadata v0.15.2Compiling toml_edit v0.15.0Compiling recursion v0.3.3Compiling async-scoped v0.7.1Compiling miette v5.4.1Compiling config v0.13.2Compiling hyper v0.14.23Compiling guppy v0.15.0Compiling target-spec-miette v0.1.0Compiling nextest-filtering v0.3.0Compiling webpki v0.22.0Compiling sct v0.7.0Compiling webpki-roots v0.22.5Compiling tokio-rustls v0.23.4Compiling hyper-rustls v0.23.1Compiling reqwest v0.11.13Compiling zstd v0.11.2+zstd.1.5.2Compiling cargo-nextest v0.9.44Finished release [optimized] target(s) in 2m 40sInstalling /root/.cargo/bin/cargo-nextestInstalled package `cargo-nextest v0.9.44` (executable `cargo-nextest`)Downloaded grcov v0.8.2Downloaded 1 crate (80.1 KB) in 2.49sUpdating crates.io indexInstalling 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 --lockedDownloaded is_executable v1.0.1Downloaded percent-encoding v2.1.0Downloaded crossbeam v0.8.1Downloaded clap v2.33.3Downloaded crossbeam-deque v0.8.0Downloaded globset v0.4.8Downloaded log v0.4.14Downloaded memmap v0.7.0Downloaded maplit v1.0.2Downloaded msvc-demangler v0.9.0Downloaded opaque-debug v0.3.0Downloaded pest v2.1.3Downloaded pkg-config v0.3.19Downloaded pest_generator v2.1.3Downloaded rand_core v0.6.3Downloaded parse-zoneinfo v0.3.0Downloaded semver-parser v0.7.0Downloaded rustc-cfg v0.4.0Downloaded serde_json v1.0.64Downloaded once_cell v1.8.0Downloaded serde v1.0.126Downloaded rustc-demangle v0.1.20Downloaded slug v0.1.4Downloaded proc-macro2 v1.0.27Downloaded ryu v1.0.5Downloaded rayon v1.5.1Downloaded smallvec v1.6.1Downloaded quote v1.0.9Downloaded globwalk v0.8.1Downloaded itoa v0.4.7Downloaded rayon-core v1.9.1Downloaded heck v0.3.3Downloaded fake-simd v0.1.2Downloaded digest v0.9.0Downloaded byte-tools v0.3.1Downloaded num_cpus v1.13.0Downloaded regex v1.5.4Downloaded scopeguard v1.1.0Downloaded rustc-hash v1.1.0Downloaded same-file v1.0.6Downloaded miniz_oxide v0.4.4Downloaded getrandom v0.2.3Downloaded rustc_version v0.2.3Downloaded regex-syntax v0.6.25Downloaded opaque-debug v0.2.3Downloaded rand v0.8.4Downloaded thiserror v1.0.25Downloaded aho-corasick v0.7.18Downloaded unic-char-property v0.9.0Downloaded unic-ucd-version v0.9.0Downloaded block-padding v0.1.5Downloaded anyhow v1.0.41Downloaded addr2line v0.15.2Downloaded ansi_term v0.11.0Downloaded crc32fast v1.2.1Downloaded crossbeam-channel v0.5.1Downloaded cc v1.0.68Downloaded failure_derive v0.1.8Downloaded crossbeam-queue v0.3.2Downloaded crossbeam-epoch v0.9.5Downloaded crossbeam-utils v0.8.5Downloaded flate2 v1.0.20Downloaded unic-common v0.9.0Downloaded md-5 v0.9.1Downloaded unicode-width v0.1.8Downloaded ignore v0.4.18Downloaded libz-sys v1.1.3Downloaded unic-ucd-segment v0.9.0Downloaded version_check v0.9.3Downloaded unic-char-range v0.9.0Downloaded typenum v1.13.0Downloaded zip v0.5.13Downloaded time v0.1.43Downloaded syn v1.0.73Downloaded unic-segment v0.9.0Downloaded synstructure v0.12.4Downloaded block-buffer v0.9.0Downloaded vec_map v0.8.2Downloaded digest v0.8.1Downloaded block-buffer v0.7.3Downloaded thiserror-impl v1.0.25Downloaded uuid v0.8.2Downloaded memoffset v0.6.4Downloaded generic-array v0.14.4Downloaded walkdir v2.3.2Downloaded humansize v1.1.1Downloaded generic-array v0.12.4Downloaded bstr v0.2.16Downloaded unicode-segmentation v1.8.0Downloaded libc v0.2.97Downloaded symbolic-demangle v8.3.0Downloaded object v0.25.3Downloaded tempfile v3.2.0Downloaded thread_local v1.1.3Downloaded simplelog v0.10.0Downloaded pest_derive v2.1.0Downloaded ppv-lite86 v0.2.10Downloaded chrono-tz v0.5.3Downloaded fomat-macros v0.3.1Downloaded cargo_metadata v0.11.4Downloaded semver v1.0.3Downloaded semver v0.10.0Downloaded textwrap v0.11.0Downloaded debugid v0.7.2Downloaded symbolic-common v8.3.0Downloaded structopt-derive v0.4.15Downloaded structopt v0.3.22Downloaded cargo-binutils v0.3.3Downloaded cpp_demangle v0.3.2Downloaded backtrace v0.3.60Downloaded deunicode v0.4.3Downloaded tera v1.12.1Downloaded sha-1 v0.8.2Downloaded serde_derive v1.0.126Downloaded toml v0.5.8Downloaded ucd-trie v0.1.3Downloaded semver v0.9.0Downloaded stable_deref_trait v1.2.0Downloaded failure v0.1.8Downloaded pest_meta v2.1.3Downloaded gimli v0.24.0Downloaded unicode-xid v0.2.2Downloaded strsim v0.8.0Downloaded 123 crates (8.3 MB) in 3.28s (largest was `libz-sys` at 1.3 MB)Compiling cfg-if v1.0.0Compiling libc v0.2.97Compiling autocfg v1.0.1Compiling proc-macro2 v1.0.27Compiling unicode-xid v0.2.2Compiling syn v1.0.73Compiling memchr v2.4.0Compiling version_check v0.9.3Compiling crossbeam-utils v0.8.5Compiling serde_derive v1.0.126Compiling lazy_static v1.4.0Compiling serde v1.0.126Compiling cc v1.0.68Compiling bitflags v1.2.1Compiling adler v1.0.2Compiling log v0.4.14Compiling crossbeam-epoch v0.9.5Compiling regex-syntax v0.6.25Compiling typenum v1.13.0Compiling ryu v1.0.5Compiling ucd-trie v0.1.3Compiling pkg-config v0.3.19Compiling semver-parser v0.7.0Compiling scopeguard v1.1.0Compiling failure_derive v0.1.8Compiling serde_json v1.0.64Compiling rustc-demangle v0.1.20Compiling gimli v0.24.0Compiling maplit v1.0.2Compiling crc32fast v1.2.1Compiling ppv-lite86 v0.2.10Compiling same-file v1.0.6Compiling unic-common v0.9.0Compiling unic-char-range v0.9.0Compiling itoa v0.4.7Compiling rayon-core v1.9.1Compiling once_cell v1.8.0Compiling unicode-width v0.1.8Compiling fnv v1.0.7Compiling glob v0.3.0Compiling crossbeam-queue v0.3.2Compiling strsim v0.8.0Compiling anyhow v1.0.41Compiling ansi_term v0.11.0Compiling unicode-segmentation v1.8.0Compiling vec_map v0.8.2Compiling symbolic-demangle v8.3.0Compiling stable_deref_trait v1.2.0Compiling deunicode v0.4.3Compiling semver v1.0.3Compiling byteorder v1.4.3Compiling percent-encoding v2.1.0Compiling termcolor v1.1.2Compiling opaque-debug v0.3.0Compiling either v1.6.1Compiling remove_dir_all v0.5.3Compiling humansize v1.1.1Compiling rustc-hash v1.1.0Compiling smallvec v1.6.1Compiling is_executable v1.0.1Compiling fomat-macros v0.3.1Compiling miniz_oxide v0.4.4Compiling num-traits v0.2.14Compiling memoffset v0.6.4Compiling num-integer v0.1.44Compiling rayon v1.5.1Compiling generic-array v0.14.4Compiling proc-macro-error-attr v1.0.4Compiling proc-macro-error v1.0.4Compiling backtrace v0.3.60Compiling pest v2.1.3Compiling semver v0.9.0Compiling libz-sys v1.1.3Compiling walkdir v2.3.2Compiling unic-ucd-version v0.9.0Compiling unic-char-property v0.9.0Compiling thread_local v1.1.3Compiling textwrap v0.11.0Compiling addr2line v0.15.2Compiling cpp_demangle v0.3.2Compiling heck v0.3.3Compiling slug v0.1.4Compiling rustc_version v0.2.3Compiling unic-ucd-segment v0.9.0Compiling pest_meta v2.1.3Compiling quote v1.0.9Compiling getrandom v0.2.3Compiling time v0.1.43Compiling atty v0.2.14Compiling memmap v0.7.0Compiling num_cpus v1.13.0Compiling aho-corasick v0.7.18Compiling object v0.25.3Compiling bstr v0.2.16Compiling quick-xml v0.22.0Compiling crossbeam-channel v0.5.1Compiling msvc-demangler v0.9.0Compiling unic-segment v0.9.0Compiling rand_core v0.6.3Compiling uuid v0.8.2Compiling clap v2.33.3Compiling regex v1.5.4Compiling digest v0.9.0Compiling block-buffer v0.9.0Compiling flate2 v1.0.20Compiling rand_chacha v0.3.1Compiling debugid v0.7.2Compiling crossbeam-deque v0.8.0Compiling globset v0.4.8Compiling synstructure v0.12.4Compiling pest_generator v2.1.3Compiling parse-zoneinfo v0.3.0Compiling thiserror-impl v1.0.25Compiling md-5 v0.9.1Compiling rand v0.8.4Compiling symbolic-common v8.3.0Compiling crossbeam v0.8.1Compiling ignore v0.4.18Compiling structopt-derive v0.4.15Compiling pest_derive v2.1.0Compiling chrono-tz v0.5.3Compiling tempfile v3.2.0Compiling thiserror v1.0.25Compiling globwalk v0.8.1Compiling failure v0.1.8Compiling structopt v0.3.22Compiling zip v0.5.13Compiling rustc-cfg v0.4.0Compiling chrono v0.4.19Compiling semver v0.10.0Compiling toml v0.5.8Compiling simplelog v0.10.0Compiling cargo_metadata v0.11.4Compiling cargo-binutils v0.3.3Compiling tera v1.12.1Compiling grcov v0.8.2Finished release [optimized] target(s) in 1m 19sInstalling /root/.cargo/bin/grcovInstalled 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/nullecho "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.listsudo apt-get update && sudo apt-get install yarnInstalling 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/.bashrcNext 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.zipinflating: /usr/local/bin/protoc
Archive:  protoc-21.4-linux-x86_64.zipinflating: /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 indexDownloaded protoc-gen-prost v0.2.1Downloaded 1 crate (11.8 KB) in 2.45sInstalling protoc-gen-prost v0.2.1Downloaded which v4.3.0Downloaded prost v0.11.2Downloaded prost-types v0.11.2Downloaded prost-build v0.11.1Downloaded prost-derive v0.11.2Downloaded multimap v0.8.3Downloaded anyhow v1.0.66Downloaded 7 crates (186.6 KB) in 1.14sCompiling proc-macro2 v1.0.47Compiling quote v1.0.21Compiling unicode-ident v1.0.5Compiling syn v1.0.103Compiling anyhow v1.0.66Compiling either v1.8.0Compiling autocfg v1.1.0Compiling libc v0.2.137Compiling hashbrown v0.12.3Compiling bytes v1.3.0Compiling log v0.4.17Compiling cfg-if v1.0.0Compiling fixedbitset v0.4.2Compiling remove_dir_all v0.5.3Compiling regex-syntax v0.6.28Compiling fastrand v1.8.0Compiling lazy_static v1.4.0Compiling multimap v0.8.3Compiling heck v0.4.0Compiling once_cell v1.16.0Compiling itertools v0.10.5Compiling indexmap v1.9.2Compiling regex v1.7.0Compiling tempfile v3.3.0Compiling which v4.3.0Compiling petgraph v0.6.2Compiling prost-derive v0.11.2Compiling prost v0.11.2Compiling prost-types v0.11.2Compiling prost-build v0.11.1Compiling protoc-gen-prost v0.2.1Finished release [optimized + debuginfo] target(s) in 35.40sInstalling /root/.cargo/bin/protoc-gen-prostInstalled package `protoc-gen-prost v0.2.1` (executable `protoc-gen-prost`)Updating crates.io indexDownloaded protoc-gen-prost-serde v0.2.1Downloaded 1 crate (7.3 KB) in 2.29sInstalling protoc-gen-prost-serde v0.2.1Downloaded pbjson-build v0.5.1Downloaded 1 crate (16.7 KB) in 1.94sCompiling proc-macro2 v1.0.47Compiling unicode-ident v1.0.5Compiling quote v1.0.21Compiling anyhow v1.0.66Compiling syn v1.0.103Compiling either v1.8.0Compiling autocfg v1.1.0Compiling libc v0.2.137Compiling bytes v1.3.0Compiling log v0.4.17Compiling hashbrown v0.12.3Compiling cfg-if v1.0.0Compiling fixedbitset v0.4.2Compiling regex-syntax v0.6.28Compiling remove_dir_all v0.5.3Compiling heck v0.4.0Compiling fastrand v1.8.0Compiling multimap v0.8.3Compiling lazy_static v1.4.0Compiling once_cell v1.16.0Compiling itertools v0.10.5Compiling indexmap v1.9.2Compiling regex v1.7.0Compiling tempfile v3.3.0Compiling which v4.3.0Compiling petgraph v0.6.2Compiling prost-derive v0.11.2Compiling prost v0.11.2Compiling prost-types v0.11.2Compiling prost-build v0.11.1Compiling pbjson-build v0.5.1Compiling protoc-gen-prost v0.2.1Compiling protoc-gen-prost-serde v0.2.1Finished release [optimized + debuginfo] target(s) in 35.94sInstalling /root/.cargo/bin/protoc-gen-prost-serdeInstalled package `protoc-gen-prost-serde v0.2.1` (executable `protoc-gen-prost-serde`)Updating crates.io indexDownloaded protoc-gen-prost-crate v0.3.1Downloaded 1 crate (11.0 KB) in 2.32sInstalling protoc-gen-prost-crate v0.3.1Compiling proc-macro2 v1.0.47Compiling quote v1.0.21Compiling unicode-ident v1.0.5Compiling anyhow v1.0.66Compiling syn v1.0.103Compiling libc v0.2.137Compiling either v1.8.0Compiling autocfg v1.1.0Compiling log v0.4.17Compiling cfg-if v1.0.0Compiling hashbrown v0.12.3Compiling bytes v1.3.0Compiling fastrand v1.8.0Compiling regex-syntax v0.6.28Compiling remove_dir_all v0.5.3Compiling fixedbitset v0.4.2Compiling heck v0.4.0Compiling multimap v0.8.3Compiling lazy_static v1.4.0Compiling once_cell v1.16.0Compiling itertools v0.10.5Compiling indexmap v1.9.2Compiling regex v1.7.0Compiling which v4.3.0Compiling tempfile v3.3.0Compiling petgraph v0.6.2Compiling prost-derive v0.11.2Compiling prost v0.11.2Compiling prost-types v0.11.2Compiling prost-build v0.11.1Compiling protoc-gen-prost v0.2.1Compiling protoc-gen-prost-crate v0.3.1Finished release [optimized + debuginfo] target(s) in 31.57sInstalling /root/.cargo/bin/protoc-gen-prost-crateInstalled 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-underscorelibpython3-all-dev libpython3-dev libpython3-stdlib libpython3.10libpython3.10-dev libpython3.10-minimal libpython3.10-stdlib python3python3-all python3-dev python3-distutils python3-lib2to3 python3-minimalpython3.10 python3.10-dev python3.10-minimal zlib1g-dev
Suggested packages:python3-doc python3-tk python3-venv python3.10-venv python3.10-docbinfmt-support
Recommended packages:javascript-common
The following NEW packages will be installed:libexpat1-dev libjs-jquery libjs-sphinxdoc libjs-underscorelibpython3-all-dev libpython3-dev libpython3.10-dev python3-allpython3-all-dev python3-dev python3-distutils python3.10-dev zlib1g-dev
The following packages will be upgraded:libexpat1 libpython3-stdlib libpython3.10 libpython3.10-minimallibpython3.10-stdlib python3 python3-lib2to3 python3-minimal python3.10python3.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-commitDownloading 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 tomlDownloading toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting virtualenv>=20.0.8Downloading 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.1Downloading nodeenv-1.7.0-py2.py3-none-any.whl (21 kB)
Collecting cfgv>=2.0.0Downloading 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.0Downloading 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.1Downloading filelock-3.8.0-py3-none-any.whl (10 kB)
Collecting distlib<1,>=0.3.6Downloading 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.4Downloading 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.zipinflating: /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 <opensource@aptoslabs.com>
Command Line Interface (CLI) for developing and interacting with the Aptos blockchainUSAGE:aptos <SUBCOMMAND>OPTIONS:-h, --help       Print help information-V, --version    Print version informationSUBCOMMANDS:account       Tool for interacting with accountsconfig        Tool for interacting with configuration of the Aptos CLI toolgenesis       Tool for setting up an Aptos chain Genesis transactiongovernance    Tool for on-chain governancehelp          Print this message or the help of the given subcommand(s)info          Show build information about the CLIinit          Tool to initialize current directory for the aptos toolkey           Tool for generating, inspecting, and interacting with keysmove          Tool for Move related operationsnode          Tool for operations related to nodesstake         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:a171a942c1b1e94047804557047a5e3789bd62df486913f6bb7c21f030219227ChainId: testingREST API endpoint: http://0.0.0.0:8080Metrics endpoint: http://0.0.0.0:9101/metricsAptosnet Fullnode network endpoint: /ip4/0.0.0.0/tcp/6181Aptos is running, press ctrl-c to exitFaucet 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'

安装Aptos CLI 并 部署move智能合约相关推荐

  1. 我自己可以挖矿了!使用Ethereum C++客户端Aleth建一个私有网络,并使用Remix部署一个智能合约

    本文是按照这个教程执行的结果记录:Creating a private network and deploying a contract with Remix Ethereum Aleth在Wins上 ...

  2. 如何开发并部署Solana智能合约

    如果你想学习如何开发Solana智能合约和项目,那么你来对地方了. Solana是一个新兴的.高性能的且无许可的公链,它提供了快速.经济且可扩展的交易体验,并且它还支持使用Rust,C++和C语言来编 ...

  3. 以太坊智能合约Java_以太坊:调用已部署的智能合约

    目录 1. 调用已部署的智能合约 相关截图来自: 1.1. ABI是payload编码的依据 ABI,应用二进制接口(Application Binary Interface).它是从区块链外部与合约 ...

  4. 以太坊Dapp通过web3js部署调用智能合约

    通过web3js部署调用智能合约 1.在线编译智能合约 2.部署合约 3.调用合约 参考视频:https://www.bilibili.com/video/BV14z4y1Z7Jd?p=1 1.在线编 ...

  5. 在geth客户端调用已部署的智能合约

    什么是合约? 合约是代码(它的功能)和数据(它的状态)的集合,存在于以太坊区块链的特定地址. 合约账户能够在彼此之间传递信息,进行图灵完备的运算.合约依靠被称作以太坊虚拟机(EVM) 字节代码(以太坊 ...

  6. 部署NEP-5智能合约 (第1部分)

    2019独角兽企业重金招聘Python工程师标准>>> 如果您还没搭建私有网络,请参考之前的文章先行搭建. Photo by Markus Spiske on Unsplash 开始 ...

  7. 使用ethers.js部署Solidity智能合约

        ethers.js是一个非常精简的以太坊操作库,它包含如下四个模块:         Ethers.provider         Ethers.contract         Ether ...

  8. Cover团队在Kovan以太坊测试网部署xCOVER智能合约

    Cover联合创始人Alan通过推特发布Kovan以太坊测试网上的交易哈希,交易哈希显示Cover团队已经建立了新的智能合约(xCOVER).在评论中有推特用户称:xCOVER来了,我们将能够质押CO ...

  9. hyperledger部署java_Hyperledger Fabric(超级账本) Java 开发区块链 部署运行智能合约

    部署并运行 Java 链代码示例 您已经定义并启动了本地区块链网络,而且已构建 Java shim 客户端 JAR 并安装到本地 Maven 存储库中,现在已准备好在之前下载的 Hyperledger ...

最新文章

  1. Java多线程之线程虚假唤醒
  2. LeetCode 1586. 二叉搜索树迭代器 II(数组+栈)
  3. 支付宝的商业与技术创新双轮驱动 创造数字时代普惠金融“奇迹”
  4. Hbuilder开发app实战-识岁06-face++的js实现【完结】
  5. iOS OC与JS交互(WebView监听事件)
  6. Python中 '==' 与'is' 以及它们背后的故事
  7. 关于jsp页面下,重置选择框的数据的操作!
  8. 翻译 - 【Dojo Tutorials】Getting Started with dojox/app
  9. echart 不立即更新 解决首次加载动画问题 vue watch immediate
  10. python 运行时 变量_在运行时在python中检索变量的名称?
  11. Linux下创建虚拟软盘镜像
  12. vb将excel数据导入mysql_用VB做怎么将Excel数据导入SQL数据库中
  13. 【超图+CESIUM】【基础API使用示例】47、超图|CESIUM - 平行光源设置
  14. ActiveMQ笔记(一)
  15. sql查看服务器版本信息,怎么查看SQL Server2000的版本号
  16. XCTF_MOBILE16_boomshakalaka-3
  17. ios8 系统定位问题
  18. outputdebugstring函数的封装
  19. 超级照片美化技法:炫目的舞台光斑效果
  20. matlab f检验 f值,如何用matlab进行F检验

热门文章

  1. 《英雄联盟》首部成人动画全球爆火,尺度有点大啊!
  2. python中年月日,python日期和时间
  3. 哔哩哔哩(B站)的前端之路
  4. 实战小项目_猜数字小游戏
  5. JAVA和MySQL实现公交管理_java+ssh+mysql城市公交管理系统(源码+论文+开题+任务书+中期检查+ppt)...
  6. 教你怎么合理选购LED透明屏_LED透明屏价格影响因素
  7. 沃伦·巴菲特 | 成功的 10/10/10 法则
  8. win7上编译ipmitool
  9. Winsock Fix for Windows 7
  10. 2012年4月语言榜