[INFO] cloning repository https://github.com/shri29s/defi-icp-canister
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shri29s/defi-icp-canister" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshri29s%2Fdefi-icp-canister", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshri29s%2Fdefi-icp-canister'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 129607130253bf3c8abeb346caf04dd1e7ece31a
[INFO] checking shri29s/defi-icp-canister against try#943e2200e35c3825486c4671b6cab0107a07f8c1 for pr-148952
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshri29s%2Fdefi-icp-canister" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/shri29s/defi-icp-canister
[INFO] finished tweaking git repo https://github.com/shri29s/defi-icp-canister
[INFO] tweaked toml for git repo https://github.com/shri29s/defi-icp-canister written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/shri29s/defi-icp-canister on toolchain 943e2200e35c3825486c4671b6cab0107a07f8c1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/shri29s/defi-icp-canister 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" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /workspace/builds/worker-7-tc2/source/src/signalstack_canister_backend/Cargo.toml
[INFO] [stderr] workspace: /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded candid v0.10.14
[INFO] [stderr]   Downloaded ic-cdk-macros v0.14.0
[INFO] [stderr]   Downloaded ic-cdk v0.14.2
[INFO] [stderr]   Downloaded cc v1.2.26
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 22be2b621275f2401ea100298e14e6cb9060e7a9bce5000ff9950699ffdaa2e2
[INFO] running `Command { std: "docker" "start" "-a" "22be2b621275f2401ea100298e14e6cb9060e7a9bce5000ff9950699ffdaa2e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "22be2b621275f2401ea100298e14e6cb9060e7a9bce5000ff9950699ffdaa2e2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "22be2b621275f2401ea100298e14e6cb9060e7a9bce5000ff9950699ffdaa2e2", kill_on_drop: false }`
[INFO] [stdout] 22be2b621275f2401ea100298e14e6cb9060e7a9bce5000ff9950699ffdaa2e2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cb0e0390a912de714ec98a5a7dbab7ff48949049c0a528f9ee55839e948d4f32
[INFO] running `Command { std: "docker" "start" "-a" "cb0e0390a912de714ec98a5a7dbab7ff48949049c0a528f9ee55839e948d4f32", kill_on_drop: false }`
[INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root:
[INFO] [stderr] package:   /opt/rustwide/workdir/src/signalstack_canister_backend/Cargo.toml
[INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml
[INFO] [stderr]    Compiling cc v1.2.26
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling crc32fast v1.4.2
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling pretty v0.12.4
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling ic-cdk-executor v0.1.0
[INFO] [stderr]     Checking ic0 v0.23.0
[INFO] [stderr]    Compiling psm v0.1.26
[INFO] [stderr]    Compiling stacker v0.1.21
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling candid_derive v0.6.6
[INFO] [stderr]    Compiling binread_derive v2.1.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling binread v2.2.0
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking serde_bytes v0.11.17
[INFO] [stderr]     Checking ic_principal v0.1.1
[INFO] [stderr]     Checking serde_json v1.0.140
[INFO] [stderr]    Compiling serde_tokenstream v0.2.2
[INFO] [stderr]     Checking candid v0.10.14
[INFO] [stderr]    Compiling ic-cdk-macros v0.14.0
[INFO] [stderr]     Checking ic-cdk v0.14.2
[INFO] [stderr]     Checking signalstack_canister_backend v0.1.0 (/opt/rustwide/workdir/src/signalstack_canister_backend)
[INFO] [stdout] warning: unused import: `Nat`
[INFO] [stdout]  --> src/signalstack_canister_backend/src/lib.rs:1:39
[INFO] [stdout]   |
[INFO] [stdout] 1 | use candid::{CandidType, Deserialize, Nat};
[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: `TransformContext`
[INFO] [stdout]  --> src/signalstack_canister_backend/src/lib.rs:3:60
[INFO] [stdout]   |
[INFO] [stdout] 3 |     CanisterHttpRequestArgument, HttpHeader, HttpResponse, TransformContext,
[INFO] [stdout]   |                                                            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Serialize`
[INFO] [stdout]  --> src/signalstack_canister_backend/src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde::Serialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Nat`
[INFO] [stdout]  --> src/signalstack_canister_backend/src/lib.rs:1:39
[INFO] [stdout]   |
[INFO] [stdout] 1 | use candid::{CandidType, Deserialize, Nat};
[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: `TransformContext`
[INFO] [stdout]  --> src/signalstack_canister_backend/src/lib.rs:3:60
[INFO] [stdout]   |
[INFO] [stdout] 3 |     CanisterHttpRequestArgument, HttpHeader, HttpResponse, TransformContext,
[INFO] [stdout]   |                                                            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `serde::Serialize`
[INFO] [stdout]  --> src/signalstack_canister_backend/src/lib.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use serde::Serialize;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Ref<'_, Portfolio>: Serialize` is not satisfied
[INFO] [stdout]     --> src/signalstack_canister_backend/src/lib.rs:166:31
[INFO] [stdout]      |
[INFO] [stdout]  166 |         serde_json::to_string(&p.borrow()).unwrap_or_else(|_| "{}".to_string())
[INFO] [stdout]      |         --------------------- ^^^^^^^^^^^ the trait `Serialize` is not implemented for `Ref<'_, Portfolio>`
[INFO] [stdout]      |         |
[INFO] [stdout]      |         required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Ref<'_, Portfolio>` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `Serialize`:
[INFO] [stdout]                &'a T
[INFO] [stdout]                &'a mut T
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]                (T0, T1, T2, T3, T4)
[INFO] [stdout]              and 190 others
[INFO] [stdout] note: required by a bound in `serde_json::to_string`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/ser.rs:2239:17
[INFO] [stdout]      |
[INFO] [stdout] 2237 | pub fn to_string<T>(value: &T) -> Result<String>
[INFO] [stdout]      |        --------- required by a bound in this function
[INFO] [stdout] 2238 | where
[INFO] [stdout] 2239 |     T: ?Sized + Serialize,
[INFO] [stdout]      |                 ^^^^^^^^^ required by this bound in `to_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Ref<'_, Portfolio>: Serialize` is not satisfied
[INFO] [stdout]     --> src/signalstack_canister_backend/src/lib.rs:166:31
[INFO] [stdout]      |
[INFO] [stdout]  166 |         serde_json::to_string(&p.borrow()).unwrap_or_else(|_| "{}".to_string())
[INFO] [stdout]      |         --------------------- ^^^^^^^^^^^ the trait `Serialize` is not implemented for `Ref<'_, Portfolio>`
[INFO] [stdout]      |         |
[INFO] [stdout]      |         required by a bound introduced by this call
[INFO] [stdout]      |
[INFO] [stdout]      = note: for local types consider adding `#[derive(serde::Serialize)]` to your `Ref<'_, Portfolio>` type
[INFO] [stdout]      = note: for types from other crates check whether the crate offers a `serde` feature flag
[INFO] [stdout]      = help: the following other types implement trait `Serialize`:
[INFO] [stdout]                &'a T
[INFO] [stdout]                &'a mut T
[INFO] [stdout]                ()
[INFO] [stdout]                (T,)
[INFO] [stdout]                (T0, T1)
[INFO] [stdout]                (T0, T1, T2)
[INFO] [stdout]                (T0, T1, T2, T3)
[INFO] [stdout]                (T0, T1, T2, T3, T4)
[INFO] [stdout]              and 190 others
[INFO] [stdout] note: required by a bound in `serde_json::to_string`
[INFO] [stdout]     --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/serde_json-1.0.140/src/ser.rs:2239:17
[INFO] [stdout]      |
[INFO] [stdout] 2237 | pub fn to_string<T>(value: &T) -> Result<String>
[INFO] [stdout]      |        --------- required by a bound in this function
[INFO] [stdout] 2238 | where
[INFO] [stdout] 2239 |     T: ?Sized + Serialize,
[INFO] [stdout]      |                 ^^^^^^^^^ required by this bound in `to_string`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `signalstack_canister_backend` (lib) due to 1 previous error; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] For more information about this error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `signalstack_canister_backend` (lib test) due to 1 previous error; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "cb0e0390a912de714ec98a5a7dbab7ff48949049c0a528f9ee55839e948d4f32", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cb0e0390a912de714ec98a5a7dbab7ff48949049c0a528f9ee55839e948d4f32", kill_on_drop: false }`
[INFO] [stdout] cb0e0390a912de714ec98a5a7dbab7ff48949049c0a528f9ee55839e948d4f32
