[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/cf1b80e2e3121b3d4f4c2139d332a4a3b8925ac9 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMomo153-sys%2FICP-homework-2" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Momo153-sys/ICP-homework-2 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "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 ic-cdk v0.12.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 candid v0.10.2 [INFO] [stderr] Downloaded serde_tokenstream v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 03a0eeec22e6f520ac559a9878cdff77dacf4dbfb97d420495defd4a38533616 [INFO] running `Command { std: "docker" "start" "-a" "03a0eeec22e6f520ac559a9878cdff77dacf4dbfb97d420495defd4a38533616", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "03a0eeec22e6f520ac559a9878cdff77dacf4dbfb97d420495defd4a38533616", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03a0eeec22e6f520ac559a9878cdff77dacf4dbfb97d420495defd4a38533616", kill_on_drop: false }` [INFO] [stdout] 03a0eeec22e6f520ac559a9878cdff77dacf4dbfb97d420495defd4a38533616 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d377fe14444b75934c05f539f2441e0edc43753f52c6969fb8db0aed51cc98e7 [INFO] running `Command { std: "docker" "start" "-a" "d377fe14444b75934c05f539f2441e0edc43753f52c6969fb8db0aed51cc98e7", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Compiling generic-array v0.14.5 [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 lazy_static v1.4.0 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling dip721_nft_container v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking ic0 v0.21.1 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking crypto-common v0.1.3 [INFO] [stderr] Checking block-buffer v0.10.2 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Checking sha2 v0.10.2 [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] Checking ic-certified-map v0.4.0 [INFO] [stderr] Compiling serde_tokenstream v0.1.3 [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)]` on by default [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)]` 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: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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: 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: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [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: 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] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.11s [INFO] running `Command { std: "docker" "inspect" "d377fe14444b75934c05f539f2441e0edc43753f52c6969fb8db0aed51cc98e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d377fe14444b75934c05f539f2441e0edc43753f52c6969fb8db0aed51cc98e7", kill_on_drop: false }` [INFO] [stdout] d377fe14444b75934c05f539f2441e0edc43753f52c6969fb8db0aed51cc98e7