[INFO] cloning repository https://github.com/Ksachin05/DCDN [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ksachin05/DCDN" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKsachin05%2FDCDN", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKsachin05%2FDCDN'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8caffecfea90ea75859a7a443d05086533c32693 [INFO] checking Ksachin05/DCDN against try#e071e73523bfcdcab2878dbf652ac8ebb9b9eee4 for pr-144386 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKsachin05%2FDCDN" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Ksachin05/DCDN [INFO] finished tweaking git repo https://github.com/Ksachin05/DCDN [INFO] tweaked toml for git repo https://github.com/Ksachin05/DCDN written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Ksachin05/DCDN on toolchain e071e73523bfcdcab2878dbf652ac8ebb9b9eee4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Ksachin05/DCDN 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" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic-cdk-executor v1.0.1 [INFO] [stderr] Downloaded ic-management-canister-types v0.3.1 [INFO] [stderr] Downloaded ic0 v1.0.0 [INFO] [stderr] Downloaded ic-error-types v0.2.0 [INFO] [stderr] Downloaded ic-cdk-macros v0.18.5 [INFO] [stderr] Downloaded ic-cdk v0.18.5 [INFO] [stderr] Downloaded ic-stable-structures v0.6.9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1120f767a92c24186cf020286bfa011d04622a56a6b3dc3f25846d21b80d55ea [INFO] running `Command { std: "docker" "start" "-a" "1120f767a92c24186cf020286bfa011d04622a56a6b3dc3f25846d21b80d55ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1120f767a92c24186cf020286bfa011d04622a56a6b3dc3f25846d21b80d55ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1120f767a92c24186cf020286bfa011d04622a56a6b3dc3f25846d21b80d55ea", kill_on_drop: false }` [INFO] [stdout] 1120f767a92c24186cf020286bfa011d04622a56a6b3dc3f25846d21b80d55ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9097d24c626667f8e1628181c67f1f5bc113e8805d0e4afd8c58d1ce380f3f67 [INFO] running `Command { std: "docker" "start" "-a" "9097d24c626667f8e1628181c67f1f5bc113e8805d0e4afd8c58d1ce380f3f67", kill_on_drop: false }` [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling cc v1.2.28 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking cpufeatures v0.2.17 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking pretty v0.12.4 [INFO] [stderr] Compiling ic-cdk-executor v1.0.1 [INFO] [stderr] Checking leb128 v0.2.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking ic0 v1.0.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha2 v0.10.9 [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 darling_core v0.20.11 [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 strum_macros v0.26.4 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking serde_bytes v0.11.17 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking ic-error-types v0.2.0 [INFO] [stderr] Checking ic-stable-structures v0.6.9 [INFO] [stderr] Checking candid v0.10.14 [INFO] [stderr] Checking ic-management-canister-types v0.3.1 [INFO] [stderr] Compiling ic-cdk-macros v0.18.5 [INFO] [stderr] Checking ic-cdk v0.18.5 [INFO] [stderr] Checking dcdn_backend v0.1.0 (/opt/rustwide/workdir/src/dcdn_backend) [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> src/dcdn_backend/src/lib.rs:55:31 [INFO] [stdout] | [INFO] [stdout] 55 | let caller = ic_cdk::api::caller().to_string(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> src/dcdn_backend/src/lib.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | let caller = ic_cdk::api::caller().to_string(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `BOUND` [INFO] [stdout] --> src/dcdn_backend/src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | impl Storable for Content { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ missing `BOUND` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `const BOUND: ic_stable_structures::storable::Bound = /* value */;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> src/dcdn_backend/src/lib.rs:55:31 [INFO] [stdout] | [INFO] [stdout] 55 | let caller = ic_cdk::api::caller().to_string(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `ic_cdk::caller`: Use `msg_caller` instead [INFO] [stdout] --> src/dcdn_backend/src/lib.rs:89:31 [INFO] [stdout] | [INFO] [stdout] 89 | let caller = ic_cdk::api::caller().to_string(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cloned` found for enum `std::option::Option` in the current scope [INFO] [stdout] --> src/dcdn_backend/src/lib.rs:77:56 [INFO] [stdout] | [INFO] [stdout] 77 | CONTENT_STORE.with(|store| store.borrow().get(&id).cloned()) [INFO] [stdout] | ^^^^^^ `std::option::Option` is not an iterator [INFO] [stdout] | [INFO] [stdout] help: call `.into_iter()` first [INFO] [stdout] | [INFO] [stdout] 77 | CONTENT_STORE.with(|store| store.borrow().get(&id).into_iter().cloned()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `BOUND` [INFO] [stdout] --> src/dcdn_backend/src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | impl Storable for Content { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ missing `BOUND` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `const BOUND: ic_stable_structures::storable::Bound = /* value */;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `cloned` found for enum `std::option::Option` in the current scope [INFO] [stdout] --> src/dcdn_backend/src/lib.rs:77:56 [INFO] [stdout] | [INFO] [stdout] 77 | CONTENT_STORE.with(|store| store.borrow().get(&id).cloned()) [INFO] [stdout] | ^^^^^^ `std::option::Option` is not an iterator [INFO] [stdout] | [INFO] [stdout] help: call `.into_iter()` first [INFO] [stdout] | [INFO] [stdout] 77 | CONTENT_STORE.with(|store| store.borrow().get(&id).into_iter().cloned()) [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `dcdn_backend` (lib test) due to 2 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0046, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dcdn_backend` (lib) due to 2 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9097d24c626667f8e1628181c67f1f5bc113e8805d0e4afd8c58d1ce380f3f67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9097d24c626667f8e1628181c67f1f5bc113e8805d0e4afd8c58d1ce380f3f67", kill_on_drop: false }` [INFO] [stdout] 9097d24c626667f8e1628181c67f1f5bc113e8805d0e4afd8c58d1ce380f3f67