[INFO] cloning repository https://github.com/Momo153-sys/ICP-homework-2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Momo153-sys/ICP-homework-2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMomo153-sys%2FICP-homework-2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMomo153-sys%2FICP-homework-2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cf1b80e2e3121b3d4f4c2139d332a4a3b8925ac9 [INFO] checking Momo153-sys/ICP-homework-2 against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMomo153-sys%2FICP-homework-2" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/Momo153-sys/ICP-homework-2 [INFO] finished tweaking git repo https://github.com/Momo153-sys/ICP-homework-2 [INFO] tweaked toml for git repo https://github.com/Momo153-sys/ICP-homework-2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Momo153-sys/ICP-homework-2 on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Momo153-sys/ICP-homework-2 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded include-base64 v0.1.0 [INFO] [stderr] Downloaded serde_tokenstream v0.1.3 [INFO] [stderr] Downloaded candid v0.10.2 [INFO] [stderr] Downloaded ic_principal v0.1.1 [INFO] [stderr] Downloaded ic-certified-map v0.4.0 [INFO] [stderr] Downloaded candid_derive v0.6.5 [INFO] [stderr] Downloaded ic-cdk-macros v0.8.4 [INFO] [stderr] Downloaded serde_bytes v0.11.5 [INFO] [stderr] Downloaded typed-arena v2.0.1 [INFO] [stderr] Downloaded ic-cdk v0.12.1 [INFO] [stderr] Downloaded serde v1.0.133 [INFO] [stderr] Downloaded paste v1.0.6 [INFO] [stderr] Downloaded sha2 v0.10.2 [INFO] [stderr] Downloaded serde_derive v1.0.133 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1448eb8f34ddc8df0d0e9232db04cedb924b8a00a280b7b91cbe136a3fb73a71 [INFO] running `Command { std: "docker" "start" "-a" "1448eb8f34ddc8df0d0e9232db04cedb924b8a00a280b7b91cbe136a3fb73a71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1448eb8f34ddc8df0d0e9232db04cedb924b8a00a280b7b91cbe136a3fb73a71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1448eb8f34ddc8df0d0e9232db04cedb924b8a00a280b7b91cbe136a3fb73a71", kill_on_drop: false }` [INFO] [stdout] 1448eb8f34ddc8df0d0e9232db04cedb924b8a00a280b7b91cbe136a3fb73a71 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 708c6c970a4de84ed3cb147fe7b87faf9d32543564e9207aa411536ef8f9ec28 [INFO] running `Command { std: "docker" "start" "-a" "708c6c970a4de84ed3cb147fe7b87faf9d32543564e9207aa411536ef8f9ec28", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Checking ic0 v0.21.1 [INFO] [stderr] Compiling dip721_nft_container v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling candid_derive v0.6.5 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling include-base64 v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Checking ic_principal v0.1.1 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Compiling serde_tokenstream v0.1.3 [INFO] [stderr] Checking ic-certified-map v0.4.0 [INFO] [stderr] Checking candid v0.10.2 [INFO] [stderr] Compiling ic-cdk-macros v0.8.4 [INFO] [stderr] Checking ic-cdk v0.12.1 [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mainnet` [INFO] [stdout] --> src/http.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | if cfg!(mainnet) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mainnet)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mainnet)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decode` and `Encode` [INFO] [stdout] --> src/types.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use candid::{CandidType, Decode, Deserialize, Encode ,Principal}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/http.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | base64::encode(api::data_certificate().unwrap()), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/http.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | base64::encode(data) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `mainnet` [INFO] [stdout] --> src/http.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | if cfg!(mainnet) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(mainnet)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(mainnet)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Decode` and `Encode` [INFO] [stdout] --> src/types.rs:6:26 [INFO] [stdout] | [INFO] [stdout] 6 | use candid::{CandidType, Decode, Deserialize, Encode ,Principal}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/http.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | base64::encode(api::data_certificate().unwrap()), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> src/http.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | base64::encode(data) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CandidType` [INFO] [stdout] --> src/lib.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | use candid::{CandidType,Encode, Principal}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CandidType` [INFO] [stdout] --> src/lib.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | use candid::{CandidType,Encode, Principal}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.87s [INFO] running `Command { std: "docker" "inspect" "708c6c970a4de84ed3cb147fe7b87faf9d32543564e9207aa411536ef8f9ec28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "708c6c970a4de84ed3cb147fe7b87faf9d32543564e9207aa411536ef8f9ec28", kill_on_drop: false }` [INFO] [stdout] 708c6c970a4de84ed3cb147fe7b87faf9d32543564e9207aa411536ef8f9ec28