[INFO] cloning repository https://github.com/sorbadek/wchl25_icp_hackathon [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sorbadek/wchl25_icp_hackathon" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsorbadek%2Fwchl25_icp_hackathon", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsorbadek%2Fwchl25_icp_hackathon'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5c0e12d8d303393076d1fd7d70e27f2025b16e99 [INFO] checking sorbadek/wchl25_icp_hackathon/5c0e12d8d303393076d1fd7d70e27f2025b16e99 against master#ddaf12390d3ffb7d5ba74491a48f3cd528e5d777 for pr-146504 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsorbadek%2Fwchl25_icp_hackathon" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/sorbadek/wchl25_icp_hackathon [INFO] finished tweaking git repo https://github.com/sorbadek/wchl25_icp_hackathon [INFO] tweaked toml for git repo https://github.com/sorbadek/wchl25_icp_hackathon written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/sorbadek/wchl25_icp_hackathon on toolchain ddaf12390d3ffb7d5ba74491a48f3cd528e5d777 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/sorbadek/wchl25_icp_hackathon 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" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic-cdk v0.10.2 [INFO] [stderr] Downloaded ic-cdk-executor v0.1.0 [INFO] [stderr] Downloaded ic-stable-structures v0.6.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5bb884e3bbd5b0de75dc902339f7515a5c3989a235c264e920cdf0aee3791990 [INFO] running `Command { std: "docker" "start" "-a" "5bb884e3bbd5b0de75dc902339f7515a5c3989a235c264e920cdf0aee3791990", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5bb884e3bbd5b0de75dc902339f7515a5c3989a235c264e920cdf0aee3791990", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bb884e3bbd5b0de75dc902339f7515a5c3989a235c264e920cdf0aee3791990", kill_on_drop: false }` [INFO] [stdout] 5bb884e3bbd5b0de75dc902339f7515a5c3989a235c264e920cdf0aee3791990 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ddaf12390d3ffb7d5ba74491a48f3cd528e5d777" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5567efe755a3949e8c3b9e99565f95aa9f2481e3a1b20d1df2bcf3403f25bb79 [INFO] running `Command { std: "docker" "start" "-a" "5567efe755a3949e8c3b9e99565f95aa9f2481e3a1b20d1df2bcf3403f25bb79", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling candid v0.9.11 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling pretty v0.12.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling ic-cdk-executor v0.1.0 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking ic0 v0.18.11 [INFO] [stderr] Checking ic-stable-structures v0.6.9 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling num_enum_derive v0.6.1 [INFO] [stderr] Compiling candid_derive v0.6.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling num_enum v0.6.1 [INFO] [stderr] Compiling binread_derive v2.1.0 [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] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling ic-cdk-macros v0.7.1 [INFO] [stderr] Checking ic-cdk v0.10.2 [INFO] [stderr] Checking wchl25_icp_hackathon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `StableCell` in module `storage` [INFO] [stdout] --> src/user_profile.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | static USER_PROFILES: storage::StableCell> = storage::StableCell::new(HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^ not found in `storage` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use ic_stable_structures::StableCell; [INFO] [stdout] | [INFO] [stdout] help: if you import `StableCell`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 16 - static USER_PROFILES: storage::StableCell> = storage::StableCell::new(HashMap::new()); [INFO] [stdout] 16 + static USER_PROFILES: StableCell> = storage::StableCell::new(HashMap::new()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `StableCell` in `storage` [INFO] [stdout] --> src/user_profile.rs:16:88 [INFO] [stdout] | [INFO] [stdout] 16 | static USER_PROFILES: storage::StableCell> = storage::StableCell::new(HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^ could not find `StableCell` in `storage` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use ic_stable_structures::StableCell; [INFO] [stdout] | [INFO] [stdout] help: if you import `StableCell`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 16 - static USER_PROFILES: storage::StableCell> = storage::StableCell::new(HashMap::new()); [INFO] [stdout] 16 + static USER_PROFILES: storage::StableCell> = StableCell::new(HashMap::new()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Deserialize<'_>` for type `Certificate` [INFO] [stdout] --> src/credential.rs:38:67 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(CandidType, Deserialize, Clone, Debug, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ----------- first implementation here ^^^^^^^^^^^^^^^^^^ conflicting implementation for `Certificate` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `serde::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StableCell` in module `storage` [INFO] [stdout] --> src/user_profile.rs:16:36 [INFO] [stdout] | [INFO] [stdout] 16 | static USER_PROFILES: storage::StableCell> = storage::StableCell::new(HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^ not found in `storage` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use ic_stable_structures::StableCell; [INFO] [stdout] | [INFO] [stdout] help: if you import `StableCell`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 16 - static USER_PROFILES: storage::StableCell> = storage::StableCell::new(HashMap::new()); [INFO] [stdout] 16 + static USER_PROFILES: StableCell> = storage::StableCell::new(HashMap::new()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `StableCell` in `storage` [INFO] [stdout] --> src/user_profile.rs:16:88 [INFO] [stdout] | [INFO] [stdout] 16 | static USER_PROFILES: storage::StableCell> = storage::StableCell::new(HashMap::new()); [INFO] [stdout] | ^^^^^^^^^^ could not find `StableCell` in `storage` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use ic_stable_structures::StableCell; [INFO] [stdout] | [INFO] [stdout] help: if you import `StableCell`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 16 - static USER_PROFILES: storage::StableCell> = storage::StableCell::new(HashMap::new()); [INFO] [stdout] 16 + static USER_PROFILES: storage::StableCell> = StableCell::new(HashMap::new()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0119]: conflicting implementations of trait `Deserialize<'_>` for type `Certificate` [INFO] [stdout] --> src/credential.rs:38:67 [INFO] [stdout] | [INFO] [stdout] 38 | #[derive(CandidType, Deserialize, Clone, Debug, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ----------- first implementation here ^^^^^^^^^^^^^^^^^^ conflicting implementation for `Certificate` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `serde::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ExtendedUserProfile: CandidType` is not satisfied [INFO] [stdout] --> src/user_profile.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | #[ic_cdk::query] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `CandidType` is not implemented for `ExtendedUserProfile` [INFO] [stdout] --> src/user_profile.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ExtendedUserProfile { [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 114 others [INFO] [stdout] = note: required for `std::option::Option` to implement `CandidType` [INFO] [stdout] = note: required for `(std::option::Option,)` 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.10.2/src/api/call.rs:450:17 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn reply(reply: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `reply` [INFO] [stdout] = note: this error originates in the attribute macro `ic_cdk::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ExtendedUserProfile: CandidType` is not satisfied [INFO] [stdout] --> src/user_profile.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | #[ic_cdk::query] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unsatisfied trait bound [INFO] [stdout] | [INFO] [stdout] help: the trait `CandidType` is not implemented for `ExtendedUserProfile` [INFO] [stdout] --> src/user_profile.rs:34:1 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct ExtendedUserProfile { [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 114 others [INFO] [stdout] = note: required for `std::option::Option` to implement `CandidType` [INFO] [stdout] = note: required for `(std::option::Option,)` 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.10.2/src/api/call.rs:450:17 [INFO] [stdout] | [INFO] [stdout] 450 | pub fn reply(reply: T) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ required by this bound in `reply` [INFO] [stdout] = note: this error originates in the attribute macro `ic_cdk::query` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0119, E0277, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0119`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wchl25_icp_hackathon` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0119, E0277, E0412, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0119`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wchl25_icp_hackathon` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "5567efe755a3949e8c3b9e99565f95aa9f2481e3a1b20d1df2bcf3403f25bb79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5567efe755a3949e8c3b9e99565f95aa9f2481e3a1b20d1df2bcf3403f25bb79", kill_on_drop: false }` [INFO] [stdout] 5567efe755a3949e8c3b9e99565f95aa9f2481e3a1b20d1df2bcf3403f25bb79