[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] testing shri29s/defi-icp-canister against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshri29s%2Fdefi-icp-canister" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/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-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/shri29s/defi-icp-canister on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "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" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "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-tc1/source/src/signalstack_canister_backend/Cargo.toml
[INFO] [stderr] workspace: /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded pretty v0.12.4
[INFO] [stderr]   Downloaded ic-cdk-executor v0.1.0
[INFO] [stderr]   Downloaded psm v0.1.26
[INFO] [stderr]   Downloaded ic-cdk-macros v0.14.0
[INFO] [stderr]   Downloaded candid v0.10.14
[INFO] [stderr]   Downloaded stacker v0.1.21
[INFO] [stderr]   Downloaded ic-cdk v0.14.2
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5d7ab7ed6d589301f5ca18a9374dcb3cfd41aa96e109509460fa3a65c2b3676a
[INFO] running `Command { std: "docker" "start" "-a" "5d7ab7ed6d589301f5ca18a9374dcb3cfd41aa96e109509460fa3a65c2b3676a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5d7ab7ed6d589301f5ca18a9374dcb3cfd41aa96e109509460fa3a65c2b3676a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5d7ab7ed6d589301f5ca18a9374dcb3cfd41aa96e109509460fa3a65c2b3676a", kill_on_drop: false }`
[INFO] [stdout] 5d7ab7ed6d589301f5ca18a9374dcb3cfd41aa96e109509460fa3a65c2b3676a
[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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f8e96f82240efd417e4457a83d291e4c7cce8f5c6575abe3742c156508d3daaf
[INFO] running `Command { std: "docker" "start" "-a" "f8e96f82240efd417e4457a83d291e4c7cce8f5c6575abe3742c156508d3daaf", 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 rustversion v1.0.21
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling data-encoding v2.9.0
[INFO] [stderr]    Compiling unicode-width v0.1.14
[INFO] [stderr]    Compiling arrayvec v0.5.2
[INFO] [stderr]    Compiling typed-arena v2.0.2
[INFO] [stderr]    Compiling ic-cdk-executor v0.1.0
[INFO] [stderr]    Compiling leb128 v0.2.5
[INFO] [stderr]    Compiling pretty v0.12.4
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling ic0 v0.23.0
[INFO] [stderr]    Compiling psm v0.1.26
[INFO] [stderr]    Compiling stacker v0.1.21
[INFO] [stderr]    Compiling binread_derive v2.1.0
[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 v2.2.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling serde_bytes v0.11.17
[INFO] [stderr]    Compiling ic_principal v0.1.1
[INFO] [stderr]    Compiling serde_tokenstream v0.2.2
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling candid v0.10.14
[INFO] [stderr]    Compiling ic-cdk-macros v0.14.0
[INFO] [stderr]    Compiling ic-cdk v0.14.2
[INFO] [stderr]    Compiling 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] 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] running `Command { std: "docker" "inspect" "f8e96f82240efd417e4457a83d291e4c7cce8f5c6575abe3742c156508d3daaf", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8e96f82240efd417e4457a83d291e4c7cce8f5c6575abe3742c156508d3daaf", kill_on_drop: false }`
[INFO] [stdout] f8e96f82240efd417e4457a83d291e4c7cce8f5c6575abe3742c156508d3daaf
