[INFO] cloning repository https://github.com/theabhishek26/Blockathon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/theabhishek26/Blockathon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheabhishek26%2FBlockathon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheabhishek26%2FBlockathon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4201062c6af30bbab8d20980fc0a620d4c6a672b [INFO] checking theabhishek26/Blockathon against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheabhishek26%2FBlockathon" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/theabhishek26/Blockathon [INFO] finished tweaking git repo https://github.com/theabhishek26/Blockathon [INFO] tweaked toml for git repo https://github.com/theabhishek26/Blockathon written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/theabhishek26/Blockathon on toolchain 95813608313bff49cfc1afc393a946a3c085b772 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/theabhishek26/Blockathon 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" "+95813608313bff49cfc1afc393a946a3c085b772" "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 ic-cdk-timers v0.7.0 [INFO] [stderr] Downloaded stacker v0.1.15 [INFO] [stderr] Downloaded psm v0.1.21 [INFO] [stderr] Downloaded candid_derive v0.6.6 [INFO] [stderr] Downloaded binread_derive v2.1.0 [INFO] [stderr] Downloaded unicode-width v0.1.11 [INFO] [stderr] Downloaded pretty v0.12.3 [INFO] [stderr] Downloaded cc v1.0.90 [INFO] [stderr] Downloaded reqwest v0.11.26 [INFO] [stderr] Downloaded openssl v0.10.64 [INFO] [stderr] Downloaded ic-cdk v0.13.1 [INFO] [stderr] Downloaded binread v2.2.0 [INFO] [stderr] Downloaded h2 v0.3.25 [INFO] [stderr] Downloaded hyper v0.14.28 [INFO] [stderr] Downloaded openssl-sys v0.9.101 [INFO] [stderr] Downloaded bumpalo v3.15.4 [INFO] [stderr] Downloaded ic-cdk-macros v0.9.0 [INFO] [stderr] Downloaded ic0 v0.21.1 [INFO] [stderr] Downloaded serde_bytes v0.11.14 [INFO] [stderr] Downloaded syn v2.0.53 [INFO] [stderr] Downloaded ic_principal v0.1.1 [INFO] [stderr] Downloaded leb128 v0.2.5 [INFO] [stderr] Downloaded typed-arena v2.0.2 [INFO] [stderr] Downloaded candid v0.10.5 [INFO] [stderr] Downloaded serde_tokenstream v0.1.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22598c24d5a836996018c1617d10bf452cabc87d0ab1a8030b350ef3e466e84a [INFO] running `Command { std: "docker" "start" "-a" "22598c24d5a836996018c1617d10bf452cabc87d0ab1a8030b350ef3e466e84a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22598c24d5a836996018c1617d10bf452cabc87d0ab1a8030b350ef3e466e84a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22598c24d5a836996018c1617d10bf452cabc87d0ab1a8030b350ef3e466e84a", kill_on_drop: false }` [INFO] [stdout] 22598c24d5a836996018c1617d10bf452cabc87d0ab1a8030b350ef3e466e84a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0881e1fe550c95d7154d5cf2bec77e75e7aa9747d2369dffc29f03ad0e19e74 [INFO] running `Command { std: "docker" "start" "-a" "c0881e1fe550c95d7154d5cf2bec77e75e7aa9747d2369dffc29f03ad0e19e74", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking tokio v1.36.0 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking indexmap v2.2.5 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking ic0 v0.21.1 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking encoding_rs v0.8.33 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Checking h2 v0.3.25 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking candid v0.10.5 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.26 [INFO] [stderr] Compiling ic-cdk-macros v0.9.0 [INFO] [stderr] Checking ic-cdk v0.13.1 [INFO] [stderr] Checking ic-cdk-timers v0.7.0 [INFO] [stderr] Checking hello_v4_backend v0.1.0 (/opt/rustwide/workdir/src/hello_v4_backend) [INFO] [stdout] error: expected `;`, found `thread_local` [INFO] [stdout] --> src/hello_v4_backend/src/lib.rs:13:66 [INFO] [stdout] | [INFO] [stdout] 13 | pub type interaction_data = HashMap> [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] ... [INFO] [stdout] 22 | thread_local! { [INFO] [stdout] | ------------ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `thread_local` [INFO] [stdout] --> src/hello_v4_backend/src/lib.rs:13:66 [INFO] [stdout] | [INFO] [stdout] 13 | pub type interaction_data = HashMap> [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] ... [INFO] [stdout] 22 | thread_local! { [INFO] [stdout] | ------------ unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Principal` in this scope [INFO] [stdout] --> src/hello_v4_backend/src/lib.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | pub type interaction_data = HashMap> [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use candid::Principal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RefCell` in this scope [INFO] [stdout] --> src/hello_v4_backend/src/lib.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | static INTERACTIONS: RefCell = RefCell::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::cell::RefCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RefCell` [INFO] [stdout] --> src/hello_v4_backend/src/lib.rs:23:54 [INFO] [stdout] | [INFO] [stdout] 23 | static INTERACTIONS: RefCell = RefCell::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `RefCell` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::cell::RefCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Web3Credibility` in this scope [INFO] [stdout] --> src/hello_v4_backend/src/lib.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | fn web3_credibility() -> &'static mut Web3Credibility { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_mut` in module `storage` [INFO] [stdout] --> src/hello_v4_backend/src/lib.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | storage::get_mut::() [INFO] [stdout] | ^^^^^^^ not found in `storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Web3Credibility` in this scope [INFO] [stdout] --> src/hello_v4_backend/src/lib.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | storage::get_mut::() [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 27 | fn web3_credibility() -> &'static mut Web3Credibility { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get` in module `storage` [INFO] [stdout] --> src/hello_v4_backend/src/lib.rs:45:37 [INFO] [stdout] | [INFO] [stdout] 45 | let web3_credibility = storage::get::(); [INFO] [stdout] | ^^^ not found in `storage` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::get; [INFO] [stdout] | [INFO] [stdout] help: if you import `get`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 45 - let web3_credibility = storage::get::(); [INFO] [stdout] 45 + let web3_credibility = get::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Web3Credibility` in this scope [INFO] [stdout] --> src/hello_v4_backend/src/lib.rs:45:43 [INFO] [stdout] | [INFO] [stdout] 45 | let web3_credibility = storage::get::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 44 | fn get_interactions(account: String) -> Vec { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Principal` in this scope [INFO] [stdout] --> src/hello_v4_backend/src/lib.rs:13:38 [INFO] [stdout] | [INFO] [stdout] 13 | pub type interaction_data = HashMap> [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use candid::Principal; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic_cdk_macros::*` [INFO] [stdout] --> src/hello_v4_backend/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_cdk_macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::get` [INFO] [stdout] --> src/hello_v4_backend/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use reqwest::get; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RefCell` in this scope [INFO] [stdout] --> src/hello_v4_backend/src/lib.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | static INTERACTIONS: RefCell = RefCell::new(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::cell::RefCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `interaction_data` should have an upper camel case name [INFO] [stdout] --> src/hello_v4_backend/src/lib.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub type interaction_data = HashMap> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `InteractionData` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RefCell` [INFO] [stdout] --> src/hello_v4_backend/src/lib.rs:23:54 [INFO] [stdout] | [INFO] [stdout] 23 | static INTERACTIONS: RefCell = RefCell::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `RefCell` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use std::cell::RefCell; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Web3Credibility` in this scope [INFO] [stdout] --> src/hello_v4_backend/src/lib.rs:27:39 [INFO] [stdout] | [INFO] [stdout] 27 | fn web3_credibility() -> &'static mut Web3Credibility { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_mut` in module `storage` [INFO] [stdout] --> src/hello_v4_backend/src/lib.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | storage::get_mut::() [INFO] [stdout] | ^^^^^^^ not found in `storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Web3Credibility` in this scope [INFO] [stdout] --> src/hello_v4_backend/src/lib.rs:28:24 [INFO] [stdout] | [INFO] [stdout] 28 | storage::get_mut::() [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 27 | fn web3_credibility() -> &'static mut Web3Credibility { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get` in module `storage` [INFO] [stdout] --> src/hello_v4_backend/src/lib.rs:45:37 [INFO] [stdout] | [INFO] [stdout] 45 | let web3_credibility = storage::get::(); [INFO] [stdout] | ^^^ not found in `storage` [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use reqwest::get; [INFO] [stdout] | [INFO] [stdout] help: if you import `get`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 45 - let web3_credibility = storage::get::(); [INFO] [stdout] 45 + let web3_credibility = get::(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Web3Credibility` in this scope [INFO] [stdout] --> src/hello_v4_backend/src/lib.rs:45:43 [INFO] [stdout] | [INFO] [stdout] 45 | let web3_credibility = storage::get::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 44 | fn get_interactions(account: String) -> Vec { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ic_cdk_macros::*` [INFO] [stdout] --> src/hello_v4_backend/src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ic_cdk_macros::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::get` [INFO] [stdout] --> src/hello_v4_backend/src/lib.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use reqwest::get; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `interaction_data` should have an upper camel case name [INFO] [stdout] --> src/hello_v4_backend/src/lib.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub type interaction_data = HashMap> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `InteractionData` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/hello_v4_backend/src/lib.rs:52:62 [INFO] [stdout] | [INFO] [stdout] 52 | web3_credibility().interactions.get(&account).map_or(0, |interactions| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 53 | interactions.iter().fold(0, |acc, interaction| { [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 52 | web3_credibility().interactions.get(&account).map_or(0, |interactions: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/hello_v4_backend/src/lib.rs:52:62 [INFO] [stdout] | [INFO] [stdout] 52 | web3_credibility().interactions.get(&account).map_or(0, |interactions| { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 53 | interactions.iter().fold(0, |acc, interaction| { [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 52 | web3_credibility().interactions.get(&account).map_or(0, |interactions: /* Type */| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hello_v4_backend` (lib test) due to 10 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `hello_v4_backend` (lib) due to 10 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c0881e1fe550c95d7154d5cf2bec77e75e7aa9747d2369dffc29f03ad0e19e74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0881e1fe550c95d7154d5cf2bec77e75e7aa9747d2369dffc29f03ad0e19e74", kill_on_drop: false }` [INFO] [stdout] c0881e1fe550c95d7154d5cf2bec77e75e7aa9747d2369dffc29f03ad0e19e74