[INFO] cloning repository https://github.com/anish-singh-rawat/ICP-NeuroPad [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anish-singh-rawat/ICP-NeuroPad" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanish-singh-rawat%2FICP-NeuroPad", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanish-singh-rawat%2FICP-NeuroPad'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 32fbbbdb52e15183fbb7cfe245724d22b3a8e752 [INFO] testing anish-singh-rawat/ICP-NeuroPad/32fbbbdb52e15183fbb7cfe245724d22b3a8e752 against master#7704328ba5ae8d6ce0ac303c9d5a1a1605906766 for pr-146989 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanish-singh-rawat%2FICP-NeuroPad" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/anish-singh-rawat/ICP-NeuroPad [INFO] finished tweaking git repo https://github.com/anish-singh-rawat/ICP-NeuroPad [INFO] tweaked toml for git repo https://github.com/anish-singh-rawat/ICP-NeuroPad written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/anish-singh-rawat/ICP-NeuroPad on toolchain 7704328ba5ae8d6ce0ac303c9d5a1a1605906766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/anish-singh-rawat/ICP-NeuroPad 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" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/enarx/ciborium` [INFO] [stderr] Updating git repository `https://github.com/ldclabs/hyperx` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded psm v0.1.26 [INFO] [stderr] Downloaded candid v0.10.14 [INFO] [stderr] Downloaded ic-cdk-timers v0.8.0 [INFO] [stderr] Downloaded ic-representation-independent-hash v2.6.0 [INFO] [stderr] Downloaded cobs v0.3.0 [INFO] [stderr] Downloaded ittapi v0.4.0 [INFO] [stderr] Downloaded ic-cdk v0.14.2 [INFO] [stderr] Downloaded cranelift-native v0.117.2 [INFO] [stderr] Downloaded sptr v0.3.2 [INFO] [stderr] Downloaded debugid v0.8.0 [INFO] [stderr] Downloaded icrc-ledger-types v0.1.10 [INFO] [stderr] Downloaded ic-cdk-macros v0.8.4 [INFO] [stderr] Downloaded memfd v0.6.4 [INFO] [stderr] Downloaded cranelift-bforest v0.117.2 [INFO] [stderr] Downloaded fxprof-processed-profile v0.6.0 [INFO] [stderr] Downloaded wasmtime-cache v30.0.2 [INFO] [stderr] Downloaded pulley-interpreter v30.0.2 [INFO] [stderr] Downloaded cranelift-frontend v0.117.2 [INFO] [stderr] Downloaded cranelift-codegen-meta v0.117.2 [INFO] [stderr] Downloaded wit-parser v0.224.1 [INFO] [stderr] Downloaded ittapi-sys v0.4.0 [INFO] [stderr] Downloaded winch-codegen v30.0.2 [INFO] [stderr] Downloaded regalloc2 v0.11.2 [INFO] [stderr] Downloaded wasmtime-cranelift v30.0.2 [INFO] [stderr] Downloaded wasmtime-environ v30.0.2 [INFO] [stderr] Downloaded wast v235.0.0 [INFO] [stderr] Downloaded wasm-encoder v0.235.0 [INFO] [stderr] Downloaded wasmparser v0.224.1 [INFO] [stderr] Downloaded wasmtime-component-macro v30.0.2 [INFO] [stderr] Downloaded wasmparser v0.235.0 [INFO] [stderr] Downloaded cpp_demangle v0.4.4 [INFO] [stderr] Downloaded wasm-encoder v0.224.1 [INFO] [stderr] Downloaded cranelift-isle v0.117.2 [INFO] [stderr] Downloaded postcard v1.1.2 [INFO] [stderr] Downloaded ic-stable-structures v0.6.9 [INFO] [stderr] Downloaded ic-cdk v0.13.6 [INFO] [stderr] Downloaded wasmtime-wit-bindgen v30.0.2 [INFO] [stderr] Downloaded wasmtime-fiber v30.0.2 [INFO] [stderr] Downloaded wasmprinter v0.224.1 [INFO] [stderr] Downloaded candid-extractor v0.1.6 [INFO] [stderr] Downloaded minicbor v0.19.1 [INFO] [stderr] Downloaded cranelift-assembler-x64-meta v0.117.2 [INFO] [stderr] Downloaded cranelift-codegen-shared v0.117.2 [INFO] [stderr] Downloaded cranelift-entity v0.117.2 [INFO] [stderr] Downloaded target-lexicon v0.13.2 [INFO] [stderr] Downloaded wasmtime-winch v30.0.2 [INFO] [stderr] Downloaded minicbor-derive v0.13.0 [INFO] [stderr] Downloaded wasmtime-jit-debug v30.0.2 [INFO] [stderr] Downloaded ic0 v0.21.1 [INFO] [stderr] Downloaded wasmtime-slab v30.0.2 [INFO] [stderr] Downloaded wasmtime v30.0.2 [INFO] [stderr] Downloaded wasmtime-component-util v30.0.2 [INFO] [stderr] Downloaded id-arena v2.2.1 [INFO] [stderr] Downloaded wasmtime-asm-macros v30.0.2 [INFO] [stderr] Downloaded cranelift-assembler-x64 v0.117.2 [INFO] [stderr] Downloaded wasmtime-math v30.0.2 [INFO] [stderr] Downloaded wasmtime-versioned-export-macros v30.0.2 [INFO] [stderr] Downloaded embedded-io v0.4.0 [INFO] [stderr] Downloaded leb128fmt v0.1.0 [INFO] [stderr] Downloaded ic-cdk-macros v0.13.2 [INFO] [stderr] Downloaded ic-cdk-executor v0.1.0 [INFO] [stderr] Downloaded ic-cdk-macros v0.14.0 [INFO] [stderr] Downloaded cranelift-control v0.117.2 [INFO] [stderr] Downloaded wat v1.235.0 [INFO] [stderr] Downloaded ic-cdk-timers v0.7.0 [INFO] [stderr] Downloaded icrc-cbor v0.1.0 [INFO] [stderr] Downloaded ic-http-certification v2.6.0 [INFO] [stderr] Downloaded wasmtime-jit-icache-coherence v30.0.2 [INFO] [stderr] Downloaded cranelift-bitset v0.117.2 [INFO] [stderr] Downloaded stacker v0.1.21 [INFO] [stderr] Downloaded ic-certification v2.6.0 [INFO] [stderr] Downloaded cranelift-codegen v0.117.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c60efe034b3d3c662be4ff1145d7c6c4245fda892bbee2a4513d5a3781c972c8 [INFO] running `Command { std: "docker" "start" "-a" "c60efe034b3d3c662be4ff1145d7c6c4245fda892bbee2a4513d5a3781c972c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c60efe034b3d3c662be4ff1145d7c6c4245fda892bbee2a4513d5a3781c972c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c60efe034b3d3c662be4ff1145d7c6c4245fda892bbee2a4513d5a3781c972c8", kill_on_drop: false }` [INFO] [stdout] c60efe034b3d3c662be4ff1145d7c6c4245fda892bbee2a4513d5a3781c972c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+7704328ba5ae8d6ce0ac303c9d5a1a1605906766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5a77d5bee6ed7b3311f31a6dd19fe34a989e13587af6a211ff0f1ed812fd27a7 [INFO] running `Command { std: "docker" "start" "-a" "5a77d5bee6ed7b3311f31a6dd19fe34a989e13587af6a211ff0f1ed812fd27a7", kill_on_drop: false }` [INFO] [stderr] warning: NeuroPad_backend v0.1.0 (/opt/rustwide/workdir/src/NeuroPad_backend) ignoring invalid dependency `candid-extractor` which is missing a lib target [INFO] [stderr] warning: agent_canister v0.1.0 (/opt/rustwide/workdir/src/agent_canister) ignoring invalid dependency `candid-extractor` which is missing a lib target [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling ic-cdk-executor v0.1.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling ic0 v0.23.0 [INFO] [stderr] Compiling minicbor v0.19.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling pretty v0.12.4 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling ciborium-io v0.2.0 (https://github.com/enarx/ciborium?rev=e719537c99b564c3674a56defe53713c702c6f46#e719537c) [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling ciborium-ll v0.2.0 (https://github.com/enarx/ciborium?rev=e719537c99b564c3674a56defe53713c702c6f46#e719537c) [INFO] [stderr] Compiling base32 v0.4.0 [INFO] [stderr] Compiling hyperx v1.4.2 (https://github.com/ldclabs/hyperx#4b9bd373) [INFO] [stderr] Compiling ic0 v0.21.1 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling urlencoding v2.1.3 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling cc v1.2.29 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling tokio v1.46.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ic-representation-independent-hash v2.6.0 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling candid_derive v0.6.6 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling minicbor-derive v0.13.0 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerovec v0.11.2 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.2 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling serde_tokenstream v0.1.7 [INFO] [stderr] Compiling serde_tokenstream v0.2.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling ciborium v0.2.0 (https://github.com/enarx/ciborium?rev=e719537c99b564c3674a56defe53713c702c6f46#e719537c) [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling ic-stable-structures v0.6.9 [INFO] [stderr] Compiling ic-certification v2.6.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling candid v0.10.14 [INFO] [stderr] Compiling icrc-cbor v0.1.0 [INFO] [stderr] Compiling ic-http-certification v2.6.0 [INFO] [stderr] Compiling icrc-ledger-types v0.1.10 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling ic-cdk-macros v0.13.2 [INFO] [stderr] Compiling ic-cdk-macros v0.14.0 [INFO] [stderr] Compiling ic-cdk-macros v0.8.4 [INFO] [stderr] Compiling ic-cdk v0.13.6 [INFO] [stderr] Compiling ic-cdk v0.14.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling ic-cdk-timers v0.7.0 [INFO] [stderr] Compiling ic-cdk-timers v0.8.0 [INFO] [stderr] Compiling agent_canister v0.1.0 (/opt/rustwide/workdir/src/agent_canister) [INFO] [stdout] warning: unused imports: `Decode` and `Encode` [INFO] [stdout] --> src/agent_canister/src/types.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use candid::{CandidType, Decode, Encode, Principal}; [INFO] [stdout] | ^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling ic_asset_handler v0.1.0 (/opt/rustwide/workdir/src/ic_asset_handler) [INFO] [stdout] warning: enum `ProposalState` is never used [INFO] [stdout] --> src/agent_canister/src/types.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ProposalState { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `TransferResult` is never used [INFO] [stdout] --> src/agent_canister/src/types.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub enum TransferResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProposalPlace` is never constructed [INFO] [stdout] --> src/agent_canister/src/types.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct ProposalPlace { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AccountBalance` is never constructed [INFO] [stdout] --> src/agent_canister/src/types.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct AccountBalance { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MintTokenArgs` is never constructed [INFO] [stdout] --> src/agent_canister/src/types.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct MintTokenArgs { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Comment` is never constructed [INFO] [stdout] --> src/agent_canister/src/types.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Comment { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReplayComment` is never constructed [INFO] [stdout] --> src/agent_canister/src/types.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct ReplayComment { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PollOptions` is never constructed [INFO] [stdout] --> src/agent_canister/src/types.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub struct PollOptions { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pagination` is never constructed [INFO] [stdout] --> src/agent_canister/src/types.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | pub struct Pagination { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CommentLikeArgs` is never constructed [INFO] [stdout] --> src/agent_canister/src/types.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct CommentLikeArgs { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ReplyCommentArgs` is never constructed [INFO] [stdout] --> src/agent_canister/src/types.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct ReplyCommentArgs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LedgerCanisterId` is never constructed [INFO] [stdout] --> src/agent_canister/src/types.rs:88:12 [INFO] [stdout] | [INFO] [stdout] 88 | pub struct LedgerCanisterId { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AddMemberArgs` is never constructed [INFO] [stdout] --> src/agent_canister/src/types.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub struct AddMemberArgs { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RemoveMemberArgs` is never constructed [INFO] [stdout] --> src/agent_canister/src/types.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | pub struct RemoveMemberArgs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenTransferPolicy` is never constructed [INFO] [stdout] --> src/agent_canister/src/types.rs:159:12 [INFO] [stdout] | [INFO] [stdout] 159 | pub struct TokenTransferPolicy{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BountyRaised` is never constructed [INFO] [stdout] --> src/agent_canister/src/types.rs:167:12 [INFO] [stdout] | [INFO] [stdout] 167 | pub struct BountyRaised{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BountyDone` is never constructed [INFO] [stdout] --> src/agent_canister/src/types.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | pub struct BountyDone{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreatePoll` is never constructed [INFO] [stdout] --> src/agent_canister/src/types.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | pub struct CreatePoll{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateGeneralPurpose` is never constructed [INFO] [stdout] --> src/agent_canister/src/types.rs:191:12 [INFO] [stdout] | [INFO] [stdout] 191 | pub struct CreateGeneralPurpose{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `VoteParam` is never used [INFO] [stdout] --> src/agent_canister/src/types.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 198 | pub enum VoteParam { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TokenBalanceArgs` is never constructed [INFO] [stdout] --> src/agent_canister/src/types.rs:211:12 [INFO] [stdout] | [INFO] [stdout] 211 | pub struct TokenBalanceArgs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `call_inter_canister` is never used [INFO] [stdout] --> src/agent_canister/src/functions.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | pub async fn call_inter_canister( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/ic_asset_handler/src/api_update.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | if let content = input.content { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/ic_asset_handler/src/types.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 77 | if let content = &self.content { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DirectoryMetadata` is never constructed [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub struct DirectoryMetadata { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DIR_METADATA_MEMORY_ID` is never used [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:196:7 [INFO] [stdout] | [INFO] [stdout] 196 | const DIR_METADATA_MEMORY_ID: MemoryId = MemoryId::new(2); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CreateFileOutput` is never constructed [INFO] [stdout] --> src/ic_asset_handler/src/types.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct CreateFileOutput { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 48 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 69 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 99 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:138:17 [INFO] [stdout] | [INFO] [stdout] 138 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 138 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 163 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/ic_asset_handler/src/store.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | fn to_bytes(&self) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 183 | fn to_bytes(&self) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--version-script=/opt/rustwide/target/debug/deps/rustcxTFWOc/list" "-Wl,--no-undefined-version" "-m64" "/opt/rustwide/target/debug/deps/rustcxTFWOc/symbols.o" "<5 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libicrc_ledger_types-4efbfe221e6e09c6,libtime-7ee834e738feb712,libitoa-6b76ec393d6a2c41,libtime_core-45a5f0d549950b2a,libnum_conv-2c976fbf8b8f2899,libderanged-7a5c17cefd52121d,libpowerfmt-a0c185df26c26a22,libicrc_cbor-98585fb61955616d,libstrum-8421c86038cdf377,libitertools-cda189f5b350378b,libeither-ef22a4c75605e12f,libminicbor-68332b37f1cd4801,libbase32-39d04fa1fa68181d,libic_stable_structures-6e7bcd5b871f1cee,libic_cdk_timers-908d8c7aae259215,libic0-88cedc4127ae8e95,libslotmap-12cb805836f8aa67,libfutures-6d93869840d76128,libfutures_executor-7abbf3706fe31250,libfutures_util-b6514c0b227bb211,libmemchr-6f5829dadd40eda8,libfutures_io-3e19596c076de665,libslab-bf5a4eed15154f64,libfutures_channel-c679acf38b3b9ea3,libpin_project_lite-bedc6e0acd72ff2a,libfutures_sink-be8442ee548d90f9,libfutures_task-19b3aba2be9e7ae8,libpin_utils-9a5791cba021167a,libfutures_core-fc6bb1738f00fc87,libic_cdk-ccb7254b8b4dc66f,libic_cdk_executor-f8ab680a303e8c3e,libic0-472458860f014911,libcandid-0a704561eefe9bf9,libstacker-ca944902aaac2d8e,libpsm-b8ab8ad67a648818,liblibc-0f8586cc3118ad93,libhex-ce18427e5f21ae2a,libserde_bytes-f58264c2b9785e14,libpretty-096f3783f757e75e,libunicode_width-08b963676a6677c5,libarrayvec-f5ee3f47c3793c70,libtyped_arena-e8efe135793da16d,libleb128-ae0983f084a091ac,libbyteorder-1efcbe4f07366651,libic_principal-c01fbc1e5c68534c,libcrc32fast-aa40965b9483828c,libdata_encoding-6d465a39edfa29f6,libsha2-292a8a29870850e1,libcpufeatures-471354fefbcaf2d8,libcfg_if-5a199b0ec0054672,libdigest-9b45b0777868dee8,libsubtle-ca7024fc66e4388f,libblock_buffer-0abdecfa792a1d4b,libcrypto_common-1b66ed4c2d952a50,libgeneric_array-d618d7b08b63988c,libtypenum-2d2373cb6e0ea7a0,libnum_bigint-c3a33a464984d6cf,libnum_integer-d5ded00da8ac8d83,libnum_traits-10b3a10b7db869ec,libanyhow-e1510cbfe26654d3,libbinread-86dbc41cc1273689,liblazy_static-b3603208c0de2608,libthiserror-96bee0d23505c26e,libserde-626acec0bf5e6a85}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/debug/deps/rustcxTFWOc/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/psm-2505a08507a5c3c6/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libagent_canister.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /opt/rustwide/target/debug/deps/rustcxTFWOc/list:4: ; expected, but got get_agent_detail [INFO] [stdout] >>> canister_query get_agent_detail; [INFO] [stdout] >>> ^ [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `agent_canister` (lib) due to 1 previous error; 23 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--version-script=/opt/rustwide/target/debug/deps/rustcEFDFnR/list" "-Wl,--no-undefined-version" "-m64" "/opt/rustwide/target/debug/deps/rustcEFDFnR/symbols.o" "<5 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{liburl-8b14c5818ee7f2c9,libidna-5ac89c8d0581e60c,libutf8_iter-0d9be7b316c2b184,libidna_adapter-18f83e9d00c44c58,libicu_properties-e651974d21187eb3,libicu_properties_data-be64ae96cf57ee64,libicu_normalizer-1e160ab1217f4598,libsmallvec-1af3ddaf0d2d2c8d,libicu_normalizer_data-f5259d77029e31c4,libicu_collections-d2d5ad4454d4fb6b,libpotential_utf-794484b61ddc8f8c,libicu_provider-cda9264d6eb75269,libicu_locale_core-af5b187bce3d1bc7,libtinystr-545e5bc415b416ba,liblitemap-aaec3d88bc2b9505,libwriteable-1fc78dfe07ba1099,libzerovec-1950ba5283edba3a,libzerotrie-318e90f9bf02d6b6,libyoke-b875a8db238e9bd3,libstable_deref_trait-e5f295e98f1b80b2,libzerofrom-186e415bc2479181,libform_urlencoded-9a3b196401a840c1,libonce_cell-0ba6aecba7086d38,libic_stable_structures-6e7bcd5b871f1cee,libhyperx-b93874e4440331b0,libunicase-5017e9507498ef51,libpercent_encoding-9bee39bbc5bd523a,libmime-4b44681fdb2c65f7,liblanguage_tags-f2740fbda1808d44,libhttpdate-9f9d2502c6a38412,libhttp-b47bc680ed14946e,libbase64-2a03de3babadded3,libbase64-64299f9d815d057c,libic_http_certification-5237a73e5cfc9ae3,liburlencoding-2e57689ab08a86e0,libic_certification-2cecb7bdc22f6b9d,libhttp-ee1406c505ea38c3,libitoa-6b76ec393d6a2c41,libbytes-bfe11088fe358bd1,libfnv-2d77ec4f6f971b24,libic_representation_independent_hash-d4b98d0e1eaeffbb,libic_cdk-ccb7254b8b4dc66f,libic_cdk_executor-f8ab680a303e8c3e,libic0-472458860f014911,libciborium-062753b2bed8fede,libciborium_ll-8056b527e40341ed,libhalf-e1f59592eb7f9c41,libciborium_io-914e2c3aa2939b2f,libcandid-0a704561eefe9bf9,libstacker-ca944902aaac2d8e,libpsm-b8ab8ad67a648818,liblibc-0f8586cc3118ad93,libhex-ce18427e5f21ae2a,libserde_bytes-f58264c2b9785e14,libpretty-096f3783f757e75e,libunicode_width-08b963676a6677c5,libarrayvec-f5ee3f47c3793c70,libtyped_arena-e8efe135793da16d,libleb128-ae0983f084a091ac,libbyteorder-1efcbe4f07366651,libic_principal-c01fbc1e5c68534c,libcrc32fast-aa40965b9483828c,libdata_encoding-6d465a39edfa29f6,libsha2-292a8a29870850e1,libcpufeatures-471354fefbcaf2d8,libcfg_if-5a199b0ec0054672,libdigest-9b45b0777868dee8,libsubtle-ca7024fc66e4388f,libblock_buffer-0abdecfa792a1d4b,libcrypto_common-1b66ed4c2d952a50,libgeneric_array-d618d7b08b63988c,libtypenum-2d2373cb6e0ea7a0,libnum_bigint-c3a33a464984d6cf,libnum_integer-d5ded00da8ac8d83,libnum_traits-10b3a10b7db869ec,libanyhow-e1510cbfe26654d3,libbinread-86dbc41cc1273689,liblazy_static-b3603208c0de2608,libthiserror-96bee0d23505c26e,libserde-626acec0bf5e6a85}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/debug/deps/rustcEFDFnR/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/psm-2505a08507a5c3c6/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/libic_asset_handler.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: /opt/rustwide/target/debug/deps/rustcEFDFnR/list:6: ; expected, but got api_version [INFO] [stdout] >>> canister_query api_version; [INFO] [stdout] >>> ^ [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ic_asset_handler` (lib) due to 1 previous error; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5a77d5bee6ed7b3311f31a6dd19fe34a989e13587af6a211ff0f1ed812fd27a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a77d5bee6ed7b3311f31a6dd19fe34a989e13587af6a211ff0f1ed812fd27a7", kill_on_drop: false }` [INFO] [stdout] 5a77d5bee6ed7b3311f31a6dd19fe34a989e13587af6a211ff0f1ed812fd27a7