[INFO] cloning repository https://github.com/InterCooperative-Network/icn-covm-v3 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/InterCooperative-Network/icn-covm-v3" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInterCooperative-Network%2Ficn-covm-v3", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInterCooperative-Network%2Ficn-covm-v3'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9b6952dd41d39eb78eb473c360d797372e8ad2a1 [INFO] testing InterCooperative-Network/icn-covm-v3/9b6952dd41d39eb78eb473c360d797372e8ad2a1 against try#028592fec99e54cc92def5a2a849c673b066dd93 for pr-146098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FInterCooperative-Network%2Ficn-covm-v3" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/InterCooperative-Network/icn-covm-v3 [INFO] finished tweaking git repo https://github.com/InterCooperative-Network/icn-covm-v3 [INFO] tweaked toml for git repo https://github.com/InterCooperative-Network/icn-covm-v3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/InterCooperative-Network/icn-covm-v3 on toolchain 028592fec99e54cc92def5a2a849c673b066dd93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/InterCooperative-Network/icn-covm-v3 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" "+028592fec99e54cc92def5a2a849c673b066dd93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6203c6a78ac557d455b908e0afed0911c53fd91eda3eb01ea6f588fb64056c5d [INFO] running `Command { std: "docker" "start" "-a" "6203c6a78ac557d455b908e0afed0911c53fd91eda3eb01ea6f588fb64056c5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6203c6a78ac557d455b908e0afed0911c53fd91eda3eb01ea6f588fb64056c5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6203c6a78ac557d455b908e0afed0911c53fd91eda3eb01ea6f588fb64056c5d", kill_on_drop: false }` [INFO] [stdout] 6203c6a78ac557d455b908e0afed0911c53fd91eda3eb01ea6f588fb64056c5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bbb17314b60b71654ac18ae43e89855753729a6db1a1b8d295e3bd2874b0ae55 [INFO] running `Command { std: "docker" "start" "-a" "bbb17314b60b71654ac18ae43e89855753729a6db1a1b8d295e3bd2874b0ae55", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling value-bag v1.11.1 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling allocator-api2 v0.2.21 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling hashbrown v0.15.3 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling utf8-decode v1.0.1 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling cc v1.2.20 [INFO] [stderr] Compiling libm v0.2.13 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lexical-util v1.0.6 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling num_cpus v1.16.0 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling lexical-write-integer v1.0.5 [INFO] [stderr] Compiling lexical-parse-integer v1.0.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling base64ct v1.7.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling contextual v0.1.6 [INFO] [stderr] Compiling lexical-parse-float v1.0.5 [INFO] [stderr] Compiling lexical-write-float v1.0.5 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling lexical-core v1.0.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling cc-traits v2.0.0 [INFO] [stderr] Compiling ryu-js v0.2.2 [INFO] [stderr] Compiling hex_fmt v0.3.0 [INFO] [stderr] Compiling arrayref v0.3.9 [INFO] [stderr] Compiling btree-slab v0.6.1 [INFO] [stderr] Compiling lexical v7.0.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling range-traits v0.3.2 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling ryu_floating_decimal v0.1.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling decoded-char v0.1.1 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling pretty_dtoa v0.3.0 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling abnf-core v0.5.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling abnf v0.13.0 [INFO] [stderr] Compiling permutohedron v0.2.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling uint v0.9.5 [INFO] [stderr] Compiling bitmaps v2.1.0 [INFO] [stderr] Compiling im v15.1.0 [INFO] [stderr] Compiling mown v0.2.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling raw-btree v0.3.1 [INFO] [stderr] Compiling replace_with v0.1.7 [INFO] [stderr] Compiling ordered-float v3.9.2 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling fixed-hash v0.7.0 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling sized-chunks v0.6.5 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling primitive-types v0.9.1 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling locspan-derive v0.6.0 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling owning_ref v0.4.1 [INFO] [stderr] Compiling combination v0.1.5 [INFO] [stderr] Compiling ssi-contexts v0.1.10 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling pem-rfc7468 v0.3.1 [INFO] [stderr] Compiling const-oid v0.7.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.16 [INFO] [stderr] Compiling tracing-attributes v0.1.28 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling data-encoding-macro v0.1.18 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pct-str v2.0.0 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling enum-ordinalize v3.1.15 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling educe v0.5.11 [INFO] [stderr] Compiling educe v0.4.23 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling keccak-hash v0.7.0 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling bs58 v0.4.0 [INFO] [stderr] Compiling ripemd160 v0.9.1 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling crypto-bigint v0.3.2 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling btree-range-map v0.7.2 [INFO] [stderr] Compiling json-number v0.4.9 [INFO] [stderr] Compiling smallstr v0.3.0 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling locspan v0.8.2 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling json-syntax v0.12.5 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling der v0.5.1 [INFO] [stderr] Compiling static-regular-grammar v2.0.2 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling ssi-core v0.2.2 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling simple_asn1 v0.5.4 [INFO] [stderr] Compiling serde_jcs v0.1.0 [INFO] [stderr] Compiling spki v0.5.4 [INFO] [stderr] Compiling ssi-multicodec v0.2.0 [INFO] [stderr] Compiling pkcs8 v0.8.0 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling pkcs1 v0.3.3 [INFO] [stderr] Compiling p384 v0.13.1 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling clear_on_drop v0.2.5 [INFO] [stderr] Compiling blake2b_simd v0.5.11 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling rsa v0.6.1 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling iref-core v3.2.2 [INFO] [stderr] Compiling langtag v0.4.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling iref v3.2.2 [INFO] [stderr] Compiling openssl-probe v0.1.6 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling static-iref v3.0.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling rdf-types v0.22.5 [INFO] [stderr] Compiling xsd-types v0.9.6 [INFO] [stderr] Compiling linked-data-derive v0.1.0 [INFO] [stderr] Compiling ssi-crypto v0.2.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling json-ld-syntax v0.21.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling blake3 v1.8.2 [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling pct-str v1.2.0 [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling miniz_oxide v0.8.8 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling linked-data v0.1.2 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling json-ld-core v0.21.2 [INFO] [stderr] Compiling ssi-rdf v0.1.0 [INFO] [stderr] Compiling ssi-eip712 v0.1.0 [INFO] [stderr] Compiling ssi-security v0.1.0 [INFO] [stderr] Compiling multihash-derive v0.8.1 [INFO] [stderr] Compiling blake2s_simd v1.0.3 [INFO] [stderr] Compiling blake2b_simd v1.0.3 [INFO] [stderr] Compiling hyper-rustls v0.24.2 [INFO] [stderr] Compiling json-ld-context-processing v0.21.2 [INFO] [stderr] Compiling json-ld-serialization v0.21.2 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling serde_with_macros v2.3.3 [INFO] [stderr] Compiling locspan v0.7.16 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling json-ld-expansion v0.21.2 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling serde-big-array v0.3.3 [INFO] [stderr] Compiling iref v2.2.3 [INFO] [stderr] Compiling ordered-float v4.6.0 [INFO] [stderr] Compiling serde_with v2.3.3 [INFO] [stderr] Compiling json-ld-compaction v0.21.2 [INFO] [stderr] Compiling langtag v0.3.4 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling event-listener v5.4.0 [INFO] [stderr] Compiling serde_bytes v0.11.17 [INFO] [stderr] Compiling rdf-types v0.12.19 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling multihash v0.16.3 [INFO] [stderr] Compiling json-syntax v0.9.6 [INFO] [stderr] Compiling json-ld v0.21.2 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling unsigned-varint v0.8.0 [INFO] [stderr] Compiling self_cell v1.2.0 [INFO] [stderr] Compiling ssi-json-ld v0.3.1 [INFO] [stderr] Compiling json-ld-syntax v0.12.1 [INFO] [stderr] Compiling static-iref v2.0.0 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling cid v0.8.6 [INFO] [stderr] Compiling futures-lite v2.6.0 [INFO] [stderr] Compiling ssi-claims-core v0.1.3 [INFO] [stderr] Compiling ssi-jwk v0.3.1 [INFO] [stderr] Compiling ssi-di-sd-primitives v0.2.0 [INFO] [stderr] Compiling cranelift-entity v0.99.2 [INFO] [stderr] Compiling quick-protobuf v0.8.1 [INFO] [stderr] Compiling bumpalo v3.17.0 [INFO] [stderr] Compiling gimli v0.27.3 [INFO] [stderr] Compiling json-ld-core v0.12.1 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling multihash v0.19.3 [INFO] [stderr] Compiling bs58 v0.5.1 [INFO] [stderr] Compiling cranelift-isle v0.99.2 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling ssi-jws v0.3.0 [INFO] [stderr] Compiling ssi-caips v0.2.1 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling libp2p-identity v0.2.11 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling h2 v0.4.9 [INFO] [stderr] Compiling ssi-verification-methods-core v0.1.1 [INFO] [stderr] Compiling ssi-jwt v0.3.0 [INFO] [stderr] Compiling json-ld-context-processing v0.12.1 [INFO] [stderr] Compiling polling v3.7.4 [INFO] [stderr] Compiling ssi-dids-core v0.1.2 [INFO] [stderr] Compiling ssi-verification-methods v0.1.3 [INFO] [stderr] Compiling libipld-core v0.14.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling ssi-data-integrity-core v0.2.1 [INFO] [stderr] Compiling wasmtime-versioned-export-macros v12.0.2 [INFO] [stderr] Compiling web-time v1.1.0 [INFO] [stderr] Compiling cranelift-codegen-shared v0.99.2 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling cranelift-codegen-meta v0.99.2 [INFO] [stderr] Compiling async-io v2.4.0 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling json-ld-expansion v0.12.1 [INFO] [stderr] Compiling ssi-data-integrity-suites v0.1.2 [INFO] [stderr] Compiling multiaddr v0.18.2 [INFO] [stderr] Compiling async-executor v1.13.2 [INFO] [stderr] Compiling treediff v3.0.2 [INFO] [stderr] Compiling coset v0.3.8 [INFO] [stderr] Compiling multistream-select v0.13.0 [INFO] [stderr] Compiling ssi-crypto v0.1.1 [INFO] [stderr] Compiling ssi-data-integrity v0.1.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling rw-stream-sink v0.4.0 [INFO] [stderr] Compiling multibase v0.8.0 [INFO] [stderr] Compiling libp2p-core v0.41.3 [INFO] [stderr] Compiling ssi-vc v0.4.1 [INFO] [stderr] Compiling ssi-cose v0.1.0 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling cranelift-codegen v0.99.2 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling json-patch v0.2.7 [INFO] [stderr] Compiling json-ld-compaction v0.12.1 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling ssi-sd-jwt v0.3.0 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling wasmparser v0.110.0 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling rustls-pki-types v1.11.0 [INFO] [stderr] Compiling slice-group-by v0.3.1 [INFO] [stderr] Compiling derive_builder v0.9.0 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling arbitrary v1.4.1 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling wasm-encoder v0.229.0 [INFO] [stderr] Compiling cached v0.30.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling regalloc2 v0.9.3 [INFO] [stderr] Compiling ssi-jwk v0.1.2 [INFO] [stderr] Compiling ssi-vc-jose-cose v0.2.0 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling async-std v1.13.1 [INFO] [stderr] Compiling cranelift-control v0.99.2 [INFO] [stderr] Compiling json-ld v0.12.1 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling derive_builder_core v0.9.0 [INFO] [stderr] Compiling libipld-json v0.14.0 [INFO] [stderr] Compiling libipld-cbor v0.14.0 [INFO] [stderr] Compiling libipld-macro v0.14.0 [INFO] [stderr] Compiling cranelift-bforest v0.99.2 [INFO] [stderr] Compiling grdf v0.16.3 [INFO] [stderr] Compiling libipld-cbor-derive v0.14.0 [INFO] [stderr] Compiling object v0.31.1 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling bech32 v0.8.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling leb128fmt v0.1.0 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling ssi-json-ld v0.2.2 [INFO] [stderr] Compiling libipld v0.14.0 [INFO] [stderr] Compiling wasmtime-types v12.0.2 [INFO] [stderr] Compiling did-pkh v0.3.1 [INFO] [stderr] Compiling ssi-caips v0.1.0 [INFO] [stderr] Compiling ssi-claims v0.2.0 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling did-tz v0.3.1 [INFO] [stderr] Compiling did-ion v0.3.1 [INFO] [stderr] Compiling did-jwk v0.2.1 [INFO] [stderr] Compiling did-method-key v0.3.1 [INFO] [stderr] Compiling did-web v0.3.3 [INFO] [stderr] Compiling did-ethr v0.3.1 [INFO] [stderr] Compiling ssi-core v0.1.0 [INFO] [stderr] Compiling sshkeys v0.3.3 [INFO] [stderr] Compiling unicode-width v0.2.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling wast v229.0.0 [INFO] [stderr] Compiling wasmtime-environ v12.0.2 [INFO] [stderr] Compiling ssi-ssh v0.2.1 [INFO] [stderr] Compiling document-features v0.2.11 [INFO] [stderr] Compiling ssi-dids v0.1.1 [INFO] [stderr] Compiling ssi-status v0.3.1 [INFO] [stderr] Compiling ssi-dids v0.2.1 [INFO] [stderr] Compiling ssi-zcap-ld v0.3.0 [INFO] [stderr] Compiling ssi-ucan v0.2.1 [INFO] [stderr] Compiling wasmtime-fiber v12.0.2 [INFO] [stderr] Compiling libp2p-swarm-derive v0.34.2 [INFO] [stderr] Compiling multihash v0.18.1 [INFO] [stderr] Compiling ittapi-sys v0.3.5 [INFO] [stderr] Compiling lru v0.12.5 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling zstd-safe v5.0.2+zstd.1.5.2 [INFO] [stderr] Compiling cid v0.10.1 [INFO] [stderr] Compiling libp2p-swarm v0.44.2 [INFO] [stderr] Compiling ssi v0.10.2 [INFO] [stderr] Compiling did-method-key v0.2.2 [INFO] [stderr] Compiling wasmtime-runtime v12.0.2 [INFO] [stderr] Compiling netlink-packet-utils v0.5.2 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling wasmtime-asm-macros v12.0.2 [INFO] [stderr] Compiling cpp_demangle v0.3.5 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling netlink-packet-core v0.7.0 [INFO] [stderr] Compiling icn-identity v0.1.0 (/opt/rustwide/workdir/crates/identity) [INFO] [stdout] warning: unused variable: `public_key` [INFO] [stdout] --> crates/identity/src/lib.rs:378:13 [INFO] [stdout] | [INFO] [stdout] 378 | let public_key = &key_bytes[2..]; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasmtime-jit-debug v12.0.2 [INFO] [stdout] warning: structure field `issuanceDate` should have a snake case name [INFO] [stdout] --> crates/identity/src/lib.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | pub issuanceDate: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `issuance_date` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `credentialSubject` should have a snake case name [INFO] [stdout] --> crates/identity/src/lib.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | pub credentialSubject: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `credential_subject` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `expirationDate` should have a snake case name [INFO] [stdout] --> crates/identity/src/lib.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | pub expirationDate: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `expiration_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `issuanceDate` should have a snake case name [INFO] [stdout] --> crates/identity/src/lib.rs:737:9 [INFO] [stdout] | [INFO] [stdout] 737 | pub issuanceDate: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `issuance_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `credentialSubject` should have a snake case name [INFO] [stdout] --> crates/identity/src/lib.rs:740:9 [INFO] [stdout] | [INFO] [stdout] 740 | pub credentialSubject: AnchorSubject, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `credential_subject` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasm-encoder v0.31.1 [INFO] [stderr] Compiling memfd v0.6.4 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling wasmtime-cache v12.0.2 [INFO] [stderr] Compiling sptr v0.3.2 [INFO] [stderr] Compiling directories-next v2.0.0 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Compiling icn-storage v0.1.0 (/opt/rustwide/workdir/crates/storage) [INFO] [stderr] Compiling wat v1.229.0 [INFO] [stderr] Compiling file-per-thread-logger v0.2.0 [INFO] [stderr] Compiling cranelift-frontend v0.99.2 [INFO] [stderr] Compiling cranelift-native v0.99.2 [INFO] [stderr] Compiling wasmtime-cranelift-shared v12.0.2 [INFO] [stderr] Compiling cranelift-wasm v0.99.2 [INFO] [stderr] Compiling ittapi v0.3.5 [INFO] [stderr] Compiling zstd v0.11.2+zstd.1.5.2 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling addr2line v0.20.0 [INFO] [stderr] Compiling libipld-core v0.13.1 [INFO] [stderr] Compiling lru v0.11.1 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling netlink-sys v0.8.7 [INFO] [stderr] Compiling asynchronous-codec v0.7.0 [INFO] [stderr] Compiling ptr_meta_derive v0.1.4 [INFO] [stderr] Compiling wasmtime-jit-icache-coherence v12.0.2 [INFO] [stderr] Compiling merkle-cbt v0.3.2 [INFO] [stderr] Compiling rkyv v0.7.45 [INFO] [stderr] Compiling id-arena v2.2.1 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling icn-dag v0.1.0 (/opt/rustwide/workdir/crates/dag) [INFO] [stderr] Compiling wasmer-wit-parser v0.1.1 [INFO] [stdout] warning: unused import: `crate::create_sha256_multihash` [INFO] [stdout] --> crates/dag/src/cache.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::create_sha256_multihash; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasmtime-jit v12.0.2 [INFO] [stderr] Compiling ptr_meta v0.1.4 [INFO] [stderr] Compiling fxprof-processed-profile v0.6.0 [INFO] [stderr] Compiling netlink-proto v0.11.5 [INFO] [stderr] Compiling wasmtime-cranelift v12.0.2 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Compiling netlink-packet-route v0.17.1 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling enumset_derive v0.10.0 [INFO] [stderr] Compiling rkyv_derive v0.7.45 [INFO] [stderr] Compiling enum-iterator-derive v0.7.0 [INFO] [stderr] Compiling corosensei v0.1.4 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling gimli v0.31.1 [INFO] [stderr] Compiling enumset v1.1.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling enum-iterator v0.7.0 [INFO] [stderr] Compiling wasmtime v12.0.2 [INFO] [stderr] Compiling rtnetlink v0.13.1 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Compiling addr2line v0.24.2 [INFO] [stderr] Compiling wasmer-wit-bindgen-gen-core v0.1.1 [INFO] [stderr] Compiling icn-economics v0.1.0 (/opt/rustwide/workdir/crates/economics) [INFO] [stderr] Compiling quick-protobuf-codec v0.3.1 [INFO] [stdout] warning: unused import: `cid::Cid` [INFO] [stdout] --> crates/economics/src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use cid::Cid; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sha256` [INFO] [stdout] --> crates/economics/src/lib.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | use sha2::{Sha256, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> crates/economics/src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::lock::Mutex` [INFO] [stdout] --> crates/economics/src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use futures::lock::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenStorage` [INFO] [stdout] --> crates/economics/src/lib.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::token_storage::{TokenStorage, AuthorizationStorage}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> crates/economics/src/budget_ops.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> crates/economics/src/budget_ops.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> crates/economics/src/lib.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 319 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::lock::Mutex` [INFO] [stdout] --> crates/economics/src/lib.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | use futures::lock::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling futures-bounded v0.2.4 [INFO] [stderr] Compiling snow v0.9.6 [INFO] [stderr] Compiling wasmer-wit-bindgen-gen-rust-wasm v0.1.1 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling prometheus-client v0.22.3 [INFO] [stderr] Compiling wasmer-wit-bindgen-gen-rust v0.1.1 [INFO] [stderr] Compiling if-watch v3.2.1 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> crates/economics/src/lib.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | use sha2::{Sha256, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AuthorizationStorage` [INFO] [stdout] --> crates/economics/src/lib.rs:23:42 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::token_storage::{TokenStorage, AuthorizationStorage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling proc-macro-hack v0.5.20+deprecated [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stdout] warning: function `create_test_budget_with_proposal` is never used [INFO] [stdout] --> crates/economics/src/budget_ops.rs:851:10 [INFO] [stdout] | [INFO] [stdout] 851 | async fn create_test_budget_with_proposal() -> (String, Uuid, MockBudgetStorage) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasmer-types v3.1.1 [INFO] [stderr] Compiling region v3.0.2 [INFO] [stderr] Compiling prometheus-client-derive-encode v0.4.2 [INFO] [stderr] Compiling const_fn v0.4.11 [INFO] [stderr] Compiling dtoa v1.0.10 [INFO] [stderr] Compiling clap_lex v0.7.4 [INFO] [stderr] Compiling clap_builder v4.5.37 [INFO] [stderr] Compiling time-macros-impl v0.1.2 [INFO] [stderr] Compiling hickory-proto v0.24.4 [INFO] [stderr] Compiling yamux v0.12.1 [INFO] [stderr] Compiling icn-core-vm v0.1.0 (/opt/rustwide/workdir/crates/core-vm) [INFO] [stdout] warning: unused import: `ResourceType` [INFO] [stdout] --> crates/core-vm/src/host_abi.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | ConcreteHostEnvironment, VmError, ResourceType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Memory`, `Trap`, and `WasmBacktrace` [INFO] [stdout] --> crates/core-vm/src/host_abi.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | use wasmtime::{Caller, Memory, Trap, WasmBacktrace}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> crates/core-vm/src/lib.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> crates/core-vm/src/host_abi.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | let message = safe_read_string(&mut caller, message_ptr, message_len)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_ALLOCATION_SIZE` is never used [INFO] [stdout] --> crates/core-vm/src/host_abi.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const MAX_ALLOCATION_SIZE: u32 = 1024 * 1024 * 10; // 10 MB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> crates/core-vm/src/host_abi.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | std::mem::drop(env); [INFO] [stdout] | ^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut ConcreteHostEnvironment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 145 - std::mem::drop(env); [INFO] [stdout] 145 + let _ = env; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> crates/core-vm/src/host_abi.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | std::mem::drop(env); [INFO] [stdout] | ^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut ConcreteHostEnvironment` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 261 - std::mem::drop(env); [INFO] [stdout] 261 + let _ = env; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> crates/core-vm/src/host_abi.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | std::mem::drop(env); [INFO] [stdout] | ^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut ConcreteHostEnvironment` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 288 - std::mem::drop(env); [INFO] [stdout] 288 + let _ = env; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling yamux v0.13.4 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling icn-governance-kernel v0.1.0 (/opt/rustwide/workdir/crates/governance-kernel) [INFO] [stderr] Compiling wasmer-vm v3.1.1 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/governance-kernel/src/lib.rs:317:13 [INFO] [stdout] | [INFO] [stdout] 317 | let mut storage = self.storage.lock().await; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/governance-kernel/src/lib.rs:381:13 [INFO] [stdout] | [INFO] [stdout] 381 | let mut storage = self.storage.lock().await; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/governance-kernel/src/lib.rs:428:13 [INFO] [stdout] | [INFO] [stdout] 428 | let mut storage = self.storage.lock().await; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/governance-kernel/src/lib.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | let mut storage = self.storage.lock().await; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/governance-kernel/src/lib.rs:846:13 [INFO] [stdout] | [INFO] [stdout] 846 | let mut storage = self.storage.lock().await; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling futures-ticker v0.0.3 [INFO] [stderr] Compiling clap_derive v4.5.32 [INFO] [stderr] Compiling cbor4ii v0.3.3 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/governance-kernel/src/lib.rs:896:13 [INFO] [stdout] | [INFO] [stdout] 896 | let mut storage = self.storage.lock().await; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling wasmer-vfs v3.1.1 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling time v0.2.27 [INFO] [stderr] Compiling wasmparser v0.83.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling libp2p-request-response v0.26.3 [INFO] [stderr] Compiling libp2p-noise v0.44.0 [INFO] [stderr] Compiling libp2p-gossipsub v0.46.1 [INFO] [stderr] Compiling libp2p-mdns v0.45.1 [INFO] [stderr] Compiling wasmer-compiler v3.1.1 [INFO] [stderr] Compiling libp2p-yamux v0.45.2 [INFO] [stderr] Compiling wasmer-wit-bindgen-rust-impl v0.1.1 [INFO] [stderr] Compiling clap v4.5.37 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling libp2p-tcp v0.41.0 [INFO] [stderr] Compiling libp2p-kad v0.45.3 [INFO] [stderr] Compiling libp2p-identify v0.44.2 [INFO] [stderr] Compiling libp2p-allow-block-list v0.3.0 [INFO] [stderr] Compiling libp2p-connection-limits v0.3.1 [INFO] [stderr] Compiling wasmer-derive v3.1.1 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling wasmer-wit-bindgen-rust v0.1.1 [INFO] [stderr] Compiling wasmer v3.1.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling fraction v0.13.1 [INFO] [stderr] Compiling fancy-regex v0.11.0 [INFO] [stderr] Compiling wasmer-vnet v3.1.1 [INFO] [stderr] Compiling bytecount v0.6.8 [INFO] [stderr] Compiling libp2p v0.53.2 [INFO] [stderr] Compiling num-cmp v0.1.0 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling icn-federation v0.1.0 (/opt/rustwide/workdir/crates/federation) [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling wasmer-wasi-local-networking v3.1.1 [INFO] [stderr] Compiling wasmer-vbus v3.1.1 [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> crates/federation/src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> crates/federation/src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mdns` [INFO] [stdout] --> crates/federation/src/lib.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | gossipsub, identity, kad, mdns, noise, request_response, tcp, yamux, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `QuorumConfig` and `Signature` [INFO] [stdout] --> crates/federation/src/lib.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | QuorumProof, QuorumConfig, Signature [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror::Error` [INFO] [stdout] --> crates/federation/src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cid::Cid` [INFO] [stdout] --> crates/federation/src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use cid::Cid; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> crates/federation/src/roles.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> crates/federation/src/replication.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> crates/federation/src/replication.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::lock::Mutex` [INFO] [stdout] --> crates/federation/src/replication.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use futures::lock::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StorageBackend` [INFO] [stdout] --> crates/federation/src/replication.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | use icn_storage::{StorageBackend, ReplicationPolicy}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> crates/federation/src/replication.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use tracing::{debug, info, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::FederationError` [INFO] [stdout] --> crates/federation/src/replication.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::FederationError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FederationManager` [INFO] [stdout] --> crates/federation/src/debug_api.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | use crate::{FederationManager, create_sha256_multihash}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling wasmer-wasi-types v3.1.1 [INFO] [stdout] warning: unused variable: `kernel_config` [INFO] [stdout] --> crates/federation/src/roles.rs:376:26 [INFO] [stdout] | [INFO] [stdout] 376 | } else if let Ok(kernel_config) = serde_json::from_slice::(&bytes) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kernel_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling generational-arena v0.2.9 [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/federation/src/lib.rs:698:37 [INFO] [stdout] | [INFO] [stdout] 698 | ... id, [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling icn-agoranet-integration v0.1.0 (/opt/rustwide/workdir/crates/agoranet-integration) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/federation/src/lib.rs:807:37 [INFO] [stdout] | [INFO] [stdout] 807 | ... let mut storage_guard = storage.lock().await; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling wasmer-wasi v3.1.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling iso8601 v0.6.2 [INFO] [stdout] warning: unused import: `MultihashDigest` [INFO] [stdout] --> crates/federation/src/lib.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | use multihash::{self, MultihashDigest}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DistributedStorage` [INFO] [stdout] --> crates/federation/src/lib.rs:34:57 [INFO] [stdout] | [INFO] [stdout] 34 | use icn_storage::{FederationCommand, ReplicationPolicy, DistributedStorage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> crates/federation/src/roles.rs:393:12 [INFO] [stdout] | [INFO] [stdout] 393 | Ok(config) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling jsonschema v0.17.1 [INFO] [stdout] warning: struct `DummyDebugApi` is never constructed [INFO] [stdout] --> crates/federation/src/lib.rs:523:8 [INFO] [stdout] | [INFO] [stdout] 523 | struct DummyDebugApi; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_config_cid` is never used [INFO] [stdout] --> crates/federation/src/roles.rs:420:4 [INFO] [stdout] | [INFO] [stdout] 420 | fn get_config_cid(context_id: &str) -> Cid { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling icn-execution-tools v0.1.0 (/opt/rustwide/workdir/crates/execution-tools) [INFO] [stdout] warning: unused variable: `proposal_cid` [INFO] [stdout] --> crates/execution-tools/src/lib.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | proposal_cid: cid::Cid, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal_cid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller_scope` [INFO] [stdout] --> crates/execution-tools/src/lib.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | caller_scope: icn_identity::IdentityScope [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_node` and `end_node` are never read [INFO] [stdout] --> crates/execution-tools/src/lib.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct ReplayHelper { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 76 | start_node: DagNode, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 77 | end_node: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling icn-ccl-compiler v0.1.0 (/opt/rustwide/workdir/crates/ccl-compiler) [INFO] [stderr] Compiling icn-covm v0.1.0 (/opt/rustwide/workdir/cli) [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> cli/covm.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> cli/covm.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> cli/covm.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> cli/covm.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> cli/covm.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `multihash::Code` [INFO] [stdout] --> cli/covm.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use multihash::Code; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IdentityId` and `IdentityScope` [INFO] [stdout] --> cli/covm.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | use icn_identity::{IdentityId, IdentityScope, KeyPair}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icn_core_vm::IdentityContext` [INFO] [stdout] --> cli/covm.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use icn_core_vm::IdentityContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icn_dag::DagNode` [INFO] [stdout] --> cli/covm.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use icn_dag::DagNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GuardianMandate` and `signing` [INFO] [stdout] --> cli/covm.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | use icn_federation::{GuardianMandate, signing}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cid::Cid` [INFO] [stdout] --> cli/covm.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use cid::Cid; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ResourceAuthorization` and `ResourceType` [INFO] [stdout] --> cli/covm.rs:412:34 [INFO] [stdout] | [INFO] [stdout] 412 | use icn_core_vm::{VMContext, ResourceType, ResourceAuthorization}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IdentityId` [INFO] [stdout] --> cli/covm.rs:817:39 [INFO] [stdout] | [INFO] [stdout] 817 | use icn_identity::{IdentityScope, IdentityId, generate_did_keypair}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> cli/covm.rs:818:27 [INFO] [stdout] | [INFO] [stdout] 818 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyPair` [INFO] [stdout] --> cli/covm.rs:922:51 [INFO] [stdout] | [INFO] [stdout] 922 | use icn_identity::{IdentityScope, IdentityId, KeyPair}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GuardianMandate` [INFO] [stdout] --> cli/covm.rs:923:26 [INFO] [stdout] | [INFO] [stdout] 923 | use icn_federation::{GuardianMandate, signing::MandateBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icn_dag::DagNode` [INFO] [stdout] --> cli/covm.rs:924:9 [INFO] [stdout] | [INFO] [stdout] 924 | use icn_dag::DagNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> cli/covm.rs:925:21 [INFO] [stdout] | [INFO] [stdout] 925 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IdentityId`, `IdentityScope`, and `Signature` [INFO] [stdout] --> cli/covm.rs:1047:24 [INFO] [stdout] | [INFO] [stdout] 1047 | use icn_identity::{IdentityId, IdentityScope, Signature}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icn_federation::GuardianMandate` [INFO] [stdout] --> cli/covm.rs:1048:9 [INFO] [stdout] | [INFO] [stdout] 1048 | use icn_federation::GuardianMandate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DagNodeMetadata` and `DagNode` [INFO] [stdout] --> cli/covm.rs:1049:19 [INFO] [stdout] | [INFO] [stdout] 1049 | use icn_dag::{DagNode, DagNodeMetadata}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StorageBackend` [INFO] [stdout] --> cli/covm.rs:1050:45 [INFO] [stdout] | [INFO] [stdout] 1050 | use icn_storage::{AsyncInMemoryStorage, StorageBackend}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyPair` [INFO] [stdout] --> cli/covm.rs:1122:36 [INFO] [stdout] | [INFO] [stdout] 1122 | use icn_identity::{IdentityId, KeyPair, VerifiableCredential, sign_credential}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> cli/covm.rs:1124:18 [INFO] [stdout] | [INFO] [stdout] 1124 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> cli/covm.rs:1216:27 [INFO] [stdout] | [INFO] [stdout] 1216 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `execution_id` [INFO] [stdout] --> cli/covm.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | let execution_id = format!("exec-{}", timestamp); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execution_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proposal_cid` [INFO] [stdout] --> cli/covm.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | let proposal_cid = if let Some(id_str) = proposal_id { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal_cid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> cli/covm.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | let storage: Arc> = [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ccl_content` [INFO] [stdout] --> cli/covm.rs:282:37 [INFO] [stdout] | [INFO] [stdout] 282 | ... pub fn interpret_ccl(&self, ccl_content: &str, scope: IdentityScope) -> anyhow::Result cli/covm.rs:550:5 [INFO] [stdout] | [INFO] [stdout] 550 | config: &icn_governance_kernel::config::GovernanceConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller_did` [INFO] [stdout] --> cli/covm.rs:551:5 [INFO] [stdout] | [INFO] [stdout] 551 | caller_did: &str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_did` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> cli/covm.rs:552:5 [INFO] [stdout] | [INFO] [stdout] 552 | scope: icn_identity::IdentityScope, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> cli/covm.rs:553:5 [INFO] [stdout] | [INFO] [stdout] 553 | timestamp: i64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_compile_command` is never used [INFO] [stdout] --> cli/covm.rs:255:10 [INFO] [stdout] | [INFO] [stdout] 255 | async fn handle_compile_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `interpret_ccl` are never used [INFO] [stdout] --> cli/covm.rs:278:16 [INFO] [stdout] | [INFO] [stdout] 277 | impl CclInterpreter { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 278 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub fn interpret_ccl(&self, ccl_content: &str, scope: IdentityScope) -> anyhow::Result cli/covm.rs:401:10 [INFO] [stdout] | [INFO] [stdout] 401 | async fn handle_execute_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `interpret_ccl` are never used [INFO] [stdout] --> cli/covm.rs:419:16 [INFO] [stdout] | [INFO] [stdout] 418 | impl CclInterpreter { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 419 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 423 | pub fn interpret_ccl(&self, _ccl_content: &str, scope: IdentityScope) -> anyhow::Result cli/covm.rs:655:4 [INFO] [stdout] | [INFO] [stdout] 655 | fn create_identity_context(did: &str) -> std::sync::Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_in_memory_storage` is never used [INFO] [stdout] --> cli/covm.rs:667:4 [INFO] [stdout] | [INFO] [stdout] 667 | fn create_in_memory_storage() -> std::sync::Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_export_vc_command` is never used [INFO] [stdout] --> cli/covm.rs:676:10 [INFO] [stdout] | [INFO] [stdout] 676 | async fn handle_export_vc_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_identity_command` is never used [INFO] [stdout] --> cli/covm.rs:812:10 [INFO] [stdout] | [INFO] [stdout] 812 | async fn handle_identity_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_issue_mandate_command` is never used [INFO] [stdout] --> cli/covm.rs:912:10 [INFO] [stdout] | [INFO] [stdout] 912 | async fn handle_issue_mandate_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_verify_mandate_command` is never used [INFO] [stdout] --> cli/covm.rs:1042:10 [INFO] [stdout] | [INFO] [stdout] 1042 | async fn handle_verify_mandate_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_appeal_mandate_command` is never used [INFO] [stdout] --> cli/covm.rs:1115:10 [INFO] [stdout] | [INFO] [stdout] 1115 | async fn handle_appeal_mandate_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_keypair_for_did` is never used [INFO] [stdout] --> cli/covm.rs:1214:4 [INFO] [stdout] | [INFO] [stdout] 1214 | fn load_keypair_for_did(did: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_mock_dag_node` is never used [INFO] [stdout] --> cli/covm.rs:1277:4 [INFO] [stdout] | [INFO] [stdout] 1277 | fn create_mock_dag_node(action: &str, reason: &str, scope_id: &str) -> icn_dag::DagNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> cli/covm.rs:1310:10 [INFO] [stdout] | [INFO] [stdout] 1310 | async fn main() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> cli/covm.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> cli/covm.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> cli/covm.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> cli/covm.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> cli/covm.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `multihash::Code` [INFO] [stdout] --> cli/covm.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use multihash::Code; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IdentityId` and `IdentityScope` [INFO] [stdout] --> cli/covm.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | use icn_identity::{IdentityId, IdentityScope, KeyPair}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icn_core_vm::IdentityContext` [INFO] [stdout] --> cli/covm.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use icn_core_vm::IdentityContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icn_dag::DagNode` [INFO] [stdout] --> cli/covm.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use icn_dag::DagNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GuardianMandate` and `signing` [INFO] [stdout] --> cli/covm.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | use icn_federation::{GuardianMandate, signing}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cid::Cid` [INFO] [stdout] --> cli/covm.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use cid::Cid; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ResourceAuthorization` and `ResourceType` [INFO] [stdout] --> cli/covm.rs:412:34 [INFO] [stdout] | [INFO] [stdout] 412 | use icn_core_vm::{VMContext, ResourceType, ResourceAuthorization}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IdentityId` [INFO] [stdout] --> cli/covm.rs:817:39 [INFO] [stdout] | [INFO] [stdout] 817 | use icn_identity::{IdentityScope, IdentityId, generate_did_keypair}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> cli/covm.rs:818:27 [INFO] [stdout] | [INFO] [stdout] 818 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyPair` [INFO] [stdout] --> cli/covm.rs:922:51 [INFO] [stdout] | [INFO] [stdout] 922 | use icn_identity::{IdentityScope, IdentityId, KeyPair}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GuardianMandate` [INFO] [stdout] --> cli/covm.rs:923:26 [INFO] [stdout] | [INFO] [stdout] 923 | use icn_federation::{GuardianMandate, signing::MandateBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icn_dag::DagNode` [INFO] [stdout] --> cli/covm.rs:924:9 [INFO] [stdout] | [INFO] [stdout] 924 | use icn_dag::DagNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> cli/covm.rs:925:21 [INFO] [stdout] | [INFO] [stdout] 925 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IdentityId`, `IdentityScope`, and `Signature` [INFO] [stdout] --> cli/covm.rs:1047:24 [INFO] [stdout] | [INFO] [stdout] 1047 | use icn_identity::{IdentityId, IdentityScope, Signature}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icn_federation::GuardianMandate` [INFO] [stdout] --> cli/covm.rs:1048:9 [INFO] [stdout] | [INFO] [stdout] 1048 | use icn_federation::GuardianMandate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DagNodeMetadata` and `DagNode` [INFO] [stdout] --> cli/covm.rs:1049:19 [INFO] [stdout] | [INFO] [stdout] 1049 | use icn_dag::{DagNode, DagNodeMetadata}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StorageBackend` [INFO] [stdout] --> cli/covm.rs:1050:45 [INFO] [stdout] | [INFO] [stdout] 1050 | use icn_storage::{AsyncInMemoryStorage, StorageBackend}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyPair` [INFO] [stdout] --> cli/covm.rs:1122:36 [INFO] [stdout] | [INFO] [stdout] 1122 | use icn_identity::{IdentityId, KeyPair, VerifiableCredential, sign_credential}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> cli/covm.rs:1124:18 [INFO] [stdout] | [INFO] [stdout] 1124 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> cli/covm.rs:1216:27 [INFO] [stdout] | [INFO] [stdout] 1216 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `execution_id` [INFO] [stdout] --> cli/covm.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | let execution_id = format!("exec-{}", timestamp); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execution_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proposal_cid` [INFO] [stdout] --> cli/covm.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | let proposal_cid = if let Some(id_str) = proposal_id { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal_cid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> cli/covm.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | let storage: Arc> = [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ccl_content` [INFO] [stdout] --> cli/covm.rs:282:37 [INFO] [stdout] | [INFO] [stdout] 282 | ... pub fn interpret_ccl(&self, ccl_content: &str, scope: IdentityScope) -> anyhow::Result cli/covm.rs:550:5 [INFO] [stdout] | [INFO] [stdout] 550 | config: &icn_governance_kernel::config::GovernanceConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller_did` [INFO] [stdout] --> cli/covm.rs:551:5 [INFO] [stdout] | [INFO] [stdout] 551 | caller_did: &str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_did` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> cli/covm.rs:552:5 [INFO] [stdout] | [INFO] [stdout] 552 | scope: icn_identity::IdentityScope, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> cli/covm.rs:553:5 [INFO] [stdout] | [INFO] [stdout] 553 | timestamp: i64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_in_memory_storage` is never used [INFO] [stdout] --> cli/covm.rs:667:4 [INFO] [stdout] | [INFO] [stdout] 667 | fn create_in_memory_storage() -> std::sync::Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11m 14s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: num-bigint-dig v0.8.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "bbb17314b60b71654ac18ae43e89855753729a6db1a1b8d295e3bd2874b0ae55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbb17314b60b71654ac18ae43e89855753729a6db1a1b8d295e3bd2874b0ae55", kill_on_drop: false }` [INFO] [stdout] bbb17314b60b71654ac18ae43e89855753729a6db1a1b8d295e3bd2874b0ae55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+028592fec99e54cc92def5a2a849c673b066dd93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdfbeab6ed94b00557a17e39a689486feffe75b74a4fe17884873190ee8321b6 [INFO] running `Command { std: "docker" "start" "-a" "bdfbeab6ed94b00557a17e39a689486feffe75b74a4fe17884873190ee8321b6", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling assert-json-diff v2.0.2 [INFO] [stderr] Compiling similar v2.7.0 [INFO] [stderr] Compiling colored v3.0.0 [INFO] [stderr] Compiling wasmparser v0.116.1 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling tempfile v3.19.1 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling ssi-di-sd-primitives v0.2.0 [INFO] [stderr] Compiling debugid v0.8.0 [INFO] [stderr] Compiling jsonschema v0.17.1 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling fxprof-processed-profile v0.6.0 [INFO] [stderr] Compiling ssi-data-integrity-suites v0.1.2 [INFO] [stderr] Compiling wasmtime v12.0.2 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling ssi-data-integrity v0.1.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling mockito v1.7.0 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling ssi-vc v0.4.1 [INFO] [stderr] Compiling ssi-vc-jose-cose v0.2.0 [INFO] [stderr] Compiling ssi-status v0.3.1 [INFO] [stderr] Compiling ssi-claims v0.2.0 [INFO] [stderr] Compiling ssi-zcap-ld v0.3.0 [INFO] [stderr] Compiling ssi v0.10.2 [INFO] [stderr] Compiling icn-identity v0.1.0 (/opt/rustwide/workdir/crates/identity) [INFO] [stdout] warning: unused variable: `public_key` [INFO] [stdout] --> crates/identity/src/lib.rs:378:13 [INFO] [stdout] | [INFO] [stdout] 378 | let public_key = &key_bytes[2..]; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `public_key` [INFO] [stdout] --> crates/identity/src/lib.rs:378:13 [INFO] [stdout] | [INFO] [stdout] 378 | let public_key = &key_bytes[2..]; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_public_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `issuanceDate` should have a snake case name [INFO] [stdout] --> crates/identity/src/lib.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | pub issuanceDate: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `issuance_date` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `credentialSubject` should have a snake case name [INFO] [stdout] --> crates/identity/src/lib.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | pub credentialSubject: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `credential_subject` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `expirationDate` should have a snake case name [INFO] [stdout] --> crates/identity/src/lib.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | pub expirationDate: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `expiration_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `issuanceDate` should have a snake case name [INFO] [stdout] --> crates/identity/src/lib.rs:737:9 [INFO] [stdout] | [INFO] [stdout] 737 | pub issuanceDate: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `issuance_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `credentialSubject` should have a snake case name [INFO] [stdout] --> crates/identity/src/lib.rs:740:9 [INFO] [stdout] | [INFO] [stdout] 740 | pub credentialSubject: AnchorSubject, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `credential_subject` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling icn-storage v0.1.0 (/opt/rustwide/workdir/crates/storage) [INFO] [stdout] warning: structure field `issuanceDate` should have a snake case name [INFO] [stdout] --> crates/identity/src/lib.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | pub issuanceDate: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `issuance_date` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `credentialSubject` should have a snake case name [INFO] [stdout] --> crates/identity/src/lib.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | pub credentialSubject: serde_json::Value, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `credential_subject` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `expirationDate` should have a snake case name [INFO] [stdout] --> crates/identity/src/lib.rs:248:9 [INFO] [stdout] | [INFO] [stdout] 248 | pub expirationDate: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `expiration_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `issuanceDate` should have a snake case name [INFO] [stdout] --> crates/identity/src/lib.rs:737:9 [INFO] [stdout] | [INFO] [stdout] 737 | pub issuanceDate: String, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `issuance_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `credentialSubject` should have a snake case name [INFO] [stdout] --> crates/identity/src/lib.rs:740:9 [INFO] [stdout] | [INFO] [stdout] 740 | pub credentialSubject: AnchorSubject, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `credential_subject` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling icn-dag v0.1.0 (/opt/rustwide/workdir/crates/dag) [INFO] [stdout] warning: unused import: `crate::create_sha256_multihash` [INFO] [stdout] --> crates/dag/src/cache.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::create_sha256_multihash; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling icn-economics v0.1.0 (/opt/rustwide/workdir/crates/economics) [INFO] [stdout] warning: unused import: `cid::Cid` [INFO] [stdout] --> crates/economics/src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use cid::Cid; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sha256` [INFO] [stdout] --> crates/economics/src/lib.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | use sha2::{Sha256, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> crates/economics/src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::lock::Mutex` [INFO] [stdout] --> crates/economics/src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use futures::lock::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenStorage` [INFO] [stdout] --> crates/economics/src/lib.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::token_storage::{TokenStorage, AuthorizationStorage}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> crates/economics/src/budget_ops.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> crates/economics/src/budget_ops.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> crates/economics/src/lib.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 319 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::lock::Mutex` [INFO] [stdout] --> crates/economics/src/lib.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | use futures::lock::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::create_sha256_multihash` [INFO] [stdout] --> crates/dag/src/cache.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::create_sha256_multihash; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cid::Cid` [INFO] [stdout] --> crates/economics/src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use cid::Cid; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sha256` [INFO] [stdout] --> crates/economics/src/lib.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | use sha2::{Sha256, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> crates/economics/src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::lock::Mutex` [INFO] [stdout] --> crates/economics/src/lib.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use futures::lock::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TokenStorage` [INFO] [stdout] --> crates/economics/src/lib.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::token_storage::{TokenStorage, AuthorizationStorage}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> crates/economics/src/budget_ops.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc` and `Mutex` [INFO] [stdout] --> crates/economics/src/budget_ops.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> crates/economics/src/lib.rs:319:9 [INFO] [stdout] | [INFO] [stdout] 319 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::lock::Mutex` [INFO] [stdout] --> crates/economics/src/lib.rs:320:9 [INFO] [stdout] | [INFO] [stdout] 320 | use futures::lock::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MockAuthorizationStorage` [INFO] [stdout] --> crates/economics/src/lib.rs:586:50 [INFO] [stdout] | [INFO] [stdout] 586 | use crate::token_storage::{MockTokenStorage, MockAuthorizationStorage, MockEconomicsStorage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> crates/economics/src/lib.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | use sha2::{Sha256, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AuthorizationStorage` [INFO] [stdout] --> crates/economics/src/lib.rs:23:42 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::token_storage::{TokenStorage, AuthorizationStorage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_budget_with_proposal` is never used [INFO] [stdout] --> crates/economics/src/budget_ops.rs:851:10 [INFO] [stdout] | [INFO] [stdout] 851 | async fn create_test_budget_with_proposal() -> (String, Uuid, MockBudgetStorage) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Digest` [INFO] [stdout] --> crates/economics/src/lib.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | use sha2::{Sha256, Digest}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AuthorizationStorage` [INFO] [stdout] --> crates/economics/src/lib.rs:23:42 [INFO] [stdout] | [INFO] [stdout] 23 | use crate::token_storage::{TokenStorage, AuthorizationStorage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling icn-core-vm v0.1.0 (/opt/rustwide/workdir/crates/core-vm) [INFO] [stdout] warning: unused variable: `cid` [INFO] [stdout] --> crates/economics/src/budget_ops.rs:1016:17 [INFO] [stdout] | [INFO] [stdout] 1016 | let cid = Cid::try_from(cid_key.as_str()).unwrap_or_else(|_| panic!("Invalid CID string: {}", cid_key)); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResourceType` [INFO] [stdout] --> crates/core-vm/src/host_abi.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | ConcreteHostEnvironment, VmError, ResourceType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Memory`, `Trap`, and `WasmBacktrace` [INFO] [stdout] --> crates/core-vm/src/host_abi.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | use wasmtime::{Caller, Memory, Trap, WasmBacktrace}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> crates/core-vm/src/lib.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> crates/core-vm/src/host_abi.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | let message = safe_read_string(&mut caller, message_ptr, message_len)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_ALLOCATION_SIZE` is never used [INFO] [stdout] --> crates/core-vm/src/host_abi.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const MAX_ALLOCATION_SIZE: u32 = 1024 * 1024 * 10; // 10 MB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> crates/core-vm/src/host_abi.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | std::mem::drop(env); [INFO] [stdout] | ^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut ConcreteHostEnvironment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 145 - std::mem::drop(env); [INFO] [stdout] 145 + let _ = env; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> crates/core-vm/src/host_abi.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | std::mem::drop(env); [INFO] [stdout] | ^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut ConcreteHostEnvironment` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 261 - std::mem::drop(env); [INFO] [stdout] 261 + let _ = env; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> crates/core-vm/src/host_abi.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | std::mem::drop(env); [INFO] [stdout] | ^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut ConcreteHostEnvironment` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 288 - std::mem::drop(env); [INFO] [stdout] 288 + let _ = env; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ResourceType` [INFO] [stdout] --> crates/core-vm/src/host_abi.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | ConcreteHostEnvironment, VmError, ResourceType, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Memory`, `Trap`, and `WasmBacktrace` [INFO] [stdout] --> crates/core-vm/src/host_abi.rs:16:24 [INFO] [stdout] | [INFO] [stdout] 16 | use wasmtime::{Caller, Memory, Trap, WasmBacktrace}; [INFO] [stdout] | ^^^^^^ ^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize` and `Serialize` [INFO] [stdout] --> crates/core-vm/src/lib.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use serde::{Serialize, Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling icn-governance-kernel v0.1.0 (/opt/rustwide/workdir/crates/governance-kernel) [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> crates/core-vm/src/host_abi.rs:276:17 [INFO] [stdout] | [INFO] [stdout] 276 | let message = safe_read_string(&mut caller, message_ptr, message_len)?; [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `MAX_ALLOCATION_SIZE` is never used [INFO] [stdout] --> crates/core-vm/src/host_abi.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const MAX_ALLOCATION_SIZE: u32 = 1024 * 1024 * 10; // 10 MB [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> crates/core-vm/src/host_abi.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 145 | std::mem::drop(env); [INFO] [stdout] | ^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut ConcreteHostEnvironment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 145 - std::mem::drop(env); [INFO] [stdout] 145 + let _ = env; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> crates/core-vm/src/host_abi.rs:261:13 [INFO] [stdout] | [INFO] [stdout] 261 | std::mem::drop(env); [INFO] [stdout] | ^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut ConcreteHostEnvironment` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 261 - std::mem::drop(env); [INFO] [stdout] 261 + let _ = env; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> crates/core-vm/src/host_abi.rs:288:13 [INFO] [stdout] | [INFO] [stdout] 288 | std::mem::drop(env); [INFO] [stdout] | ^^^^^^^^^^^^^^^---^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&mut ConcreteHostEnvironment` [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 288 - std::mem::drop(env); [INFO] [stdout] 288 + let _ = env; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/governance-kernel/src/lib.rs:317:13 [INFO] [stdout] | [INFO] [stdout] 317 | let mut storage = self.storage.lock().await; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/governance-kernel/src/lib.rs:381:13 [INFO] [stdout] | [INFO] [stdout] 381 | let mut storage = self.storage.lock().await; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/governance-kernel/src/lib.rs:428:13 [INFO] [stdout] | [INFO] [stdout] 428 | let mut storage = self.storage.lock().await; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/governance-kernel/src/lib.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | let mut storage = self.storage.lock().await; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IdentityId` [INFO] [stdout] --> crates/core-vm/tests/execution_tests.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use icn_identity::{IdentityId, IdentityScope, KeyPair}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vm_context` [INFO] [stdout] --> crates/core-vm/tests/execution_tests.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let vm_context = VMContext::new(identity_ctx.clone(), authorizations); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_vm_context` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TEST_WASM_BYTES` is never used [INFO] [stdout] --> crates/core-vm/tests/execution_tests.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const TEST_WASM_BYTES: &[u8] = include_bytes!("fixtures/test_module.wasm"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/governance-kernel/src/lib.rs:846:13 [INFO] [stdout] | [INFO] [stdout] 846 | let mut storage = self.storage.lock().await; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/governance-kernel/src/lib.rs:317:13 [INFO] [stdout] | [INFO] [stdout] 317 | let mut storage = self.storage.lock().await; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/governance-kernel/src/lib.rs:381:13 [INFO] [stdout] | [INFO] [stdout] 381 | let mut storage = self.storage.lock().await; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/governance-kernel/src/lib.rs:428:13 [INFO] [stdout] | [INFO] [stdout] 428 | let mut storage = self.storage.lock().await; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/governance-kernel/src/lib.rs:475:13 [INFO] [stdout] | [INFO] [stdout] 475 | let mut storage = self.storage.lock().await; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/governance-kernel/src/lib.rs:846:13 [INFO] [stdout] | [INFO] [stdout] 846 | let mut storage = self.storage.lock().await; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/governance-kernel/src/lib.rs:896:13 [INFO] [stdout] | [INFO] [stdout] 896 | let mut storage = self.storage.lock().await; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling icn-federation v0.1.0 (/opt/rustwide/workdir/crates/federation) [INFO] [stderr] Compiling icn-ccl-compiler v0.1.0 (/opt/rustwide/workdir/crates/ccl-compiler) [INFO] [stderr] Compiling icn-agoranet-integration v0.1.0 (/opt/rustwide/workdir/crates/agoranet-integration) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/governance-kernel/src/lib.rs:896:13 [INFO] [stdout] | [INFO] [stdout] 896 | let mut storage = self.storage.lock().await; [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> crates/federation/src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `async_trait::async_trait` [INFO] [stdout] --> crates/federation/src/lib.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use async_trait::async_trait; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mdns` [INFO] [stdout] --> crates/federation/src/lib.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | gossipsub, identity, kad, mdns, noise, request_response, tcp, yamux, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `QuorumConfig` and `Signature` [INFO] [stdout] --> crates/federation/src/lib.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | QuorumProof, QuorumConfig, Signature [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror::Error` [INFO] [stdout] --> crates/federation/src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cid::Cid` [INFO] [stdout] --> crates/federation/src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use cid::Cid; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> crates/federation/src/roles.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> crates/federation/src/replication.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> crates/federation/src/replication.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::lock::Mutex` [INFO] [stdout] --> crates/federation/src/replication.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use futures::lock::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StorageBackend` [INFO] [stdout] --> crates/federation/src/replication.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | use icn_storage::{StorageBackend, ReplicationPolicy}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> crates/federation/src/replication.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use tracing::{debug, info, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::FederationError` [INFO] [stdout] --> crates/federation/src/replication.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::FederationError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FederationManager` [INFO] [stdout] --> crates/federation/src/debug_api.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | use crate::{FederationManager, create_sha256_multihash}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IdentityId` [INFO] [stdout] --> crates/ccl-compiler/src/tests/integration_test.rs:5:61 [INFO] [stdout] | [INFO] [stdout] 5 | use icn_identity::{IdentityScope, generate_did_keypair, IdentityId}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icn_storage::AsyncInMemoryStorage` [INFO] [stdout] --> crates/ccl-compiler/src/tests/integration_test.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use icn_storage::AsyncInMemoryStorage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SystemTime` and `UNIX_EPOCH` [INFO] [stdout] --> crates/ccl-compiler/src/tests/integration_test.rs:10:21 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::{SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> crates/ccl-compiler/src/tests/integration_test.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MetadataInfo` [INFO] [stdout] --> crates/ccl-compiler/src/tests/unit_tests.rs:1:46 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{CclCompiler, CompilationOptions, MetadataInfo}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> crates/ccl-compiler/src/tests/unit_tests.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> crates/ccl-compiler/src/tests/unit_tests.rs:254:9 [INFO] [stdout] | [INFO] [stdout] 254 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> crates/ccl-compiler/src/tests/unit_tests.rs:317:9 [INFO] [stdout] | [INFO] [stdout] 317 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> crates/ccl-compiler/src/tests/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::PathBuf; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kernel_config` [INFO] [stdout] --> crates/federation/src/roles.rs:376:26 [INFO] [stdout] | [INFO] [stdout] 376 | } else if let Ok(kernel_config) = serde_json::from_slice::(&bytes) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kernel_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> crates/ccl-compiler/src/tests/integration_test.rs:170:13 [INFO] [stdout] | [INFO] [stdout] 170 | let result = match execute_wasm(&wasm_bytes, "main", &[], vm_context) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/federation/src/lib.rs:698:37 [INFO] [stdout] | [INFO] [stdout] 698 | ... id, [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> crates/federation/src/lib.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mdns` [INFO] [stdout] --> crates/federation/src/lib.rs:25:31 [INFO] [stdout] | [INFO] [stdout] 25 | gossipsub, identity, kad, mdns, noise, request_response, tcp, yamux, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `QuorumConfig` and `Signature` [INFO] [stdout] --> crates/federation/src/lib.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | QuorumProof, QuorumConfig, Signature [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `thiserror::Error` [INFO] [stdout] --> crates/federation/src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use thiserror::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> crates/federation/src/roles.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt` [INFO] [stdout] --> crates/federation/src/replication.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::fmt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> crates/federation/src/replication.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::lock::Mutex` [INFO] [stdout] --> crates/federation/src/replication.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use futures::lock::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StorageBackend` [INFO] [stdout] --> crates/federation/src/replication.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | use icn_storage::{StorageBackend, ReplicationPolicy}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> crates/federation/src/replication.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use tracing::{debug, info, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::FederationError` [INFO] [stdout] --> crates/federation/src/replication.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::FederationError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FederationManager` [INFO] [stdout] --> crates/federation/src/debug_api.rs:246:17 [INFO] [stdout] | [INFO] [stdout] 246 | use crate::{FederationManager, create_sha256_multihash}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `QueryId` [INFO] [stdout] --> crates/federation/src/lib.rs:1265:23 [INFO] [stdout] | [INFO] [stdout] 1265 | use libp2p::kad::{QueryId, RecordKey}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/federation/src/lib.rs:807:37 [INFO] [stdout] | [INFO] [stdout] 807 | ... let mut storage_guard = storage.lock().await; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `kernel_config` [INFO] [stdout] --> crates/federation/src/roles.rs:376:26 [INFO] [stdout] | [INFO] [stdout] 376 | } else if let Ok(kernel_config) = serde_json::from_slice::(&bytes) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_kernel_config` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MultihashDigest` [INFO] [stdout] --> crates/federation/src/lib.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | use multihash::{self, MultihashDigest}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DistributedStorage` [INFO] [stdout] --> crates/federation/src/lib.rs:34:57 [INFO] [stdout] | [INFO] [stdout] 34 | use icn_storage::{FederationCommand, ReplicationPolicy, DistributedStorage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> crates/federation/src/roles.rs:393:12 [INFO] [stdout] | [INFO] [stdout] 393 | Ok(config) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> crates/federation/src/lib.rs:698:37 [INFO] [stdout] | [INFO] [stdout] 698 | ... id, [INFO] [stdout] | ^^ help: try ignoring the field: `id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/federation/src/lib.rs:807:37 [INFO] [stdout] | [INFO] [stdout] 807 | ... let mut storage_guard = storage.lock().await; [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DummyDebugApi` is never constructed [INFO] [stdout] --> crates/federation/src/lib.rs:523:8 [INFO] [stdout] | [INFO] [stdout] 523 | struct DummyDebugApi; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_config_cid` is never used [INFO] [stdout] --> crates/federation/src/roles.rs:420:4 [INFO] [stdout] | [INFO] [stdout] 420 | fn get_config_cid(context_id: &str) -> Cid { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MultihashDigest` [INFO] [stdout] --> crates/federation/src/lib.rs:35:23 [INFO] [stdout] | [INFO] [stdout] 35 | use multihash::{self, MultihashDigest}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DistributedStorage` [INFO] [stdout] --> crates/federation/src/lib.rs:34:57 [INFO] [stdout] | [INFO] [stdout] 34 | use icn_storage::{FederationCommand, ReplicationPolicy, DistributedStorage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> crates/federation/src/roles.rs:393:12 [INFO] [stdout] | [INFO] [stdout] 393 | Ok(config) => { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling icn-execution-tools v0.1.0 (/opt/rustwide/workdir/crates/execution-tools) [INFO] [stdout] warning: struct `DummyDebugApi` is never constructed [INFO] [stdout] --> crates/federation/src/lib.rs:523:8 [INFO] [stdout] | [INFO] [stdout] 523 | struct DummyDebugApi; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_config_cid` is never used [INFO] [stdout] --> crates/federation/src/roles.rs:420:4 [INFO] [stdout] | [INFO] [stdout] 420 | fn get_config_cid(context_id: &str) -> Cid { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fail_pin_blob` is never read [INFO] [stdout] --> crates/federation/src/lib.rs:1318:9 [INFO] [stdout] | [INFO] [stdout] 1315 | struct MockErrorStorage { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 1318 | fail_pin_blob: Arc>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MockErrorStorage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_fail_pin_blob` is never used [INFO] [stdout] --> crates/federation/src/lib.rs:1334:18 [INFO] [stdout] | [INFO] [stdout] 1321 | impl MockErrorStorage { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1334 | async fn set_fail_pin_blob(&self, fail: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proposal_cid` [INFO] [stdout] --> crates/execution-tools/src/lib.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | proposal_cid: cid::Cid, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal_cid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller_scope` [INFO] [stdout] --> crates/execution-tools/src/lib.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | caller_scope: icn_identity::IdentityScope [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_node` and `end_node` are never read [INFO] [stdout] --> crates/execution-tools/src/lib.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct ReplayHelper { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 76 | start_node: DagNode, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 77 | end_node: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling icn-covm v0.1.0 (/opt/rustwide/workdir/cli) [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> cli/covm.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> cli/covm.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> cli/covm.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> cli/covm.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> cli/covm.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `multihash::Code` [INFO] [stdout] --> cli/covm.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use multihash::Code; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IdentityId` and `IdentityScope` [INFO] [stdout] --> cli/covm.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | use icn_identity::{IdentityId, IdentityScope, KeyPair}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icn_core_vm::IdentityContext` [INFO] [stdout] --> cli/covm.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use icn_core_vm::IdentityContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icn_dag::DagNode` [INFO] [stdout] --> cli/covm.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use icn_dag::DagNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GuardianMandate` and `signing` [INFO] [stdout] --> cli/covm.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | use icn_federation::{GuardianMandate, signing}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cid::Cid` [INFO] [stdout] --> cli/covm.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use cid::Cid; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ResourceAuthorization` and `ResourceType` [INFO] [stdout] --> cli/covm.rs:412:34 [INFO] [stdout] | [INFO] [stdout] 412 | use icn_core_vm::{VMContext, ResourceType, ResourceAuthorization}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IdentityId` [INFO] [stdout] --> cli/covm.rs:817:39 [INFO] [stdout] | [INFO] [stdout] 817 | use icn_identity::{IdentityScope, IdentityId, generate_did_keypair}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> cli/covm.rs:818:27 [INFO] [stdout] | [INFO] [stdout] 818 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyPair` [INFO] [stdout] --> cli/covm.rs:922:51 [INFO] [stdout] | [INFO] [stdout] 922 | use icn_identity::{IdentityScope, IdentityId, KeyPair}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GuardianMandate` [INFO] [stdout] --> cli/covm.rs:923:26 [INFO] [stdout] | [INFO] [stdout] 923 | use icn_federation::{GuardianMandate, signing::MandateBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icn_dag::DagNode` [INFO] [stdout] --> cli/covm.rs:924:9 [INFO] [stdout] | [INFO] [stdout] 924 | use icn_dag::DagNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> cli/covm.rs:925:21 [INFO] [stdout] | [INFO] [stdout] 925 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IdentityId`, `IdentityScope`, and `Signature` [INFO] [stdout] --> cli/covm.rs:1047:24 [INFO] [stdout] | [INFO] [stdout] 1047 | use icn_identity::{IdentityId, IdentityScope, Signature}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icn_federation::GuardianMandate` [INFO] [stdout] --> cli/covm.rs:1048:9 [INFO] [stdout] | [INFO] [stdout] 1048 | use icn_federation::GuardianMandate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DagNodeMetadata` and `DagNode` [INFO] [stdout] --> cli/covm.rs:1049:19 [INFO] [stdout] | [INFO] [stdout] 1049 | use icn_dag::{DagNode, DagNodeMetadata}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StorageBackend` [INFO] [stdout] --> cli/covm.rs:1050:45 [INFO] [stdout] | [INFO] [stdout] 1050 | use icn_storage::{AsyncInMemoryStorage, StorageBackend}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyPair` [INFO] [stdout] --> cli/covm.rs:1122:36 [INFO] [stdout] | [INFO] [stdout] 1122 | use icn_identity::{IdentityId, KeyPair, VerifiableCredential, sign_credential}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> cli/covm.rs:1124:18 [INFO] [stdout] | [INFO] [stdout] 1124 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> cli/covm.rs:1216:27 [INFO] [stdout] | [INFO] [stdout] 1216 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `execution_id` [INFO] [stdout] --> cli/covm.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | let execution_id = format!("exec-{}", timestamp); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execution_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proposal_cid` [INFO] [stdout] --> cli/covm.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | let proposal_cid = if let Some(id_str) = proposal_id { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal_cid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> cli/covm.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | let storage: Arc> = [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ccl_content` [INFO] [stdout] --> cli/covm.rs:282:37 [INFO] [stdout] | [INFO] [stdout] 282 | ... pub fn interpret_ccl(&self, ccl_content: &str, scope: IdentityScope) -> anyhow::Result cli/covm.rs:550:5 [INFO] [stdout] | [INFO] [stdout] 550 | config: &icn_governance_kernel::config::GovernanceConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller_did` [INFO] [stdout] --> cli/covm.rs:551:5 [INFO] [stdout] | [INFO] [stdout] 551 | caller_did: &str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_did` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> cli/covm.rs:552:5 [INFO] [stdout] | [INFO] [stdout] 552 | scope: icn_identity::IdentityScope, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> cli/covm.rs:553:5 [INFO] [stdout] | [INFO] [stdout] 553 | timestamp: i64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_compile_command` is never used [INFO] [stdout] --> cli/covm.rs:255:10 [INFO] [stdout] | [INFO] [stdout] 255 | async fn handle_compile_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `interpret_ccl` are never used [INFO] [stdout] --> cli/covm.rs:278:16 [INFO] [stdout] | [INFO] [stdout] 277 | impl CclInterpreter { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 278 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub fn interpret_ccl(&self, ccl_content: &str, scope: IdentityScope) -> anyhow::Result cli/covm.rs:401:10 [INFO] [stdout] | [INFO] [stdout] 401 | async fn handle_execute_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `interpret_ccl` are never used [INFO] [stdout] --> cli/covm.rs:419:16 [INFO] [stdout] | [INFO] [stdout] 418 | impl CclInterpreter { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 419 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 423 | pub fn interpret_ccl(&self, _ccl_content: &str, scope: IdentityScope) -> anyhow::Result cli/covm.rs:655:4 [INFO] [stdout] | [INFO] [stdout] 655 | fn create_identity_context(did: &str) -> std::sync::Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_in_memory_storage` is never used [INFO] [stdout] --> cli/covm.rs:667:4 [INFO] [stdout] | [INFO] [stdout] 667 | fn create_in_memory_storage() -> std::sync::Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_export_vc_command` is never used [INFO] [stdout] --> cli/covm.rs:676:10 [INFO] [stdout] | [INFO] [stdout] 676 | async fn handle_export_vc_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_identity_command` is never used [INFO] [stdout] --> cli/covm.rs:812:10 [INFO] [stdout] | [INFO] [stdout] 812 | async fn handle_identity_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_issue_mandate_command` is never used [INFO] [stdout] --> cli/covm.rs:912:10 [INFO] [stdout] | [INFO] [stdout] 912 | async fn handle_issue_mandate_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_verify_mandate_command` is never used [INFO] [stdout] --> cli/covm.rs:1042:10 [INFO] [stdout] | [INFO] [stdout] 1042 | async fn handle_verify_mandate_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_appeal_mandate_command` is never used [INFO] [stdout] --> cli/covm.rs:1115:10 [INFO] [stdout] | [INFO] [stdout] 1115 | async fn handle_appeal_mandate_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_keypair_for_did` is never used [INFO] [stdout] --> cli/covm.rs:1214:4 [INFO] [stdout] | [INFO] [stdout] 1214 | fn load_keypair_for_did(did: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_mock_dag_node` is never used [INFO] [stdout] --> cli/covm.rs:1277:4 [INFO] [stdout] | [INFO] [stdout] 1277 | fn create_mock_dag_node(action: &str, reason: &str, scope_id: &str) -> icn_dag::DagNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> cli/covm.rs:1310:10 [INFO] [stdout] | [INFO] [stdout] 1310 | async fn main() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `icn_storage::StorageBackend::put`: use put_blob or put_kv instead [INFO] [stdout] --> crates/federation/tests/mandate_tests.rs:363:20 [INFO] [stdout] | [INFO] [stdout] 363 | store_lock.put(&config_bytes).await.unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `icn_storage::StorageBackend::put`: use put_blob or put_kv instead [INFO] [stdout] --> crates/federation/tests/mandate_tests.rs:436:39 [INFO] [stdout] | [INFO] [stdout] 436 | let _content_cid = store_lock.put(&config_bytes).await.unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `icn_storage::StorageBackend::put`: use put_blob or put_kv instead [INFO] [stdout] --> crates/federation/tests/mandate_tests.rs:513:20 [INFO] [stdout] | [INFO] [stdout] 513 | store_lock.put(&config_bytes).await.unwrap(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> cli/covm.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> cli/covm.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> cli/covm.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> cli/covm.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> cli/covm.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `multihash::Code` [INFO] [stdout] --> cli/covm.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use multihash::Code; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IdentityId` and `IdentityScope` [INFO] [stdout] --> cli/covm.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | use icn_identity::{IdentityId, IdentityScope, KeyPair}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icn_core_vm::IdentityContext` [INFO] [stdout] --> cli/covm.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use icn_core_vm::IdentityContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icn_dag::DagNode` [INFO] [stdout] --> cli/covm.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use icn_dag::DagNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GuardianMandate` and `signing` [INFO] [stdout] --> cli/covm.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | use icn_federation::{GuardianMandate, signing}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cid::Cid` [INFO] [stdout] --> cli/covm.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use cid::Cid; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ResourceAuthorization` and `ResourceType` [INFO] [stdout] --> cli/covm.rs:412:34 [INFO] [stdout] | [INFO] [stdout] 412 | use icn_core_vm::{VMContext, ResourceType, ResourceAuthorization}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IdentityId` [INFO] [stdout] --> cli/covm.rs:817:39 [INFO] [stdout] | [INFO] [stdout] 817 | use icn_identity::{IdentityScope, IdentityId, generate_did_keypair}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> cli/covm.rs:818:27 [INFO] [stdout] | [INFO] [stdout] 818 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyPair` [INFO] [stdout] --> cli/covm.rs:922:51 [INFO] [stdout] | [INFO] [stdout] 922 | use icn_identity::{IdentityScope, IdentityId, KeyPair}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GuardianMandate` [INFO] [stdout] --> cli/covm.rs:923:26 [INFO] [stdout] | [INFO] [stdout] 923 | use icn_federation::{GuardianMandate, signing::MandateBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icn_dag::DagNode` [INFO] [stdout] --> cli/covm.rs:924:9 [INFO] [stdout] | [INFO] [stdout] 924 | use icn_dag::DagNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> cli/covm.rs:925:21 [INFO] [stdout] | [INFO] [stdout] 925 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IdentityId`, `IdentityScope`, and `Signature` [INFO] [stdout] --> cli/covm.rs:1047:24 [INFO] [stdout] | [INFO] [stdout] 1047 | use icn_identity::{IdentityId, IdentityScope, Signature}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icn_federation::GuardianMandate` [INFO] [stdout] --> cli/covm.rs:1048:9 [INFO] [stdout] | [INFO] [stdout] 1048 | use icn_federation::GuardianMandate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DagNodeMetadata` and `DagNode` [INFO] [stdout] --> cli/covm.rs:1049:19 [INFO] [stdout] | [INFO] [stdout] 1049 | use icn_dag::{DagNode, DagNodeMetadata}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StorageBackend` [INFO] [stdout] --> cli/covm.rs:1050:45 [INFO] [stdout] | [INFO] [stdout] 1050 | use icn_storage::{AsyncInMemoryStorage, StorageBackend}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyPair` [INFO] [stdout] --> cli/covm.rs:1122:36 [INFO] [stdout] | [INFO] [stdout] 1122 | use icn_identity::{IdentityId, KeyPair, VerifiableCredential, sign_credential}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> cli/covm.rs:1124:18 [INFO] [stdout] | [INFO] [stdout] 1124 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> cli/covm.rs:1216:27 [INFO] [stdout] | [INFO] [stdout] 1216 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `key_cid` [INFO] [stdout] --> crates/federation/tests/mandate_tests.rs:432:13 [INFO] [stdout] | [INFO] [stdout] 432 | let key_cid = roles::config_key_for_scope(scope_id.0.as_str()); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_cid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> cli/covm.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> cli/covm.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> cli/covm.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> cli/covm.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> cli/covm.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `multihash::Code` [INFO] [stdout] --> cli/covm.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use multihash::Code; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IdentityId` and `IdentityScope` [INFO] [stdout] --> cli/covm.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | use icn_identity::{IdentityId, IdentityScope, KeyPair}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icn_core_vm::IdentityContext` [INFO] [stdout] --> cli/covm.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use icn_core_vm::IdentityContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icn_dag::DagNode` [INFO] [stdout] --> cli/covm.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use icn_dag::DagNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GuardianMandate` and `signing` [INFO] [stdout] --> cli/covm.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | use icn_federation::{GuardianMandate, signing}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cid::Cid` [INFO] [stdout] --> cli/covm.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use cid::Cid; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ResourceAuthorization` and `ResourceType` [INFO] [stdout] --> cli/covm.rs:412:34 [INFO] [stdout] | [INFO] [stdout] 412 | use icn_core_vm::{VMContext, ResourceType, ResourceAuthorization}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IdentityId` [INFO] [stdout] --> cli/covm.rs:817:39 [INFO] [stdout] | [INFO] [stdout] 817 | use icn_identity::{IdentityScope, IdentityId, generate_did_keypair}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> cli/covm.rs:818:27 [INFO] [stdout] | [INFO] [stdout] 818 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyPair` [INFO] [stdout] --> cli/covm.rs:922:51 [INFO] [stdout] | [INFO] [stdout] 922 | use icn_identity::{IdentityScope, IdentityId, KeyPair}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GuardianMandate` [INFO] [stdout] --> cli/covm.rs:923:26 [INFO] [stdout] | [INFO] [stdout] 923 | use icn_federation::{GuardianMandate, signing::MandateBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icn_dag::DagNode` [INFO] [stdout] --> cli/covm.rs:924:9 [INFO] [stdout] | [INFO] [stdout] 924 | use icn_dag::DagNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> cli/covm.rs:925:21 [INFO] [stdout] | [INFO] [stdout] 925 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IdentityId`, `IdentityScope`, and `Signature` [INFO] [stdout] --> cli/covm.rs:1047:24 [INFO] [stdout] | [INFO] [stdout] 1047 | use icn_identity::{IdentityId, IdentityScope, Signature}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icn_federation::GuardianMandate` [INFO] [stdout] --> cli/covm.rs:1048:9 [INFO] [stdout] | [INFO] [stdout] 1048 | use icn_federation::GuardianMandate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DagNodeMetadata` and `DagNode` [INFO] [stdout] --> cli/covm.rs:1049:19 [INFO] [stdout] | [INFO] [stdout] 1049 | use icn_dag::{DagNode, DagNodeMetadata}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StorageBackend` [INFO] [stdout] --> cli/covm.rs:1050:45 [INFO] [stdout] | [INFO] [stdout] 1050 | use icn_storage::{AsyncInMemoryStorage, StorageBackend}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyPair` [INFO] [stdout] --> cli/covm.rs:1122:36 [INFO] [stdout] | [INFO] [stdout] 1122 | use icn_identity::{IdentityId, KeyPair, VerifiableCredential, sign_credential}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> cli/covm.rs:1124:18 [INFO] [stdout] | [INFO] [stdout] 1124 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> cli/covm.rs:1216:27 [INFO] [stdout] | [INFO] [stdout] 1216 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proposal_cid` [INFO] [stdout] --> crates/execution-tools/src/lib.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | proposal_cid: cid::Cid, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal_cid` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller_scope` [INFO] [stdout] --> crates/execution-tools/src/lib.rs:287:5 [INFO] [stdout] | [INFO] [stdout] 287 | caller_scope: icn_identity::IdentityScope [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start_node` and `end_node` are never read [INFO] [stdout] --> crates/execution-tools/src/lib.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 75 | pub struct ReplayHelper { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 76 | start_node: DagNode, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 77 | end_node: Option, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `execution_id` [INFO] [stdout] --> cli/covm.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | let execution_id = format!("exec-{}", timestamp); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execution_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proposal_cid` [INFO] [stdout] --> cli/covm.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | let proposal_cid = if let Some(id_str) = proposal_id { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal_cid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `execution_id` [INFO] [stdout] --> cli/covm.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | let execution_id = format!("exec-{}", timestamp); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execution_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proposal_cid` [INFO] [stdout] --> cli/covm.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | let proposal_cid = if let Some(id_str) = proposal_id { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal_cid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/federation/tests/debug_api_tests.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let mut guard = storage.lock().await; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> crates/federation/tests/debug_api_tests.rs:117:13 [INFO] [stdout] | [INFO] [stdout] 117 | let mut guard = storage.lock().await; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> cli/covm.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | let storage: Arc> = [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> cli/covm.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | let storage: Arc> = [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ccl_content` [INFO] [stdout] --> cli/covm.rs:282:37 [INFO] [stdout] | [INFO] [stdout] 282 | ... pub fn interpret_ccl(&self, ccl_content: &str, scope: IdentityScope) -> anyhow::Result cli/covm.rs:550:5 [INFO] [stdout] | [INFO] [stdout] 550 | config: &icn_governance_kernel::config::GovernanceConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller_did` [INFO] [stdout] --> cli/covm.rs:551:5 [INFO] [stdout] | [INFO] [stdout] 551 | caller_did: &str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_did` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> cli/covm.rs:552:5 [INFO] [stdout] | [INFO] [stdout] 552 | scope: icn_identity::IdentityScope, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> cli/covm.rs:553:5 [INFO] [stdout] | [INFO] [stdout] 553 | timestamp: i64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_in_memory_storage` is never used [INFO] [stdout] --> cli/covm.rs:667:4 [INFO] [stdout] | [INFO] [stdout] 667 | fn create_in_memory_storage() -> std::sync::Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ccl_content` [INFO] [stdout] --> cli/covm.rs:282:37 [INFO] [stdout] | [INFO] [stdout] 282 | ... pub fn interpret_ccl(&self, ccl_content: &str, scope: IdentityScope) -> anyhow::Result cli/covm.rs:550:5 [INFO] [stdout] | [INFO] [stdout] 550 | config: &icn_governance_kernel::config::GovernanceConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller_did` [INFO] [stdout] --> cli/covm.rs:551:5 [INFO] [stdout] | [INFO] [stdout] 551 | caller_did: &str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_did` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> cli/covm.rs:552:5 [INFO] [stdout] | [INFO] [stdout] 552 | scope: icn_identity::IdentityScope, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> cli/covm.rs:553:5 [INFO] [stdout] | [INFO] [stdout] 553 | timestamp: i64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_compile_command` is never used [INFO] [stdout] --> cli/covm.rs:255:10 [INFO] [stdout] | [INFO] [stdout] 255 | async fn handle_compile_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `interpret_ccl` are never used [INFO] [stdout] --> cli/covm.rs:278:16 [INFO] [stdout] | [INFO] [stdout] 277 | impl CclInterpreter { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 278 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | pub fn interpret_ccl(&self, ccl_content: &str, scope: IdentityScope) -> anyhow::Result cli/covm.rs:401:10 [INFO] [stdout] | [INFO] [stdout] 401 | async fn handle_execute_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `interpret_ccl` are never used [INFO] [stdout] --> cli/covm.rs:419:16 [INFO] [stdout] | [INFO] [stdout] 418 | impl CclInterpreter { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 419 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 423 | pub fn interpret_ccl(&self, _ccl_content: &str, scope: IdentityScope) -> anyhow::Result cli/covm.rs:655:4 [INFO] [stdout] | [INFO] [stdout] 655 | fn create_identity_context(did: &str) -> std::sync::Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_in_memory_storage` is never used [INFO] [stdout] --> cli/covm.rs:667:4 [INFO] [stdout] | [INFO] [stdout] 667 | fn create_in_memory_storage() -> std::sync::Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_export_vc_command` is never used [INFO] [stdout] --> cli/covm.rs:676:10 [INFO] [stdout] | [INFO] [stdout] 676 | async fn handle_export_vc_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_identity_command` is never used [INFO] [stdout] --> cli/covm.rs:812:10 [INFO] [stdout] | [INFO] [stdout] 812 | async fn handle_identity_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_issue_mandate_command` is never used [INFO] [stdout] --> cli/covm.rs:912:10 [INFO] [stdout] | [INFO] [stdout] 912 | async fn handle_issue_mandate_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_verify_mandate_command` is never used [INFO] [stdout] --> cli/covm.rs:1042:10 [INFO] [stdout] | [INFO] [stdout] 1042 | async fn handle_verify_mandate_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_appeal_mandate_command` is never used [INFO] [stdout] --> cli/covm.rs:1115:10 [INFO] [stdout] | [INFO] [stdout] 1115 | async fn handle_appeal_mandate_command( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_keypair_for_did` is never used [INFO] [stdout] --> cli/covm.rs:1214:4 [INFO] [stdout] | [INFO] [stdout] 1214 | fn load_keypair_for_did(did: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_mock_dag_node` is never used [INFO] [stdout] --> cli/covm.rs:1277:4 [INFO] [stdout] | [INFO] [stdout] 1277 | fn create_mock_dag_node(action: &str, reason: &str, scope_id: &str) -> icn_dag::DagNode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> cli/covm.rs:1310:10 [INFO] [stdout] | [INFO] [stdout] 1310 | async fn main() -> anyhow::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> cli/covm.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> cli/covm.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> cli/covm.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> cli/covm.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | use serde_json::{json, Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::Mutex` [INFO] [stdout] --> cli/covm.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use tokio::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `multihash::Code` [INFO] [stdout] --> cli/covm.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use multihash::Code; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IdentityId` and `IdentityScope` [INFO] [stdout] --> cli/covm.rs:26:20 [INFO] [stdout] | [INFO] [stdout] 26 | use icn_identity::{IdentityId, IdentityScope, KeyPair}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icn_core_vm::IdentityContext` [INFO] [stdout] --> cli/covm.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use icn_core_vm::IdentityContext; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icn_dag::DagNode` [INFO] [stdout] --> cli/covm.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use icn_dag::DagNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `GuardianMandate` and `signing` [INFO] [stdout] --> cli/covm.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | use icn_federation::{GuardianMandate, signing}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cid::Cid` [INFO] [stdout] --> cli/covm.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | use cid::Cid; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ResourceAuthorization` and `ResourceType` [INFO] [stdout] --> cli/covm.rs:412:34 [INFO] [stdout] | [INFO] [stdout] 412 | use icn_core_vm::{VMContext, ResourceType, ResourceAuthorization}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `IdentityId` [INFO] [stdout] --> cli/covm.rs:817:39 [INFO] [stdout] | [INFO] [stdout] 817 | use icn_identity::{IdentityScope, IdentityId, generate_did_keypair}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> cli/covm.rs:818:27 [INFO] [stdout] | [INFO] [stdout] 818 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyPair` [INFO] [stdout] --> cli/covm.rs:922:51 [INFO] [stdout] | [INFO] [stdout] 922 | use icn_identity::{IdentityScope, IdentityId, KeyPair}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GuardianMandate` [INFO] [stdout] --> cli/covm.rs:923:26 [INFO] [stdout] | [INFO] [stdout] 923 | use icn_federation::{GuardianMandate, signing::MandateBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icn_dag::DagNode` [INFO] [stdout] --> cli/covm.rs:924:9 [INFO] [stdout] | [INFO] [stdout] 924 | use icn_dag::DagNode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PathBuf` and `Path` [INFO] [stdout] --> cli/covm.rs:925:21 [INFO] [stdout] | [INFO] [stdout] 925 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `IdentityId`, `IdentityScope`, and `Signature` [INFO] [stdout] --> cli/covm.rs:1047:24 [INFO] [stdout] | [INFO] [stdout] 1047 | use icn_identity::{IdentityId, IdentityScope, Signature}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `icn_federation::GuardianMandate` [INFO] [stdout] --> cli/covm.rs:1048:9 [INFO] [stdout] | [INFO] [stdout] 1048 | use icn_federation::GuardianMandate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DagNodeMetadata` and `DagNode` [INFO] [stdout] --> cli/covm.rs:1049:19 [INFO] [stdout] | [INFO] [stdout] 1049 | use icn_dag::{DagNode, DagNodeMetadata}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `StorageBackend` [INFO] [stdout] --> cli/covm.rs:1050:45 [INFO] [stdout] | [INFO] [stdout] 1050 | use icn_storage::{AsyncInMemoryStorage, StorageBackend}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KeyPair` [INFO] [stdout] --> cli/covm.rs:1122:36 [INFO] [stdout] | [INFO] [stdout] 1122 | use icn_identity::{IdentityId, KeyPair, VerifiableCredential, sign_credential}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DateTime` [INFO] [stdout] --> cli/covm.rs:1124:18 [INFO] [stdout] | [INFO] [stdout] 1124 | use chrono::{DateTime, Utc}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> cli/covm.rs:1216:27 [INFO] [stdout] | [INFO] [stdout] 1216 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `execution_id` [INFO] [stdout] --> cli/covm.rs:476:9 [INFO] [stdout] | [INFO] [stdout] 476 | let execution_id = format!("exec-{}", timestamp); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_execution_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proposal_cid` [INFO] [stdout] --> cli/covm.rs:479:9 [INFO] [stdout] | [INFO] [stdout] 479 | let proposal_cid = if let Some(id_str) = proposal_id { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal_cid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `storage` [INFO] [stdout] --> cli/covm.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | let storage: Arc> = [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ccl_content` [INFO] [stdout] --> cli/covm.rs:282:37 [INFO] [stdout] | [INFO] [stdout] 282 | ... pub fn interpret_ccl(&self, ccl_content: &str, scope: IdentityScope) -> anyhow::Result cli/covm.rs:550:5 [INFO] [stdout] | [INFO] [stdout] 550 | config: &icn_governance_kernel::config::GovernanceConfig, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `caller_did` [INFO] [stdout] --> cli/covm.rs:551:5 [INFO] [stdout] | [INFO] [stdout] 551 | caller_did: &str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_caller_did` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scope` [INFO] [stdout] --> cli/covm.rs:552:5 [INFO] [stdout] | [INFO] [stdout] 552 | scope: icn_identity::IdentityScope, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_scope` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> cli/covm.rs:553:5 [INFO] [stdout] | [INFO] [stdout] 553 | timestamp: i64, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timestamp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_in_memory_storage` is never used [INFO] [stdout] --> cli/covm.rs:667:4 [INFO] [stdout] | [INFO] [stdout] 667 | fn create_in_memory_storage() -> std::sync::Arc> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcwbcFDC/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libicn_covm-86bc29a7d2dafb85,libicn_execution_tools-83d67e2806c991fa,libicn_ccl_compiler-cc9c4dc51cf39e5c,libjsonschema-9bcc95b859528677,libreqwest-330e8dc4e661e344,librustls_pemfile-c56e6940cc22dba4,libhyper_rustls-72012d35188f74fb,libhyper_tls-6cf7f39256377e81,libwebpki_roots-881d9833caf02a91,libtokio_native_tls-7c4fa0c214bbd17c,libtokio_rustls-daf42d82d46a68b2,libserde_urlencoded-e9a12e586b1554af,libmime-4b44681fdb2c65f7,libencoding_rs-68ad4a143c31cce1,librustls-909f283945a46bd6,libsct-c5147eeda37da11b,libwebpki-f8cc125d61cffccc,libnative_tls-598e6fe2056baecb,libopenssl_probe-cbab9b905ab83f66,libopenssl-fcb0c17f4dbfe8da,libforeign_types-0d5385f641bbbadd,libforeign_types_shared-1d09a6084921ca40,libopenssl_sys-961073e61b5e51e4,libhyper-b19763f2de24bf81,libwant-0f3c3ee377cad37f,libtry_lock-aabba5e3d97e6b57,libhttparse-47a3d40564b60e09,libh2-18109a76cd61544f,libtokio_util-3f7b2e2419b5e120,libtower_service-0d7df29686b13872,libsync_wrapper-17f912c27eab8964,libhttp_body-b0349aa4ec5f5ec0,libhttp-2e611ed54833dd0a,libiso8601-9ddcf7bf793e57e3,libnom-9374b956a60b643c,libbytecount-a93c4f57a3fddffd,libtime-4e762ca8a3ed42ee,libtime_core-45a5f0d549950b2a,libnum_conv-2c976fbf8b8f2899,libderanged-3ca21461b8e5f612,libpowerfmt-a0c185df26c26a22,libfraction-375558e081edda13,libnum-f6c3931205f55a40,libnum_iter-2283c09e34a0a2a9,libnum_rational-98193c965816b7b7,libnum_complex-c9791b3481bfe9cd,libnum_bigint-c4dfbfcc332cff8c,libnum_integer-787cd3a282855668,libfancy_regex-2d233bddfe909b5b,libbit_set-140750763f727513,libbit_vec-8e677f8183f998ef,libnum_cmp-17522be2d14919c0,libicn_federation-52f8b0233bff95d3,liblibp2p-4dd4de794f391277,liblibp2p_yamux-69c713814b637779,libyamux-b784bee0c5d48743,libyamux-69b5dd0c39dbfc67,libnohash_hasher-7182108947a1143f,liblibp2p_tcp-afb520ffb9adc133,liblibp2p_request_response-f8a4cad4dff95f82,libcbor4ii-cde08d6fab617c42,liblibp2p_noise-896d330184e2b8e2,libx25519_dalek-69df06e2e6209343,libsnow-6da08c0c9f964ccf,libring-3691ab6042dc506d,libuntrusted-3420b86308bec153,liblibp2p_mdns-41642afcd0ca3f06,libif_watch-6ea51e7b86d61bf9,librtnetlink-b0bb0f2e74234964,libnix-b6521ae0866e1e34,libnetlink_proto-c1e1105e06868719,libnetlink_sys-c9fb28de0811a275,libnetlink_packet_route-0fb6e6e1534e39ba,libbitflags-e2b4db6c651223da,libnetlink_packet_core-4789e9a5ca7cbb2c,libnetlink_packet_utils-7553198ae972fece,libhickory_proto-28226623442e7a98,libipnet-9aae67a4e846df6d,libtinyvec-01b91c7fe633ba8a,libtinyvec_macros-1c14e8980bff1229,liblibp2p_kad-545371e486af13ce,libuint-88f3172b259b42b8,libcrunchy-1b2dbeef286250ca,libhex-28742b4ca144387c,liblibp2p_identify-a651ebfc8c4066b4,libfutures_bounded-350f4447b4fc78ff,liblibp2p_gossipsub-f6ad3cab6e22a080,libhex_fmt-1332f399422be269,libquick_protobuf_codec-b5a56aa95af88e45,libasynchronous_codec-ba3c80a13751c539,libprometheus_client-680b06711b3451e9,libdtoa-2f7f9a4bdcb0dcc3,libfutures_ticker-6f5b772be6d9f2f0,liblibp2p_connection_limits-e526e62e3e100990,liblibp2p_allow_block_list-762b12c978c57856,liblibp2p_swarm-3b2da1ce0680bbcf,liblru-2a9e5bbc1d7786ef,libinstant-7ca0f2602aa54eaa,liblibp2p_core-aa1653e68990086c,libvoid-c8c62e9ffd6f4978,libmultistream_select-7cb36ba863076ccf,libfutures_timer-2b3f729e26c119bb,librw_stream_sink-0df3679818e81c35,libfnv-2d77ec4f6f971b24,libweb_time-c447c8b725da1947,libpin_project-3e351faa0dcb0d77,libmultiaddr-e0ea811860361a60,liburl-8f2f687ac63abb41,libidna-2715f4833e9544cc,libidna_adapter-e5295594f69782be,libicu_normalizer-7496a933747946ce,libicu_normalizer_data-e09fff8170d349d0,libwrite16-e3dc6fad88157cf5,libutf8_iter-0d9be7b316c2b184,libutf16_iter-d3264925eca367d9,libicu_properties-0f1319b32fceb56d,libicu_properties_data-1ec6aa7f6733282c,libicu_locid_transform-4735fdaff7025aa4,libicu_locid_transform_data-e3076faba4d91e2e,libicu_collections-b7ebe2be18d46e57,libicu_provider-810c793ff150760a,libicu_locid-ed536024ac17cb61,liblitemap-705c4d2af7d10c57,libtinystr-782f7a2b694b37bd,libzerovec-7379a788b018eb08,libwriteable-45c783735d88c2b0,libyoke-213031e2df1ba1b6,libzerofrom-cd603d602b1a238e,libform_urlencoded-a5edb5174711de82,libpercent_encoding-9bee39bbc5bd523a,libstatic_assertions-d53a9977dc6e27e5,liblibp2p_identity-aea5ca7e4d17dd57,libbs58-057a6ece2aba89a6,libhkdf-bb4d5da8a23876f6,libhmac-98abd2a2a10ad020,libquick_protobuf-5b7ec1118111d1ea,libed25519_dalek-dd74f1712d7ff585,libcurve25519_dalek-404d1519edbad298,libed25519-d9b0b6e2305b7581,libsignature-805c794fcccf36ed,libmultihash-4335fc972d7cb0a0,libunsigned_varint-294164ca3421b08e,libicn_dag-8fffb19b21293b7d,liblru-3b2f01b1a17f87fb,libclap-027135531ea8242f,libclap_builder-00bb40de6f3567cf,libstrsim-24acdad2526b95b7,libanstream-3a5850ea78bcd0e3,libanstyle_query-f0be367a66cb0b02,libis_terminal_polyfill-c14c9d53c4f80a97,libcolorchoice-dfb6701820ae12a0,libanstyle_parse-80647c630cc5391e,libutf8parse-8828ddbb63eb8bad,libclap_lex-8f7e36dc12b04c16,libanstyle-df82d657645c4a5c,libtracing_subscriber-16741f9cfa6799fd,libnu_ansi_term-c634e6ff7c6e5c03,liboverload-23726fa51fddfe0c,libthread_local-bd3a8c07edaebd9d,libsharded_slab-aefb68f44979f1e0,liblazy_static-baa1b60cad294b8b,libspin-b0f789aa2a8dd050,libtracing_log-602e7b49f9bf6e34,libicn_governance_kernel-04adee2a07d8c71c,libicn_economics-b38b0c74f53c4958,libpest-483fde8f0d241285,libucd_trie-01dd94f548235104,libthiserror-26a0a9531ce62df1,libicn_core_vm-52434b41e67b48b3,libwasmtime-7dbd39e3ae35e651,libwat-d14cad038f08e6db,libwast-3ddd61c5e3c0fad9,libwasm_encoder-e3fabd702c53eeed,libleb128fmt-2a9a82a3ed621724,libunicode_width-79cfce0a776a55d3,libwasmtime_cranelift-90b91e825b4d76d2,libwasmtime_cranelift_shared-48d4189be56dc2df,libcranelift_native-8e249408cb85cb51,libcranelift_wasm-f791d71afc9f66a8,libitertools-16aade60a8da3bd0,libcranelift_frontend-98e6164570baa83b,libcranelift_codegen-73cddc4cd2f0105d,libbumpalo-342affea1948cac0,libcranelift_codegen_shared-30a9b4cddc745e29,libregalloc2-92c254f127938a06,libslice_group_by-c92f99ee88cf59e5,libhashbrown-0f8421e816a36364,librustc_hash-17912ff924ee104f,libcranelift_control-e9fbb98208080443,libarbitrary-78f57c55fb502821,libcranelift_bforest-dd67dda1afe4b404,libpsm-706180ccda9da701,libfxprof_processed_profile-5812a3a4fa800bb6,libfxhash-6ae122e7d9b05b12,libbyteorder-1efcbe4f07366651,libdebugid-e2de3f67c8fca696,librayon-69cd648959a7d029,librayon_core-eae9644c310958e7,libcrossbeam_deque-ce08bd9aba37d973,libcrossbeam_epoch-0e344cb0f6dc787c,libcrossbeam_utils-57acb8582d3ed5fe,libeither-2af7c8622d8fa52e,libwasmtime_cache-df5a1893366342e7,libfile_per_thread_logger-9e665c11ddbc761f,libenv_logger-f2b1e9fbcdd9a102,libtermcolor-96a9ed65821a6544,libis_terminal-934b33944006b139,libhumantime-66d8836745ed0f0c,libregex-07d59f3792584a21,libregex_automata-b16ca0c62e99f813,libaho_corasick-5318fee7af990b33,libregex_syntax-13fc688ae7f36982,libtoml-ce1d3cf74b1a98ac,libzstd-f077b72697dcae7c,libzstd_safe-df2a03d6f238c12d,libzstd_sys-f0f30e507d9e7b67,libdirectories_next-8fc481fb7c0569f3,libdirs_sys_next-5f707dddfa85bd93,libwasmtime_jit-5b7e0ed3c2056ce0,libaddr2line-c1bbafa1027f4b07,libbincode-c80ee29f25660e92,libcpp_demangle-142dd08767f4820b,librustc_demangle-f257d5a904da7bce,libittapi-6801d0e8acecc7ca,libittapi_sys-bbd76c0d5160faba,libwasmtime_jit_icache_coherence-52a0a10bd3cbf35a,libwasmtime_runtime-df89168499c49c41,libmemfd-215f8b72cd2b2447,libwasmtime_fiber-adad5549eff08143,libwasmtime_asm_macros-31f8c157943a1923,libwasmtime_jit_debug-db4af0a21c6f5213,libwasm_encoder-4b6142983948e737,libleb128-ae0983f084a091ac,librustix-dd2e7c65553cd187,libbitflags-ec9e26e8384cfc98,liblinux_raw_sys-aa9c2ff6a845f8dc,libsptr-5a73e921c704f766,libwasmtime_environ-5cc0f875647404f7,libgimli-02030803d7ddb160,libfallible_iterator-1bf2f15d2c3f7b97,libstable_deref_trait-a2d30f30be7c468b,libwasmtime_types-c4816ccd9ffb7063,libwasmparser-e049fa419e64ea6b,libsemver-ff06d5ab784e9881,libindexmap-046c2feb4505f88e,libhashbrown-31373ccbcd1db386,libfoldhash-a84df4cbe8daa3b8,libequivalent-7e0e8cbe6c474a67,libcranelift_entity-919be5740f81f51a,libtarget_lexicon-564dc3de0b6d580c,libobject-2ba1094daf511dda,libindexmap-9df23f882eda91f9,libhashbrown-bb146eeec6cc9db9,libahash-fb6c1fbfd2949eb4,libcrc32fast-ec6b1847c42b19ed,libanyhow-1062fd8720902979,libicn_identity-b8017d283a0ca6a7,libbs58-9124d88ff82b5b4f,libsha2-d60e9bf64f2432fa,libopaque_debug-1c8528c9b2d49180,libdigest-ba1e1506f459eb98,libblock_buffer-30ee3d04166d5701,libserde_json-1465003d0fb670a3,libryu-0ea4bafc9bef6d8b,libitoa-6b76ec393d6a2c41,librand-ad9ed005074767aa,librand_chacha-42e231c422f889ca,libppv_lite86-f1e37e57ffef6e8c,libzerocopy-11ad661e9e1ff602,librand_core-76a7e3f8f94d6298,libchrono-d128c5bc6096a090,libiana_time_zone-693b81a5c0b46492,libnum_traits-f55a4e30e921a9ef,libbase64-64299f9d815d057c,libicn_storage-288d4a9e7472250b,libmultihash-5b21e4a7d5de55ef,libuuid-dc34d125f5e98a9a,libgetrandom-2b82d7af9c3d6a70,libtracing-bb2cbfabd2dd7feb,liblog-b5fdc9487e4a6ada,libvalue_bag-e56b1fc7f9ce58e4,libtracing_core-1a2ca7348b8c761e,libtokio-8ed8641258394260,libsignal_hook_registry-51dcf58761736553,libsocket2-44553feea8a99840,libbytes-c0b0f3a86e897b5e,libmio-f706864ff7ab8bf5,libparking_lot-9b35e32624aef546,libparking_lot_core-21782655caea5318,libsmallvec-b4c456a11732ad59,liblock_api-65308b8547acc2a4,libscopeguard-e80a2b0b1f686274,libhashbrown-8e8569c0c40718c8,libahash-feb6fafbc1d25d00,libgetrandom-e72c6228686c299b,libonce_cell-0ba6aecba7086d38,libzerocopy-f2bcfdbe4f2d40f5,liballocator_api2-3bc2480ae44878f3,libfutures-d52e332d07917b4f,libfutures_executor-ba189cb6f3dcec85,libnum_cpus-917f3402f2477e3b,liblibc-82ceef6de72d31f7,libfutures_util-06623f7ebb43213a,libmemchr-3ffe5f7a52883367,libfutures_io-972ebb79349338ae,libslab-b066ee2c679b47fd,libfutures_channel-f26d4826b597103e,libpin_project_lite-bedc6e0acd72ff2a,libfutures_sink-be8442ee548d90f9,libfutures_task-19b3aba2be9e7ae8,libpin_utils-9a5791cba021167a,libfutures_core-fc6bb1738f00fc87,libcid-1448636c5ec9f2dc,libserde_bytes-7046a23cbb0d1728,libmultihash-5030bb19eb6b120f,libsha3-a996b0e0bf33f8a7,libkeccak-42ca8630c7170c4b,libsha2-9ca5cf8be9ef5502,libcpufeatures-471354fefbcaf2d8,libblake3-b5bd5347825666a0,libcfg_if-33ef6c02a07f9fec,libblake2s_simd-b419a2050a414026,libblake2b_simd-d6ef53284f12226d,libconstant_time_eq-7540ab86f53c975b,libarrayvec-41dcfe80309d7422,libarrayref-e2c56de32f019e08,libdigest-d4c69413007c3f1a,libsubtle-6ff5d44cdfa0bfdf,libconst_oid-5d63b50f42b847e9,libblock_buffer-980119a208aa8c2a,libcrypto_common-f2b3c7baaad730d7,libgeneric_array-bbf46a21d3ed76b7,libtypenum-b636c2b461885073,libzeroize-b3252a9b9e3a52ca,libserde_big_array-2852e69220462692,libunsigned_varint-61fd2c5798fca72e,libmultibase-1740ec6b3f9c0924,libbase_x-981b5110966fade8,libdata_encoding_macro-baf3518c786b8b9b,libdata_encoding-6d465a39edfa29f6,libthiserror-53f7fa790f55efcb,libserde-abb5d71a85197b7b}.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" "-lssl" "-lcrypto" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcwbcFDC/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/blake3-46b320e061c6efd3/out" "-L" "/opt/rustwide/target/debug/build/clear_on_drop-421117b2896e0298/out" "-L" "/opt/rustwide/target/debug/build/ring-ba360e8549b3e817/out" "-L" "/opt/rustwide/target/debug/build/psm-a5cff8ec9425aec4/out" "-L" "/opt/rustwide/target/debug/build/zstd-sys-402df600ee6962bc/out" "-L" "/opt/rustwide/target/debug/build/ittapi-sys-48417518f3eb4803/out" "-L" "/opt/rustwide/target/debug/build/wasmtime-runtime-b0b4a3467a3ab258/out" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/test_authorization_derivation-8291305b166c9815" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 9 [Killed] [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `icn-covm` (test "test_authorization_derivation") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "bdfbeab6ed94b00557a17e39a689486feffe75b74a4fe17884873190ee8321b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdfbeab6ed94b00557a17e39a689486feffe75b74a4fe17884873190ee8321b6", kill_on_drop: false }` [INFO] [stdout] bdfbeab6ed94b00557a17e39a689486feffe75b74a4fe17884873190ee8321b6