[INFO] cloning repository https://github.com/nategurian/decentral_perk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nategurian/decentral_perk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnategurian%2Fdecentral_perk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnategurian%2Fdecentral_perk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 768e102750c895a8a920b6da5876925208af56b6 [INFO] checking nategurian/decentral_perk against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnategurian%2Fdecentral_perk" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nategurian/decentral_perk on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/nategurian/decentral_perk [INFO] finished tweaking git repo https://github.com/nategurian/decentral_perk [INFO] tweaked toml for git repo https://github.com/nategurian/decentral_perk written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/nategurian/decentral_perk 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lalrpop-util v0.19.7 [INFO] [stderr] Downloaded candid v0.7.18 [INFO] [stderr] Downloaded ic-cdk v0.5.7 [INFO] [stderr] Downloaded ic-cdk-macros v0.5.7 [INFO] [stderr] Downloaded ic-types v0.5.0 [INFO] [stderr] Downloaded string_cache v0.8.3 [INFO] [stderr] Downloaded lalrpop v0.19.7 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e947009bbd857d8769287adf51743f426a60aa399b9161bb41278258efb6fe3a [INFO] running `Command { std: "docker" "start" "-a" "e947009bbd857d8769287adf51743f426a60aa399b9161bb41278258efb6fe3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e947009bbd857d8769287adf51743f426a60aa399b9161bb41278258efb6fe3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e947009bbd857d8769287adf51743f426a60aa399b9161bb41278258efb6fe3a", kill_on_drop: false }` [INFO] [stdout] e947009bbd857d8769287adf51743f426a60aa399b9161bb41278258efb6fe3a [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35485bee3f575e4050857dda43b1606b789a1aad8cca6ef489d2d4f94db659aa [INFO] running `Command { std: "docker" "start" "-a" "35485bee3f575e4050857dda43b1606b789a1aad8cca6ef489d2d4f94db659aa", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.94 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.147 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.147 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling libc v0.2.131 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling siphasher v0.3.9 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling ena v0.14.0 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling diff v0.1.12 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling beef v0.5.1 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling string_cache v0.8.3 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Checking digest v0.10.5 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking sha2 v0.10.6 [INFO] [stderr] Compiling pretty v0.10.0 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling lalrpop-util v0.19.7 [INFO] [stderr] Compiling lalrpop v0.19.7 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling logos-derive v0.12.0 [INFO] [stderr] Compiling candid_derive v0.4.5 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling logos v0.12.0 [INFO] [stderr] Compiling candid v0.7.18 [INFO] [stderr] Checking serde_bytes v0.11.5 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_tokenstream v0.1.3 [INFO] [stderr] Checking ic-types v0.5.0 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling num_enum_derive v0.5.6 [INFO] [stderr] Compiling num_enum v0.5.6 [INFO] [stderr] Checking ic-cdk v0.5.7 [INFO] [stderr] Compiling ic-cdk-macros v0.5.7 [INFO] [stderr] Checking decentral_perk v0.1.0 (/opt/rustwide/workdir/src/decentral_perk) [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/decentral_perk/api/get_posts.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils` [INFO] [stdout] --> src/decentral_perk/api/get_posts.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | with_state, utils}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `post_upgrade` [INFO] [stdout] --> src/decentral_perk/lib.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use ic_cdk_macros::{post_upgrade, pre_upgrade, update, query}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/decentral_perk/api/get_posts.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils` [INFO] [stdout] --> src/decentral_perk/api/get_posts.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | with_state, utils}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `post_upgrade` [INFO] [stdout] --> src/decentral_perk/lib.rs:8:21 [INFO] [stdout] | [INFO] [stdout] 8 | use ic_cdk_macros::{post_upgrade, pre_upgrade, update, query}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_state` is never used [INFO] [stdout] --> src/decentral_perk/lib.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn set_state(state: State) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_state` is never used [INFO] [stdout] --> src/decentral_perk/lib.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn set_state(state: State) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.12s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: lalrpop v0.19.7 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "35485bee3f575e4050857dda43b1606b789a1aad8cca6ef489d2d4f94db659aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35485bee3f575e4050857dda43b1606b789a1aad8cca6ef489d2d4f94db659aa", kill_on_drop: false }` [INFO] [stdout] 35485bee3f575e4050857dda43b1606b789a1aad8cca6ef489d2d4f94db659aa