[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] testing theabhishek26/Blockathon against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftheabhishek26%2FBlockathon" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/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-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/theabhishek26/Blockathon on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic-cdk-timers v0.7.0 [INFO] [stderr] Downloaded ic-cdk v0.13.1 [INFO] [stderr] Downloaded ic-cdk-macros v0.9.0 [INFO] [stderr] Downloaded candid v0.10.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20150f0e309f703918cfdd56f1ba47babc238ec97f4925a6b82e9155ff969f93 [INFO] running `Command { std: "docker" "start" "-a" "20150f0e309f703918cfdd56f1ba47babc238ec97f4925a6b82e9155ff969f93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20150f0e309f703918cfdd56f1ba47babc238ec97f4925a6b82e9155ff969f93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20150f0e309f703918cfdd56f1ba47babc238ec97f4925a6b82e9155ff969f93", kill_on_drop: false }` [INFO] [stdout] 20150f0e309f703918cfdd56f1ba47babc238ec97f4925a6b82e9155ff969f93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4e09ff17a9147e0d02060804030b285820d9d2098069eb40a3e50d6674e4c160 [INFO] running `Command { std: "docker" "start" "-a" "4e09ff17a9147e0d02060804030b285820d9d2098069eb40a3e50d6674e4c160", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cc v1.0.90 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling anyhow v1.0.81 [INFO] [stderr] Compiling either v1.10.0 [INFO] [stderr] Compiling bitflags v2.4.2 [INFO] [stderr] Compiling unicode-width v0.1.11 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling syn v2.0.53 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling indexmap v2.2.5 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Compiling tokio v1.36.0 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Compiling ic0 v0.21.1 [INFO] [stderr] Compiling encoding_rs v0.8.33 [INFO] [stderr] Compiling openssl-sys v0.9.101 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling url v2.5.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling thiserror-impl v1.0.58 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling tokio-util v0.7.10 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling thiserror v1.0.58 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling h2 v0.3.25 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling serde_bytes v0.11.14 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling candid v0.10.5 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.26 [INFO] [stderr] Compiling ic-cdk-macros v0.9.0 [INFO] [stderr] Compiling ic-cdk v0.13.1 [INFO] [stderr] Compiling ic-cdk-timers v0.7.0 [INFO] [stderr] Compiling 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[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] 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] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `hello_v4_backend` (lib) due to 9 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4e09ff17a9147e0d02060804030b285820d9d2098069eb40a3e50d6674e4c160", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e09ff17a9147e0d02060804030b285820d9d2098069eb40a3e50d6674e4c160", kill_on_drop: false }` [INFO] [stdout] 4e09ff17a9147e0d02060804030b285820d9d2098069eb40a3e50d6674e4c160