[INFO] cloning repository https://github.com/ashishjsharda/rust-blockchain-starter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ashishjsharda/rust-blockchain-starter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashishjsharda%2Frust-blockchain-starter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashishjsharda%2Frust-blockchain-starter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cd719032ae45470ff52cec83716d3a975d45019e [INFO] checking ashishjsharda/rust-blockchain-starter against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashishjsharda%2Frust-blockchain-starter" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ashishjsharda/rust-blockchain-starter [INFO] finished tweaking git repo https://github.com/ashishjsharda/rust-blockchain-starter [INFO] tweaked toml for git repo https://github.com/ashishjsharda/rust-blockchain-starter written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ashishjsharda/rust-blockchain-starter on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ashishjsharda/rust-blockchain-starter already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded scale-info-derive v2.11.2 [INFO] [stderr] Downloaded ipfs-api-backend-hyper v0.5.0 [INFO] [stderr] Downloaded common-multipart-rfc7578 v0.6.0 [INFO] [stderr] Downloaded ipfs-api v0.16.0 [INFO] [stderr] Downloaded ink_storage v3.4.0 [INFO] [stderr] Downloaded ipfs-api-prelude v0.5.0 [INFO] [stderr] Downloaded ink_lang_macro v3.4.0 [INFO] [stderr] Downloaded ink_allocator v3.4.0 [INFO] [stderr] Downloaded ink_engine v3.4.0 [INFO] [stderr] Downloaded hyper-multipart-rfc7578 v0.8.0 [INFO] [stderr] Downloaded scale-info v2.11.2 [INFO] [stderr] Downloaded rlibc v1.0.0 [INFO] [stderr] Downloaded ink_primitives v3.4.0 [INFO] [stderr] Downloaded ink_lang_codegen v3.4.0 [INFO] [stderr] Downloaded ink_metadata v3.4.0 [INFO] [stderr] Downloaded ink_lang v3.4.0 [INFO] [stderr] Downloaded ink_lang_ir v3.4.0 [INFO] [stderr] Downloaded ink_env v3.4.0 [INFO] [stderr] Downloaded ink_prelude v3.4.0 [INFO] [stderr] Downloaded ink_storage_derive v3.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 651be7c14f3317d3c3a1b6e35ed2e503112f9f9e576bb9c35da86be8ed8d7b23 [INFO] running `Command { std: "docker" "start" "-a" "651be7c14f3317d3c3a1b6e35ed2e503112f9f9e576bb9c35da86be8ed8d7b23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "651be7c14f3317d3c3a1b6e35ed2e503112f9f9e576bb9c35da86be8ed8d7b23", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "651be7c14f3317d3c3a1b6e35ed2e503112f9f9e576bb9c35da86be8ed8d7b23", kill_on_drop: false }` [INFO] [stdout] 651be7c14f3317d3c3a1b6e35ed2e503112f9f9e576bb9c35da86be8ed8d7b23 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 592d55639987a18cd9ae8235ff406848c19555ddbb0cce3aa28818ebb3ad90ad [INFO] running `Command { std: "docker" "start" "-a" "592d55639987a18cd9ae8235ff406848c19555ddbb0cce3aa28818ebb3ad90ad", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking unicase v2.7.0 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking ink_prelude v3.4.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Checking unsigned-varint v0.5.1 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Checking ink_allocator v3.4.0 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.198 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking secp256k1 v0.24.3 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ink_lang_ir v3.4.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling impl-trait-for-tuples v0.2.2 [INFO] [stderr] Compiling parity-scale-codec-derive v3.6.9 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling scale-info-derive v2.11.2 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.12 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling ink_storage_derive v3.4.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking thiserror v1.0.58 [INFO] [stderr] Checking data-encoding-macro v0.1.14 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking multihash v0.13.2 [INFO] [stderr] Compiling parity-scale-codec v3.6.9 [INFO] [stderr] Compiling scale-info v2.11.2 [INFO] [stderr] Compiling ink_lang_codegen v3.4.0 [INFO] [stderr] Checking common-multipart-rfc7578 v0.6.0 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Compiling ink_primitives v3.4.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking parity-multiaddr v0.11.2 [INFO] [stderr] Compiling ink_lang_macro v3.4.0 [INFO] [stderr] Checking ink_engine v3.4.0 [INFO] [stderr] Checking ipfs-api-prelude v0.5.0 [INFO] [stderr] Checking ink_metadata v3.4.0 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking ink_env v3.4.0 [INFO] [stderr] Checking ink_storage v3.4.0 [INFO] [stderr] Checking ink_lang v3.4.0 [INFO] [stderr] Checking hyper-multipart-rfc7578 v0.8.0 [INFO] [stderr] Checking ipfs-api-backend-hyper v0.5.0 [INFO] [stderr] Checking ipfs-api v0.16.0 [INFO] [stderr] Checking my_blockchain_project v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Storage` [INFO] [stdout] --> src/contracts/my_contract.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / pub struct MyContract { [INFO] [stdout] 8 | | value: i32, [INFO] [stdout] 9 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stdout] = help: consider adding `__ink_dylint_Storage` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Constructor` [INFO] [stdout] --> src/contracts/my_contract.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | / pub fn new(init_value: i32) -> Self { [INFO] [stdout] 14 | | Self { value: init_value } [INFO] [stdout] 15 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stdout] = help: consider adding `__ink_dylint_Constructor` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Storage` [INFO] [stdout] --> src/contracts/my_contract.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | / pub struct MyContract { [INFO] [stdout] 8 | | value: i32, [INFO] [stdout] 9 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stdout] = help: consider adding `__ink_dylint_Storage` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `__ink_dylint_Constructor` [INFO] [stdout] --> src/contracts/my_contract.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | / pub fn new(init_value: i32) -> Self { [INFO] [stdout] 14 | | Self { value: init_value } [INFO] [stdout] 15 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `default`, `ink-as-dependency`, `ink_metadata`, `scale-info`, and `std` [INFO] [stdout] = help: consider adding `__ink_dylint_Constructor` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `storage_dapp::File` is more private than the item `retrieve_file` [INFO] [stdout] --> src/dapps/storage_dapp.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn retrieve_file(hash: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `retrieve_file` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `storage_dapp::File` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/dapps/storage_dapp.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct File { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `storage_dapp::File` is more private than the item `retrieve_file` [INFO] [stdout] --> src/dapps/storage_dapp.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub async fn retrieve_file(hash: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `retrieve_file` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `storage_dapp::File` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/dapps/storage_dapp.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | struct File { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.90s [INFO] running `Command { std: "docker" "inspect" "592d55639987a18cd9ae8235ff406848c19555ddbb0cce3aa28818ebb3ad90ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "592d55639987a18cd9ae8235ff406848c19555ddbb0cce3aa28818ebb3ad90ad", kill_on_drop: false }` [INFO] [stdout] 592d55639987a18cd9ae8235ff406848c19555ddbb0cce3aa28818ebb3ad90ad