[INFO] cloning repository https://github.com/arielwang829/erc20-example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arielwang829/erc20-example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farielwang829%2Ferc20-example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farielwang829%2Ferc20-example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0d18797ebbc77f957ccc786b6475a0a4da98d934 [INFO] checking arielwang829/erc20-example against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farielwang829%2Ferc20-example" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/arielwang829/erc20-example on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/arielwang829/erc20-example [INFO] finished tweaking git repo https://github.com/arielwang829/erc20-example [INFO] tweaked toml for git repo https://github.com/arielwang829/erc20-example written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/arielwang829/erc20-example already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sp-std v3.0.0 [INFO] [stderr] Downloaded sp-debug-derive v3.0.0 [INFO] [stderr] Downloaded sp-arithmetic v3.0.0 [INFO] [stderr] Downloaded blake2 v0.9.2 [INFO] [stderr] Downloaded serde_cbor v0.11.2 [INFO] [stderr] Downloaded ink_lang_ir v3.0.0-rc5 [INFO] [stderr] Downloaded ink_allocator v3.0.0-rc5 [INFO] [stderr] Downloaded array-init v2.0.0 [INFO] [stderr] Downloaded ink_lang_codegen v3.0.0-rc5 [INFO] [stderr] Downloaded ink_storage v3.0.0-rc5 [INFO] [stderr] Downloaded ink_lang_macro v3.0.0-rc5 [INFO] [stderr] Downloaded scale-info v0.6.0 [INFO] [stderr] Downloaded ink_storage_derive v3.0.0-rc5 [INFO] [stderr] Downloaded ink_lang v3.0.0-rc5 [INFO] [stderr] Downloaded ink_prelude v3.0.0-rc5 [INFO] [stderr] Downloaded ink_metadata v3.0.0-rc5 [INFO] [stderr] Downloaded ink_primitives v3.0.0-rc5 [INFO] [stderr] Downloaded ink_env v3.0.0-rc5 [INFO] [stderr] Downloaded scale-info-derive v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f99f088f7b138072d35d21fa9cbfc945a5a2a9151cb2149266c8117fe8ef4a9a [INFO] running `Command { std: "docker" "start" "-a" "f99f088f7b138072d35d21fa9cbfc945a5a2a9151cb2149266c8117fe8ef4a9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f99f088f7b138072d35d21fa9cbfc945a5a2a9151cb2149266c8117fe8ef4a9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f99f088f7b138072d35d21fa9cbfc945a5a2a9151cb2149266c8117fe8ef4a9a", kill_on_drop: false }` [INFO] [stdout] f99f088f7b138072d35d21fa9cbfc945a5a2a9151cb2149266c8117fe8ef4a9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0c4be87effe5d0bfa537ea84a24a73e2797975021d55ed21be3e2bb7366bcb1f [INFO] running `Command { std: "docker" "start" "-a" "0c4be87effe5d0bfa537ea84a24a73e2797975021d55ed21be3e2bb7366bcb1f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking funty v1.1.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking wyz v0.2.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Checking byte-slice-cast v1.1.0 [INFO] [stderr] Checking arrayvec v0.7.1 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking keccak v0.1.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking half v1.7.1 [INFO] [stderr] Checking cpufeatures v0.2.1 [INFO] [stderr] Checking sp-std v3.0.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking array-init v2.0.0 [INFO] [stderr] Checking ink_prelude v3.0.0-rc5 [INFO] [stderr] Checking ink_allocator v3.0.0-rc5 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking bitvec v0.20.4 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking crypto-mac v0.8.0 [INFO] [stderr] Checking blake2 v0.9.2 [INFO] [stderr] Checking sha2 v0.9.8 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking criterion-plot v0.4.4 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling impl-serde v0.3.1 [INFO] [stderr] Compiling proc-macro-crate v0.1.5 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling ink_lang_ir v3.0.0-rc5 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.1 [INFO] [stderr] Compiling derive_more v0.99.16 [INFO] [stderr] Compiling scale-info-derive v0.4.0 [INFO] [stderr] Compiling sp-debug-derive v3.0.0 [INFO] [stderr] Compiling ink_storage_derive v3.0.0-rc5 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling parity-scale-codec-derive v2.3.0 [INFO] [stderr] Compiling parity-scale-codec v2.3.0 [INFO] [stderr] Compiling ink_lang_codegen v3.0.0-rc5 [INFO] [stderr] Compiling ink_primitives v3.0.0-rc5 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking scale-info v0.6.0 [INFO] [stderr] Checking sp-arithmetic v3.0.0 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.3.5 [INFO] [stderr] Checking ink_metadata v3.0.0-rc5 [INFO] [stderr] Compiling ink_lang_macro v3.0.0-rc5 [INFO] [stderr] Checking ink_env v3.0.0-rc5 [INFO] [stderr] Checking ink_storage v3.0.0-rc5 [INFO] [stderr] Checking ink_lang v3.0.0-rc5 [INFO] [stderr] Checking erc20 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> lib.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | /// 获取合约接口调用者地址 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 101 | let from = self.env().caller(); [INFO] [stdout] | ------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> lib.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | /// 给接受地址转出指定金额代币 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 103 | self.transfer_from_to(from, to, value) [INFO] [stdout] | -------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> lib.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | /// 获取合约调用者账户余额 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 152 | let from_balance = self.balance_of(from); [INFO] [stdout] | ----------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> lib.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | /// 获取合约接收者账户余额 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 157 | let to_balance = self.balance_of(to); [INFO] [stdout] | ------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> lib.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | /// 发送者余额减少指定数量 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 159 | self.balances.insert(from, from_balance - value); [INFO] [stdout] | ------------------------------------------------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> lib.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | /// 接收者余额增加指定数量 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 161 | self.balances.insert(to, to_balance + value); [INFO] [stdout] | -------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> lib.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | /// 获取合约接口调用者地址 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 101 | let from = self.env().caller(); [INFO] [stdout] | ------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> lib.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | /// 给接受地址转出指定金额代币 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 103 | self.transfer_from_to(from, to, value) [INFO] [stdout] | -------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> lib.rs:151:13 [INFO] [stdout] | [INFO] [stdout] 151 | /// 获取合约调用者账户余额 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 152 | let from_balance = self.balance_of(from); [INFO] [stdout] | ----------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> lib.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | /// 获取合约接收者账户余额 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 157 | let to_balance = self.balance_of(to); [INFO] [stdout] | ------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> lib.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | /// 发送者余额减少指定数量 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 159 | self.balances.insert(from, from_balance - value); [INFO] [stdout] | ------------------------------------------------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> lib.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | /// 接收者余额增加指定数量 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 161 | self.balances.insert(to, to_balance + value); [INFO] [stdout] | -------------------------------------------- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 27s [INFO] running `Command { std: "docker" "inspect" "0c4be87effe5d0bfa537ea84a24a73e2797975021d55ed21be3e2bb7366bcb1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c4be87effe5d0bfa537ea84a24a73e2797975021d55ed21be3e2bb7366bcb1f", kill_on_drop: false }` [INFO] [stdout] 0c4be87effe5d0bfa537ea84a24a73e2797975021d55ed21be3e2bb7366bcb1f