[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/cd719032ae45470ff52cec83716d3a975d45019e against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fashishjsharda%2Frust-blockchain-starter" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ashishjsharda/rust-blockchain-starter on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-7-tc1/source/Cargo.toml [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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ipfs-api-backend-hyper v0.5.0 [INFO] [stderr] Downloaded ink_primitives v3.4.0 [INFO] [stderr] Downloaded ink_storage v3.4.0 [INFO] [stderr] Downloaded ipfs-api v0.16.0 [INFO] [stderr] Downloaded ipfs-api-prelude v0.5.0 [INFO] [stderr] Downloaded ink_lang v3.4.0 [INFO] [stderr] Downloaded ink_lang_codegen v3.4.0 [INFO] [stderr] Downloaded ink_lang_macro v3.4.0 [INFO] [stderr] Downloaded ink_lang_ir v3.4.0 [INFO] [stderr] Downloaded ink_env v3.4.0 [INFO] [stderr] Downloaded ink_allocator v3.4.0 [INFO] [stderr] Downloaded ink_engine v3.4.0 [INFO] [stderr] Downloaded ink_storage_derive v3.4.0 [INFO] [stderr] Downloaded ink_metadata v3.4.0 [INFO] [stderr] Downloaded ink_prelude v3.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 806694fae4c5591cabe1a1ba1f33837a61ee24b65a6d2a000840c3012edb488e [INFO] running `Command { std: "docker" "start" "-a" "806694fae4c5591cabe1a1ba1f33837a61ee24b65a6d2a000840c3012edb488e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "806694fae4c5591cabe1a1ba1f33837a61ee24b65a6d2a000840c3012edb488e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "806694fae4c5591cabe1a1ba1f33837a61ee24b65a6d2a000840c3012edb488e", kill_on_drop: false }` [INFO] [stdout] 806694fae4c5591cabe1a1ba1f33837a61ee24b65a6d2a000840c3012edb488e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3a19501c29d841041e1c91bfc0154959d20d31d20869d54482c7857870faeb94 [INFO] running `Command { std: "docker" "start" "-a" "3a19501c29d841041e1c91bfc0154959d20d31d20869d54482c7857870faeb94", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.3 [INFO] [stderr] Compiling serde v1.0.198 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking socket2 v0.5.6 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling toml_edit v0.20.2 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking byte-slice-cast v1.2.2 [INFO] [stderr] Compiling cc v1.0.94 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling proc-macro-crate v2.0.2 [INFO] [stderr] Compiling secp256k1-sys v0.6.1 [INFO] [stderr] Checking data-encoding v2.5.0 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking ink_prelude v3.4.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking unsigned-varint v0.5.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Compiling blake2 v0.10.6 [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] Checking tokio v1.37.0 [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] Checking futures-util v0.3.30 [INFO] [stderr] Compiling scale-info-derive v2.11.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.12 [INFO] [stderr] Checking multihash v0.13.2 [INFO] [stderr] Checking secp256k1 v0.24.3 [INFO] [stderr] Checking data-encoding-macro v0.1.14 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking bs58 v0.4.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking dirs v4.0.0 [INFO] [stderr] Compiling ink_lang_ir v3.4.0 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling parity-scale-codec v3.6.9 [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] Compiling scale-info v2.11.2 [INFO] [stderr] Compiling impl-serde v0.3.2 [INFO] [stderr] Checking ink_allocator v3.4.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling ink_storage_derive v3.4.0 [INFO] [stderr] Checking array-init v2.1.0 [INFO] [stderr] Compiling ink_lang_codegen v3.4.0 [INFO] [stderr] Compiling ink_primitives v3.4.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking parity-multiaddr v0.11.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [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 hyper v0.14.28 [INFO] [stderr] Checking ink_metadata v3.4.0 [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_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_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] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.54s [INFO] running `Command { std: "docker" "inspect" "3a19501c29d841041e1c91bfc0154959d20d31d20869d54482c7857870faeb94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3a19501c29d841041e1c91bfc0154959d20d31d20869d54482c7857870faeb94", kill_on_drop: false }` [INFO] [stdout] 3a19501c29d841041e1c91bfc0154959d20d31d20869d54482c7857870faeb94