[INFO] cloning repository https://github.com/Chirag00007/icp_token_wallet
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Chirag00007/icp_token_wallet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChirag00007%2Ficp_token_wallet", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChirag00007%2Ficp_token_wallet'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8653748ae0ba0ff06f719b11d764718018d8f18a
[INFO] checking Chirag00007/icp_token_wallet against try#ddcf048784667508cd676fef4667f88ae15628a3 for pr-148271
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FChirag00007%2Ficp_token_wallet" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Chirag00007/icp_token_wallet
[INFO] finished tweaking git repo https://github.com/Chirag00007/icp_token_wallet
[INFO] tweaked toml for git repo https://github.com/Chirag00007/icp_token_wallet written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Chirag00007/icp_token_wallet on toolchain ddcf048784667508cd676fef4667f88ae15628a3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ddcf048784667508cd676fef4667f88ae15628a3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Chirag00007/icp_token_wallet 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" "+ddcf048784667508cd676fef4667f88ae15628a3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: /workspace/builds/worker-1-tc2/source/Cargo.toml: unused manifest key: workspace.crate-type
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddcf048784667508cd676fef4667f88ae15628a3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 149f417886ffa214633f50a45b9f44db9f77a900a956604a61fd39e502fa01b4
[INFO] running `Command { std: "docker" "start" "-a" "149f417886ffa214633f50a45b9f44db9f77a900a956604a61fd39e502fa01b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "149f417886ffa214633f50a45b9f44db9f77a900a956604a61fd39e502fa01b4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "149f417886ffa214633f50a45b9f44db9f77a900a956604a61fd39e502fa01b4", kill_on_drop: false }`
[INFO] [stdout] 149f417886ffa214633f50a45b9f44db9f77a900a956604a61fd39e502fa01b4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddcf048784667508cd676fef4667f88ae15628a3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8b67a046e00146787124bbbb3d39a7f0a86206feb491a7c48def0aefac238842
[INFO] running `Command { std: "docker" "start" "-a" "8b67a046e00146787124bbbb3d39a7f0a86206feb491a7c48def0aefac238842", kill_on_drop: false }`
[INFO] [stderr] warning: /opt/rustwide/workdir/Cargo.toml: unused manifest key: workspace.crate-type
[INFO] [stderr]    Compiling libc v0.2.158
[INFO] [stderr]    Compiling serde v1.0.209
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling indexmap v2.5.0
[INFO] [stderr]    Compiling once_cell v1.19.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling either v1.13.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling crunchy v0.2.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling syn v2.0.77
[INFO] [stderr]    Compiling regex-syntax v0.8.4
[INFO] [stderr]    Compiling smallvec v1.13.2
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling phf_shared v0.10.0
[INFO] [stderr]    Compiling new_debug_unreachable v1.0.6
[INFO] [stderr]    Compiling precomputed-hash v0.1.1
[INFO] [stderr]    Compiling bit-vec v0.6.3
[INFO] [stderr]    Compiling fixedbitset v0.4.2
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling bit-set v0.5.3
[INFO] [stderr]    Compiling petgraph v0.6.5
[INFO] [stderr]    Compiling dirs-sys-next v0.1.2
[INFO] [stderr]    Compiling dirs-next v2.0.0
[INFO] [stderr]    Compiling term v0.7.0
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling string_cache v0.8.7
[INFO] [stderr]    Compiling ascii-canvas v3.0.0
[INFO] [stderr]    Compiling is-terminal v0.4.13
[INFO] [stderr]    Compiling ena v0.14.3
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling beef v0.5.2
[INFO] [stderr]    Compiling thiserror v1.0.63
[INFO] [stderr]    Compiling proc-macro-crate v1.3.1
[INFO] [stderr]    Compiling diff v0.1.13
[INFO] [stderr]    Compiling regex-automata v0.4.7
[INFO] [stderr]    Compiling unicode-xid v0.2.5
[INFO] [stderr]    Compiling serde_derive v1.0.209
[INFO] [stderr]    Compiling thiserror-impl v1.0.63
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling unicode-width v0.1.13
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling cpufeatures v0.2.13
[INFO] [stderr]    Compiling codespan-reporting v0.11.1
[INFO] [stderr]    Compiling sha2 v0.10.8
[INFO] [stderr]    Compiling pretty v0.10.0
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling regex v1.10.6
[INFO] [stderr]    Compiling data-encoding v2.6.0
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling lalrpop-util v0.19.12
[INFO] [stderr]    Compiling lalrpop v0.19.12
[INFO] [stderr]     Checking ic0 v0.18.11
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling num_enum_derive v0.5.11
[INFO] [stderr]    Compiling logos-derive v0.12.1
[INFO] [stderr]    Compiling candid_derive v0.5.0
[INFO] [stderr]    Compiling num_enum v0.5.11
[INFO] [stderr]    Compiling binread v2.2.0
[INFO] [stderr]    Compiling logos v0.12.1
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking serde_bytes v0.11.15
[INFO] [stderr]    Compiling serde_tokenstream v0.1.7
[INFO] [stderr]    Compiling candid v0.8.4
[INFO] [stderr]    Compiling ic-cdk-macros v0.6.10
[INFO] [stderr]     Checking ic-cdk v0.6.10
[INFO] [stderr]     Checking token_wallet_backend v0.1.0 (/opt/rustwide/workdir/src/token_wallet_backend)
[INFO] [stdout] error: #[init] function cannot have a return value.
[INFO] [stdout]   --> src/token_wallet_backend/src/lib.rs:52:1
[INFO] [stdout]    |
[INFO] [stdout] 52 | #[init]
[INFO] [stdout]    | ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `init` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found module `api::call`
[INFO] [stdout]   --> src/token_wallet_backend/src/lib.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         api::call(to, "receive_tokens", (amount,)).unwrap();
[INFO] [stdout]    |         ^^^^^^^^^ not a function
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions instead
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::api::call::call;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use ic_cdk::call;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `call`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 32 -         api::call(to, "receive_tokens", (amount,)).unwrap();
[INFO] [stdout] 32 +         call(to, "receive_tokens", (amount,)).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `export`
[INFO] [stdout]  --> src/token_wallet_backend/src/lib.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ic_cdk::{api, export};
[INFO] [stdout]   |                   ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `token_wallet_backend` (lib test) due to 4 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0277]: the trait bound `TokenWallet: CandidType` is not satisfied
[INFO] [stdout]    --> src/token_wallet_backend/src/lib.rs:57:1
[INFO] [stdout]     |
[INFO] [stdout]  57 | #[update]
[INFO] [stdout]     | ^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `CandidType` is not implemented for `TokenWallet`
[INFO] [stdout]    --> src/token_wallet_backend/src/lib.rs:10:1
[INFO] [stdout]     |
[INFO] [stdout]  10 | struct TokenWallet {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `CandidType`:
[INFO] [stdout]               &'a T
[INFO] [stdout]               &'a mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 127 others
[INFO] [stdout]     = note: required for `(TokenWallet,)` to implement `ArgumentEncoder`
[INFO] [stdout] note: required by a bound in `reply`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ic-cdk-0.6.10/src/api/call.rs:550:17
[INFO] [stdout]     |
[INFO] [stdout] 550 | pub fn reply<T: ArgumentEncoder>(reply: T) {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^ required by this bound in `reply`
[INFO] [stdout]     = note: this error originates in the attribute macro `update` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found attribute macro `init`
[INFO] [stdout]   --> src/token_wallet_backend/src/lib.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 59 |     init()
[INFO] [stdout]    |     ^^^^ not a function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0423.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error: #[init] function cannot have a return value.
[INFO] [stdout]   --> src/token_wallet_backend/src/lib.rs:52:1
[INFO] [stdout]    |
[INFO] [stdout] 52 | #[init]
[INFO] [stdout]    | ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the attribute macro `init` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found module `api::call`
[INFO] [stdout]   --> src/token_wallet_backend/src/lib.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |         api::call(to, "receive_tokens", (amount,)).unwrap();
[INFO] [stdout]    |         ^^^^^^^^^ not a function
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these functions instead
[INFO] [stdout]    |
[INFO] [stdout]  1 + use crate::api::call::call;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use ic_cdk::call;
[INFO] [stdout]    |
[INFO] [stdout] help: if you import `call`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 32 -         api::call(to, "receive_tokens", (amount,)).unwrap();
[INFO] [stdout] 32 +         call(to, "receive_tokens", (amount,)).unwrap();
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `export`
[INFO] [stdout]  --> src/token_wallet_backend/src/lib.rs:1:19
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ic_cdk::{api, export};
[INFO] [stdout]   |                   ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `TokenWallet: CandidType` is not satisfied
[INFO] [stdout]    --> src/token_wallet_backend/src/lib.rs:57:1
[INFO] [stdout]     |
[INFO] [stdout]  57 | #[update]
[INFO] [stdout]     | ^^^^^^^^^ unsatisfied trait bound
[INFO] [stdout]     |
[INFO] [stdout] help: the trait `CandidType` is not implemented for `TokenWallet`
[INFO] [stdout]    --> src/token_wallet_backend/src/lib.rs:10:1
[INFO] [stdout]     |
[INFO] [stdout]  10 | struct TokenWallet {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     = help: the following other types implement trait `CandidType`:
[INFO] [stdout]               &'a T
[INFO] [stdout]               &'a mut T
[INFO] [stdout]               ()
[INFO] [stdout]               (T0, T1)
[INFO] [stdout]               (T0, T1, T2)
[INFO] [stdout]               (T0, T1, T2, T3)
[INFO] [stdout]               (T0, T1, T2, T3, T4)
[INFO] [stdout]               (T0, T1, T2, T3, T4, T5)
[INFO] [stdout]             and 127 others
[INFO] [stdout]     = note: required for `(TokenWallet,)` to implement `ArgumentEncoder`
[INFO] [stdout] note: required by a bound in `reply`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/ic-cdk-0.6.10/src/api/call.rs:550:17
[INFO] [stdout]     |
[INFO] [stdout] 550 | pub fn reply<T: ArgumentEncoder>(reply: T) {
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^ required by this bound in `reply`
[INFO] [stdout]     = note: this error originates in the attribute macro `update` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found attribute macro `init`
[INFO] [stdout]   --> src/token_wallet_backend/src/lib.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 59 |     init()
[INFO] [stdout]    |     ^^^^ not a function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0423.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `token_wallet_backend` (lib) due to 4 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "8b67a046e00146787124bbbb3d39a7f0a86206feb491a7c48def0aefac238842", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8b67a046e00146787124bbbb3d39a7f0a86206feb491a7c48def0aefac238842", kill_on_drop: false }`
[INFO] [stdout] 8b67a046e00146787124bbbb3d39a7f0a86206feb491a7c48def0aefac238842
