[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#40daf23eeb711dadf140b2536e67e3ff4c999196 for pr-142287 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMomo153-sys%2FICP-homework-2" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Momo153-sys/ICP-homework-2 on toolchain 40daf23eeb711dadf140b2536e67e3ff4c999196 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-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-4-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" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic-certified-map v0.4.0 [INFO] [stderr] Downloaded include-base64 v0.1.0 [INFO] [stderr] Downloaded ic-cdk v0.12.1 [INFO] [stderr] Downloaded serde_tokenstream v0.1.3 [INFO] [stderr] Downloaded candid_derive v0.6.5 [INFO] [stderr] Downloaded candid v0.10.2 [INFO] [stderr] Downloaded ic-cdk-macros v0.8.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6407c8c0e99c94053379b7cdf19d348118b0156d985e1f7de5fc344691c8c7f1 [INFO] running `Command { std: "docker" "start" "-a" "6407c8c0e99c94053379b7cdf19d348118b0156d985e1f7de5fc344691c8c7f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6407c8c0e99c94053379b7cdf19d348118b0156d985e1f7de5fc344691c8c7f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6407c8c0e99c94053379b7cdf19d348118b0156d985e1f7de5fc344691c8c7f1", kill_on_drop: false }` [INFO] [stdout] 6407c8c0e99c94053379b7cdf19d348118b0156d985e1f7de5fc344691c8c7f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+40daf23eeb711dadf140b2536e67e3ff4c999196" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12a6e05bbb49b01a3e1c97e9d0b8daf95ef5bb380e38ab404d1e9af69f4528f2 [INFO] running `Command { std: "docker" "start" "-a" "12a6e05bbb49b01a3e1c97e9d0b8daf95ef5bb380e38ab404d1e9af69f4528f2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling unicode-xid v0.2.2 [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 num-traits v0.2.14 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Checking sha2 v0.10.2 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling data-encoding v2.5.0 [INFO] [stderr] Compiling pretty v0.12.3 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Compiling dip721_nft_container v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Checking ic0 v0.21.1 [INFO] [stderr] Checking base64 v0.21.7 [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: 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)]` 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 51.20s [INFO] running `Command { std: "docker" "inspect" "12a6e05bbb49b01a3e1c97e9d0b8daf95ef5bb380e38ab404d1e9af69f4528f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12a6e05bbb49b01a3e1c97e9d0b8daf95ef5bb380e38ab404d1e9af69f4528f2", kill_on_drop: false }` [INFO] [stdout] 12a6e05bbb49b01a3e1c97e9d0b8daf95ef5bb380e38ab404d1e9af69f4528f2