[INFO] cloning repository https://github.com/dugrema/millegrilles_maitredescles [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dugrema/millegrilles_maitredescles" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdugrema%2Fmillegrilles_maitredescles", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdugrema%2Fmillegrilles_maitredescles'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4473640b7b8da8d310f699ad0ab1768c45309bd3 [INFO] checking dugrema/millegrilles_maitredescles against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdugrema%2Fmillegrilles_maitredescles" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dugrema/millegrilles_maitredescles on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dugrema/millegrilles_maitredescles [INFO] finished tweaking git repo https://github.com/dugrema/millegrilles_maitredescles [INFO] tweaked toml for git repo https://github.com/dugrema/millegrilles_maitredescles written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/dugrema/millegrilles_maitredescles 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/dugrema/millegrilles_common_rust.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/dugrema/millegrilles_cryptographie.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-io v0.1.13 [INFO] [stderr] Downloaded sqlite v0.30.5 [INFO] [stderr] Downloaded executor-trait v2.1.0 [INFO] [stderr] Downloaded asn1-rs-impl v0.2.0 [INFO] [stderr] Downloaded pinky-swear v6.2.0 [INFO] [stderr] Downloaded ct-codecs v1.1.1 [INFO] [stderr] Downloaded tcp-stream v0.28.0 [INFO] [stderr] Downloaded binstring v0.1.1 [INFO] [stderr] Downloaded data-encoding-macro v0.1.15 [INFO] [stderr] Downloaded multicodec v0.1.0 [INFO] [stderr] Downloaded serde-helpers v0.1.0 [INFO] [stderr] Downloaded rustc_version_runtime v0.2.1 [INFO] [stderr] Downloaded base64-url v2.0.2 [INFO] [stderr] Downloaded salsa20 v0.10.2 [INFO] [stderr] Downloaded data-encoding-macro-internal v0.1.13 [INFO] [stderr] Downloaded primeorder v0.13.6 [INFO] [stderr] Downloaded ed25519-compact v2.1.1 [INFO] [stderr] Downloaded hmac-sha256 v1.1.7 [INFO] [stderr] Downloaded ff v0.13.0 [INFO] [stderr] Downloaded p256 v0.13.2 [INFO] [stderr] Downloaded async-tar v0.4.2 [INFO] [stderr] Downloaded k256 v0.13.3 [INFO] [stderr] Downloaded async-compression v0.4.9 [INFO] [stderr] Downloaded wasix v0.12.21 [INFO] [stderr] Downloaded portable-atomic v1.6.0 [INFO] [stderr] Downloaded zerocopy v0.8.0-alpha.6 [INFO] [stderr] Downloaded h2 v0.4.4 [INFO] [stderr] Downloaded aws-lc-rs v1.7.1 [INFO] [stderr] Downloaded p384 v0.13.0 [INFO] [stderr] Downloaded redis v0.25.3 [INFO] [stderr] Downloaded rustls-webpki v0.102.3 [INFO] [stderr] Downloaded cms v0.2.3 [INFO] [stderr] Downloaded bson v2.10.0 [INFO] [stderr] Downloaded lapin v2.3.4 [INFO] [stderr] Downloaded futures v0.1.31 [INFO] [stderr] Downloaded serde_with v1.14.0 [INFO] [stderr] Downloaded rustls v0.23.5 [INFO] [stderr] Downloaded x509-cert v0.2.5 [INFO] [stderr] Downloaded rand v0.9.0-alpha.1 [INFO] [stderr] Downloaded heapless v0.8.0 [INFO] [stderr] Downloaded heapless v0.7.17 [INFO] [stderr] Downloaded polling v3.7.0 [INFO] [stderr] Downloaded asn1-rs v0.6.1 [INFO] [stderr] Downloaded fiat-crypto v0.2.8 [INFO] [stderr] Downloaded x509-parser v0.16.0 [INFO] [stderr] Downloaded dryoc v0.5.3 [INFO] [stderr] Downloaded rsa v0.7.2 [INFO] [stderr] Downloaded des v0.8.1 [INFO] [stderr] Downloaded pkcs12 v0.1.0 [INFO] [stderr] Downloaded prettyplease v0.2.19 [INFO] [stderr] Downloaded finl_unicode v1.2.0 [INFO] [stderr] Downloaded parking_lot v0.12.2 [INFO] [stderr] Downloaded der-parser v9.0.0 [INFO] [stderr] Downloaded deflate64 v0.1.8 [INFO] [stderr] Downloaded filetime v0.2.23 [INFO] [stderr] Downloaded xattr v0.2.3 [INFO] [stderr] Downloaded jwt-simple v0.11.9 [INFO] [stderr] Downloaded zerocopy-derive v0.8.0-alpha.6 [INFO] [stderr] Downloaded typed-builder v0.10.0 [INFO] [stderr] Downloaded blake2s_simd v0.5.11 [INFO] [stderr] Downloaded serde_yaml v0.7.5 [INFO] [stderr] Downloaded flagset v0.4.5 [INFO] [stderr] Downloaded pkcs5 v0.7.1 [INFO] [stderr] Downloaded fs_extra v1.3.0 [INFO] [stderr] Downloaded rustls-pki-types v1.5.0 [INFO] [stderr] Downloaded amq-protocol v7.2.0 [INFO] [stderr] Downloaded async-executor v1.11.0 [INFO] [stderr] Downloaded hmac-sha512 v1.1.5 [INFO] [stderr] Downloaded rfc6979 v0.4.0 [INFO] [stderr] Downloaded ecdsa v0.16.9 [INFO] [stderr] Downloaded group v0.13.0 [INFO] [stderr] Downloaded pkcs1 v0.4.1 [INFO] [stderr] Downloaded rand_chacha v0.9.0-alpha.1 [INFO] [stderr] Downloaded atomic-polyfill v1.0.3 [INFO] [stderr] Downloaded serde_with_macros v1.5.2 [INFO] [stderr] Downloaded unsigned-varint v0.2.3 [INFO] [stderr] Downloaded multihash v0.15.0 [INFO] [stderr] Downloaded wasm-streams v0.4.0 [INFO] [stderr] Downloaded rustls-connector v0.20.0 [INFO] [stderr] Downloaded bytes v0.4.12 [INFO] [stderr] Downloaded sec1 v0.7.3 [INFO] [stderr] Downloaded pem-rfc7468 v0.6.0 [INFO] [stderr] Downloaded rand_core v0.9.0-alpha.1 [INFO] [stderr] Downloaded sha-1 v0.10.1 [INFO] [stderr] Downloaded stringprep v0.1.4 [INFO] [stderr] Downloaded static_cell v2.1.0 [INFO] [stderr] Downloaded cbc v0.1.2 [INFO] [stderr] Downloaded scrypt v0.11.0 [INFO] [stderr] Downloaded der_derive v0.7.2 [INFO] [stderr] Downloaded block-padding v0.3.3 [INFO] [stderr] Downloaded p12-keystore v0.1.2 [INFO] [stderr] Downloaded rustls-native-certs v0.7.0 [INFO] [stderr] Downloaded blocking v1.6.0 [INFO] [stderr] Downloaded hash32 v0.3.1 [INFO] [stderr] Downloaded critical-section v1.1.2 [INFO] [stderr] Downloaded hash32 v0.2.1 [INFO] [stderr] Downloaded serde-json-core v0.5.1 [INFO] [stderr] Downloaded brotli v5.0.0 [INFO] [stderr] Downloaded amq-protocol-types v7.2.0 [INFO] [stderr] Downloaded cookie-factory v0.3.3 [INFO] [stderr] Downloaded async-channel v2.2.1 [INFO] [stderr] Downloaded tokio-executor-trait v2.1.1 [INFO] [stderr] Downloaded tokio-reactor-trait v1.1.0 [INFO] [stderr] Downloaded coarsetime v0.1.34 [INFO] [stderr] Downloaded hmac-sha1-compact v1.1.4 [INFO] [stderr] Downloaded elliptic-curve v0.13.8 [INFO] [stderr] Downloaded dunce v1.0.4 [INFO] [stderr] Downloaded tokio-amqp v2.0.0 [INFO] [stderr] Downloaded sqlite3-sys v0.15.2 [INFO] [stderr] Downloaded rc2 v0.8.1 [INFO] [stderr] Downloaded mirai-annotations v1.12.0 [INFO] [stderr] Downloaded amq-protocol-uri v7.2.0 [INFO] [stderr] Downloaded async-reactor-trait v1.1.0 [INFO] [stderr] Downloaded asn1-rs-derive v0.5.0 [INFO] [stderr] Downloaded mongodb v2.8.2 [INFO] [stderr] Downloaded oid-registry v0.7.0 [INFO] [stderr] Downloaded take_mut v0.2.2 [INFO] [stderr] Downloaded amq-protocol-tcp v7.2.0 [INFO] [stderr] Downloaded async-global-executor-trait v2.1.0 [INFO] [stderr] Downloaded reactor-trait v1.1.0 [INFO] [stderr] Downloaded sqlite3-src v0.5.1 [INFO] [stderr] Downloaded openssl-src v300.2.3+3.2.1 [INFO] [stderr] Downloaded aws-lc-sys v0.16.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06632b469bad3b5b9a6b2faa10029fb6568bfd8bec964666bab36d94f4dac757 [INFO] running `Command { std: "docker" "start" "-a" "06632b469bad3b5b9a6b2faa10029fb6568bfd8bec964666bab36d94f4dac757", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06632b469bad3b5b9a6b2faa10029fb6568bfd8bec964666bab36d94f4dac757", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06632b469bad3b5b9a6b2faa10029fb6568bfd8bec964666bab36d94f4dac757", kill_on_drop: false }` [INFO] [stdout] 06632b469bad3b5b9a6b2faa10029fb6568bfd8bec964666bab36d94f4dac757 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d206f144602719b4c5710da9a5527641d0f658990264ebb6ab551588dbf2cd79 [INFO] running `Command { std: "docker" "start" "-a" "d206f144602719b4c5710da9a5527641d0f658990264ebb6ab551588dbf2cd79", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking value-bag v1.9.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking flagset v0.4.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking rustls-pki-types v1.5.0 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling aws-lc-rs v1.7.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking mirai-annotations v1.12.0 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling oid-registry v0.7.0 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling openssl-src v300.2.3+3.2.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking event-listener v5.3.0 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling rustls v0.23.5 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking polling v2.8.0 [INFO] [stderr] Checking rustix v0.37.27 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking async-channel v2.2.1 [INFO] [stderr] Checking async-executor v1.11.0 [INFO] [stderr] Checking rustls-native-certs v0.7.0 [INFO] [stderr] Checking pem-rfc7468 v0.6.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Checking cookie-factory v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.0-alpha.6 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling aws-lc-sys v0.16.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking blocking v1.6.0 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling amq-protocol v7.2.0 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking async-io v1.13.0 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking rand_core v0.9.0-alpha.1 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Compiling blake3 v1.5.1 [INFO] [stderr] Compiling sqlite3-src v0.5.1 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking zerocopy v0.7.33 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Compiling lapin v2.3.4 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking polling v3.7.0 [INFO] [stderr] Checking pinky-swear v6.2.0 [INFO] [stderr] Checking rand_chacha v0.9.0-alpha.1 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking async-io v2.3.2 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Compiling substring v1.4.5 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking finl_unicode v1.2.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking ct-codecs v1.1.1 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.13 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking ed25519-compact v2.1.1 [INFO] [stderr] Checking stringprep v0.1.4 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking data-encoding-macro v0.1.15 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling der_derive v0.7.2 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling asn1-rs-derive v0.5.0 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking executor-trait v2.1.0 [INFO] [stderr] Checking reactor-trait v1.1.0 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking async-reactor-trait v1.1.0 [INFO] [stderr] Checking async-global-executor-trait v2.1.0 [INFO] [stderr] Checking asn1-rs v0.6.1 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking rc2 v0.8.1 [INFO] [stderr] Checking des v0.8.1 [INFO] [stderr] Checking scrypt v0.11.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking pkcs1 v0.4.1 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking der-parser v9.0.0 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking rsa v0.7.2 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking x509-cert v0.2.5 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking pkcs5 v0.7.1 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking hmac-sha256 v1.1.7 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking x509-parser v0.16.0 [INFO] [stderr] Checking hmac-sha512 v1.1.5 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking multihash v0.19.1 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking dryoc v0.5.3 [INFO] [stderr] Checking xz2 v0.1.7 [INFO] [stderr] Checking brotli v5.0.0 [INFO] [stderr] Checking rand v0.9.0-alpha.1 [INFO] [stderr] Checking cms v0.2.3 [INFO] [stderr] Checking serde v1.0.200 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Checking blake2s_simd v0.5.11 [INFO] [stderr] Checking webpki-roots v0.26.1 [INFO] [stderr] Checking xattr v0.2.3 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking pkcs12 v0.1.0 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking coarsetime v0.1.34 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking p12-keystore v0.1.2 [INFO] [stderr] Checking deflate64 v0.1.8 [INFO] [stderr] Checking unsigned-varint v0.2.3 [INFO] [stderr] Checking hmac-sha1-compact v1.1.4 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking binstring v0.1.1 [INFO] [stderr] Checking async-tar v0.4.2 [INFO] [stderr] Checking multihash v0.15.0 [INFO] [stderr] Checking static_cell v2.1.0 [INFO] [stderr] Checking p384 v0.13.0 [INFO] [stderr] Checking k256 v0.13.3 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking sqlite3-sys v0.15.2 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking base64-url v2.0.2 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking tokio-executor-trait v2.1.1 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tokio-socks v0.5.1 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking sqlite v0.30.5 [INFO] [stderr] Checking tokio-reactor-trait v1.1.0 [INFO] [stderr] Checking h2 v0.4.4 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Checking zstd v0.13.1 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking serde_yaml v0.7.5 [INFO] [stderr] Checking serde-json-core v0.5.1 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking multicodec v0.1.0 [INFO] [stderr] Checking trust-dns-proto v0.21.2 [INFO] [stderr] Checking async-compression v0.4.9 [INFO] [stderr] Checking amq-protocol-types v7.2.0 [INFO] [stderr] Checking serde-helpers v0.1.0 [INFO] [stderr] Checking jwt-simple v0.11.9 [INFO] [stderr] Checking bson v2.10.0 [INFO] [stderr] Checking amq-protocol-uri v7.2.0 [INFO] [stderr] Checking trust-dns-resolver v0.21.2 [INFO] [stderr] Checking mongodb v2.8.2 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking rustls-webpki v0.102.3 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking hyper-rustls v0.26.0 [INFO] [stderr] Checking rustls-connector v0.20.0 [INFO] [stderr] Checking tcp-stream v0.28.0 [INFO] [stderr] Checking amq-protocol-tcp v7.2.0 [INFO] [stderr] Checking tokio-amqp v2.0.0 [INFO] [stderr] Checking millegrilles_cryptographie v2024.4.8 (https://github.com/dugrema/millegrilles_cryptographie.git?branch=2024.4#e99293db) [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking redis v0.25.3 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stderr] Checking millegrilles_common_rust v2024.4.2 (https://github.com/dugrema/millegrilles_common_rust.git?branch=2024.4#2b4af2dc) [INFO] [stderr] Checking millegrilles_maitredescles v2024.4.29 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/domaines_maitredescles.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/domaines_maitredescles.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::generateur_messages::GenerateurMessages` [INFO] [stdout] --> src/domaines_maitredescles.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use millegrilles_common_rust::generateur_messages::GenerateurMessages; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MiddlewareDb` [INFO] [stdout] --> src/domaines_maitredescles.rs:15:47 [INFO] [stdout] | [INFO] [stdout] 15 | use millegrilles_common_rust::middleware_db::{MiddlewareDb, preparer_middleware_db}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::mongo_dao::MongoDao` [INFO] [stdout] --> src/domaines_maitredescles.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use millegrilles_common_rust::mongo_dao::MongoDao; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Callback`, `EventMq`, `NamedQueue`, and `QueueType` [INFO] [stdout] --> src/domaines_maitredescles.rs:17:46 [INFO] [stdout] | [INFO] [stdout] 17 | use millegrilles_common_rust::rabbitmq_dao::{Callback, EventMq, NamedQueue, QueueType}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::recepteur_messages::TypeMessage` [INFO] [stdout] --> src/domaines_maitredescles.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use millegrilles_common_rust::recepteur_messages::TypeMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver`, `Sender`, `mpsc`, and `timeout` [INFO] [stdout] --> src/domaines_maitredescles.rs:19:46 [INFO] [stdout] | [INFO] [stdout] 19 | use millegrilles_common_rust::tokio::{sync::{mpsc, mpsc::{Receiver, Sender}}, time::{Duration as DurationTokio, timeout}}; [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GestionnaireRessources` [INFO] [stdout] --> src/domaines_maitredescles.rs:28:62 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::maitredescles_commun::{emettre_cles_symmetriques, GestionnaireRessources}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::alloc::handle_alloc_error` [INFO] [stdout] --> src/maitredescles_partition.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::alloc::handle_alloc_error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/maitredescles_partition.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{Debug, Display, Formatter, Write}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read_dir` [INFO] [stdout] --> src/maitredescles_partition.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::read_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> src/maitredescles_partition.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CommandeSauvegarderCle` [INFO] [stdout] --> src/maitredescles_partition.rs:15:93 [INFO] [stdout] | [INFO] [stdout] 15 | use millegrilles_common_rust::chiffrage_cle::{CleChiffrageCache, CommandeAjouterCleDomaine, CommandeSauvegarderCle}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RoutageMessageReponse` [INFO] [stdout] --> src/maitredescles_partition.rs:22:95 [INFO] [stdout] | [INFO] [stdout] 22 | use millegrilles_common_rust::generateur_messages::{GenerateurMessages, RoutageMessageAction, RoutageMessageReponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::hachages::hacher_bytes` [INFO] [stdout] --> src/maitredescles_partition.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use millegrilles_common_rust::hachages::hacher_bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `sauvegarder_traiter_transaction_serializable` and `sauvegarder_transaction` [INFO] [stdout] --> src/maitredescles_partition.rs:25:56 [INFO] [stdout] | [INFO] [stdout] 25 | use millegrilles_common_rust::middleware::{Middleware, sauvegarder_traiter_transaction_serializable, sauvegarder_transaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `verifier_erreur_duplication_mongo` [INFO] [stdout] --> src/maitredescles_partition.rs:26:129 [INFO] [stdout] | [INFO] [stdout] 26 | ...zable, convertir_to_bson, IndexOptions, MongoDao, verifier_erreur_duplication_mongo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Collection` [INFO] [stdout] --> src/maitredescles_partition.rs:27:41 [INFO] [stdout] | [INFO] [stdout] 27 | use millegrilles_common_rust::mongodb::{Collection, Cursor}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FindOneAndUpdateOptions` and `InsertOneOptions` [INFO] [stdout] --> src/maitredescles_partition.rs:28:50 [INFO] [stdout] | [INFO] [stdout] 28 | use millegrilles_common_rust::mongodb::options::{FindOneAndUpdateOptions, FindOneOptions, FindOptions, Hint, InsertOneOptions, UpdateOpti... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/maitredescles_partition.rs:29:91 [INFO] [stdout] | [INFO] [stdout] 29 | use millegrilles_common_rust::{get_domaine_action, millegrilles_cryptographie, multibase, serde_json}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CleSecreteSerialisee` [INFO] [stdout] --> src/maitredescles_partition.rs:31:113 [INFO] [stdout] | [INFO] [stdout] 31 | use millegrilles_common_rust::millegrilles_cryptographie::chiffrage_cles::{CleChiffrageHandler, CleDechiffrage, CleSecreteSerialisee}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::multihash::Code` [INFO] [stdout] --> src/maitredescles_partition.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use millegrilles_common_rust::multihash::Code; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PKey` and `Private` [INFO] [stdout] --> src/maitredescles_partition.rs:35:47 [INFO] [stdout] | [INFO] [stdout] 35 | use millegrilles_common_rust::openssl::pkey::{PKey, Private}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::openssl::rsa::Rsa` [INFO] [stdout] --> src/maitredescles_partition.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use millegrilles_common_rust::openssl::rsa::Rsa; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::tokio::fs::File as File_tokio` [INFO] [stdout] --> src/maitredescles_partition.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use millegrilles_common_rust::tokio::fs::File as File_tokio; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::AsyncReadExt` [INFO] [stdout] --> src/maitredescles_partition.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | use millegrilles_common_rust::tokio::{io::AsyncReadExt, spawn}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver` and `Sender` [INFO] [stdout] --> src/maitredescles_partition.rs:44:58 [INFO] [stdout] | [INFO] [stdout] 44 | use millegrilles_common_rust::tokio::sync::{mpsc, mpsc::{Receiver, Sender}}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EtatTransaction`, `Transaction`, and `marquer_transaction` [INFO] [stdout] --> src/maitredescles_partition.rs:46:46 [INFO] [stdout] | [INFO] [stdout] 46 | use millegrilles_common_rust::transactions::{EtatTransaction, marquer_transaction, TraiterTransaction, Transaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::millegrilles_cryptographie::chiffrage::FormatChiffrage` [INFO] [stdout] --> src/maitredescles_partition.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | use millegrilles_common_rust::millegrilles_cryptographie::chiffrage::FormatChiffrage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GestionnaireMaitreDesClesCa` [INFO] [stdout] --> src/maitredescles_partition.rs:52:31 [INFO] [stdout] | [INFO] [stdout] 52 | use crate::maitredescles_ca::{GestionnaireMaitreDesClesCa, NOM_COLLECTION_CLES}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MessageReponseChiffree` [INFO] [stdout] --> src/maitredescles_partition.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | use crate::messages::{MessageReponseChiffree, RequeteVerifierPreuve}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/maitredescles_ca.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Document` [INFO] [stdout] --> src/maitredescles_ca.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use millegrilles_common_rust::bson::{DateTime, doc, Document}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CommandeSauvegarderCle` [INFO] [stdout] --> src/maitredescles_ca.rs:9:74 [INFO] [stdout] | [INFO] [stdout] 9 | use millegrilles_common_rust::chiffrage_cle::{CommandeAjouterCleDomaine, CommandeSauvegarderCle}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RoutageMessageAction` [INFO] [stdout] --> src/maitredescles_ca.rs:15:73 [INFO] [stdout] | [INFO] [stdout] 15 | use millegrilles_common_rust::generateur_messages::{GenerateurMessages, RoutageMessageAction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transaction` [INFO] [stdout] --> src/maitredescles_ca.rs:26:66 [INFO] [stdout] | [INFO] [stdout] 26 | use millegrilles_common_rust::transactions::{TraiterTransaction, Transaction}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/maitredescles_commun.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{debug, error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CommandeAjouterCleDomaine` [INFO] [stdout] --> src/maitredescles_commun.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | use millegrilles_common_rust::chiffrage_cle::{CommandeAjouterCleDomaine, CommandeSauvegarderCle}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReponseSignatureCertificat` [INFO] [stdout] --> src/maitredescles_commun.rs:18:49 [INFO] [stdout] | [INFO] [stdout] 18 | use millegrilles_common_rust::common_messages::{ReponseSignatureCertificat, RequeteDechiffrage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/maitredescles_commun.rs:19:60 [INFO] [stdout] | [INFO] [stdout] 19 | use millegrilles_common_rust::{multibase, multibase::Base, serde_json}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_helpers::chrono_datetime_as_bson_datetime` [INFO] [stdout] --> src/maitredescles_commun.rs:20:65 [INFO] [stdout] | [INFO] [stdout] 20 | use millegrilles_common_rust::bson::{Bson, bson, doc, Document, serde_helpers::chrono_datetime_as_bson_datetime}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chiffrer_asymmetrique_ed25519` [INFO] [stdout] --> src/maitredescles_commun.rs:25:68 [INFO] [stdout] | [INFO] [stdout] 25 | use millegrilles_common_rust::millegrilles_cryptographie::x25519::{chiffrer_asymmetrique_ed25519, CleSecreteX25519}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EnveloppePrivee` [INFO] [stdout] --> src/maitredescles_commun.rs:26:87 [INFO] [stdout] | [INFO] [stdout] 26 | use millegrilles_common_rust::millegrilles_cryptographie::x509::{EnveloppeCertificat, EnveloppePrivee}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::millegrilles_cryptographie::messages_structs::epochseconds` [INFO] [stdout] --> src/maitredescles_commun.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use millegrilles_common_rust::millegrilles_cryptographie::messages_structs::epochseconds; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::millegrilles_cryptographie::heapless` [INFO] [stdout] --> src/maitredescles_commun.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use millegrilles_common_rust::millegrilles_cryptographie::heapless; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::chiffrage_cles::chiffrer_asymetrique_multibase` [INFO] [stdout] --> src/maitredescles_commun.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use crate::chiffrage_cles::chiffrer_asymetrique_multibase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::domaines_maitredescles::TypeGestionnaire` [INFO] [stdout] --> src/maitredescles_commun.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use crate::domaines_maitredescles::TypeGestionnaire; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::maitredescles_partition::GestionnaireMaitreDesClesPartition` [INFO] [stdout] --> src/maitredescles_commun.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use crate::maitredescles_partition::GestionnaireMaitreDesClesPartition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::maitredescles_sqlite::GestionnaireMaitreDesClesSQLite` [INFO] [stdout] --> src/maitredescles_commun.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::maitredescles_sqlite::GestionnaireMaitreDesClesSQLite; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::messages::MessageReponseChiffree` [INFO] [stdout] --> src/maitredescles_commun.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | use crate::messages::MessageReponseChiffree; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/domaines_maitredescles.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read_dir` [INFO] [stdout] --> src/maitredescles_sqlite.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::read_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/domaines_maitredescles.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> src/maitredescles_sqlite.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::generateur_messages::GenerateurMessages` [INFO] [stdout] --> src/domaines_maitredescles.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use millegrilles_common_rust::generateur_messages::GenerateurMessages; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis` [INFO] [stdout] --> src/maitredescles_sqlite.rs:9:80 [INFO] [stdout] | [INFO] [stdout] 9 | use millegrilles_common_rust::{get_domaine_action, multibase, multibase::Base, redis, serde_json}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MiddlewareDb` [INFO] [stdout] --> src/domaines_maitredescles.rs:15:47 [INFO] [stdout] | [INFO] [stdout] 15 | use millegrilles_common_rust::middleware_db::{MiddlewareDb, preparer_middleware_db}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Document` [INFO] [stdout] --> src/maitredescles_sqlite.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | use millegrilles_common_rust::bson::{doc, Document}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::mongo_dao::MongoDao` [INFO] [stdout] --> src/domaines_maitredescles.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use millegrilles_common_rust::mongo_dao::MongoDao; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Utc` [INFO] [stdout] --> src/maitredescles_sqlite.rs:15:40 [INFO] [stdout] | [INFO] [stdout] 15 | use millegrilles_common_rust::chrono::{Duration, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Callback`, `EventMq`, `NamedQueue`, and `QueueType` [INFO] [stdout] --> src/domaines_maitredescles.rs:17:46 [INFO] [stdout] | [INFO] [stdout] 17 | use millegrilles_common_rust::rabbitmq_dao::{Callback, EventMq, NamedQueue, QueueType}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RoutageMessageReponse` [INFO] [stdout] --> src/maitredescles_sqlite.rs:22:95 [INFO] [stdout] | [INFO] [stdout] 22 | use millegrilles_common_rust::generateur_messages::{GenerateurMessages, RoutageMessageAction, RoutageMessageReponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::hachages::hacher_bytes` [INFO] [stdout] --> src/maitredescles_sqlite.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use millegrilles_common_rust::hachages::hacher_bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::recepteur_messages::TypeMessage` [INFO] [stdout] --> src/domaines_maitredescles.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use millegrilles_common_rust::recepteur_messages::TypeMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sauvegarder_transaction` [INFO] [stdout] --> src/maitredescles_sqlite.rs:25:56 [INFO] [stdout] | [INFO] [stdout] 25 | use millegrilles_common_rust::middleware::{Middleware, sauvegarder_transaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::middleware_db::MiddlewareDb` [INFO] [stdout] --> src/maitredescles_sqlite.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use millegrilles_common_rust::middleware_db::MiddlewareDb; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver`, `Sender`, `mpsc`, and `timeout` [INFO] [stdout] --> src/domaines_maitredescles.rs:19:46 [INFO] [stdout] | [INFO] [stdout] 19 | use millegrilles_common_rust::tokio::{sync::{mpsc, mpsc::{Receiver, Sender}}, time::{Duration as DurationTokio, timeout}}; [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::mongo_dao::MongoDao` [INFO] [stdout] --> src/maitredescles_sqlite.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use millegrilles_common_rust::mongo_dao::MongoDao; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::multihash::Code` [INFO] [stdout] --> src/maitredescles_sqlite.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use millegrilles_common_rust::multihash::Code; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GestionnaireRessources` [INFO] [stdout] --> src/domaines_maitredescles.rs:28:62 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::maitredescles_commun::{emettre_cles_symmetriques, GestionnaireRessources}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::alloc::handle_alloc_error` [INFO] [stdout] --> src/maitredescles_partition.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::alloc::handle_alloc_error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PKey` and `Private` [INFO] [stdout] --> src/maitredescles_sqlite.rs:33:47 [INFO] [stdout] | [INFO] [stdout] 33 | use millegrilles_common_rust::openssl::pkey::{PKey, Private}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/maitredescles_partition.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{Debug, Display, Formatter, Write}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::openssl::rsa::Rsa` [INFO] [stdout] --> src/maitredescles_sqlite.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use millegrilles_common_rust::openssl::rsa::Rsa; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read_dir` [INFO] [stdout] --> src/maitredescles_partition.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::read_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::tokio::fs::File as File_tokio` [INFO] [stdout] --> src/maitredescles_sqlite.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use millegrilles_common_rust::tokio::fs::File as File_tokio; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> src/maitredescles_partition.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CommandeSauvegarderCle` [INFO] [stdout] --> src/maitredescles_partition.rs:15:93 [INFO] [stdout] | [INFO] [stdout] 15 | use millegrilles_common_rust::chiffrage_cle::{CleChiffrageCache, CommandeAjouterCleDomaine, CommandeSauvegarderCle}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RoutageMessageReponse` [INFO] [stdout] --> src/maitredescles_partition.rs:22:95 [INFO] [stdout] | [INFO] [stdout] 22 | use millegrilles_common_rust::generateur_messages::{GenerateurMessages, RoutageMessageAction, RoutageMessageReponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EtatTransaction`, `Transaction`, and `marquer_transaction` [INFO] [stdout] --> src/maitredescles_sqlite.rs:46:46 [INFO] [stdout] | [INFO] [stdout] 46 | use millegrilles_common_rust::transactions::{EtatTransaction, marquer_transaction, TraiterTransaction, Transaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::hachages::hacher_bytes` [INFO] [stdout] --> src/maitredescles_partition.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use millegrilles_common_rust::hachages::hacher_bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CleInterneChiffree` [INFO] [stdout] --> src/maitredescles_sqlite.rs:54:40 [INFO] [stdout] | [INFO] [stdout] 54 | use crate::maitredescles_rechiffrage::{CleInterneChiffree, HandlerCleRechiffrage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `sauvegarder_traiter_transaction_serializable` and `sauvegarder_transaction` [INFO] [stdout] --> src/maitredescles_partition.rs:25:56 [INFO] [stdout] | [INFO] [stdout] 25 | use millegrilles_common_rust::middleware::{Middleware, sauvegarder_traiter_transaction_serializable, sauvegarder_transaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RequeteVerifierPreuve` [INFO] [stdout] --> src/maitredescles_sqlite.rs:56:47 [INFO] [stdout] | [INFO] [stdout] 56 | use crate::messages::{MessageReponseChiffree, RequeteVerifierPreuve}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `verifier_erreur_duplication_mongo` [INFO] [stdout] --> src/maitredescles_partition.rs:26:129 [INFO] [stdout] | [INFO] [stdout] 26 | ...zable, convertir_to_bson, IndexOptions, MongoDao, verifier_erreur_duplication_mongo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tokio` [INFO] [stdout] --> src/maitredescles_sqlite.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | use crate::tokio; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Collection` [INFO] [stdout] --> src/maitredescles_partition.rs:27:41 [INFO] [stdout] | [INFO] [stdout] 27 | use millegrilles_common_rust::mongodb::{Collection, Cursor}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FindOneAndUpdateOptions` and `InsertOneOptions` [INFO] [stdout] --> src/maitredescles_partition.rs:28:50 [INFO] [stdout] | [INFO] [stdout] 28 | use millegrilles_common_rust::mongodb::options::{FindOneAndUpdateOptions, FindOneOptions, FindOptions, Hint, InsertOneOptions, UpdateOpti... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:263:77 [INFO] [stdout] | [INFO] [stdout] 263 | let cle_chiffree = multibase::encode(Base::Base64, &ciphertext[..]);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/maitredescles_partition.rs:29:91 [INFO] [stdout] | [INFO] [stdout] 29 | use millegrilles_common_rust::{get_domaine_action, millegrilles_cryptographie, multibase, serde_json}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::from_utf8` [INFO] [stdout] --> src/messages.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::from_utf8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::millegrilles_cryptographie::chiffrage::FormatChiffrage` [INFO] [stdout] --> src/messages.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use millegrilles_common_rust::millegrilles_cryptographie::chiffrage::FormatChiffrage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CleSecreteSerialisee` [INFO] [stdout] --> src/maitredescles_partition.rs:31:113 [INFO] [stdout] | [INFO] [stdout] 31 | use millegrilles_common_rust::millegrilles_cryptographie::chiffrage_cles::{CleChiffrageHandler, CleDechiffrage, CleSecreteSerialisee}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::multihash::Code` [INFO] [stdout] --> src/maitredescles_partition.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use millegrilles_common_rust::multihash::Code; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MessageMilleGrillesBufferDefault`, `MessageMilleGrillesOwned`, and `MessageMilleGrillesRef` [INFO] [stdout] --> src/messages.rs:12:112 [INFO] [stdout] | [INFO] [stdout] 12 | ...ageInterMillegrilleOwned, MessageMilleGrillesBufferDefault, MessageMilleGrillesOwned, MessageMilleGrillesRef, MessageMilleGrillesRefDe... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PKey` and `Private` [INFO] [stdout] --> src/maitredescles_partition.rs:35:47 [INFO] [stdout] | [INFO] [stdout] 35 | use millegrilles_common_rust::openssl::pkey::{PKey, Private}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::openssl::rsa::Rsa` [INFO] [stdout] --> src/maitredescles_partition.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use millegrilles_common_rust::openssl::rsa::Rsa; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::tokio::fs::File as File_tokio` [INFO] [stdout] --> src/maitredescles_partition.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use millegrilles_common_rust::tokio::fs::File as File_tokio; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::AsyncReadExt` [INFO] [stdout] --> src/maitredescles_partition.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | use millegrilles_common_rust::tokio::{io::AsyncReadExt, spawn}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver` and `Sender` [INFO] [stdout] --> src/maitredescles_partition.rs:44:58 [INFO] [stdout] | [INFO] [stdout] 44 | use millegrilles_common_rust::tokio::sync::{mpsc, mpsc::{Receiver, Sender}}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EtatTransaction`, `Transaction`, and `marquer_transaction` [INFO] [stdout] --> src/maitredescles_partition.rs:46:46 [INFO] [stdout] | [INFO] [stdout] 46 | use millegrilles_common_rust::transactions::{EtatTransaction, marquer_transaction, TraiterTransaction, Transaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::millegrilles_cryptographie::chiffrage::FormatChiffrage` [INFO] [stdout] --> src/maitredescles_partition.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | use millegrilles_common_rust::millegrilles_cryptographie::chiffrage::FormatChiffrage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GestionnaireMaitreDesClesCa` [INFO] [stdout] --> src/maitredescles_partition.rs:52:31 [INFO] [stdout] | [INFO] [stdout] 52 | use crate::maitredescles_ca::{GestionnaireMaitreDesClesCa, NOM_COLLECTION_CLES}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MessageReponseChiffree` [INFO] [stdout] --> src/maitredescles_partition.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | use crate::messages::{MessageReponseChiffree, RequeteVerifierPreuve}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/maitredescles_ca.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Document` [INFO] [stdout] --> src/maitredescles_ca.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use millegrilles_common_rust::bson::{DateTime, doc, Document}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CommandeSauvegarderCle` [INFO] [stdout] --> src/maitredescles_ca.rs:9:74 [INFO] [stdout] | [INFO] [stdout] 9 | use millegrilles_common_rust::chiffrage_cle::{CommandeAjouterCleDomaine, CommandeSauvegarderCle}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RoutageMessageAction` [INFO] [stdout] --> src/maitredescles_ca.rs:15:73 [INFO] [stdout] | [INFO] [stdout] 15 | use millegrilles_common_rust::generateur_messages::{GenerateurMessages, RoutageMessageAction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transaction` [INFO] [stdout] --> src/maitredescles_ca.rs:26:66 [INFO] [stdout] | [INFO] [stdout] 26 | use millegrilles_common_rust::transactions::{TraiterTransaction, Transaction}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/maitredescles_commun.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{debug, error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CommandeAjouterCleDomaine` [INFO] [stdout] --> src/maitredescles_commun.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | use millegrilles_common_rust::chiffrage_cle::{CommandeAjouterCleDomaine, CommandeSauvegarderCle}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReponseSignatureCertificat` [INFO] [stdout] --> src/maitredescles_commun.rs:18:49 [INFO] [stdout] | [INFO] [stdout] 18 | use millegrilles_common_rust::common_messages::{ReponseSignatureCertificat, RequeteDechiffrage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/maitredescles_commun.rs:19:60 [INFO] [stdout] | [INFO] [stdout] 19 | use millegrilles_common_rust::{multibase, multibase::Base, serde_json}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_helpers::chrono_datetime_as_bson_datetime` [INFO] [stdout] --> src/maitredescles_commun.rs:20:65 [INFO] [stdout] | [INFO] [stdout] 20 | use millegrilles_common_rust::bson::{Bson, bson, doc, Document, serde_helpers::chrono_datetime_as_bson_datetime}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chiffrer_asymmetrique_ed25519` [INFO] [stdout] --> src/maitredescles_commun.rs:25:68 [INFO] [stdout] | [INFO] [stdout] 25 | use millegrilles_common_rust::millegrilles_cryptographie::x25519::{chiffrer_asymmetrique_ed25519, CleSecreteX25519}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EnveloppePrivee` [INFO] [stdout] --> src/maitredescles_commun.rs:26:87 [INFO] [stdout] | [INFO] [stdout] 26 | use millegrilles_common_rust::millegrilles_cryptographie::x509::{EnveloppeCertificat, EnveloppePrivee}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::millegrilles_cryptographie::messages_structs::epochseconds` [INFO] [stdout] --> src/maitredescles_commun.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use millegrilles_common_rust::millegrilles_cryptographie::messages_structs::epochseconds; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::millegrilles_cryptographie::heapless` [INFO] [stdout] --> src/maitredescles_commun.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use millegrilles_common_rust::millegrilles_cryptographie::heapless; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::chiffrage_cles::chiffrer_asymetrique_multibase` [INFO] [stdout] --> src/maitredescles_commun.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use crate::chiffrage_cles::chiffrer_asymetrique_multibase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::domaines_maitredescles::TypeGestionnaire` [INFO] [stdout] --> src/maitredescles_commun.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use crate::domaines_maitredescles::TypeGestionnaire; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::maitredescles_partition::GestionnaireMaitreDesClesPartition` [INFO] [stdout] --> src/maitredescles_commun.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use crate::maitredescles_partition::GestionnaireMaitreDesClesPartition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::maitredescles_sqlite::GestionnaireMaitreDesClesSQLite` [INFO] [stdout] --> src/maitredescles_commun.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::maitredescles_sqlite::GestionnaireMaitreDesClesSQLite; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::messages::MessageReponseChiffree` [INFO] [stdout] --> src/maitredescles_commun.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | use crate::messages::MessageReponseChiffree; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read_dir` [INFO] [stdout] --> src/maitredescles_sqlite.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::read_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> src/maitredescles_sqlite.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis` [INFO] [stdout] --> src/maitredescles_sqlite.rs:9:80 [INFO] [stdout] | [INFO] [stdout] 9 | use millegrilles_common_rust::{get_domaine_action, multibase, multibase::Base, redis, serde_json}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Document` [INFO] [stdout] --> src/maitredescles_sqlite.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | use millegrilles_common_rust::bson::{doc, Document}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Utc` [INFO] [stdout] --> src/maitredescles_sqlite.rs:15:40 [INFO] [stdout] | [INFO] [stdout] 15 | use millegrilles_common_rust::chrono::{Duration, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RoutageMessageReponse` [INFO] [stdout] --> src/maitredescles_sqlite.rs:22:95 [INFO] [stdout] | [INFO] [stdout] 22 | use millegrilles_common_rust::generateur_messages::{GenerateurMessages, RoutageMessageAction, RoutageMessageReponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::hachages::hacher_bytes` [INFO] [stdout] --> src/maitredescles_sqlite.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use millegrilles_common_rust::hachages::hacher_bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sauvegarder_transaction` [INFO] [stdout] --> src/maitredescles_sqlite.rs:25:56 [INFO] [stdout] | [INFO] [stdout] 25 | use millegrilles_common_rust::middleware::{Middleware, sauvegarder_transaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::middleware_db::MiddlewareDb` [INFO] [stdout] --> src/maitredescles_sqlite.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use millegrilles_common_rust::middleware_db::MiddlewareDb; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::mongo_dao::MongoDao` [INFO] [stdout] --> src/maitredescles_sqlite.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use millegrilles_common_rust::mongo_dao::MongoDao; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::multihash::Code` [INFO] [stdout] --> src/maitredescles_sqlite.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use millegrilles_common_rust::multihash::Code; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PKey` and `Private` [INFO] [stdout] --> src/maitredescles_sqlite.rs:33:47 [INFO] [stdout] | [INFO] [stdout] 33 | use millegrilles_common_rust::openssl::pkey::{PKey, Private}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::openssl::rsa::Rsa` [INFO] [stdout] --> src/maitredescles_sqlite.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use millegrilles_common_rust::openssl::rsa::Rsa; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::tokio::fs::File as File_tokio` [INFO] [stdout] --> src/maitredescles_sqlite.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use millegrilles_common_rust::tokio::fs::File as File_tokio; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EtatTransaction`, `Transaction`, and `marquer_transaction` [INFO] [stdout] --> src/maitredescles_sqlite.rs:46:46 [INFO] [stdout] | [INFO] [stdout] 46 | use millegrilles_common_rust::transactions::{EtatTransaction, marquer_transaction, TraiterTransaction, Transaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CleInterneChiffree` [INFO] [stdout] --> src/maitredescles_sqlite.rs:54:40 [INFO] [stdout] | [INFO] [stdout] 54 | use crate::maitredescles_rechiffrage::{CleInterneChiffree, HandlerCleRechiffrage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RequeteVerifierPreuve` [INFO] [stdout] --> src/maitredescles_sqlite.rs:56:47 [INFO] [stdout] | [INFO] [stdout] 56 | use crate::messages::{MessageReponseChiffree, RequeteVerifierPreuve}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tokio` [INFO] [stdout] --> src/maitredescles_sqlite.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | use crate::tokio; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:263:77 [INFO] [stdout] | [INFO] [stdout] 263 | let cle_chiffree = multibase::encode(Base::Base64, &ciphertext[..]);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::from_utf8` [INFO] [stdout] --> src/messages.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::from_utf8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::millegrilles_cryptographie::chiffrage::FormatChiffrage` [INFO] [stdout] --> src/messages.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use millegrilles_common_rust::millegrilles_cryptographie::chiffrage::FormatChiffrage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MessageMilleGrillesBufferDefault`, `MessageMilleGrillesOwned`, and `MessageMilleGrillesRef` [INFO] [stdout] --> src/messages.rs:12:112 [INFO] [stdout] | [INFO] [stdout] 12 | ...ageInterMillegrilleOwned, MessageMilleGrillesBufferDefault, MessageMilleGrillesOwned, MessageMilleGrillesRef, MessageMilleGrillesRefDe... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/domaines_maitredescles.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 243 | / loop { [INFO] [stdout] 244 | | let maintenant = chrono::Utc::now(); [INFO] [stdout] 245 | | debug!("domaines_maitredescles.entretien Execution task d'entretien Core {:?}", maintenant); [INFO] [stdout] ... | [INFO] [stdout] 378 | | sleep(duration).await; [INFO] [stdout] 379 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 382 | info!("domaines_maitredescles.entretien : Fin thread"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::log` which comes from the expansion of the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/domaines_maitredescles.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 243 | / loop { [INFO] [stdout] 244 | | let maintenant = chrono::Utc::now(); [INFO] [stdout] 245 | | debug!("domaines_maitredescles.entretien Execution task d'entretien Core {:?}", maintenant); [INFO] [stdout] ... | [INFO] [stdout] 378 | | sleep(duration).await; [INFO] [stdout] 379 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 382 | info!("domaines_maitredescles.entretien : Fin thread"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::log` which comes from the expansion of the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/domaines_maitredescles.rs:215:44 [INFO] [stdout] | [INFO] [stdout] 215 | if let Some(gestionnaire) = unsafe{&GESTIONNAIRE_CA} { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 215 | if let Some(gestionnaire) = unsafe{addr_of!(GESTIONNAIRE_CA)} { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/domaines_maitredescles.rs:215:44 [INFO] [stdout] | [INFO] [stdout] 215 | if let Some(gestionnaire) = unsafe{&GESTIONNAIRE_CA} { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 215 | if let Some(gestionnaire) = unsafe{addr_of!(GESTIONNAIRE_CA)} { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/domaines_maitredescles.rs:294:22 [INFO] [stdout] | [INFO] [stdout] 294 | match unsafe{&GESTIONNAIRE} { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 294 | match unsafe{addr_of!(GESTIONNAIRE)} { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/domaines_maitredescles.rs:294:22 [INFO] [stdout] | [INFO] [stdout] 294 | match unsafe{&GESTIONNAIRE} { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 294 | match unsafe{addr_of!(GESTIONNAIRE)} { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rechiffrage_complete` [INFO] [stdout] --> src/domaines_maitredescles.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | let mut rechiffrage_complete = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rechiffrage_complete` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rechiffrage_complete` [INFO] [stdout] --> src/domaines_maitredescles.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | let mut rechiffrage_complete = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rechiffrage_complete` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/domaines_maitredescles.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | let mut rechiffrage_complete = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/domaines_maitredescles.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | let mut rechiffrage_complete = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1286:9 [INFO] [stdout] | [INFO] [stdout] 1286 | let fingerprint = gestionnaire.handler_rechiffrage.fingerprint(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `routage_evenement_manquant` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1294:9 [INFO] [stdout] | [INFO] [stdout] 1294 | let routage_evenement_manquant = RoutageMessageAction::builder(DOMAINE_NOM, EVENEMENT_CLES_MANQUANTES_PARTITION, vec![Securite::L4Sec... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_routage_evenement_manquant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1300:9 [INFO] [stdout] | [INFO] [stdout] 1300 | let fingerprint = enveloppe_privee.fingerprint()?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connexion` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1301:9 [INFO] [stdout] | [INFO] [stdout] 1301 | let connexion = gestionnaire.ouvrir_connection(middleware, false); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connexion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1286:9 [INFO] [stdout] | [INFO] [stdout] 1286 | let fingerprint = gestionnaire.handler_rechiffrage.fingerprint(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `routage_evenement_manquant` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1294:9 [INFO] [stdout] | [INFO] [stdout] 1294 | let routage_evenement_manquant = RoutageMessageAction::builder(DOMAINE_NOM, EVENEMENT_CLES_MANQUANTES_PARTITION, vec![Securite::L4Sec... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_routage_evenement_manquant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1300:9 [INFO] [stdout] | [INFO] [stdout] 1300 | let fingerprint = enveloppe_privee.fingerprint()?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connexion` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1301:9 [INFO] [stdout] | [INFO] [stdout] 1301 | let connexion = gestionnaire.ouvrir_connection(middleware, false); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connexion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batch_size` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1391:9 [INFO] [stdout] | [INFO] [stdout] 1391 | let batch_size = 250; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batch_size` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1391:9 [INFO] [stdout] | [INFO] [stdout] 1391 | let batch_size = 250; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/domaines_maitredescles.rs:154:36 [INFO] [stdout] | [INFO] [stdout] 154 | (GESTIONNAIRE_CA.as_ref(), &GESTIONNAIRE) [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 154 | (GESTIONNAIRE_CA.as_ref(), addr_of!(GESTIONNAIRE)) [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/domaines_maitredescles.rs:170:19 [INFO] [stdout] | [INFO] [stdout] 170 | match unsafe {&GESTIONNAIRE} { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 170 | match unsafe {addr_of!(GESTIONNAIRE)} { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/domaines_maitredescles.rs:153:27 [INFO] [stdout] | [INFO] [stdout] 153 | let (gestionnaire_ca, gestionnaire) = unsafe { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_partition.rs:1109:67 [INFO] [stdout] | [INFO] [stdout] 1109 | async fn requete_dechiffrage(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `requete_autorisee_globalement` [INFO] [stdout] --> src/maitredescles_partition.rs:1259:22 [INFO] [stdout] | [INFO] [stdout] 1259 | let (certificat, requete_autorisee_globalement) = match verifier_permission_rechiffrage(middleware, &m, &requete).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_requete_autorisee_globalement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reponse` [INFO] [stdout] --> src/maitredescles_partition.rs:1375:13 [INFO] [stdout] | [INFO] [stdout] 1375 | let reponse = ReponseRequeteDechiffrageV2 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/domaines_maitredescles.rs:154:36 [INFO] [stdout] | [INFO] [stdout] 154 | (GESTIONNAIRE_CA.as_ref(), &GESTIONNAIRE) [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 154 | (GESTIONNAIRE_CA.as_ref(), addr_of!(GESTIONNAIRE)) [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/domaines_maitredescles.rs:170:19 [INFO] [stdout] | [INFO] [stdout] 170 | match unsafe {&GESTIONNAIRE} { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 170 | match unsafe {addr_of!(GESTIONNAIRE)} { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/domaines_maitredescles.rs:153:27 [INFO] [stdout] | [INFO] [stdout] 153 | let (gestionnaire_ca, gestionnaire) = unsafe { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_partition.rs:1393:75 [INFO] [stdout] | [INFO] [stdout] 1393 | async fn requete_dechiffrage_message(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_privee` [INFO] [stdout] --> src/maitredescles_partition.rs:1606:9 [INFO] [stdout] | [INFO] [stdout] 1606 | let cle_privee = &enveloppe_privee.cle_privee; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_privee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_mongo_dechiffree` [INFO] [stdout] --> src/maitredescles_partition.rs:1618:13 [INFO] [stdout] | [INFO] [stdout] 1618 | let cle_mongo_dechiffree = gestionnaire.handler_rechiffrage.dechiffer_cle_secrete(cle_interne_chiffree)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_mongo_dechiffree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_partition.rs:1109:67 [INFO] [stdout] | [INFO] [stdout] 1109 | async fn requete_dechiffrage(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `requete_autorisee_globalement` [INFO] [stdout] --> src/maitredescles_partition.rs:1259:22 [INFO] [stdout] | [INFO] [stdout] 1259 | let (certificat, requete_autorisee_globalement) = match verifier_permission_rechiffrage(middleware, &m, &requete).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_requete_autorisee_globalement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reponse` [INFO] [stdout] --> src/maitredescles_partition.rs:1375:13 [INFO] [stdout] | [INFO] [stdout] 1375 | let reponse = ReponseRequeteDechiffrageV2 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_partition.rs:2292:37 [INFO] [stdout] | [INFO] [stdout] 2292 | async fn evenement_cle_manquante(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/maitredescles_partition.rs:2292:53 [INFO] [stdout] | [INFO] [stdout] 2292 | async fn evenement_cle_manquante(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_partition.rs:2292:71 [INFO] [stdout] | [INFO] [stdout] 2292 | async fn evenement_cle_manquante(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_partition.rs:541:35 [INFO] [stdout] | [INFO] [stdout] 541 | async fn consommer_transaction(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) -> Result src/maitredescles_partition.rs:541:69 [INFO] [stdout] | [INFO] [stdout] 541 | ... &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) -> Result, Error> [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_partition.rs:1393:75 [INFO] [stdout] | [INFO] [stdout] 1393 | async fn requete_dechiffrage_message(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_partition.rs:621:72 [INFO] [stdout] | [INFO] [stdout] 621 | async fn commande_sauvegarder_cle(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_privee` [INFO] [stdout] --> src/maitredescles_partition.rs:1606:9 [INFO] [stdout] | [INFO] [stdout] 1606 | let cle_privee = &enveloppe_privee.cle_privee; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_privee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_mongo_dechiffree` [INFO] [stdout] --> src/maitredescles_partition.rs:1618:13 [INFO] [stdout] | [INFO] [stdout] 1618 | let cle_mongo_dechiffree = gestionnaire.handler_rechiffrage.dechiffer_cle_secrete(cle_interne_chiffree)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_mongo_dechiffree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint_ca` [INFO] [stdout] --> src/maitredescles_partition.rs:987:9 [INFO] [stdout] | [INFO] [stdout] 987 | let fingerprint_ca = enveloppe_privee.enveloppe_ca.fingerprint()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint` [INFO] [stdout] --> src/maitredescles_partition.rs:988:9 [INFO] [stdout] | [INFO] [stdout] 988 | let fingerprint = enveloppe_privee.enveloppe_pub.fingerprint()?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collection` [INFO] [stdout] --> src/maitredescles_partition.rs:995:9 [INFO] [stdout] | [INFO] [stdout] 995 | let collection = middleware.get_collection(nom_collection_cles.as_str())?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_partition.rs:967:55 [INFO] [stdout] | [INFO] [stdout] 967 | async fn commande_rechiffrer_batch(middleware: &M, mut m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/maitredescles_partition.rs:2400:114 [INFO] [stdout] | [INFO] [stdout] 2400 | async fn commande_verifier_cle_symmetrique(middleware: &M, gestionnaire: &GestionnaireMaitreDesClesPartition, m: &MessageValide) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_partition.rs:2292:37 [INFO] [stdout] | [INFO] [stdout] 2292 | async fn evenement_cle_manquante(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/maitredescles_partition.rs:2292:53 [INFO] [stdout] | [INFO] [stdout] 2292 | async fn evenement_cle_manquante(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_partition.rs:2292:71 [INFO] [stdout] | [INFO] [stdout] 2292 | async fn evenement_cle_manquante(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_partition.rs:541:35 [INFO] [stdout] | [INFO] [stdout] 541 | async fn consommer_transaction(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) -> Result src/maitredescles_partition.rs:541:69 [INFO] [stdout] | [INFO] [stdout] 541 | ... &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) -> Result, Error> [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_commun.rs:295:38 [INFO] [stdout] | [INFO] [stdout] 295 | pub async fn preparer_rechiffreur(middleware: &M, handler_rechiffrage: &HandlerCleRechiffrage) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_partition.rs:621:72 [INFO] [stdout] | [INFO] [stdout] 621 | async fn commande_sauvegarder_cle(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_partition.rs:2580:75 [INFO] [stdout] | [INFO] [stdout] 2580 | pub async fn commande_dechiffrer_cle(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_partition.rs:1091:36 [INFO] [stdout] | [INFO] [stdout] 1091 | async fn aiguillage_transaction(middleware: &M, transaction: TransactionValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_partition.rs:1091:84 [INFO] [stdout] | [INFO] [stdout] 1091 | async fn aiguillage_transaction(middleware: &M, transaction: TransactionValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint_ca` [INFO] [stdout] --> src/maitredescles_partition.rs:987:9 [INFO] [stdout] | [INFO] [stdout] 987 | let fingerprint_ca = enveloppe_privee.enveloppe_ca.fingerprint()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint` [INFO] [stdout] --> src/maitredescles_partition.rs:988:9 [INFO] [stdout] | [INFO] [stdout] 988 | let fingerprint = enveloppe_privee.enveloppe_pub.fingerprint()?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collection` [INFO] [stdout] --> src/maitredescles_partition.rs:995:9 [INFO] [stdout] | [INFO] [stdout] 995 | let collection = middleware.get_collection(nom_collection_cles.as_str())?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enveloppe_privee` [INFO] [stdout] --> src/maitredescles_partition.rs:1688:5 [INFO] [stdout] | [INFO] [stdout] 1688 | enveloppe_privee: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enveloppe_privee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `certificat` [INFO] [stdout] --> src/maitredescles_partition.rs:1689:5 [INFO] [stdout] | [INFO] [stdout] 1689 | certificat: &EnveloppeCertificat, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_certificat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rechiffreur` [INFO] [stdout] --> src/maitredescles_partition.rs:1700:9 [INFO] [stdout] | [INFO] [stdout] 1700 | let rechiffreur = &gestionnaire.handler_rechiffrage; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rechiffreur` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle` [INFO] [stdout] --> src/maitredescles_partition.rs:1707:25 [INFO] [stdout] | [INFO] [stdout] 1707 | let mut cle: RowClePartition = match convertir_bson_deserializable(doc_cle) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_partition.rs:1697:9 [INFO] [stdout] | [INFO] [stdout] 1697 | let mut cles: HashMap = HashMap::new(); [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] --> src/maitredescles_partition.rs:1707:21 [INFO] [stdout] | [INFO] [stdout] 1707 | let mut cle: RowClePartition = match convertir_bson_deserializable(doc_cle) { [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] --> src/maitredescles_partition.rs:967:55 [INFO] [stdout] | [INFO] [stdout] 967 | async fn commande_rechiffrer_batch(middleware: &M, mut m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/maitredescles_partition.rs:2400:114 [INFO] [stdout] | [INFO] [stdout] 2400 | async fn commande_verifier_cle_symmetrique(middleware: &M, gestionnaire: &GestionnaireMaitreDesClesPartition, m: &MessageValide) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_commun.rs:295:38 [INFO] [stdout] | [INFO] [stdout] 295 | pub async fn preparer_rechiffreur(middleware: &M, handler_rechiffrage: &HandlerCleRechiffrage) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_partition.rs:2580:75 [INFO] [stdout] | [INFO] [stdout] 2580 | pub async fn commande_dechiffrer_cle(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_partition.rs:1091:36 [INFO] [stdout] | [INFO] [stdout] 1091 | async fn aiguillage_transaction(middleware: &M, transaction: TransactionValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_partition.rs:1091:84 [INFO] [stdout] | [INFO] [stdout] 1091 | async fn aiguillage_transaction(middleware: &M, transaction: TransactionValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enveloppe_privee` [INFO] [stdout] --> src/maitredescles_partition.rs:1688:5 [INFO] [stdout] | [INFO] [stdout] 1688 | enveloppe_privee: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enveloppe_privee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `certificat` [INFO] [stdout] --> src/maitredescles_partition.rs:1689:5 [INFO] [stdout] | [INFO] [stdout] 1689 | certificat: &EnveloppeCertificat, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_certificat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rechiffreur` [INFO] [stdout] --> src/maitredescles_partition.rs:1700:9 [INFO] [stdout] | [INFO] [stdout] 1700 | let rechiffreur = &gestionnaire.handler_rechiffrage; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rechiffreur` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle` [INFO] [stdout] --> src/maitredescles_partition.rs:1707:25 [INFO] [stdout] | [INFO] [stdout] 1707 | let mut cle: RowClePartition = match convertir_bson_deserializable(doc_cle) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_partition.rs:1697:9 [INFO] [stdout] | [INFO] [stdout] 1697 | let mut cles: HashMap = HashMap::new(); [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] --> src/maitredescles_partition.rs:1707:21 [INFO] [stdout] | [INFO] [stdout] 1707 | let mut cle: RowClePartition = match convertir_bson_deserializable(doc_cle) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire_ca` [INFO] [stdout] --> src/maitredescles_ca.rs:358:72 [INFO] [stdout] | [INFO] [stdout] 358 | async fn commande_sauvegarder_cle(middleware: &M, m: MessageValide, gestionnaire_ca: &GestionnaireMaitreDesClesCa) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_ca.rs:640:9 [INFO] [stdout] | [INFO] [stdout] 640 | let mut set_on_insert = doc! { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ca` [INFO] [stdout] --> src/maitredescles_commun.rs:101:90 [INFO] [stdout] | [INFO] [stdout] 101 | pub async fn preparer_index_mongodb_custom(middleware: &M, nom_collection_cles: &str, ca: bool) -> Result<(), Error> [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_commun.rs:338:40 [INFO] [stdout] | [INFO] [stdout] 338 | pub async fn requete_cles_inconnues(middleware: &M, requete: &RequeteDechiffrage, cles_connues: Vec) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `domaine` [INFO] [stdout] --> src/maitredescles_commun.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | let domaine = requete.domaine.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_domaine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `routage_evenement_manquant` [INFO] [stdout] --> src/maitredescles_commun.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | let routage_evenement_manquant = RoutageMessageAction::builder( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_routage_evenement_manquant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire_ca` [INFO] [stdout] --> src/maitredescles_ca.rs:358:72 [INFO] [stdout] | [INFO] [stdout] 358 | async fn commande_sauvegarder_cle(middleware: &M, m: MessageValide, gestionnaire_ca: &GestionnaireMaitreDesClesCa) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint` [INFO] [stdout] --> src/maitredescles_sqlite.rs:982:9 [INFO] [stdout] | [INFO] [stdout] 982 | let fingerprint = enveloppe_privee.fingerprint()?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cles` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1030:13 [INFO] [stdout] | [INFO] [stdout] 1030 | let mut cles = { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_sqlite.rs:1030:9 [INFO] [stdout] | [INFO] [stdout] 1030 | let mut cles = { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1265:54 [INFO] [stdout] | [INFO] [stdout] 1265 | async fn verifier_autorisation_dechiffrage_global(middleware: &M, m: &MessageValide, requete: &RequeteDechiffrage) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `requete` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1265:89 [INFO] [stdout] | [INFO] [stdout] 1265 | async fn verifier_autorisation_dechiffrage_global(middleware: &M, m: &MessageValide, requete: &RequeteDechiffrage) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_requete` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permission` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1278:13 [INFO] [stdout] | [INFO] [stdout] 1278 | let mut permission: Option = None; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permission` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_sqlite.rs:1278:9 [INFO] [stdout] | [INFO] [stdout] 1278 | let mut permission: Option = None; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1101:37 [INFO] [stdout] | [INFO] [stdout] 1101 | async fn requete_verifier_preuve(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesSQLite) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1101:53 [INFO] [stdout] | [INFO] [stdout] 1101 | async fn requete_verifier_preuve(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesSQLite) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1101:71 [INFO] [stdout] | [INFO] [stdout] 1101 | async fn requete_verifier_preuve(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesSQLite) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `est_evenement` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1617:9 [INFO] [stdout] | [INFO] [stdout] 1617 | let est_evenement = match &m.type_message { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_est_evenement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `routage_commande` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1640:9 [INFO] [stdout] | [INFO] [stdout] 1640 | let routage_commande = RoutageMessageAction::builder(DOMAINE_NOM, COMMANDE_SAUVEGARDER_CLE, vec![Securite::L4Secure]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_routage_commande` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hachages_bytes_list` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1644:9 [INFO] [stdout] | [INFO] [stdout] 1644 | let hachages_bytes_list = event_non_dechiffrables.liste_cle_id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hachages_bytes_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connexion` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1646:9 [INFO] [stdout] | [INFO] [stdout] 1646 | let connexion = gestionnaire.ouvrir_connection(middleware, true); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connexion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:624:35 [INFO] [stdout] | [INFO] [stdout] 624 | async fn consommer_transaction(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesSQLite) -> Result src/maitredescles_sqlite.rs:624:69 [INFO] [stdout] | [INFO] [stdout] 624 | ... &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesSQLite) -> Result, Error> [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_ca.rs:640:9 [INFO] [stdout] | [INFO] [stdout] 640 | let mut set_on_insert = doc! { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `correlation_id` [INFO] [stdout] --> src/maitredescles_sqlite.rs:787:9 [INFO] [stdout] | [INFO] [stdout] 787 | let correlation_id = match &m.type_message { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_correlation_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commande` [INFO] [stdout] --> src/maitredescles_sqlite.rs:797:9 [INFO] [stdout] | [INFO] [stdout] 797 | let commande: CommandeRechiffrerBatch = serde_json::from_slice(&message_dechiffre.data_dechiffre[..])?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commande` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connexion` [INFO] [stdout] --> src/maitredescles_sqlite.rs:799:9 [INFO] [stdout] | [INFO] [stdout] 799 | let connexion = gestionnaire.ouvrir_connection(middleware, false); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connexion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint_ca` [INFO] [stdout] --> src/maitredescles_sqlite.rs:802:9 [INFO] [stdout] | [INFO] [stdout] 802 | let fingerprint_ca = enveloppe_privee.enveloppe_ca.fingerprint()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint` [INFO] [stdout] --> src/maitredescles_sqlite.rs:803:9 [INFO] [stdout] | [INFO] [stdout] 803 | let fingerprint = enveloppe_privee.fingerprint()?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `routage_commande` [INFO] [stdout] --> src/maitredescles_sqlite.rs:805:9 [INFO] [stdout] | [INFO] [stdout] 805 | let routage_commande = RoutageMessageAction::builder(DOMAINE_NOM, COMMANDE_SAUVEGARDER_CLE, vec![Securite::L4Secure]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_routage_commande` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ca` [INFO] [stdout] --> src/maitredescles_commun.rs:101:90 [INFO] [stdout] | [INFO] [stdout] 101 | pub async fn preparer_index_mongodb_custom(middleware: &M, nom_collection_cles: &str, ca: bool) -> Result<(), Error> [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1697:111 [INFO] [stdout] | [INFO] [stdout] 1697 | async fn commande_verifier_cle_symmetrique(middleware: &M, gestionnaire: &GestionnaireMaitreDesClesSQLite, m: &MessageValide) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_commun.rs:338:40 [INFO] [stdout] | [INFO] [stdout] 338 | pub async fn requete_cles_inconnues(middleware: &M, requete: &RequeteDechiffrage, cles_connues: Vec) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `domaine` [INFO] [stdout] --> src/maitredescles_commun.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | let domaine = requete.domaine.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_domaine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `routage_evenement_manquant` [INFO] [stdout] --> src/maitredescles_commun.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | let routage_evenement_manquant = RoutageMessageAction::builder( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_routage_evenement_manquant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_sqlite.rs:2036:75 [INFO] [stdout] | [INFO] [stdout] 2036 | pub async fn commande_dechiffrer_cle(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesSQLite) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction` [INFO] [stdout] --> src/maitredescles_sqlite.rs:837:53 [INFO] [stdout] | [INFO] [stdout] 837 | async fn aiguillage_transaction(_middleware: &M, transaction: TransactionValide, _gestionnaire: &GestionnaireMaitreDesClesSQLite) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_sqlite.rs:890:25 [INFO] [stdout] | [INFO] [stdout] 890 | let mut futures_consumer = FuturesUnordered::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1493:5 [INFO] [stdout] | [INFO] [stdout] 1493 | middleware: &M, gestionnaire: &GestionnaireMaitreDesClesSQLite, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1493:21 [INFO] [stdout] | [INFO] [stdout] 1493 | middleware: &M, gestionnaire: &GestionnaireMaitreDesClesSQLite, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cles_emises` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1494:5 [INFO] [stdout] | [INFO] [stdout] 1494 | cles_emises: &Vec, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cles_emises` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cles_manquantes` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1495:5 [INFO] [stdout] | [INFO] [stdout] 1495 | cles_manquantes: &Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cles_manquantes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint` [INFO] [stdout] --> src/maitredescles_sqlite.rs:982:9 [INFO] [stdout] | [INFO] [stdout] 982 | let fingerprint = enveloppe_privee.fingerprint()?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cles` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1030:13 [INFO] [stdout] | [INFO] [stdout] 1030 | let mut cles = { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_sqlite.rs:1030:9 [INFO] [stdout] | [INFO] [stdout] 1030 | let mut cles = { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1265:54 [INFO] [stdout] | [INFO] [stdout] 1265 | async fn verifier_autorisation_dechiffrage_global(middleware: &M, m: &MessageValide, requete: &RequeteDechiffrage) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `requete` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1265:89 [INFO] [stdout] | [INFO] [stdout] 1265 | async fn verifier_autorisation_dechiffrage_global(middleware: &M, m: &MessageValide, requete: &RequeteDechiffrage) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_requete` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permission` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1278:13 [INFO] [stdout] | [INFO] [stdout] 1278 | let mut permission: Option = None; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permission` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_sqlite.rs:1278:9 [INFO] [stdout] | [INFO] [stdout] 1278 | let mut permission: Option = None; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1101:37 [INFO] [stdout] | [INFO] [stdout] 1101 | async fn requete_verifier_preuve(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesSQLite) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1101:53 [INFO] [stdout] | [INFO] [stdout] 1101 | async fn requete_verifier_preuve(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesSQLite) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1101:71 [INFO] [stdout] | [INFO] [stdout] 1101 | async fn requete_verifier_preuve(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesSQLite) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `est_evenement` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1617:9 [INFO] [stdout] | [INFO] [stdout] 1617 | let est_evenement = match &m.type_message { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_est_evenement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `routage_commande` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1640:9 [INFO] [stdout] | [INFO] [stdout] 1640 | let routage_commande = RoutageMessageAction::builder(DOMAINE_NOM, COMMANDE_SAUVEGARDER_CLE, vec![Securite::L4Secure]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_routage_commande` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hachages_bytes_list` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1644:9 [INFO] [stdout] | [INFO] [stdout] 1644 | let hachages_bytes_list = event_non_dechiffrables.liste_cle_id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hachages_bytes_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connexion` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1646:9 [INFO] [stdout] | [INFO] [stdout] 1646 | let connexion = gestionnaire.ouvrir_connection(middleware, true); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connexion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:624:35 [INFO] [stdout] | [INFO] [stdout] 624 | async fn consommer_transaction(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesSQLite) -> Result src/maitredescles_sqlite.rs:624:69 [INFO] [stdout] | [INFO] [stdout] 624 | ... &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesSQLite) -> Result, Error> [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `correlation_id` [INFO] [stdout] --> src/maitredescles_sqlite.rs:787:9 [INFO] [stdout] | [INFO] [stdout] 787 | let correlation_id = match &m.type_message { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_correlation_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commande` [INFO] [stdout] --> src/maitredescles_sqlite.rs:797:9 [INFO] [stdout] | [INFO] [stdout] 797 | let commande: CommandeRechiffrerBatch = serde_json::from_slice(&message_dechiffre.data_dechiffre[..])?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commande` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connexion` [INFO] [stdout] --> src/maitredescles_sqlite.rs:799:9 [INFO] [stdout] | [INFO] [stdout] 799 | let connexion = gestionnaire.ouvrir_connection(middleware, false); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connexion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint_ca` [INFO] [stdout] --> src/maitredescles_sqlite.rs:802:9 [INFO] [stdout] | [INFO] [stdout] 802 | let fingerprint_ca = enveloppe_privee.enveloppe_ca.fingerprint()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint` [INFO] [stdout] --> src/maitredescles_sqlite.rs:803:9 [INFO] [stdout] | [INFO] [stdout] 803 | let fingerprint = enveloppe_privee.fingerprint()?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `routage_commande` [INFO] [stdout] --> src/maitredescles_sqlite.rs:805:9 [INFO] [stdout] | [INFO] [stdout] 805 | let routage_commande = RoutageMessageAction::builder(DOMAINE_NOM, COMMANDE_SAUVEGARDER_CLE, vec![Securite::L4Secure]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_routage_commande` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1697:111 [INFO] [stdout] | [INFO] [stdout] 1697 | async fn commande_verifier_cle_symmetrique(middleware: &M, gestionnaire: &GestionnaireMaitreDesClesSQLite, m: &MessageValide) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_sqlite.rs:2036:75 [INFO] [stdout] | [INFO] [stdout] 2036 | pub async fn commande_dechiffrer_cle(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesSQLite) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction` [INFO] [stdout] --> src/maitredescles_sqlite.rs:837:53 [INFO] [stdout] | [INFO] [stdout] 837 | async fn aiguillage_transaction(_middleware: &M, transaction: TransactionValide, _gestionnaire: &GestionnaireMaitreDesClesSQLite) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_sqlite.rs:890:25 [INFO] [stdout] | [INFO] [stdout] 890 | let mut futures_consumer = FuturesUnordered::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1493:5 [INFO] [stdout] | [INFO] [stdout] 1493 | middleware: &M, gestionnaire: &GestionnaireMaitreDesClesSQLite, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1493:21 [INFO] [stdout] | [INFO] [stdout] 1493 | middleware: &M, gestionnaire: &GestionnaireMaitreDesClesSQLite, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cles_emises` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1494:5 [INFO] [stdout] | [INFO] [stdout] 1494 | cles_emises: &Vec, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cles_emises` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cles_manquantes` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1495:5 [INFO] [stdout] | [INFO] [stdout] 1495 | cles_manquantes: &Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cles_manquantes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/messages.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 83 | todo!("Fix me - deconge en base64, pas en multibase"); [INFO] [stdout] | ----------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 84 | / Ok(Self { [INFO] [stdout] 85 | | contenu: multibase::decode(value.contenu_escaped)?.1, [INFO] [stdout] 86 | | dechiffrage: (&dechiffrage).into(), [INFO] [stdout] 87 | | }) [INFO] [stdout] | |__________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/maitredescles_partition.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{Debug, Display, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::tokio::io::AsyncReadExt` [INFO] [stdout] --> src/maitredescles_sqlite.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use millegrilles_common_rust::tokio::io::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/maitredescles_partition.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | use millegrilles_common_rust::serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CleDechiffrage` [INFO] [stdout] --> src/maitredescles_partition.rs:31:97 [INFO] [stdout] | [INFO] [stdout] 31 | use millegrilles_common_rust::millegrilles_cryptographie::chiffrage_cles::{CleChiffrageHandler, CleDechiffrage, CleSecreteSerialisee}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::tokio_stream::StreamExt` [INFO] [stdout] --> src/maitredescles_sqlite.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | use millegrilles_common_rust::tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/maitredescles_partition.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | Some(p) => Ok(Some("MaitreDesCles/cles".to_string())), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/maitredescles_partition.rs:148:36 [INFO] [stdout] | [INFO] [stdout] 148 | let dechiffrer = if let Ok(v) = std::env::var("DESACTIVER_DECHIFFRAGE") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/messages.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 83 | todo!("Fix me - deconge en base64, pas en multibase"); [INFO] [stdout] | ----------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 84 | / Ok(Self { [INFO] [stdout] 85 | | contenu: multibase::decode(value.contenu_escaped)?.1, [INFO] [stdout] 86 | | dechiffrage: (&dechiffrage).into(), [INFO] [stdout] 87 | | }) [INFO] [stdout] | |__________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/maitredescles_partition.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{Debug, Display, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::tokio::io::AsyncReadExt` [INFO] [stdout] --> src/maitredescles_sqlite.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use millegrilles_common_rust::tokio::io::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/maitredescles_partition.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | use millegrilles_common_rust::serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CleDechiffrage` [INFO] [stdout] --> src/maitredescles_partition.rs:31:97 [INFO] [stdout] | [INFO] [stdout] 31 | use millegrilles_common_rust::millegrilles_cryptographie::chiffrage_cles::{CleChiffrageHandler, CleDechiffrage, CleSecreteSerialisee}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::tokio_stream::StreamExt` [INFO] [stdout] --> src/maitredescles_sqlite.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | use millegrilles_common_rust::tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/maitredescles_partition.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | Some(p) => Ok(Some("MaitreDesCles/cles".to_string())), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/maitredescles_partition.rs:148:36 [INFO] [stdout] | [INFO] [stdout] 148 | let dechiffrer = if let Ok(v) = std::env::var("DESACTIVER_DECHIFFRAGE") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_partition.rs:410:29 [INFO] [stdout] | [INFO] [stdout] 410 | let mut futures_consumer = FuturesUnordered::new(); [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] --> src/maitredescles_partition.rs:410:29 [INFO] [stdout] | [INFO] [stdout] 410 | let mut futures_consumer = FuturesUnordered::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/maitredescles_commun.rs:532:13 [INFO] [stdout] | [INFO] [stdout] 532 | let header = match value.header { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format` [INFO] [stdout] --> src/maitredescles_commun.rs:536:13 [INFO] [stdout] | [INFO] [stdout] 536 | let format: &str = value.format.into(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/maitredescles_commun.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | let header = match value.header { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_secrete` [INFO] [stdout] --> src/maitredescles_commun.rs:565:26 [INFO] [stdout] | [INFO] [stdout] 565 | pub fn from_commande(cle_secrete: &CleSecreteX25519, value: CommandeSauvegarderCle) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_secrete` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/maitredescles_commun.rs:585:13 [INFO] [stdout] | [INFO] [stdout] 585 | let header = match value.header { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_secrete_string` [INFO] [stdout] --> src/maitredescles_commun.rs:589:13 [INFO] [stdout] | [INFO] [stdout] 589 | let cle_secrete_string: String = multibase::encode(Base::Base64, &cle_secrete.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_secrete_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/maitredescles_commun.rs:796:13 [INFO] [stdout] | [INFO] [stdout] 796 | fn from(value: CommandeSauvegarderCle) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint_` [INFO] [stdout] --> src/maitredescles_commun.rs:820:13 [INFO] [stdout] | [INFO] [stdout] 820 | let fingerprint_ = fingerprint.into(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cles` [INFO] [stdout] --> src/maitredescles_commun.rs:821:17 [INFO] [stdout] | [INFO] [stdout] 821 | let mut cles: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_commun.rs:821:13 [INFO] [stdout] | [INFO] [stdout] 821 | let mut cles: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint` [INFO] [stdout] --> src/maitredescles_commun.rs:843:13 [INFO] [stdout] | [INFO] [stdout] 843 | let fingerprint = fingerprint.into(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_ref` [INFO] [stdout] --> src/maitredescles_commun.rs:844:13 [INFO] [stdout] | [INFO] [stdout] 844 | let cle_ref = cle_ref.into(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/maitredescles_commun.rs:839:49 [INFO] [stdout] | [INFO] [stdout] 839 | pub fn try_into_document_cle_partition(value: &DocCleSymmetrique, fingerprint: S, cle_ref: T) -> Result [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/maitredescles_commun.rs:982:13 [INFO] [stdout] | [INFO] [stdout] 982 | fn from(value: RowClePartition) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/maitredescles_commun.rs:1027:13 [INFO] [stdout] | [INFO] [stdout] 1027 | fn from(value: &'a CleSecreteRechiffrage) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_commun.rs:1050:13 [INFO] [stdout] | [INFO] [stdout] 1050 | let mut iv_bytes: Vec = match multibase::decode(iv) { [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] --> src/maitredescles_commun.rs:1058:13 [INFO] [stdout] | [INFO] [stdout] 1058 | let mut tag_bytes: Vec = match multibase::decode(tag) { [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] --> src/maitredescles_commun.rs:1066:13 [INFO] [stdout] | [INFO] [stdout] 1066 | let mut header_bytes: Vec = match multibase::decode(header) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint` [INFO] [stdout] --> src/maitredescles_sqlite.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let fingerprint = self.handler_rechiffrage.fingerprint(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/maitredescles_sqlite.rs:424:36 [INFO] [stdout] | [INFO] [stdout] 424 | let dechiffrer = if let Ok(v) = std::env::var("DESACTIVER_DECHIFFRAGE") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cles` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1220:13 [INFO] [stdout] | [INFO] [stdout] 1220 | let mut cles: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1208:5 [INFO] [stdout] | [INFO] [stdout] 1208 | middleware: &M, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1209:5 [INFO] [stdout] | [INFO] [stdout] 1209 | gestionnaire: &GestionnaireMaitreDesClesSQLite, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connexion` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1210:5 [INFO] [stdout] | [INFO] [stdout] 1210 | connexion: &mut Connection, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connexion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `requete` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1211:5 [INFO] [stdout] | [INFO] [stdout] 1211 | requete: &RequeteDechiffrage, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_requete` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enveloppe_privee` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1212:5 [INFO] [stdout] | [INFO] [stdout] 1212 | enveloppe_privee: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enveloppe_privee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `certificat` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1213:5 [INFO] [stdout] | [INFO] [stdout] 1213 | certificat: &EnveloppeCertificat, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_certificat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permission` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1214:5 [INFO] [stdout] | [INFO] [stdout] 1214 | permission: Option<&EnveloppePermission>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permission` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `domaines_permis` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1215:5 [INFO] [stdout] | [INFO] [stdout] 1215 | domaines_permis: Option<&Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_domaines_permis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_sqlite.rs:1220:9 [INFO] [stdout] | [INFO] [stdout] 1220 | let mut cles: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_chiffree` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1728:19 [INFO] [stdout] | [INFO] [stdout] 1728 | let (cle_ref, cle_chiffree) = info_cle.rechiffrer_cle( [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_chiffree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prepared_statement_cle` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1743:13 [INFO] [stdout] | [INFO] [stdout] 1743 | let mut prepared_statement_cle = connection [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prepared_statement_cle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prepared_statement_identificateurs` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1748:13 [INFO] [stdout] | [INFO] [stdout] 1748 | let mut prepared_statement_identificateurs = connection [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prepared_statement_identificateurs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format_str` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1754:9 [INFO] [stdout] | [INFO] [stdout] 1754 | let format_str: String = serde_json::to_string(&info_cle.format)?.replace("\"", ""); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_format_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1721:5 [INFO] [stdout] | [INFO] [stdout] 1721 | middleware: &M, gestionnaire: &GestionnaireMaitreDesClesSQLite, connection: &Connection, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_sqlite.rs:1743:9 [INFO] [stdout] | [INFO] [stdout] 1743 | let mut prepared_statement_cle = connection [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] --> src/maitredescles_sqlite.rs:1748:9 [INFO] [stdout] | [INFO] [stdout] 1748 | let mut prepared_statement_identificateurs = connection [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format_chiffrage` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1830:9 [INFO] [stdout] | [INFO] [stdout] 1830 | let format_chiffrage = match format_str.as_str() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_format_chiffrage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_privee` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1915:9 [INFO] [stdout] | [INFO] [stdout] 1915 | let cle_privee = middleware.get_enveloppe_signature(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_privee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | Err(e) => Err(std::fmt::Error{})? [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_privee` [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let cle_privee = enveloppe_privee.cle_privee.to_owned(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_privee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:250:25 [INFO] [stdout] | [INFO] [stdout] 250 | let mut cipher = XChaCha20Poly1305::new((&inner.0).into()); [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] --> src/maitredescles_rechiffrage.rs:276:21 [INFO] [stdout] | [INFO] [stdout] 276 | let mut cipher = XChaCha20Poly1305::new((&inner.0).into()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dechiffrage` [INFO] [stdout] --> src/messages.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let dechiffrage = match value.dechiffrage.take() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dechiffrage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/messages.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn new(middleware: &M, contenu: S, certificat_demandeur: &EnveloppeCertificat) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contenu` [INFO] [stdout] --> src/messages.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn new(middleware: &M, contenu: S, certificat_demandeur: &EnveloppeCertificat) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contenu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `certificat_demandeur` [INFO] [stdout] --> src/messages.rs:92:49 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn new(middleware: &M, contenu: S, certificat_demandeur: &EnveloppeCertificat) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_certificat_demandeur` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/messages.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | let (header, cle_secrete) = match self.dechiffrage.cles.as_ref() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_secrete` [INFO] [stdout] --> src/messages.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | let (header, cle_secrete) = match self.dechiffrage.cles.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_secrete` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/maitredescles_commun.rs:532:13 [INFO] [stdout] | [INFO] [stdout] 532 | let header = match value.header { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format` [INFO] [stdout] --> src/maitredescles_commun.rs:536:13 [INFO] [stdout] | [INFO] [stdout] 536 | let format: &str = value.format.into(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/maitredescles_commun.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | let header = match value.header { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_secrete` [INFO] [stdout] --> src/maitredescles_commun.rs:565:26 [INFO] [stdout] | [INFO] [stdout] 565 | pub fn from_commande(cle_secrete: &CleSecreteX25519, value: CommandeSauvegarderCle) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_secrete` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/maitredescles_commun.rs:585:13 [INFO] [stdout] | [INFO] [stdout] 585 | let header = match value.header { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_secrete_string` [INFO] [stdout] --> src/maitredescles_commun.rs:589:13 [INFO] [stdout] | [INFO] [stdout] 589 | let cle_secrete_string: String = multibase::encode(Base::Base64, &cle_secrete.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_secrete_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDEX_RECHIFFRAGE_PK` is never used [INFO] [stdout] --> src/maitredescles_partition.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | const INDEX_RECHIFFRAGE_PK: &str = "fingerprint_pk"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_FINGERPRINT_PK` is never used [INFO] [stdout] --> src/maitredescles_partition.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | const CHAMP_FINGERPRINT_PK: &str = "fingerprint_pk"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rechiffrer_cles` is never used [INFO] [stdout] --> src/maitredescles_partition.rs:1683:10 [INFO] [stdout] | [INFO] [stdout] 1683 | async fn rechiffrer_cles( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `preparer_curseur_cles` is never used [INFO] [stdout] --> src/maitredescles_partition.rs:1736:10 [INFO] [stdout] | [INFO] [stdout] 1736 | async fn preparer_curseur_cles( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fingerprint` is never read [INFO] [stdout] --> src/maitredescles_ca.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct GestionnaireMaitreDesClesCa { [INFO] [stdout] | --------------------------- field in this struct [INFO] [stdout] 51 | pub fingerprint: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GestionnaireMaitreDesClesCa` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDEX_CLES_HACHAGE_BYTES` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | pub const INDEX_CLES_HACHAGE_BYTES: &str = "index_hachage_bytes"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_DOMAINE` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | pub const CHAMP_DOMAINE: &str = "domaine"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_LISTE_HACHAGE_BYTES` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | pub const CHAMP_LISTE_HACHAGE_BYTES: &str = "liste_hachage_bytes"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_LISTE_CLE_REF` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | pub const CHAMP_LISTE_CLE_REF: &str = "liste_cle_ref"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_CLES` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 90 | pub const CHAMP_CLES: &str = "cles"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_LISTE_CLES` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | pub const CHAMP_LISTE_CLES: &str = "liste_cles"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_ACCES_REFUSE` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | pub const CHAMP_ACCES_REFUSE: &str = "0.refuse"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_ACCES_PERMIS` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | pub const CHAMP_ACCES_PERMIS: &str = "1.permis"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `requete_cles_inconnues` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:338:14 [INFO] [stdout] | [INFO] [stdout] 338 | pub async fn requete_cles_inconnues(middleware: &M, requete: &RequeteDechiffrage, cles_connues: Vec) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `enveloppe` and `permission` are never read [INFO] [stdout] --> src/maitredescles_commun.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 397 | pub struct EnveloppePermission { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 398 | pub enveloppe: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 399 | pub permission: PermissionDechiffrage, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnveloppePermission` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_bson_filter` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:437:12 [INFO] [stdout] | [INFO] [stdout] 436 | impl CleSynchronisation { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 437 | pub fn get_bson_filter(cles: &Vec) -> Result, Error> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_doc_cle` and `get_cle_ref` are never used [INFO] [stdout] --> src/maitredescles_commun.rs:584:12 [INFO] [stdout] | [INFO] [stdout] 562 | impl CleSecreteRechiffrage { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 584 | pub fn from_doc_cle(cle_secrete: CleSecreteX25519, value: RowClePartition) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 619 | pub fn get_cle_ref(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_from_commande` and `into_commande` are never used [INFO] [stdout] --> src/maitredescles_commun.rs:712:12 [INFO] [stdout] | [INFO] [stdout] 711 | impl TransactionCle { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 712 | pub fn new_from_commande(commande: &CommandeSauvegarderCle, fingerprint: &str) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 736 | pub fn into_commande(self, fingerprint: S) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `into_commande` and `try_into_document_cle_partition` are never used [INFO] [stdout] --> src/maitredescles_commun.rs:817:12 [INFO] [stdout] | [INFO] [stdout] 815 | impl RowClePartition { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 816 | [INFO] [stdout] 817 | pub fn into_commande(self, fingerprint: S) -> CommandeSauvegarderCle [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 839 | pub fn try_into_document_cle_partition(value: &DocCleSymmetrique, fingerprint: S, cle_ref: T) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cle_id`, `cle_symmetrique`, and `nonce_symmetrique` are never read [INFO] [stdout] --> src/maitredescles_commun.rs:909:9 [INFO] [stdout] | [INFO] [stdout] 907 | pub struct RowClePartitionRef<'a> { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 908 | // Identite [INFO] [stdout] 909 | pub cle_id: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 913 | pub cle_symmetrique: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 914 | pub nonce_symmetrique: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RowClePartitionRef` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tx_messages`, `tx_triggers`, and `routing` are never read [INFO] [stdout] --> src/maitredescles_commun.rs:1001:9 [INFO] [stdout] | [INFO] [stdout] 1000 | pub struct GestionnaireRessources { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 1001 | pub tx_messages: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1002 | pub tx_triggers: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1003 | pub routing: Mutex>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hachage_bytes`, `iv`, `tag`, `header`, and `domaine` are never read [INFO] [stdout] --> src/maitredescles_commun.rs:1007:5 [INFO] [stdout] | [INFO] [stdout] 1006 | pub struct CleRefData<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 1007 | hachage_bytes: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 1008 | iv: Option<&'a str>, [INFO] [stdout] | ^^ [INFO] [stdout] 1009 | tag: Option<&'a str>, [INFO] [stdout] | ^^^ [INFO] [stdout] 1010 | header: Option<&'a str>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1011 | domaine: &'a str, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculer_cle_ref` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:1040:8 [INFO] [stdout] | [INFO] [stdout] 1040 | pub fn calculer_cle_ref(info: CleRefData, cle_secrete: &CleSecreteX25519) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cles` is never read [INFO] [stdout] --> src/maitredescles_commun.rs:1170:9 [INFO] [stdout] | [INFO] [stdout] 1169 | pub struct MessageListeCles { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 1170 | pub cles: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageListeCles` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOM_COLLECTION_RECHIFFRAGE` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | const NOM_COLLECTION_RECHIFFRAGE: &str = "MaitreDesCles/rechiffrage"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDEX_RECHIFFRAGE_PK` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | const INDEX_RECHIFFRAGE_PK: &str = "fingerprint_pk"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDEX_CONFIRMATION_CA` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | const INDEX_CONFIRMATION_CA: &str = "confirmation_ca"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_FINGERPRINT_PK` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | const CHAMP_FINGERPRINT_PK: &str = "fingerprint_pk"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_CONFIRMATION_CA` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | const CHAMP_CONFIRMATION_CA: &str = "confirmation_ca"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nom_collection_transactions` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:177:4 [INFO] [stdout] | [INFO] [stdout] 177 | fn nom_collection_transactions(_fingerprint: S) -> String [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_partition_tronquee` and `get_collection_cles` are never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 183 | impl GestionnaireMaitreDesClesSQLite { [INFO] [stdout] | ------------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn get_partition_tronquee(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | fn get_collection_cles(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `preparer_index_mongodb_partition` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:534:14 [INFO] [stdout] | [INFO] [stdout] 534 | pub async fn preparer_index_mongodb_partition(_middleware: &M, _gestionnaire: &GestionnaireMaitreDesClesSQLite) -> Result<(), String> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:548:8 [INFO] [stdout] | [INFO] [stdout] 547 | impl DocumentRechiffrage { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 548 | fn new(fingerprint_pk: S, fingerprint: T) -> Self where S: Into, T: Into { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emettre_cles_vers_ca` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:1460:10 [INFO] [stdout] | [INFO] [stdout] 1460 | async fn emettre_cles_vers_ca( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traiter_cles_manquantes_ca` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:1492:10 [INFO] [stdout] | [INFO] [stdout] 1492 | async fn traiter_cles_manquantes_ca( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `charger_cle` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:1794:4 [INFO] [stdout] | [INFO] [stdout] 1794 | fn charger_cle(connexion: &Connection, domaine: D, hachage_bytes: S) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_enveloppe_privee` is never used [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl HandlerCleRechiffrage { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn get_enveloppe_privee(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fingerprint` is never read [INFO] [stdout] --> src/messages.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct RequeteVerifierPreuve { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 20 | pub fingerprint: String, // fingerprint inclues dans la preuve [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequeteVerifierPreuve` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `date` and `preuve` are never read [INFO] [stdout] --> src/messages.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PreuveCle { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 26 | #[serde(with = "epochseconds")] [INFO] [stdout] 27 | pub date: DateTime, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | pub preuve: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PreuveCle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verifier_preuve` is never used [INFO] [stdout] --> src/messages.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl PreuveCle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 32 | pub fn verifier_preuve(&self, fingerprint: S, cle: &CleSecreteX25519) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/messages.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl MessageReponseChiffree { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 92 | pub fn new(middleware: &M, contenu: S, certificat_demandeur: &EnveloppeCertificat) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rechiffrer_asymetrique_multibase` is never used [INFO] [stdout] --> src/chiffrage_cles.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn rechiffrer_asymetrique_multibase(private_key: &PKey, public_key: &PKey, cle: &str) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chiffrer_asymetrique_multibase` is never used [INFO] [stdout] --> src/chiffrage_cles.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn chiffrer_asymetrique_multibase(cle_secrete: CleSecreteX25519, public_key: &PKey) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extraire_cle_secrete` is never used [INFO] [stdout] --> src/chiffrage_cles.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn extraire_cle_secrete(private_key: &PKey, cle: &str) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/maitredescles_commun.rs:796:13 [INFO] [stdout] | [INFO] [stdout] 796 | fn from(value: CommandeSauvegarderCle) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint_` [INFO] [stdout] --> src/maitredescles_commun.rs:820:13 [INFO] [stdout] | [INFO] [stdout] 820 | let fingerprint_ = fingerprint.into(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cles` [INFO] [stdout] --> src/maitredescles_commun.rs:821:17 [INFO] [stdout] | [INFO] [stdout] 821 | let mut cles: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_commun.rs:821:13 [INFO] [stdout] | [INFO] [stdout] 821 | let mut cles: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint` [INFO] [stdout] --> src/maitredescles_commun.rs:843:13 [INFO] [stdout] | [INFO] [stdout] 843 | let fingerprint = fingerprint.into(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_ref` [INFO] [stdout] --> src/maitredescles_commun.rs:844:13 [INFO] [stdout] | [INFO] [stdout] 844 | let cle_ref = cle_ref.into(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/maitredescles_commun.rs:839:49 [INFO] [stdout] | [INFO] [stdout] 839 | pub fn try_into_document_cle_partition(value: &DocCleSymmetrique, fingerprint: S, cle_ref: T) -> Result [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/maitredescles_commun.rs:982:13 [INFO] [stdout] | [INFO] [stdout] 982 | fn from(value: RowClePartition) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/maitredescles_commun.rs:1027:13 [INFO] [stdout] | [INFO] [stdout] 1027 | fn from(value: &'a CleSecreteRechiffrage) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_commun.rs:1050:13 [INFO] [stdout] | [INFO] [stdout] 1050 | let mut iv_bytes: Vec = match multibase::decode(iv) { [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] --> src/maitredescles_commun.rs:1058:13 [INFO] [stdout] | [INFO] [stdout] 1058 | let mut tag_bytes: Vec = match multibase::decode(tag) { [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] --> src/maitredescles_commun.rs:1066:13 [INFO] [stdout] | [INFO] [stdout] 1066 | let mut header_bytes: Vec = match multibase::decode(header) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 252 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint` [INFO] [stdout] --> src/maitredescles_sqlite.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let fingerprint = self.handler_rechiffrage.fingerprint(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/maitredescles_sqlite.rs:424:36 [INFO] [stdout] | [INFO] [stdout] 424 | let dechiffrer = if let Ok(v) = std::env::var("DESACTIVER_DECHIFFRAGE") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cles` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1220:13 [INFO] [stdout] | [INFO] [stdout] 1220 | let mut cles: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1208:5 [INFO] [stdout] | [INFO] [stdout] 1208 | middleware: &M, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1209:5 [INFO] [stdout] | [INFO] [stdout] 1209 | gestionnaire: &GestionnaireMaitreDesClesSQLite, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connexion` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1210:5 [INFO] [stdout] | [INFO] [stdout] 1210 | connexion: &mut Connection, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connexion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `requete` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1211:5 [INFO] [stdout] | [INFO] [stdout] 1211 | requete: &RequeteDechiffrage, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_requete` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enveloppe_privee` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1212:5 [INFO] [stdout] | [INFO] [stdout] 1212 | enveloppe_privee: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enveloppe_privee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `certificat` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1213:5 [INFO] [stdout] | [INFO] [stdout] 1213 | certificat: &EnveloppeCertificat, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_certificat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permission` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1214:5 [INFO] [stdout] | [INFO] [stdout] 1214 | permission: Option<&EnveloppePermission>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permission` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `domaines_permis` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1215:5 [INFO] [stdout] | [INFO] [stdout] 1215 | domaines_permis: Option<&Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_domaines_permis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_sqlite.rs:1220:9 [INFO] [stdout] | [INFO] [stdout] 1220 | let mut cles: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_chiffree` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1728:19 [INFO] [stdout] | [INFO] [stdout] 1728 | let (cle_ref, cle_chiffree) = info_cle.rechiffrer_cle( [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_chiffree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prepared_statement_cle` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1743:13 [INFO] [stdout] | [INFO] [stdout] 1743 | let mut prepared_statement_cle = connection [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prepared_statement_cle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prepared_statement_identificateurs` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1748:13 [INFO] [stdout] | [INFO] [stdout] 1748 | let mut prepared_statement_identificateurs = connection [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prepared_statement_identificateurs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format_str` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1754:9 [INFO] [stdout] | [INFO] [stdout] 1754 | let format_str: String = serde_json::to_string(&info_cle.format)?.replace("\"", ""); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_format_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1721:5 [INFO] [stdout] | [INFO] [stdout] 1721 | middleware: &M, gestionnaire: &GestionnaireMaitreDesClesSQLite, connection: &Connection, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_sqlite.rs:1743:9 [INFO] [stdout] | [INFO] [stdout] 1743 | let mut prepared_statement_cle = connection [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] --> src/maitredescles_sqlite.rs:1748:9 [INFO] [stdout] | [INFO] [stdout] 1748 | let mut prepared_statement_identificateurs = connection [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format_chiffrage` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1830:9 [INFO] [stdout] | [INFO] [stdout] 1830 | let format_chiffrage = match format_str.as_str() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_format_chiffrage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_privee` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1915:9 [INFO] [stdout] | [INFO] [stdout] 1915 | let cle_privee = middleware.get_enveloppe_signature(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_privee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | Err(e) => Err(std::fmt::Error{})? [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_privee` [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let cle_privee = enveloppe_privee.cle_privee.to_owned(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_privee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:250:25 [INFO] [stdout] | [INFO] [stdout] 250 | let mut cipher = XChaCha20Poly1305::new((&inner.0).into()); [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] --> src/maitredescles_rechiffrage.rs:276:21 [INFO] [stdout] | [INFO] [stdout] 276 | let mut cipher = XChaCha20Poly1305::new((&inner.0).into()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dechiffrage` [INFO] [stdout] --> src/messages.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let dechiffrage = match value.dechiffrage.take() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dechiffrage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/messages.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn new(middleware: &M, contenu: S, certificat_demandeur: &EnveloppeCertificat) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contenu` [INFO] [stdout] --> src/messages.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn new(middleware: &M, contenu: S, certificat_demandeur: &EnveloppeCertificat) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contenu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `certificat_demandeur` [INFO] [stdout] --> src/messages.rs:92:49 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn new(middleware: &M, contenu: S, certificat_demandeur: &EnveloppeCertificat) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_certificat_demandeur` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/messages.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | let (header, cle_secrete) = match self.dechiffrage.cles.as_ref() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_secrete` [INFO] [stdout] --> src/messages.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | let (header, cle_secrete) = match self.dechiffrage.cles.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_secrete` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDEX_RECHIFFRAGE_PK` is never used [INFO] [stdout] --> src/maitredescles_partition.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | const INDEX_RECHIFFRAGE_PK: &str = "fingerprint_pk"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_FINGERPRINT_PK` is never used [INFO] [stdout] --> src/maitredescles_partition.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | const CHAMP_FINGERPRINT_PK: &str = "fingerprint_pk"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rechiffrer_cles` is never used [INFO] [stdout] --> src/maitredescles_partition.rs:1683:10 [INFO] [stdout] | [INFO] [stdout] 1683 | async fn rechiffrer_cles( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `preparer_curseur_cles` is never used [INFO] [stdout] --> src/maitredescles_partition.rs:1736:10 [INFO] [stdout] | [INFO] [stdout] 1736 | async fn preparer_curseur_cles( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fingerprint` is never read [INFO] [stdout] --> src/maitredescles_ca.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct GestionnaireMaitreDesClesCa { [INFO] [stdout] | --------------------------- field in this struct [INFO] [stdout] 51 | pub fingerprint: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GestionnaireMaitreDesClesCa` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDEX_CLES_HACHAGE_BYTES` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | pub const INDEX_CLES_HACHAGE_BYTES: &str = "index_hachage_bytes"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_DOMAINE` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | pub const CHAMP_DOMAINE: &str = "domaine"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_LISTE_HACHAGE_BYTES` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | pub const CHAMP_LISTE_HACHAGE_BYTES: &str = "liste_hachage_bytes"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_LISTE_CLE_REF` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | pub const CHAMP_LISTE_CLE_REF: &str = "liste_cle_ref"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_CLES` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 90 | pub const CHAMP_CLES: &str = "cles"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_LISTE_CLES` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | pub const CHAMP_LISTE_CLES: &str = "liste_cles"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_ACCES_REFUSE` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | pub const CHAMP_ACCES_REFUSE: &str = "0.refuse"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_ACCES_PERMIS` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | pub const CHAMP_ACCES_PERMIS: &str = "1.permis"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `requete_cles_inconnues` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:338:14 [INFO] [stdout] | [INFO] [stdout] 338 | pub async fn requete_cles_inconnues(middleware: &M, requete: &RequeteDechiffrage, cles_connues: Vec) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `enveloppe` and `permission` are never read [INFO] [stdout] --> src/maitredescles_commun.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 397 | pub struct EnveloppePermission { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 398 | pub enveloppe: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 399 | pub permission: PermissionDechiffrage, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnveloppePermission` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_bson_filter` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:437:12 [INFO] [stdout] | [INFO] [stdout] 436 | impl CleSynchronisation { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 437 | pub fn get_bson_filter(cles: &Vec) -> Result, Error> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_doc_cle` and `get_cle_ref` are never used [INFO] [stdout] --> src/maitredescles_commun.rs:584:12 [INFO] [stdout] | [INFO] [stdout] 562 | impl CleSecreteRechiffrage { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 584 | pub fn from_doc_cle(cle_secrete: CleSecreteX25519, value: RowClePartition) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 619 | pub fn get_cle_ref(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_from_commande` and `into_commande` are never used [INFO] [stdout] --> src/maitredescles_commun.rs:712:12 [INFO] [stdout] | [INFO] [stdout] 711 | impl TransactionCle { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 712 | pub fn new_from_commande(commande: &CommandeSauvegarderCle, fingerprint: &str) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 736 | pub fn into_commande(self, fingerprint: S) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `into_commande` and `try_into_document_cle_partition` are never used [INFO] [stdout] --> src/maitredescles_commun.rs:817:12 [INFO] [stdout] | [INFO] [stdout] 815 | impl RowClePartition { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 816 | [INFO] [stdout] 817 | pub fn into_commande(self, fingerprint: S) -> CommandeSauvegarderCle [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 839 | pub fn try_into_document_cle_partition(value: &DocCleSymmetrique, fingerprint: S, cle_ref: T) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cle_id`, `cle_symmetrique`, and `nonce_symmetrique` are never read [INFO] [stdout] --> src/maitredescles_commun.rs:909:9 [INFO] [stdout] | [INFO] [stdout] 907 | pub struct RowClePartitionRef<'a> { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 908 | // Identite [INFO] [stdout] 909 | pub cle_id: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 913 | pub cle_symmetrique: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 914 | pub nonce_symmetrique: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RowClePartitionRef` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tx_messages`, `tx_triggers`, and `routing` are never read [INFO] [stdout] --> src/maitredescles_commun.rs:1001:9 [INFO] [stdout] | [INFO] [stdout] 1000 | pub struct GestionnaireRessources { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 1001 | pub tx_messages: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1002 | pub tx_triggers: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1003 | pub routing: Mutex>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hachage_bytes`, `iv`, `tag`, `header`, and `domaine` are never read [INFO] [stdout] --> src/maitredescles_commun.rs:1007:5 [INFO] [stdout] | [INFO] [stdout] 1006 | pub struct CleRefData<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 1007 | hachage_bytes: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 1008 | iv: Option<&'a str>, [INFO] [stdout] | ^^ [INFO] [stdout] 1009 | tag: Option<&'a str>, [INFO] [stdout] | ^^^ [INFO] [stdout] 1010 | header: Option<&'a str>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1011 | domaine: &'a str, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculer_cle_ref` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:1040:8 [INFO] [stdout] | [INFO] [stdout] 1040 | pub fn calculer_cle_ref(info: CleRefData, cle_secrete: &CleSecreteX25519) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cles` is never read [INFO] [stdout] --> src/maitredescles_commun.rs:1170:9 [INFO] [stdout] | [INFO] [stdout] 1169 | pub struct MessageListeCles { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 1170 | pub cles: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageListeCles` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOM_COLLECTION_RECHIFFRAGE` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | const NOM_COLLECTION_RECHIFFRAGE: &str = "MaitreDesCles/rechiffrage"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDEX_RECHIFFRAGE_PK` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | const INDEX_RECHIFFRAGE_PK: &str = "fingerprint_pk"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDEX_CONFIRMATION_CA` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | const INDEX_CONFIRMATION_CA: &str = "confirmation_ca"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_FINGERPRINT_PK` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | const CHAMP_FINGERPRINT_PK: &str = "fingerprint_pk"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_CONFIRMATION_CA` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | const CHAMP_CONFIRMATION_CA: &str = "confirmation_ca"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nom_collection_transactions` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:177:4 [INFO] [stdout] | [INFO] [stdout] 177 | fn nom_collection_transactions(_fingerprint: S) -> String [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_partition_tronquee` and `get_collection_cles` are never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 183 | impl GestionnaireMaitreDesClesSQLite { [INFO] [stdout] | ------------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn get_partition_tronquee(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | fn get_collection_cles(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `preparer_index_mongodb_partition` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:534:14 [INFO] [stdout] | [INFO] [stdout] 534 | pub async fn preparer_index_mongodb_partition(_middleware: &M, _gestionnaire: &GestionnaireMaitreDesClesSQLite) -> Result<(), String> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:548:8 [INFO] [stdout] | [INFO] [stdout] 547 | impl DocumentRechiffrage { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 548 | fn new(fingerprint_pk: S, fingerprint: T) -> Self where S: Into, T: Into { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emettre_cles_vers_ca` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:1460:10 [INFO] [stdout] | [INFO] [stdout] 1460 | async fn emettre_cles_vers_ca( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traiter_cles_manquantes_ca` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:1492:10 [INFO] [stdout] | [INFO] [stdout] 1492 | async fn traiter_cles_manquantes_ca( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `charger_cle` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:1794:4 [INFO] [stdout] | [INFO] [stdout] 1794 | fn charger_cle(connexion: &Connection, domaine: D, hachage_bytes: S) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_enveloppe_privee` is never used [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl HandlerCleRechiffrage { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn get_enveloppe_privee(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fingerprint` is never read [INFO] [stdout] --> src/messages.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct RequeteVerifierPreuve { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 20 | pub fingerprint: String, // fingerprint inclues dans la preuve [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequeteVerifierPreuve` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `date` and `preuve` are never read [INFO] [stdout] --> src/messages.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PreuveCle { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 26 | #[serde(with = "epochseconds")] [INFO] [stdout] 27 | pub date: DateTime, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | pub preuve: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PreuveCle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verifier_preuve` is never used [INFO] [stdout] --> src/messages.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl PreuveCle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 32 | pub fn verifier_preuve(&self, fingerprint: S, cle: &CleSecreteX25519) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/messages.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl MessageReponseChiffree { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 92 | pub fn new(middleware: &M, contenu: S, certificat_demandeur: &EnveloppeCertificat) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rechiffrer_asymetrique_multibase` is never used [INFO] [stdout] --> src/chiffrage_cles.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn rechiffrer_asymetrique_multibase(private_key: &PKey, public_key: &PKey, cle: &str) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chiffrer_asymetrique_multibase` is never used [INFO] [stdout] --> src/chiffrage_cles.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn chiffrer_asymetrique_multibase(cle_secrete: CleSecreteX25519, public_key: &PKey) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extraire_cle_secrete` is never used [INFO] [stdout] --> src/chiffrage_cles.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn extraire_cle_secrete(private_key: &PKey, cle: &str) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 252 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 52s [INFO] running `Command { std: "docker" "inspect" "d206f144602719b4c5710da9a5527641d0f658990264ebb6ab551588dbf2cd79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d206f144602719b4c5710da9a5527641d0f658990264ebb6ab551588dbf2cd79", kill_on_drop: false }` [INFO] [stdout] d206f144602719b4c5710da9a5527641d0f658990264ebb6ab551588dbf2cd79 [INFO] checking dugrema/millegrilles_maitredescles against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdugrema%2Fmillegrilles_maitredescles" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dugrema/millegrilles_maitredescles on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dugrema/millegrilles_maitredescles [INFO] finished tweaking git repo https://github.com/dugrema/millegrilles_maitredescles [INFO] tweaked toml for git repo https://github.com/dugrema/millegrilles_maitredescles written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dugrema/millegrilles_maitredescles 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ccb2bc8ba4138c9f5a415a224b14a6a81fa37710cb3cd521be2b77846c2f0adb [INFO] running `Command { std: "docker" "start" "-a" "ccb2bc8ba4138c9f5a415a224b14a6a81fa37710cb3cd521be2b77846c2f0adb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ccb2bc8ba4138c9f5a415a224b14a6a81fa37710cb3cd521be2b77846c2f0adb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ccb2bc8ba4138c9f5a415a224b14a6a81fa37710cb3cd521be2b77846c2f0adb", kill_on_drop: false }` [INFO] [stdout] ccb2bc8ba4138c9f5a415a224b14a6a81fa37710cb3cd521be2b77846c2f0adb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dtail_expr_drop_order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee946f73a60f58ec48ec2a3222a03421af1a7259e52114727f5f8573825babe4 [INFO] running `Command { std: "docker" "start" "-a" "ee946f73a60f58ec48ec2a3222a03421af1a7259e52114727f5f8573825babe4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking value-bag v1.9.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking flagset v0.4.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking rustls-pki-types v1.5.0 [INFO] [stderr] Compiling aws-lc-rs v1.7.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Checking mirai-annotations v1.12.0 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling oid-registry v0.7.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking event-listener v5.3.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling rustls v0.23.5 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling openssl-src v300.2.3+3.2.1 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Checking async-channel v2.2.1 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking rustix v0.37.27 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking polling v2.8.0 [INFO] [stderr] Checking async-executor v1.11.0 [INFO] [stderr] Checking rustls-native-certs v0.7.0 [INFO] [stderr] Checking pem-rfc7468 v0.6.0 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling zerocopy v0.8.0-alpha.6 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking cookie-factory v0.3.3 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking blocking v1.6.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling aws-lc-sys v0.16.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling amq-protocol v7.2.0 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking rand_core v0.9.0-alpha.1 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking async-io v1.13.0 [INFO] [stderr] Compiling sqlite3-src v0.5.1 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Compiling blake3 v1.5.1 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling lapin v2.3.4 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Checking polling v3.7.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking async-io v2.3.2 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking zerocopy v0.7.33 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking pinky-swear v6.2.0 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0-alpha.1 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Compiling substring v1.4.5 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Checking ct-codecs v1.1.1 [INFO] [stderr] Checking finl_unicode v1.2.0 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.13 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking multihash v0.19.1 [INFO] [stderr] Checking ed25519-compact v2.1.1 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Checking stringprep v0.1.4 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking data-encoding-macro v0.1.15 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.200 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling der_derive v0.7.2 [INFO] [stderr] Compiling thiserror-impl v1.0.59 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Compiling asn1-rs-derive v0.5.0 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking block-padding v0.3.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Checking inout v0.1.3 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking salsa20 v0.10.2 [INFO] [stderr] Checking asn1-rs v0.6.1 [INFO] [stderr] Checking pbkdf2 v0.12.2 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking scrypt v0.11.0 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking rc2 v0.8.1 [INFO] [stderr] Checking des v0.8.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Checking reactor-trait v1.1.0 [INFO] [stderr] Checking executor-trait v2.1.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking x509-cert v0.2.5 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking pkcs5 v0.7.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking async-global-executor-trait v2.1.0 [INFO] [stderr] Checking async-reactor-trait v1.1.0 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking der-parser v9.0.0 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking cms v0.2.3 [INFO] [stderr] Checking pkcs1 v0.4.1 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking hmac-sha256 v1.1.7 [INFO] [stderr] Checking serde v1.0.200 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking hmac-sha512 v1.1.5 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking x509-parser v0.16.0 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking rand v0.9.0-alpha.1 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Checking pkcs12 v0.1.0 [INFO] [stderr] Checking dryoc v0.5.3 [INFO] [stderr] Checking p384 v0.13.0 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking k256 v0.13.3 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Checking rsa v0.7.2 [INFO] [stderr] Checking brotli v5.0.0 [INFO] [stderr] Checking xz2 v0.1.7 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Checking blake2s_simd v0.5.11 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking p12-keystore v0.1.2 [INFO] [stderr] Checking webpki-roots v0.26.1 [INFO] [stderr] Checking xattr v0.2.3 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking coarsetime v0.1.34 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking hmac-sha1-compact v1.1.4 [INFO] [stderr] Checking binstring v0.1.1 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking deflate64 v0.1.8 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking unsigned-varint v0.2.3 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking multihash v0.15.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking sqlite3-sys v0.15.2 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking static_cell v2.1.0 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Checking base64-url v2.0.2 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking sqlite v0.30.5 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking tokio-executor-trait v2.1.1 [INFO] [stderr] Checking tokio-socks v0.5.1 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking async-tar v0.4.2 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking h2 v0.4.4 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking tokio-reactor-trait v1.1.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_yaml v0.7.5 [INFO] [stderr] Checking serde-json-core v0.5.1 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking multicodec v0.1.0 [INFO] [stderr] Checking trust-dns-proto v0.21.2 [INFO] [stderr] Checking amq-protocol-types v7.2.0 [INFO] [stderr] Checking serde-helpers v0.1.0 [INFO] [stderr] Checking jwt-simple v0.11.9 [INFO] [stderr] Checking amq-protocol-uri v7.2.0 [INFO] [stderr] Checking bson v2.10.0 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Checking zstd v0.13.1 [INFO] [stderr] Checking async-compression v0.4.9 [INFO] [stderr] Checking trust-dns-resolver v0.21.2 [INFO] [stderr] Checking mongodb v2.8.2 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking rustls-webpki v0.102.3 [INFO] [stderr] Checking rustls-connector v0.20.0 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking tcp-stream v0.28.0 [INFO] [stderr] Checking amq-protocol-tcp v7.2.0 [INFO] [stderr] Checking hyper-rustls v0.26.0 [INFO] [stderr] Checking tokio-amqp v2.0.0 [INFO] [stderr] Checking millegrilles_cryptographie v2024.4.8 (https://github.com/dugrema/millegrilles_cryptographie.git?branch=2024.4#e99293db) [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking redis v0.25.3 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stderr] Checking millegrilles_common_rust v2024.4.2 (https://github.com/dugrema/millegrilles_common_rust.git?branch=2024.4#2b4af2dc) [INFO] [stderr] Checking millegrilles_maitredescles v2024.4.29 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/domaines_maitredescles.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/domaines_maitredescles.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::generateur_messages::GenerateurMessages` [INFO] [stdout] --> src/domaines_maitredescles.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use millegrilles_common_rust::generateur_messages::GenerateurMessages; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MiddlewareDb` [INFO] [stdout] --> src/domaines_maitredescles.rs:15:47 [INFO] [stdout] | [INFO] [stdout] 15 | use millegrilles_common_rust::middleware_db::{MiddlewareDb, preparer_middleware_db}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::mongo_dao::MongoDao` [INFO] [stdout] --> src/domaines_maitredescles.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use millegrilles_common_rust::mongo_dao::MongoDao; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Callback`, `EventMq`, `NamedQueue`, and `QueueType` [INFO] [stdout] --> src/domaines_maitredescles.rs:17:46 [INFO] [stdout] | [INFO] [stdout] 17 | use millegrilles_common_rust::rabbitmq_dao::{Callback, EventMq, NamedQueue, QueueType}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::recepteur_messages::TypeMessage` [INFO] [stdout] --> src/domaines_maitredescles.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use millegrilles_common_rust::recepteur_messages::TypeMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver`, `Sender`, `mpsc`, and `timeout` [INFO] [stdout] --> src/domaines_maitredescles.rs:19:46 [INFO] [stdout] | [INFO] [stdout] 19 | use millegrilles_common_rust::tokio::{sync::{mpsc, mpsc::{Receiver, Sender}}, time::{Duration as DurationTokio, timeout}}; [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GestionnaireRessources` [INFO] [stdout] --> src/domaines_maitredescles.rs:28:62 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::maitredescles_commun::{emettre_cles_symmetriques, GestionnaireRessources}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::alloc::handle_alloc_error` [INFO] [stdout] --> src/maitredescles_partition.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::alloc::handle_alloc_error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/maitredescles_partition.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{Debug, Display, Formatter, Write}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read_dir` [INFO] [stdout] --> src/maitredescles_partition.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::read_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> src/maitredescles_partition.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CommandeSauvegarderCle` [INFO] [stdout] --> src/maitredescles_partition.rs:15:93 [INFO] [stdout] | [INFO] [stdout] 15 | use millegrilles_common_rust::chiffrage_cle::{CleChiffrageCache, CommandeAjouterCleDomaine, CommandeSauvegarderCle}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RoutageMessageReponse` [INFO] [stdout] --> src/maitredescles_partition.rs:22:95 [INFO] [stdout] | [INFO] [stdout] 22 | use millegrilles_common_rust::generateur_messages::{GenerateurMessages, RoutageMessageAction, RoutageMessageReponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::hachages::hacher_bytes` [INFO] [stdout] --> src/maitredescles_partition.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use millegrilles_common_rust::hachages::hacher_bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `sauvegarder_traiter_transaction_serializable` and `sauvegarder_transaction` [INFO] [stdout] --> src/maitredescles_partition.rs:25:56 [INFO] [stdout] | [INFO] [stdout] 25 | use millegrilles_common_rust::middleware::{Middleware, sauvegarder_traiter_transaction_serializable, sauvegarder_transaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `verifier_erreur_duplication_mongo` [INFO] [stdout] --> src/maitredescles_partition.rs:26:129 [INFO] [stdout] | [INFO] [stdout] 26 | ...zable, convertir_to_bson, IndexOptions, MongoDao, verifier_erreur_duplication_mongo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Collection` [INFO] [stdout] --> src/maitredescles_partition.rs:27:41 [INFO] [stdout] | [INFO] [stdout] 27 | use millegrilles_common_rust::mongodb::{Collection, Cursor}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FindOneAndUpdateOptions` and `InsertOneOptions` [INFO] [stdout] --> src/maitredescles_partition.rs:28:50 [INFO] [stdout] | [INFO] [stdout] 28 | use millegrilles_common_rust::mongodb::options::{FindOneAndUpdateOptions, FindOneOptions, FindOptions, Hint, InsertOneOptions, UpdateOpti... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/maitredescles_partition.rs:29:91 [INFO] [stdout] | [INFO] [stdout] 29 | use millegrilles_common_rust::{get_domaine_action, millegrilles_cryptographie, multibase, serde_json}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CleSecreteSerialisee` [INFO] [stdout] --> src/maitredescles_partition.rs:31:113 [INFO] [stdout] | [INFO] [stdout] 31 | use millegrilles_common_rust::millegrilles_cryptographie::chiffrage_cles::{CleChiffrageHandler, CleDechiffrage, CleSecreteSerialisee}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::multihash::Code` [INFO] [stdout] --> src/maitredescles_partition.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use millegrilles_common_rust::multihash::Code; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PKey` and `Private` [INFO] [stdout] --> src/maitredescles_partition.rs:35:47 [INFO] [stdout] | [INFO] [stdout] 35 | use millegrilles_common_rust::openssl::pkey::{PKey, Private}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::openssl::rsa::Rsa` [INFO] [stdout] --> src/maitredescles_partition.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use millegrilles_common_rust::openssl::rsa::Rsa; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::tokio::fs::File as File_tokio` [INFO] [stdout] --> src/maitredescles_partition.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use millegrilles_common_rust::tokio::fs::File as File_tokio; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::AsyncReadExt` [INFO] [stdout] --> src/maitredescles_partition.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | use millegrilles_common_rust::tokio::{io::AsyncReadExt, spawn}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/domaines_maitredescles.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver` and `Sender` [INFO] [stdout] --> src/maitredescles_partition.rs:44:58 [INFO] [stdout] | [INFO] [stdout] 44 | use millegrilles_common_rust::tokio::sync::{mpsc, mpsc::{Receiver, Sender}}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EtatTransaction`, `Transaction`, and `marquer_transaction` [INFO] [stdout] --> src/maitredescles_partition.rs:46:46 [INFO] [stdout] | [INFO] [stdout] 46 | use millegrilles_common_rust::transactions::{EtatTransaction, marquer_transaction, TraiterTransaction, Transaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::millegrilles_cryptographie::chiffrage::FormatChiffrage` [INFO] [stdout] --> src/maitredescles_partition.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | use millegrilles_common_rust::millegrilles_cryptographie::chiffrage::FormatChiffrage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/domaines_maitredescles.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GestionnaireMaitreDesClesCa` [INFO] [stdout] --> src/maitredescles_partition.rs:52:31 [INFO] [stdout] | [INFO] [stdout] 52 | use crate::maitredescles_ca::{GestionnaireMaitreDesClesCa, NOM_COLLECTION_CLES}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::generateur_messages::GenerateurMessages` [INFO] [stdout] --> src/domaines_maitredescles.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use millegrilles_common_rust::generateur_messages::GenerateurMessages; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MessageReponseChiffree` [INFO] [stdout] --> src/maitredescles_partition.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | use crate::messages::{MessageReponseChiffree, RequeteVerifierPreuve}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MiddlewareDb` [INFO] [stdout] --> src/domaines_maitredescles.rs:15:47 [INFO] [stdout] | [INFO] [stdout] 15 | use millegrilles_common_rust::middleware_db::{MiddlewareDb, preparer_middleware_db}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::mongo_dao::MongoDao` [INFO] [stdout] --> src/domaines_maitredescles.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use millegrilles_common_rust::mongo_dao::MongoDao; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Callback`, `EventMq`, `NamedQueue`, and `QueueType` [INFO] [stdout] --> src/domaines_maitredescles.rs:17:46 [INFO] [stdout] | [INFO] [stdout] 17 | use millegrilles_common_rust::rabbitmq_dao::{Callback, EventMq, NamedQueue, QueueType}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::recepteur_messages::TypeMessage` [INFO] [stdout] --> src/domaines_maitredescles.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use millegrilles_common_rust::recepteur_messages::TypeMessage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver`, `Sender`, `mpsc`, and `timeout` [INFO] [stdout] --> src/domaines_maitredescles.rs:19:46 [INFO] [stdout] | [INFO] [stdout] 19 | use millegrilles_common_rust::tokio::{sync::{mpsc, mpsc::{Receiver, Sender}}, time::{Duration as DurationTokio, timeout}}; [INFO] [stdout] | ^^^^ ^^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GestionnaireRessources` [INFO] [stdout] --> src/domaines_maitredescles.rs:28:62 [INFO] [stdout] | [INFO] [stdout] 28 | use crate::maitredescles_commun::{emettre_cles_symmetriques, GestionnaireRessources}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::alloc::handle_alloc_error` [INFO] [stdout] --> src/maitredescles_partition.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::alloc::handle_alloc_error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/maitredescles_partition.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{Debug, Display, Formatter, Write}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read_dir` [INFO] [stdout] --> src/maitredescles_partition.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::read_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> src/maitredescles_partition.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CommandeSauvegarderCle` [INFO] [stdout] --> src/maitredescles_partition.rs:15:93 [INFO] [stdout] | [INFO] [stdout] 15 | use millegrilles_common_rust::chiffrage_cle::{CleChiffrageCache, CommandeAjouterCleDomaine, CommandeSauvegarderCle}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RoutageMessageReponse` [INFO] [stdout] --> src/maitredescles_partition.rs:22:95 [INFO] [stdout] | [INFO] [stdout] 22 | use millegrilles_common_rust::generateur_messages::{GenerateurMessages, RoutageMessageAction, RoutageMessageReponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::hachages::hacher_bytes` [INFO] [stdout] --> src/maitredescles_partition.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use millegrilles_common_rust::hachages::hacher_bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `sauvegarder_traiter_transaction_serializable` and `sauvegarder_transaction` [INFO] [stdout] --> src/maitredescles_partition.rs:25:56 [INFO] [stdout] | [INFO] [stdout] 25 | use millegrilles_common_rust::middleware::{Middleware, sauvegarder_traiter_transaction_serializable, sauvegarder_transaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `verifier_erreur_duplication_mongo` [INFO] [stdout] --> src/maitredescles_partition.rs:26:129 [INFO] [stdout] | [INFO] [stdout] 26 | ...zable, convertir_to_bson, IndexOptions, MongoDao, verifier_erreur_duplication_mongo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Collection` [INFO] [stdout] --> src/maitredescles_partition.rs:27:41 [INFO] [stdout] | [INFO] [stdout] 27 | use millegrilles_common_rust::mongodb::{Collection, Cursor}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FindOneAndUpdateOptions` and `InsertOneOptions` [INFO] [stdout] --> src/maitredescles_partition.rs:28:50 [INFO] [stdout] | [INFO] [stdout] 28 | use millegrilles_common_rust::mongodb::options::{FindOneAndUpdateOptions, FindOneOptions, FindOptions, Hint, InsertOneOptions, UpdateOpti... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/maitredescles_partition.rs:29:91 [INFO] [stdout] | [INFO] [stdout] 29 | use millegrilles_common_rust::{get_domaine_action, millegrilles_cryptographie, multibase, serde_json}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CleSecreteSerialisee` [INFO] [stdout] --> src/maitredescles_partition.rs:31:113 [INFO] [stdout] | [INFO] [stdout] 31 | use millegrilles_common_rust::millegrilles_cryptographie::chiffrage_cles::{CleChiffrageHandler, CleDechiffrage, CleSecreteSerialisee}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::multihash::Code` [INFO] [stdout] --> src/maitredescles_partition.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use millegrilles_common_rust::multihash::Code; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PKey` and `Private` [INFO] [stdout] --> src/maitredescles_partition.rs:35:47 [INFO] [stdout] | [INFO] [stdout] 35 | use millegrilles_common_rust::openssl::pkey::{PKey, Private}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::openssl::rsa::Rsa` [INFO] [stdout] --> src/maitredescles_partition.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use millegrilles_common_rust::openssl::rsa::Rsa; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::tokio::fs::File as File_tokio` [INFO] [stdout] --> src/maitredescles_partition.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | use millegrilles_common_rust::tokio::fs::File as File_tokio; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::AsyncReadExt` [INFO] [stdout] --> src/maitredescles_partition.rs:42:39 [INFO] [stdout] | [INFO] [stdout] 42 | use millegrilles_common_rust::tokio::{io::AsyncReadExt, spawn}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Receiver` and `Sender` [INFO] [stdout] --> src/maitredescles_partition.rs:44:58 [INFO] [stdout] | [INFO] [stdout] 44 | use millegrilles_common_rust::tokio::sync::{mpsc, mpsc::{Receiver, Sender}}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EtatTransaction`, `Transaction`, and `marquer_transaction` [INFO] [stdout] --> src/maitredescles_partition.rs:46:46 [INFO] [stdout] | [INFO] [stdout] 46 | use millegrilles_common_rust::transactions::{EtatTransaction, marquer_transaction, TraiterTransaction, Transaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::millegrilles_cryptographie::chiffrage::FormatChiffrage` [INFO] [stdout] --> src/maitredescles_partition.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | use millegrilles_common_rust::millegrilles_cryptographie::chiffrage::FormatChiffrage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GestionnaireMaitreDesClesCa` [INFO] [stdout] --> src/maitredescles_partition.rs:52:31 [INFO] [stdout] | [INFO] [stdout] 52 | use crate::maitredescles_ca::{GestionnaireMaitreDesClesCa, NOM_COLLECTION_CLES}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MessageReponseChiffree` [INFO] [stdout] --> src/maitredescles_partition.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | use crate::messages::{MessageReponseChiffree, RequeteVerifierPreuve}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/maitredescles_ca.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/maitredescles_ca.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Document` [INFO] [stdout] --> src/maitredescles_ca.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use millegrilles_common_rust::bson::{DateTime, doc, Document}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CommandeSauvegarderCle` [INFO] [stdout] --> src/maitredescles_ca.rs:9:74 [INFO] [stdout] | [INFO] [stdout] 9 | use millegrilles_common_rust::chiffrage_cle::{CommandeAjouterCleDomaine, CommandeSauvegarderCle}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RoutageMessageAction` [INFO] [stdout] --> src/maitredescles_ca.rs:15:73 [INFO] [stdout] | [INFO] [stdout] 15 | use millegrilles_common_rust::generateur_messages::{GenerateurMessages, RoutageMessageAction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transaction` [INFO] [stdout] --> src/maitredescles_ca.rs:26:66 [INFO] [stdout] | [INFO] [stdout] 26 | use millegrilles_common_rust::transactions::{TraiterTransaction, Transaction}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DateTime` and `Document` [INFO] [stdout] --> src/maitredescles_ca.rs:7:38 [INFO] [stdout] | [INFO] [stdout] 7 | use millegrilles_common_rust::bson::{DateTime, doc, Document}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CommandeSauvegarderCle` [INFO] [stdout] --> src/maitredescles_ca.rs:9:74 [INFO] [stdout] | [INFO] [stdout] 9 | use millegrilles_common_rust::chiffrage_cle::{CommandeAjouterCleDomaine, CommandeSauvegarderCle}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RoutageMessageAction` [INFO] [stdout] --> src/maitredescles_ca.rs:15:73 [INFO] [stdout] | [INFO] [stdout] 15 | use millegrilles_common_rust::generateur_messages::{GenerateurMessages, RoutageMessageAction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/maitredescles_commun.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{debug, error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CommandeAjouterCleDomaine` [INFO] [stdout] --> src/maitredescles_commun.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | use millegrilles_common_rust::chiffrage_cle::{CommandeAjouterCleDomaine, CommandeSauvegarderCle}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReponseSignatureCertificat` [INFO] [stdout] --> src/maitredescles_commun.rs:18:49 [INFO] [stdout] | [INFO] [stdout] 18 | use millegrilles_common_rust::common_messages::{ReponseSignatureCertificat, RequeteDechiffrage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/maitredescles_commun.rs:19:60 [INFO] [stdout] | [INFO] [stdout] 19 | use millegrilles_common_rust::{multibase, multibase::Base, serde_json}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_helpers::chrono_datetime_as_bson_datetime` [INFO] [stdout] --> src/maitredescles_commun.rs:20:65 [INFO] [stdout] | [INFO] [stdout] 20 | use millegrilles_common_rust::bson::{Bson, bson, doc, Document, serde_helpers::chrono_datetime_as_bson_datetime}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chiffrer_asymmetrique_ed25519` [INFO] [stdout] --> src/maitredescles_commun.rs:25:68 [INFO] [stdout] | [INFO] [stdout] 25 | use millegrilles_common_rust::millegrilles_cryptographie::x25519::{chiffrer_asymmetrique_ed25519, CleSecreteX25519}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EnveloppePrivee` [INFO] [stdout] --> src/maitredescles_commun.rs:26:87 [INFO] [stdout] | [INFO] [stdout] 26 | use millegrilles_common_rust::millegrilles_cryptographie::x509::{EnveloppeCertificat, EnveloppePrivee}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::millegrilles_cryptographie::messages_structs::epochseconds` [INFO] [stdout] --> src/maitredescles_commun.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use millegrilles_common_rust::millegrilles_cryptographie::messages_structs::epochseconds; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::millegrilles_cryptographie::heapless` [INFO] [stdout] --> src/maitredescles_commun.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use millegrilles_common_rust::millegrilles_cryptographie::heapless; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::chiffrage_cles::chiffrer_asymetrique_multibase` [INFO] [stdout] --> src/maitredescles_commun.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use crate::chiffrage_cles::chiffrer_asymetrique_multibase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::domaines_maitredescles::TypeGestionnaire` [INFO] [stdout] --> src/maitredescles_commun.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use crate::domaines_maitredescles::TypeGestionnaire; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::maitredescles_partition::GestionnaireMaitreDesClesPartition` [INFO] [stdout] --> src/maitredescles_commun.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use crate::maitredescles_partition::GestionnaireMaitreDesClesPartition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::maitredescles_sqlite::GestionnaireMaitreDesClesSQLite` [INFO] [stdout] --> src/maitredescles_commun.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::maitredescles_sqlite::GestionnaireMaitreDesClesSQLite; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::messages::MessageReponseChiffree` [INFO] [stdout] --> src/maitredescles_commun.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | use crate::messages::MessageReponseChiffree; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Transaction` [INFO] [stdout] --> src/maitredescles_ca.rs:26:66 [INFO] [stdout] | [INFO] [stdout] 26 | use millegrilles_common_rust::transactions::{TraiterTransaction, Transaction}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `warn` [INFO] [stdout] --> src/maitredescles_commun.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{debug, error, info, warn}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CommandeAjouterCleDomaine` [INFO] [stdout] --> src/maitredescles_commun.rs:8:47 [INFO] [stdout] | [INFO] [stdout] 8 | use millegrilles_common_rust::chiffrage_cle::{CommandeAjouterCleDomaine, CommandeSauvegarderCle}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ReponseSignatureCertificat` [INFO] [stdout] --> src/maitredescles_commun.rs:18:49 [INFO] [stdout] | [INFO] [stdout] 18 | use millegrilles_common_rust::common_messages::{ReponseSignatureCertificat, RequeteDechiffrage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json` [INFO] [stdout] --> src/maitredescles_commun.rs:19:60 [INFO] [stdout] | [INFO] [stdout] 19 | use millegrilles_common_rust::{multibase, multibase::Base, serde_json}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_helpers::chrono_datetime_as_bson_datetime` [INFO] [stdout] --> src/maitredescles_commun.rs:20:65 [INFO] [stdout] | [INFO] [stdout] 20 | use millegrilles_common_rust::bson::{Bson, bson, doc, Document, serde_helpers::chrono_datetime_as_bson_datetime}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `chiffrer_asymmetrique_ed25519` [INFO] [stdout] --> src/maitredescles_commun.rs:25:68 [INFO] [stdout] | [INFO] [stdout] 25 | use millegrilles_common_rust::millegrilles_cryptographie::x25519::{chiffrer_asymmetrique_ed25519, CleSecreteX25519}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EnveloppePrivee` [INFO] [stdout] --> src/maitredescles_commun.rs:26:87 [INFO] [stdout] | [INFO] [stdout] 26 | use millegrilles_common_rust::millegrilles_cryptographie::x509::{EnveloppeCertificat, EnveloppePrivee}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::millegrilles_cryptographie::messages_structs::epochseconds` [INFO] [stdout] --> src/maitredescles_commun.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | use millegrilles_common_rust::millegrilles_cryptographie::messages_structs::epochseconds; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::millegrilles_cryptographie::heapless` [INFO] [stdout] --> src/maitredescles_commun.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use millegrilles_common_rust::millegrilles_cryptographie::heapless; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::chiffrage_cles::chiffrer_asymetrique_multibase` [INFO] [stdout] --> src/maitredescles_commun.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | use crate::chiffrage_cles::chiffrer_asymetrique_multibase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::domaines_maitredescles::TypeGestionnaire` [INFO] [stdout] --> src/maitredescles_commun.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use crate::domaines_maitredescles::TypeGestionnaire; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::maitredescles_partition::GestionnaireMaitreDesClesPartition` [INFO] [stdout] --> src/maitredescles_commun.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use crate::maitredescles_partition::GestionnaireMaitreDesClesPartition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::maitredescles_sqlite::GestionnaireMaitreDesClesSQLite` [INFO] [stdout] --> src/maitredescles_commun.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | use crate::maitredescles_sqlite::GestionnaireMaitreDesClesSQLite; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::messages::MessageReponseChiffree` [INFO] [stdout] --> src/maitredescles_commun.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | use crate::messages::MessageReponseChiffree; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read_dir` [INFO] [stdout] --> src/maitredescles_sqlite.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::read_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> src/maitredescles_sqlite.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis` [INFO] [stdout] --> src/maitredescles_sqlite.rs:9:80 [INFO] [stdout] | [INFO] [stdout] 9 | use millegrilles_common_rust::{get_domaine_action, multibase, multibase::Base, redis, serde_json}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Document` [INFO] [stdout] --> src/maitredescles_sqlite.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | use millegrilles_common_rust::bson::{doc, Document}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Utc` [INFO] [stdout] --> src/maitredescles_sqlite.rs:15:40 [INFO] [stdout] | [INFO] [stdout] 15 | use millegrilles_common_rust::chrono::{Duration, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RoutageMessageReponse` [INFO] [stdout] --> src/maitredescles_sqlite.rs:22:95 [INFO] [stdout] | [INFO] [stdout] 22 | use millegrilles_common_rust::generateur_messages::{GenerateurMessages, RoutageMessageAction, RoutageMessageReponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::hachages::hacher_bytes` [INFO] [stdout] --> src/maitredescles_sqlite.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use millegrilles_common_rust::hachages::hacher_bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sauvegarder_transaction` [INFO] [stdout] --> src/maitredescles_sqlite.rs:25:56 [INFO] [stdout] | [INFO] [stdout] 25 | use millegrilles_common_rust::middleware::{Middleware, sauvegarder_transaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::middleware_db::MiddlewareDb` [INFO] [stdout] --> src/maitredescles_sqlite.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use millegrilles_common_rust::middleware_db::MiddlewareDb; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::mongo_dao::MongoDao` [INFO] [stdout] --> src/maitredescles_sqlite.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use millegrilles_common_rust::mongo_dao::MongoDao; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::multihash::Code` [INFO] [stdout] --> src/maitredescles_sqlite.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use millegrilles_common_rust::multihash::Code; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PKey` and `Private` [INFO] [stdout] --> src/maitredescles_sqlite.rs:33:47 [INFO] [stdout] | [INFO] [stdout] 33 | use millegrilles_common_rust::openssl::pkey::{PKey, Private}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::openssl::rsa::Rsa` [INFO] [stdout] --> src/maitredescles_sqlite.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use millegrilles_common_rust::openssl::rsa::Rsa; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::tokio::fs::File as File_tokio` [INFO] [stdout] --> src/maitredescles_sqlite.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use millegrilles_common_rust::tokio::fs::File as File_tokio; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EtatTransaction`, `Transaction`, and `marquer_transaction` [INFO] [stdout] --> src/maitredescles_sqlite.rs:46:46 [INFO] [stdout] | [INFO] [stdout] 46 | use millegrilles_common_rust::transactions::{EtatTransaction, marquer_transaction, TraiterTransaction, Transaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CleInterneChiffree` [INFO] [stdout] --> src/maitredescles_sqlite.rs:54:40 [INFO] [stdout] | [INFO] [stdout] 54 | use crate::maitredescles_rechiffrage::{CleInterneChiffree, HandlerCleRechiffrage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RequeteVerifierPreuve` [INFO] [stdout] --> src/maitredescles_sqlite.rs:56:47 [INFO] [stdout] | [INFO] [stdout] 56 | use crate::messages::{MessageReponseChiffree, RequeteVerifierPreuve}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tokio` [INFO] [stdout] --> src/maitredescles_sqlite.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | use crate::tokio; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashSet` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1:33 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::read_dir` [INFO] [stdout] --> src/maitredescles_sqlite.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::read_dir; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> src/maitredescles_sqlite.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `redis` [INFO] [stdout] --> src/maitredescles_sqlite.rs:9:80 [INFO] [stdout] | [INFO] [stdout] 9 | use millegrilles_common_rust::{get_domaine_action, multibase, multibase::Base, redis, serde_json}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Document` [INFO] [stdout] --> src/maitredescles_sqlite.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | use millegrilles_common_rust::bson::{doc, Document}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Utc` [INFO] [stdout] --> src/maitredescles_sqlite.rs:15:40 [INFO] [stdout] | [INFO] [stdout] 15 | use millegrilles_common_rust::chrono::{Duration, Utc}; [INFO] [stdout] | ^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RoutageMessageReponse` [INFO] [stdout] --> src/maitredescles_sqlite.rs:22:95 [INFO] [stdout] | [INFO] [stdout] 22 | use millegrilles_common_rust::generateur_messages::{GenerateurMessages, RoutageMessageAction, RoutageMessageReponse}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::hachages::hacher_bytes` [INFO] [stdout] --> src/maitredescles_sqlite.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use millegrilles_common_rust::hachages::hacher_bytes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sauvegarder_transaction` [INFO] [stdout] --> src/maitredescles_sqlite.rs:25:56 [INFO] [stdout] | [INFO] [stdout] 25 | use millegrilles_common_rust::middleware::{Middleware, sauvegarder_transaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::middleware_db::MiddlewareDb` [INFO] [stdout] --> src/maitredescles_sqlite.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use millegrilles_common_rust::middleware_db::MiddlewareDb; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:263:77 [INFO] [stdout] | [INFO] [stdout] 263 | let cle_chiffree = multibase::encode(Base::Base64, &ciphertext[..]);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::mongo_dao::MongoDao` [INFO] [stdout] --> src/maitredescles_sqlite.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | use millegrilles_common_rust::mongo_dao::MongoDao; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::from_utf8` [INFO] [stdout] --> src/messages.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::from_utf8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::millegrilles_cryptographie::chiffrage::FormatChiffrage` [INFO] [stdout] --> src/messages.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use millegrilles_common_rust::millegrilles_cryptographie::chiffrage::FormatChiffrage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::multihash::Code` [INFO] [stdout] --> src/maitredescles_sqlite.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use millegrilles_common_rust::multihash::Code; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MessageMilleGrillesBufferDefault`, `MessageMilleGrillesOwned`, and `MessageMilleGrillesRef` [INFO] [stdout] --> src/messages.rs:12:112 [INFO] [stdout] | [INFO] [stdout] 12 | ...ageInterMillegrilleOwned, MessageMilleGrillesBufferDefault, MessageMilleGrillesOwned, MessageMilleGrillesRef, MessageMilleGrillesRefDe... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PKey` and `Private` [INFO] [stdout] --> src/maitredescles_sqlite.rs:33:47 [INFO] [stdout] | [INFO] [stdout] 33 | use millegrilles_common_rust::openssl::pkey::{PKey, Private}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::openssl::rsa::Rsa` [INFO] [stdout] --> src/maitredescles_sqlite.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | use millegrilles_common_rust::openssl::rsa::Rsa; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::tokio::fs::File as File_tokio` [INFO] [stdout] --> src/maitredescles_sqlite.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | use millegrilles_common_rust::tokio::fs::File as File_tokio; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EtatTransaction`, `Transaction`, and `marquer_transaction` [INFO] [stdout] --> src/maitredescles_sqlite.rs:46:46 [INFO] [stdout] | [INFO] [stdout] 46 | use millegrilles_common_rust::transactions::{EtatTransaction, marquer_transaction, TraiterTransaction, Transaction}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CleInterneChiffree` [INFO] [stdout] --> src/maitredescles_sqlite.rs:54:40 [INFO] [stdout] | [INFO] [stdout] 54 | use crate::maitredescles_rechiffrage::{CleInterneChiffree, HandlerCleRechiffrage}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RequeteVerifierPreuve` [INFO] [stdout] --> src/maitredescles_sqlite.rs:56:47 [INFO] [stdout] | [INFO] [stdout] 56 | use crate::messages::{MessageReponseChiffree, RequeteVerifierPreuve}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::tokio` [INFO] [stdout] --> src/maitredescles_sqlite.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | use crate::tokio; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:263:77 [INFO] [stdout] | [INFO] [stdout] 263 | let cle_chiffree = multibase::encode(Base::Base64, &ciphertext[..]);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::from_utf8` [INFO] [stdout] --> src/messages.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::from_utf8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::millegrilles_cryptographie::chiffrage::FormatChiffrage` [INFO] [stdout] --> src/messages.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use millegrilles_common_rust::millegrilles_cryptographie::chiffrage::FormatChiffrage; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MessageMilleGrillesBufferDefault`, `MessageMilleGrillesOwned`, and `MessageMilleGrillesRef` [INFO] [stdout] --> src/messages.rs:12:112 [INFO] [stdout] | [INFO] [stdout] 12 | ...ageInterMillegrilleOwned, MessageMilleGrillesBufferDefault, MessageMilleGrillesOwned, MessageMilleGrillesRef, MessageMilleGrillesRefDe... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/domaines_maitredescles.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 243 | / loop { [INFO] [stdout] 244 | | let maintenant = chrono::Utc::now(); [INFO] [stdout] 245 | | debug!("domaines_maitredescles.entretien Execution task d'entretien Core {:?}", maintenant); [INFO] [stdout] ... | [INFO] [stdout] 378 | | sleep(duration).await; [INFO] [stdout] 379 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 382 | info!("domaines_maitredescles.entretien : Fin thread"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::log` which comes from the expansion of the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/domaines_maitredescles.rs:382:5 [INFO] [stdout] | [INFO] [stdout] 243 | / loop { [INFO] [stdout] 244 | | let maintenant = chrono::Utc::now(); [INFO] [stdout] 245 | | debug!("domaines_maitredescles.entretien Execution task d'entretien Core {:?}", maintenant); [INFO] [stdout] ... | [INFO] [stdout] 378 | | sleep(duration).await; [INFO] [stdout] 379 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 382 | info!("domaines_maitredescles.entretien : Fin thread"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::log` which comes from the expansion of the macro `info` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/domaines_maitredescles.rs:215:44 [INFO] [stdout] | [INFO] [stdout] 215 | if let Some(gestionnaire) = unsafe{&GESTIONNAIRE_CA} { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 215 | if let Some(gestionnaire) = unsafe{addr_of!(GESTIONNAIRE_CA)} { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/domaines_maitredescles.rs:294:22 [INFO] [stdout] | [INFO] [stdout] 294 | match unsafe{&GESTIONNAIRE} { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 294 | match unsafe{addr_of!(GESTIONNAIRE)} { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/domaines_maitredescles.rs:215:44 [INFO] [stdout] | [INFO] [stdout] 215 | if let Some(gestionnaire) = unsafe{&GESTIONNAIRE_CA} { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 215 | if let Some(gestionnaire) = unsafe{addr_of!(GESTIONNAIRE_CA)} { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/domaines_maitredescles.rs:294:22 [INFO] [stdout] | [INFO] [stdout] 294 | match unsafe{&GESTIONNAIRE} { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 294 | match unsafe{addr_of!(GESTIONNAIRE)} { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rechiffrage_complete` [INFO] [stdout] --> src/domaines_maitredescles.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | let mut rechiffrage_complete = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rechiffrage_complete` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rechiffrage_complete` [INFO] [stdout] --> src/domaines_maitredescles.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | let mut rechiffrage_complete = false; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rechiffrage_complete` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/domaines_maitredescles.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | let mut rechiffrage_complete = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/domaines_maitredescles.rs:226:9 [INFO] [stdout] | [INFO] [stdout] 226 | let mut rechiffrage_complete = false; [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1286:9 [INFO] [stdout] | [INFO] [stdout] 1286 | let fingerprint = gestionnaire.handler_rechiffrage.fingerprint(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `routage_evenement_manquant` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1294:9 [INFO] [stdout] | [INFO] [stdout] 1294 | let routage_evenement_manquant = RoutageMessageAction::builder(DOMAINE_NOM, EVENEMENT_CLES_MANQUANTES_PARTITION, vec![Securite::L4Sec... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_routage_evenement_manquant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1300:9 [INFO] [stdout] | [INFO] [stdout] 1300 | let fingerprint = enveloppe_privee.fingerprint()?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connexion` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1301:9 [INFO] [stdout] | [INFO] [stdout] 1301 | let connexion = gestionnaire.ouvrir_connection(middleware, false); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connexion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1286:9 [INFO] [stdout] | [INFO] [stdout] 1286 | let fingerprint = gestionnaire.handler_rechiffrage.fingerprint(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `routage_evenement_manquant` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1294:9 [INFO] [stdout] | [INFO] [stdout] 1294 | let routage_evenement_manquant = RoutageMessageAction::builder(DOMAINE_NOM, EVENEMENT_CLES_MANQUANTES_PARTITION, vec![Securite::L4Sec... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_routage_evenement_manquant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1300:9 [INFO] [stdout] | [INFO] [stdout] 1300 | let fingerprint = enveloppe_privee.fingerprint()?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connexion` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1301:9 [INFO] [stdout] | [INFO] [stdout] 1301 | let connexion = gestionnaire.ouvrir_connection(middleware, false); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connexion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batch_size` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1391:9 [INFO] [stdout] | [INFO] [stdout] 1391 | let batch_size = 250; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `batch_size` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1391:9 [INFO] [stdout] | [INFO] [stdout] 1391 | let batch_size = 250; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/domaines_maitredescles.rs:154:36 [INFO] [stdout] | [INFO] [stdout] 154 | (GESTIONNAIRE_CA.as_ref(), &GESTIONNAIRE) [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 154 | (GESTIONNAIRE_CA.as_ref(), addr_of!(GESTIONNAIRE)) [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/domaines_maitredescles.rs:170:19 [INFO] [stdout] | [INFO] [stdout] 170 | match unsafe {&GESTIONNAIRE} { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 170 | match unsafe {addr_of!(GESTIONNAIRE)} { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/domaines_maitredescles.rs:153:27 [INFO] [stdout] | [INFO] [stdout] 153 | let (gestionnaire_ca, gestionnaire) = unsafe { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_partition.rs:1109:67 [INFO] [stdout] | [INFO] [stdout] 1109 | async fn requete_dechiffrage(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `requete_autorisee_globalement` [INFO] [stdout] --> src/maitredescles_partition.rs:1259:22 [INFO] [stdout] | [INFO] [stdout] 1259 | let (certificat, requete_autorisee_globalement) = match verifier_permission_rechiffrage(middleware, &m, &requete).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_requete_autorisee_globalement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reponse` [INFO] [stdout] --> src/maitredescles_partition.rs:1375:13 [INFO] [stdout] | [INFO] [stdout] 1375 | let reponse = ReponseRequeteDechiffrageV2 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_partition.rs:1393:75 [INFO] [stdout] | [INFO] [stdout] 1393 | async fn requete_dechiffrage_message(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_privee` [INFO] [stdout] --> src/maitredescles_partition.rs:1606:9 [INFO] [stdout] | [INFO] [stdout] 1606 | let cle_privee = &enveloppe_privee.cle_privee; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_privee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_mongo_dechiffree` [INFO] [stdout] --> src/maitredescles_partition.rs:1618:13 [INFO] [stdout] | [INFO] [stdout] 1618 | let cle_mongo_dechiffree = gestionnaire.handler_rechiffrage.dechiffer_cle_secrete(cle_interne_chiffree)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_mongo_dechiffree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_partition.rs:2292:37 [INFO] [stdout] | [INFO] [stdout] 2292 | async fn evenement_cle_manquante(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/maitredescles_partition.rs:2292:53 [INFO] [stdout] | [INFO] [stdout] 2292 | async fn evenement_cle_manquante(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_partition.rs:2292:71 [INFO] [stdout] | [INFO] [stdout] 2292 | async fn evenement_cle_manquante(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_partition.rs:541:35 [INFO] [stdout] | [INFO] [stdout] 541 | async fn consommer_transaction(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) -> Result src/maitredescles_partition.rs:541:69 [INFO] [stdout] | [INFO] [stdout] 541 | ... &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) -> Result, Error> [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_partition.rs:621:72 [INFO] [stdout] | [INFO] [stdout] 621 | async fn commande_sauvegarder_cle(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint_ca` [INFO] [stdout] --> src/maitredescles_partition.rs:987:9 [INFO] [stdout] | [INFO] [stdout] 987 | let fingerprint_ca = enveloppe_privee.enveloppe_ca.fingerprint()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint` [INFO] [stdout] --> src/maitredescles_partition.rs:988:9 [INFO] [stdout] | [INFO] [stdout] 988 | let fingerprint = enveloppe_privee.enveloppe_pub.fingerprint()?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collection` [INFO] [stdout] --> src/maitredescles_partition.rs:995:9 [INFO] [stdout] | [INFO] [stdout] 995 | let collection = middleware.get_collection(nom_collection_cles.as_str())?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_partition.rs:967:55 [INFO] [stdout] | [INFO] [stdout] 967 | async fn commande_rechiffrer_batch(middleware: &M, mut m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/maitredescles_partition.rs:2400:114 [INFO] [stdout] | [INFO] [stdout] 2400 | async fn commande_verifier_cle_symmetrique(middleware: &M, gestionnaire: &GestionnaireMaitreDesClesPartition, m: &MessageValide) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_commun.rs:295:38 [INFO] [stdout] | [INFO] [stdout] 295 | pub async fn preparer_rechiffreur(middleware: &M, handler_rechiffrage: &HandlerCleRechiffrage) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_partition.rs:2580:75 [INFO] [stdout] | [INFO] [stdout] 2580 | pub async fn commande_dechiffrer_cle(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_partition.rs:1091:36 [INFO] [stdout] | [INFO] [stdout] 1091 | async fn aiguillage_transaction(middleware: &M, transaction: TransactionValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_partition.rs:1091:84 [INFO] [stdout] | [INFO] [stdout] 1091 | async fn aiguillage_transaction(middleware: &M, transaction: TransactionValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enveloppe_privee` [INFO] [stdout] --> src/maitredescles_partition.rs:1688:5 [INFO] [stdout] | [INFO] [stdout] 1688 | enveloppe_privee: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enveloppe_privee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `certificat` [INFO] [stdout] --> src/maitredescles_partition.rs:1689:5 [INFO] [stdout] | [INFO] [stdout] 1689 | certificat: &EnveloppeCertificat, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_certificat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rechiffreur` [INFO] [stdout] --> src/maitredescles_partition.rs:1700:9 [INFO] [stdout] | [INFO] [stdout] 1700 | let rechiffreur = &gestionnaire.handler_rechiffrage; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rechiffreur` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle` [INFO] [stdout] --> src/maitredescles_partition.rs:1707:25 [INFO] [stdout] | [INFO] [stdout] 1707 | let mut cle: RowClePartition = match convertir_bson_deserializable(doc_cle) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_partition.rs:1697:9 [INFO] [stdout] | [INFO] [stdout] 1697 | let mut cles: HashMap = HashMap::new(); [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] --> src/maitredescles_partition.rs:1707:21 [INFO] [stdout] | [INFO] [stdout] 1707 | let mut cle: RowClePartition = match convertir_bson_deserializable(doc_cle) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/domaines_maitredescles.rs:154:36 [INFO] [stdout] | [INFO] [stdout] 154 | (GESTIONNAIRE_CA.as_ref(), &GESTIONNAIRE) [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 154 | (GESTIONNAIRE_CA.as_ref(), addr_of!(GESTIONNAIRE)) [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/domaines_maitredescles.rs:170:19 [INFO] [stdout] | [INFO] [stdout] 170 | match unsafe {&GESTIONNAIRE} { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this shared reference has lifetime `'static`, but if the static ever gets mutated, or a mutable reference is created, then any further use of this shared reference is Undefined Behavior [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 170 | match unsafe {addr_of!(GESTIONNAIRE)} { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/domaines_maitredescles.rs:153:27 [INFO] [stdout] | [INFO] [stdout] 153 | let (gestionnaire_ca, gestionnaire) = unsafe { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire_ca` [INFO] [stdout] --> src/maitredescles_ca.rs:358:72 [INFO] [stdout] | [INFO] [stdout] 358 | async fn commande_sauvegarder_cle(middleware: &M, m: MessageValide, gestionnaire_ca: &GestionnaireMaitreDesClesCa) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_partition.rs:1109:67 [INFO] [stdout] | [INFO] [stdout] 1109 | async fn requete_dechiffrage(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `requete_autorisee_globalement` [INFO] [stdout] --> src/maitredescles_partition.rs:1259:22 [INFO] [stdout] | [INFO] [stdout] 1259 | let (certificat, requete_autorisee_globalement) = match verifier_permission_rechiffrage(middleware, &m, &requete).await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_requete_autorisee_globalement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reponse` [INFO] [stdout] --> src/maitredescles_partition.rs:1375:13 [INFO] [stdout] | [INFO] [stdout] 1375 | let reponse = ReponseRequeteDechiffrageV2 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_ca.rs:640:9 [INFO] [stdout] | [INFO] [stdout] 640 | let mut set_on_insert = doc! { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ca` [INFO] [stdout] --> src/maitredescles_commun.rs:101:90 [INFO] [stdout] | [INFO] [stdout] 101 | pub async fn preparer_index_mongodb_custom(middleware: &M, nom_collection_cles: &str, ca: bool) -> Result<(), Error> [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_partition.rs:1393:75 [INFO] [stdout] | [INFO] [stdout] 1393 | async fn requete_dechiffrage_message(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_commun.rs:338:40 [INFO] [stdout] | [INFO] [stdout] 338 | pub async fn requete_cles_inconnues(middleware: &M, requete: &RequeteDechiffrage, cles_connues: Vec) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `domaine` [INFO] [stdout] --> src/maitredescles_commun.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | let domaine = requete.domaine.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_domaine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `routage_evenement_manquant` [INFO] [stdout] --> src/maitredescles_commun.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | let routage_evenement_manquant = RoutageMessageAction::builder( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_routage_evenement_manquant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_privee` [INFO] [stdout] --> src/maitredescles_partition.rs:1606:9 [INFO] [stdout] | [INFO] [stdout] 1606 | let cle_privee = &enveloppe_privee.cle_privee; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_privee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_mongo_dechiffree` [INFO] [stdout] --> src/maitredescles_partition.rs:1618:13 [INFO] [stdout] | [INFO] [stdout] 1618 | let cle_mongo_dechiffree = gestionnaire.handler_rechiffrage.dechiffer_cle_secrete(cle_interne_chiffree)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_mongo_dechiffree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_partition.rs:2292:37 [INFO] [stdout] | [INFO] [stdout] 2292 | async fn evenement_cle_manquante(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/maitredescles_partition.rs:2292:53 [INFO] [stdout] | [INFO] [stdout] 2292 | async fn evenement_cle_manquante(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_partition.rs:2292:71 [INFO] [stdout] | [INFO] [stdout] 2292 | async fn evenement_cle_manquante(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_partition.rs:541:35 [INFO] [stdout] | [INFO] [stdout] 541 | async fn consommer_transaction(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) -> Result src/maitredescles_partition.rs:541:69 [INFO] [stdout] | [INFO] [stdout] 541 | ... &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) -> Result, Error> [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint` [INFO] [stdout] --> src/maitredescles_sqlite.rs:982:9 [INFO] [stdout] | [INFO] [stdout] 982 | let fingerprint = enveloppe_privee.fingerprint()?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cles` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1030:13 [INFO] [stdout] | [INFO] [stdout] 1030 | let mut cles = { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_sqlite.rs:1030:9 [INFO] [stdout] | [INFO] [stdout] 1030 | let mut cles = { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1265:54 [INFO] [stdout] | [INFO] [stdout] 1265 | async fn verifier_autorisation_dechiffrage_global(middleware: &M, m: &MessageValide, requete: &RequeteDechiffrage) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `requete` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1265:89 [INFO] [stdout] | [INFO] [stdout] 1265 | async fn verifier_autorisation_dechiffrage_global(middleware: &M, m: &MessageValide, requete: &RequeteDechiffrage) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_requete` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permission` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1278:13 [INFO] [stdout] | [INFO] [stdout] 1278 | let mut permission: Option = None; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permission` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_sqlite.rs:1278:9 [INFO] [stdout] | [INFO] [stdout] 1278 | let mut permission: Option = None; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1101:37 [INFO] [stdout] | [INFO] [stdout] 1101 | async fn requete_verifier_preuve(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesSQLite) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1101:53 [INFO] [stdout] | [INFO] [stdout] 1101 | async fn requete_verifier_preuve(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesSQLite) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1101:71 [INFO] [stdout] | [INFO] [stdout] 1101 | async fn requete_verifier_preuve(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesSQLite) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `est_evenement` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1617:9 [INFO] [stdout] | [INFO] [stdout] 1617 | let est_evenement = match &m.type_message { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_est_evenement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `routage_commande` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1640:9 [INFO] [stdout] | [INFO] [stdout] 1640 | let routage_commande = RoutageMessageAction::builder(DOMAINE_NOM, COMMANDE_SAUVEGARDER_CLE, vec![Securite::L4Secure]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_routage_commande` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hachages_bytes_list` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1644:9 [INFO] [stdout] | [INFO] [stdout] 1644 | let hachages_bytes_list = event_non_dechiffrables.liste_cle_id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hachages_bytes_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connexion` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1646:9 [INFO] [stdout] | [INFO] [stdout] 1646 | let connexion = gestionnaire.ouvrir_connection(middleware, true); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connexion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:624:35 [INFO] [stdout] | [INFO] [stdout] 624 | async fn consommer_transaction(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesSQLite) -> Result src/maitredescles_sqlite.rs:624:69 [INFO] [stdout] | [INFO] [stdout] 624 | ... &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesSQLite) -> Result, Error> [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_partition.rs:621:72 [INFO] [stdout] | [INFO] [stdout] 621 | async fn commande_sauvegarder_cle(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `correlation_id` [INFO] [stdout] --> src/maitredescles_sqlite.rs:787:9 [INFO] [stdout] | [INFO] [stdout] 787 | let correlation_id = match &m.type_message { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_correlation_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commande` [INFO] [stdout] --> src/maitredescles_sqlite.rs:797:9 [INFO] [stdout] | [INFO] [stdout] 797 | let commande: CommandeRechiffrerBatch = serde_json::from_slice(&message_dechiffre.data_dechiffre[..])?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commande` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connexion` [INFO] [stdout] --> src/maitredescles_sqlite.rs:799:9 [INFO] [stdout] | [INFO] [stdout] 799 | let connexion = gestionnaire.ouvrir_connection(middleware, false); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connexion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint_ca` [INFO] [stdout] --> src/maitredescles_sqlite.rs:802:9 [INFO] [stdout] | [INFO] [stdout] 802 | let fingerprint_ca = enveloppe_privee.enveloppe_ca.fingerprint()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint` [INFO] [stdout] --> src/maitredescles_sqlite.rs:803:9 [INFO] [stdout] | [INFO] [stdout] 803 | let fingerprint = enveloppe_privee.fingerprint()?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `routage_commande` [INFO] [stdout] --> src/maitredescles_sqlite.rs:805:9 [INFO] [stdout] | [INFO] [stdout] 805 | let routage_commande = RoutageMessageAction::builder(DOMAINE_NOM, COMMANDE_SAUVEGARDER_CLE, vec![Securite::L4Secure]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_routage_commande` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1697:111 [INFO] [stdout] | [INFO] [stdout] 1697 | async fn commande_verifier_cle_symmetrique(middleware: &M, gestionnaire: &GestionnaireMaitreDesClesSQLite, m: &MessageValide) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint_ca` [INFO] [stdout] --> src/maitredescles_partition.rs:987:9 [INFO] [stdout] | [INFO] [stdout] 987 | let fingerprint_ca = enveloppe_privee.enveloppe_ca.fingerprint()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint` [INFO] [stdout] --> src/maitredescles_partition.rs:988:9 [INFO] [stdout] | [INFO] [stdout] 988 | let fingerprint = enveloppe_privee.enveloppe_pub.fingerprint()?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `collection` [INFO] [stdout] --> src/maitredescles_partition.rs:995:9 [INFO] [stdout] | [INFO] [stdout] 995 | let collection = middleware.get_collection(nom_collection_cles.as_str())?; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_collection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_partition.rs:967:55 [INFO] [stdout] | [INFO] [stdout] 967 | async fn commande_rechiffrer_batch(middleware: &M, mut m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_sqlite.rs:2036:75 [INFO] [stdout] | [INFO] [stdout] 2036 | pub async fn commande_dechiffrer_cle(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesSQLite) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/maitredescles_partition.rs:2400:114 [INFO] [stdout] | [INFO] [stdout] 2400 | async fn commande_verifier_cle_symmetrique(middleware: &M, gestionnaire: &GestionnaireMaitreDesClesPartition, m: &MessageValide) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction` [INFO] [stdout] --> src/maitredescles_sqlite.rs:837:53 [INFO] [stdout] | [INFO] [stdout] 837 | async fn aiguillage_transaction(_middleware: &M, transaction: TransactionValide, _gestionnaire: &GestionnaireMaitreDesClesSQLite) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_sqlite.rs:890:25 [INFO] [stdout] | [INFO] [stdout] 890 | let mut futures_consumer = FuturesUnordered::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_commun.rs:295:38 [INFO] [stdout] | [INFO] [stdout] 295 | pub async fn preparer_rechiffreur(middleware: &M, handler_rechiffrage: &HandlerCleRechiffrage) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_partition.rs:2580:75 [INFO] [stdout] | [INFO] [stdout] 2580 | pub async fn commande_dechiffrer_cle(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1493:5 [INFO] [stdout] | [INFO] [stdout] 1493 | middleware: &M, gestionnaire: &GestionnaireMaitreDesClesSQLite, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_partition.rs:1091:36 [INFO] [stdout] | [INFO] [stdout] 1091 | async fn aiguillage_transaction(middleware: &M, transaction: TransactionValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1493:21 [INFO] [stdout] | [INFO] [stdout] 1493 | middleware: &M, gestionnaire: &GestionnaireMaitreDesClesSQLite, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_partition.rs:1091:84 [INFO] [stdout] | [INFO] [stdout] 1091 | async fn aiguillage_transaction(middleware: &M, transaction: TransactionValide, gestionnaire: &GestionnaireMaitreDesClesPartition) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cles_emises` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1494:5 [INFO] [stdout] | [INFO] [stdout] 1494 | cles_emises: &Vec, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cles_emises` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cles_manquantes` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1495:5 [INFO] [stdout] | [INFO] [stdout] 1495 | cles_manquantes: &Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cles_manquantes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enveloppe_privee` [INFO] [stdout] --> src/maitredescles_partition.rs:1688:5 [INFO] [stdout] | [INFO] [stdout] 1688 | enveloppe_privee: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enveloppe_privee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `certificat` [INFO] [stdout] --> src/maitredescles_partition.rs:1689:5 [INFO] [stdout] | [INFO] [stdout] 1689 | certificat: &EnveloppeCertificat, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_certificat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rechiffreur` [INFO] [stdout] --> src/maitredescles_partition.rs:1700:9 [INFO] [stdout] | [INFO] [stdout] 1700 | let rechiffreur = &gestionnaire.handler_rechiffrage; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rechiffreur` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle` [INFO] [stdout] --> src/maitredescles_partition.rs:1707:25 [INFO] [stdout] | [INFO] [stdout] 1707 | let mut cle: RowClePartition = match convertir_bson_deserializable(doc_cle) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_partition.rs:1697:9 [INFO] [stdout] | [INFO] [stdout] 1697 | let mut cles: HashMap = HashMap::new(); [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] --> src/maitredescles_partition.rs:1707:21 [INFO] [stdout] | [INFO] [stdout] 1707 | let mut cle: RowClePartition = match convertir_bson_deserializable(doc_cle) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire_ca` [INFO] [stdout] --> src/maitredescles_ca.rs:358:72 [INFO] [stdout] | [INFO] [stdout] 358 | async fn commande_sauvegarder_cle(middleware: &M, m: MessageValide, gestionnaire_ca: &GestionnaireMaitreDesClesCa) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_ca.rs:640:9 [INFO] [stdout] | [INFO] [stdout] 640 | let mut set_on_insert = doc! { [INFO] [stdout] | ----^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ca` [INFO] [stdout] --> src/maitredescles_commun.rs:101:90 [INFO] [stdout] | [INFO] [stdout] 101 | pub async fn preparer_index_mongodb_custom(middleware: &M, nom_collection_cles: &str, ca: bool) -> Result<(), Error> [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_commun.rs:338:40 [INFO] [stdout] | [INFO] [stdout] 338 | pub async fn requete_cles_inconnues(middleware: &M, requete: &RequeteDechiffrage, cles_connues: Vec) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `domaine` [INFO] [stdout] --> src/maitredescles_commun.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | let domaine = requete.domaine.clone(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_domaine` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `routage_evenement_manquant` [INFO] [stdout] --> src/maitredescles_commun.rs:345:9 [INFO] [stdout] | [INFO] [stdout] 345 | let routage_evenement_manquant = RoutageMessageAction::builder( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_routage_evenement_manquant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/messages.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 83 | todo!("Fix me - deconge en base64, pas en multibase"); [INFO] [stdout] | ----------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 84 | / Ok(Self { [INFO] [stdout] 85 | | contenu: multibase::decode(value.contenu_escaped)?.1, [INFO] [stdout] 86 | | dechiffrage: (&dechiffrage).into(), [INFO] [stdout] 87 | | }) [INFO] [stdout] | |__________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/maitredescles_partition.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{Debug, Display, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::tokio::io::AsyncReadExt` [INFO] [stdout] --> src/maitredescles_sqlite.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use millegrilles_common_rust::tokio::io::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/maitredescles_partition.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | use millegrilles_common_rust::serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CleDechiffrage` [INFO] [stdout] --> src/maitredescles_partition.rs:31:97 [INFO] [stdout] | [INFO] [stdout] 31 | use millegrilles_common_rust::millegrilles_cryptographie::chiffrage_cles::{CleChiffrageHandler, CleDechiffrage, CleSecreteSerialisee}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::tokio_stream::StreamExt` [INFO] [stdout] --> src/maitredescles_sqlite.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | use millegrilles_common_rust::tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/maitredescles_partition.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | Some(p) => Ok(Some("MaitreDesCles/cles".to_string())), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/maitredescles_partition.rs:148:36 [INFO] [stdout] | [INFO] [stdout] 148 | let dechiffrer = if let Ok(v) = std::env::var("DESACTIVER_DECHIFFRAGE") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint` [INFO] [stdout] --> src/maitredescles_sqlite.rs:982:9 [INFO] [stdout] | [INFO] [stdout] 982 | let fingerprint = enveloppe_privee.fingerprint()?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cles` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1030:13 [INFO] [stdout] | [INFO] [stdout] 1030 | let mut cles = { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_sqlite.rs:1030:9 [INFO] [stdout] | [INFO] [stdout] 1030 | let mut cles = { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1265:54 [INFO] [stdout] | [INFO] [stdout] 1265 | async fn verifier_autorisation_dechiffrage_global(middleware: &M, m: &MessageValide, requete: &RequeteDechiffrage) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `requete` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1265:89 [INFO] [stdout] | [INFO] [stdout] 1265 | async fn verifier_autorisation_dechiffrage_global(middleware: &M, m: &MessageValide, requete: &RequeteDechiffrage) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_requete` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permission` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1278:13 [INFO] [stdout] | [INFO] [stdout] 1278 | let mut permission: Option = None; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permission` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_sqlite.rs:1278:9 [INFO] [stdout] | [INFO] [stdout] 1278 | let mut permission: Option = None; [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1101:37 [INFO] [stdout] | [INFO] [stdout] 1101 | async fn requete_verifier_preuve(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesSQLite) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1101:53 [INFO] [stdout] | [INFO] [stdout] 1101 | async fn requete_verifier_preuve(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesSQLite) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1101:71 [INFO] [stdout] | [INFO] [stdout] 1101 | async fn requete_verifier_preuve(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesSQLite) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `est_evenement` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1617:9 [INFO] [stdout] | [INFO] [stdout] 1617 | let est_evenement = match &m.type_message { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_est_evenement` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `routage_commande` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1640:9 [INFO] [stdout] | [INFO] [stdout] 1640 | let routage_commande = RoutageMessageAction::builder(DOMAINE_NOM, COMMANDE_SAUVEGARDER_CLE, vec![Securite::L4Secure]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_routage_commande` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hachages_bytes_list` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1644:9 [INFO] [stdout] | [INFO] [stdout] 1644 | let hachages_bytes_list = event_non_dechiffrables.liste_cle_id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hachages_bytes_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connexion` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1646:9 [INFO] [stdout] | [INFO] [stdout] 1646 | let connexion = gestionnaire.ouvrir_connection(middleware, true); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connexion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:624:35 [INFO] [stdout] | [INFO] [stdout] 624 | async fn consommer_transaction(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesSQLite) -> Result src/maitredescles_sqlite.rs:624:69 [INFO] [stdout] | [INFO] [stdout] 624 | ... &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesSQLite) -> Result, Error> [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `correlation_id` [INFO] [stdout] --> src/maitredescles_sqlite.rs:787:9 [INFO] [stdout] | [INFO] [stdout] 787 | let correlation_id = match &m.type_message { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_correlation_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `commande` [INFO] [stdout] --> src/maitredescles_sqlite.rs:797:9 [INFO] [stdout] | [INFO] [stdout] 797 | let commande: CommandeRechiffrerBatch = serde_json::from_slice(&message_dechiffre.data_dechiffre[..])?; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_commande` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connexion` [INFO] [stdout] --> src/maitredescles_sqlite.rs:799:9 [INFO] [stdout] | [INFO] [stdout] 799 | let connexion = gestionnaire.ouvrir_connection(middleware, false); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connexion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint_ca` [INFO] [stdout] --> src/maitredescles_sqlite.rs:802:9 [INFO] [stdout] | [INFO] [stdout] 802 | let fingerprint_ca = enveloppe_privee.enveloppe_ca.fingerprint()?; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint_ca` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint` [INFO] [stdout] --> src/maitredescles_sqlite.rs:803:9 [INFO] [stdout] | [INFO] [stdout] 803 | let fingerprint = enveloppe_privee.fingerprint()?; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `routage_commande` [INFO] [stdout] --> src/maitredescles_sqlite.rs:805:9 [INFO] [stdout] | [INFO] [stdout] 805 | let routage_commande = RoutageMessageAction::builder(DOMAINE_NOM, COMMANDE_SAUVEGARDER_CLE, vec![Securite::L4Secure]) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_routage_commande` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1697:111 [INFO] [stdout] | [INFO] [stdout] 1697 | async fn commande_verifier_cle_symmetrique(middleware: &M, gestionnaire: &GestionnaireMaitreDesClesSQLite, m: &MessageValide) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_sqlite.rs:2036:75 [INFO] [stdout] | [INFO] [stdout] 2036 | pub async fn commande_dechiffrer_cle(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesSQLite) [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction` [INFO] [stdout] --> src/maitredescles_sqlite.rs:837:53 [INFO] [stdout] | [INFO] [stdout] 837 | async fn aiguillage_transaction(_middleware: &M, transaction: TransactionValide, _gestionnaire: &GestionnaireMaitreDesClesSQLite) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_sqlite.rs:890:25 [INFO] [stdout] | [INFO] [stdout] 890 | let mut futures_consumer = FuturesUnordered::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1493:5 [INFO] [stdout] | [INFO] [stdout] 1493 | middleware: &M, gestionnaire: &GestionnaireMaitreDesClesSQLite, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1493:21 [INFO] [stdout] | [INFO] [stdout] 1493 | middleware: &M, gestionnaire: &GestionnaireMaitreDesClesSQLite, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cles_emises` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1494:5 [INFO] [stdout] | [INFO] [stdout] 1494 | cles_emises: &Vec, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cles_emises` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cles_manquantes` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1495:5 [INFO] [stdout] | [INFO] [stdout] 1495 | cles_manquantes: &Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cles_manquantes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/messages.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 83 | todo!("Fix me - deconge en base64, pas en multibase"); [INFO] [stdout] | ----------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 84 | / Ok(Self { [INFO] [stdout] 85 | | contenu: multibase::decode(value.contenu_escaped)?.1, [INFO] [stdout] 86 | | dechiffrage: (&dechiffrage).into(), [INFO] [stdout] 87 | | }) [INFO] [stdout] | |__________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/maitredescles_partition.rs:4:43 [INFO] [stdout] | [INFO] [stdout] 4 | use std::fmt::{Debug, Display, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::tokio::io::AsyncReadExt` [INFO] [stdout] --> src/maitredescles_sqlite.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | use millegrilles_common_rust::tokio::io::AsyncReadExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/maitredescles_partition.rs:39:39 [INFO] [stdout] | [INFO] [stdout] 39 | use millegrilles_common_rust::serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CleDechiffrage` [INFO] [stdout] --> src/maitredescles_partition.rs:31:97 [INFO] [stdout] | [INFO] [stdout] 31 | use millegrilles_common_rust::millegrilles_cryptographie::chiffrage_cles::{CleChiffrageHandler, CleDechiffrage, CleSecreteSerialisee}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::tokio_stream::StreamExt` [INFO] [stdout] --> src/maitredescles_sqlite.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | use millegrilles_common_rust::tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/maitredescles_partition.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | Some(p) => Ok(Some("MaitreDesCles/cles".to_string())), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/maitredescles_partition.rs:148:36 [INFO] [stdout] | [INFO] [stdout] 148 | let dechiffrer = if let Ok(v) = std::env::var("DESACTIVER_DECHIFFRAGE") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_partition.rs:410:29 [INFO] [stdout] | [INFO] [stdout] 410 | let mut futures_consumer = FuturesUnordered::new(); [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] --> src/maitredescles_partition.rs:410:29 [INFO] [stdout] | [INFO] [stdout] 410 | let mut futures_consumer = FuturesUnordered::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/maitredescles_commun.rs:532:13 [INFO] [stdout] | [INFO] [stdout] 532 | let header = match value.header { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format` [INFO] [stdout] --> src/maitredescles_commun.rs:536:13 [INFO] [stdout] | [INFO] [stdout] 536 | let format: &str = value.format.into(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/maitredescles_commun.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | let header = match value.header { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_secrete` [INFO] [stdout] --> src/maitredescles_commun.rs:565:26 [INFO] [stdout] | [INFO] [stdout] 565 | pub fn from_commande(cle_secrete: &CleSecreteX25519, value: CommandeSauvegarderCle) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_secrete` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/maitredescles_commun.rs:585:13 [INFO] [stdout] | [INFO] [stdout] 585 | let header = match value.header { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_secrete_string` [INFO] [stdout] --> src/maitredescles_commun.rs:589:13 [INFO] [stdout] | [INFO] [stdout] 589 | let cle_secrete_string: String = multibase::encode(Base::Base64, &cle_secrete.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_secrete_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/maitredescles_commun.rs:796:13 [INFO] [stdout] | [INFO] [stdout] 796 | fn from(value: CommandeSauvegarderCle) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint_` [INFO] [stdout] --> src/maitredescles_commun.rs:820:13 [INFO] [stdout] | [INFO] [stdout] 820 | let fingerprint_ = fingerprint.into(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cles` [INFO] [stdout] --> src/maitredescles_commun.rs:821:17 [INFO] [stdout] | [INFO] [stdout] 821 | let mut cles: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_commun.rs:821:13 [INFO] [stdout] | [INFO] [stdout] 821 | let mut cles: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint` [INFO] [stdout] --> src/maitredescles_commun.rs:843:13 [INFO] [stdout] | [INFO] [stdout] 843 | let fingerprint = fingerprint.into(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_ref` [INFO] [stdout] --> src/maitredescles_commun.rs:844:13 [INFO] [stdout] | [INFO] [stdout] 844 | let cle_ref = cle_ref.into(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/maitredescles_commun.rs:839:49 [INFO] [stdout] | [INFO] [stdout] 839 | pub fn try_into_document_cle_partition(value: &DocCleSymmetrique, fingerprint: S, cle_ref: T) -> Result [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/maitredescles_commun.rs:982:13 [INFO] [stdout] | [INFO] [stdout] 982 | fn from(value: RowClePartition) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/maitredescles_commun.rs:1027:13 [INFO] [stdout] | [INFO] [stdout] 1027 | fn from(value: &'a CleSecreteRechiffrage) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_commun.rs:1050:13 [INFO] [stdout] | [INFO] [stdout] 1050 | let mut iv_bytes: Vec = match multibase::decode(iv) { [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] --> src/maitredescles_commun.rs:1058:13 [INFO] [stdout] | [INFO] [stdout] 1058 | let mut tag_bytes: Vec = match multibase::decode(tag) { [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] --> src/maitredescles_commun.rs:1066:13 [INFO] [stdout] | [INFO] [stdout] 1066 | let mut header_bytes: Vec = match multibase::decode(header) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint` [INFO] [stdout] --> src/maitredescles_sqlite.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let fingerprint = self.handler_rechiffrage.fingerprint(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/maitredescles_sqlite.rs:424:36 [INFO] [stdout] | [INFO] [stdout] 424 | let dechiffrer = if let Ok(v) = std::env::var("DESACTIVER_DECHIFFRAGE") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cles` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1220:13 [INFO] [stdout] | [INFO] [stdout] 1220 | let mut cles: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1208:5 [INFO] [stdout] | [INFO] [stdout] 1208 | middleware: &M, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1209:5 [INFO] [stdout] | [INFO] [stdout] 1209 | gestionnaire: &GestionnaireMaitreDesClesSQLite, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connexion` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1210:5 [INFO] [stdout] | [INFO] [stdout] 1210 | connexion: &mut Connection, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connexion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `requete` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1211:5 [INFO] [stdout] | [INFO] [stdout] 1211 | requete: &RequeteDechiffrage, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_requete` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enveloppe_privee` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1212:5 [INFO] [stdout] | [INFO] [stdout] 1212 | enveloppe_privee: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enveloppe_privee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `certificat` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1213:5 [INFO] [stdout] | [INFO] [stdout] 1213 | certificat: &EnveloppeCertificat, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_certificat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permission` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1214:5 [INFO] [stdout] | [INFO] [stdout] 1214 | permission: Option<&EnveloppePermission>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permission` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `domaines_permis` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1215:5 [INFO] [stdout] | [INFO] [stdout] 1215 | domaines_permis: Option<&Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_domaines_permis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_sqlite.rs:1220:9 [INFO] [stdout] | [INFO] [stdout] 1220 | let mut cles: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_chiffree` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1728:19 [INFO] [stdout] | [INFO] [stdout] 1728 | let (cle_ref, cle_chiffree) = info_cle.rechiffrer_cle( [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_chiffree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prepared_statement_cle` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1743:13 [INFO] [stdout] | [INFO] [stdout] 1743 | let mut prepared_statement_cle = connection [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prepared_statement_cle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prepared_statement_identificateurs` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1748:13 [INFO] [stdout] | [INFO] [stdout] 1748 | let mut prepared_statement_identificateurs = connection [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prepared_statement_identificateurs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format_str` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1754:9 [INFO] [stdout] | [INFO] [stdout] 1754 | let format_str: String = serde_json::to_string(&info_cle.format)?.replace("\"", ""); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_format_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1721:5 [INFO] [stdout] | [INFO] [stdout] 1721 | middleware: &M, gestionnaire: &GestionnaireMaitreDesClesSQLite, connection: &Connection, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_sqlite.rs:1743:9 [INFO] [stdout] | [INFO] [stdout] 1743 | let mut prepared_statement_cle = connection [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] --> src/maitredescles_sqlite.rs:1748:9 [INFO] [stdout] | [INFO] [stdout] 1748 | let mut prepared_statement_identificateurs = connection [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format_chiffrage` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1830:9 [INFO] [stdout] | [INFO] [stdout] 1830 | let format_chiffrage = match format_str.as_str() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_format_chiffrage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_privee` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1915:9 [INFO] [stdout] | [INFO] [stdout] 1915 | let cle_privee = middleware.get_enveloppe_signature(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_privee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | Err(e) => Err(std::fmt::Error{})? [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_privee` [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let cle_privee = enveloppe_privee.cle_privee.to_owned(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_privee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:250:25 [INFO] [stdout] | [INFO] [stdout] 250 | let mut cipher = XChaCha20Poly1305::new((&inner.0).into()); [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] --> src/maitredescles_rechiffrage.rs:276:21 [INFO] [stdout] | [INFO] [stdout] 276 | let mut cipher = XChaCha20Poly1305::new((&inner.0).into()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dechiffrage` [INFO] [stdout] --> src/messages.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let dechiffrage = match value.dechiffrage.take() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dechiffrage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/messages.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn new(middleware: &M, contenu: S, certificat_demandeur: &EnveloppeCertificat) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contenu` [INFO] [stdout] --> src/messages.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn new(middleware: &M, contenu: S, certificat_demandeur: &EnveloppeCertificat) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contenu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `certificat_demandeur` [INFO] [stdout] --> src/messages.rs:92:49 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn new(middleware: &M, contenu: S, certificat_demandeur: &EnveloppeCertificat) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_certificat_demandeur` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/messages.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | let (header, cle_secrete) = match self.dechiffrage.cles.as_ref() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_secrete` [INFO] [stdout] --> src/messages.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | let (header, cle_secrete) = match self.dechiffrage.cles.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_secrete` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDEX_RECHIFFRAGE_PK` is never used [INFO] [stdout] --> src/maitredescles_partition.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | const INDEX_RECHIFFRAGE_PK: &str = "fingerprint_pk"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_FINGERPRINT_PK` is never used [INFO] [stdout] --> src/maitredescles_partition.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | const CHAMP_FINGERPRINT_PK: &str = "fingerprint_pk"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rechiffrer_cles` is never used [INFO] [stdout] --> src/maitredescles_partition.rs:1683:10 [INFO] [stdout] | [INFO] [stdout] 1683 | async fn rechiffrer_cles( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `preparer_curseur_cles` is never used [INFO] [stdout] --> src/maitredescles_partition.rs:1736:10 [INFO] [stdout] | [INFO] [stdout] 1736 | async fn preparer_curseur_cles( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fingerprint` is never read [INFO] [stdout] --> src/maitredescles_ca.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct GestionnaireMaitreDesClesCa { [INFO] [stdout] | --------------------------- field in this struct [INFO] [stdout] 51 | pub fingerprint: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GestionnaireMaitreDesClesCa` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDEX_CLES_HACHAGE_BYTES` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | pub const INDEX_CLES_HACHAGE_BYTES: &str = "index_hachage_bytes"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_DOMAINE` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | pub const CHAMP_DOMAINE: &str = "domaine"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_LISTE_HACHAGE_BYTES` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | pub const CHAMP_LISTE_HACHAGE_BYTES: &str = "liste_hachage_bytes"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_LISTE_CLE_REF` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | pub const CHAMP_LISTE_CLE_REF: &str = "liste_cle_ref"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_CLES` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 90 | pub const CHAMP_CLES: &str = "cles"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_LISTE_CLES` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | pub const CHAMP_LISTE_CLES: &str = "liste_cles"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_ACCES_REFUSE` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | pub const CHAMP_ACCES_REFUSE: &str = "0.refuse"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_ACCES_PERMIS` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | pub const CHAMP_ACCES_PERMIS: &str = "1.permis"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `requete_cles_inconnues` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:338:14 [INFO] [stdout] | [INFO] [stdout] 338 | pub async fn requete_cles_inconnues(middleware: &M, requete: &RequeteDechiffrage, cles_connues: Vec) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `enveloppe` and `permission` are never read [INFO] [stdout] --> src/maitredescles_commun.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 397 | pub struct EnveloppePermission { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 398 | pub enveloppe: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 399 | pub permission: PermissionDechiffrage, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnveloppePermission` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_bson_filter` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:437:12 [INFO] [stdout] | [INFO] [stdout] 436 | impl CleSynchronisation { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 437 | pub fn get_bson_filter(cles: &Vec) -> Result, Error> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_doc_cle` and `get_cle_ref` are never used [INFO] [stdout] --> src/maitredescles_commun.rs:584:12 [INFO] [stdout] | [INFO] [stdout] 562 | impl CleSecreteRechiffrage { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 584 | pub fn from_doc_cle(cle_secrete: CleSecreteX25519, value: RowClePartition) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 619 | pub fn get_cle_ref(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_from_commande` and `into_commande` are never used [INFO] [stdout] --> src/maitredescles_commun.rs:712:12 [INFO] [stdout] | [INFO] [stdout] 711 | impl TransactionCle { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 712 | pub fn new_from_commande(commande: &CommandeSauvegarderCle, fingerprint: &str) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 736 | pub fn into_commande(self, fingerprint: S) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `into_commande` and `try_into_document_cle_partition` are never used [INFO] [stdout] --> src/maitredescles_commun.rs:817:12 [INFO] [stdout] | [INFO] [stdout] 815 | impl RowClePartition { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 816 | [INFO] [stdout] 817 | pub fn into_commande(self, fingerprint: S) -> CommandeSauvegarderCle [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 839 | pub fn try_into_document_cle_partition(value: &DocCleSymmetrique, fingerprint: S, cle_ref: T) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cle_id`, `cle_symmetrique`, and `nonce_symmetrique` are never read [INFO] [stdout] --> src/maitredescles_commun.rs:909:9 [INFO] [stdout] | [INFO] [stdout] 907 | pub struct RowClePartitionRef<'a> { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 908 | // Identite [INFO] [stdout] 909 | pub cle_id: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 913 | pub cle_symmetrique: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 914 | pub nonce_symmetrique: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RowClePartitionRef` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tx_messages`, `tx_triggers`, and `routing` are never read [INFO] [stdout] --> src/maitredescles_commun.rs:1001:9 [INFO] [stdout] | [INFO] [stdout] 1000 | pub struct GestionnaireRessources { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 1001 | pub tx_messages: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1002 | pub tx_triggers: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1003 | pub routing: Mutex>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hachage_bytes`, `iv`, `tag`, `header`, and `domaine` are never read [INFO] [stdout] --> src/maitredescles_commun.rs:1007:5 [INFO] [stdout] | [INFO] [stdout] 1006 | pub struct CleRefData<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 1007 | hachage_bytes: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 1008 | iv: Option<&'a str>, [INFO] [stdout] | ^^ [INFO] [stdout] 1009 | tag: Option<&'a str>, [INFO] [stdout] | ^^^ [INFO] [stdout] 1010 | header: Option<&'a str>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1011 | domaine: &'a str, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculer_cle_ref` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:1040:8 [INFO] [stdout] | [INFO] [stdout] 1040 | pub fn calculer_cle_ref(info: CleRefData, cle_secrete: &CleSecreteX25519) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cles` is never read [INFO] [stdout] --> src/maitredescles_commun.rs:1170:9 [INFO] [stdout] | [INFO] [stdout] 1169 | pub struct MessageListeCles { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 1170 | pub cles: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageListeCles` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOM_COLLECTION_RECHIFFRAGE` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | const NOM_COLLECTION_RECHIFFRAGE: &str = "MaitreDesCles/rechiffrage"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDEX_RECHIFFRAGE_PK` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | const INDEX_RECHIFFRAGE_PK: &str = "fingerprint_pk"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDEX_CONFIRMATION_CA` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | const INDEX_CONFIRMATION_CA: &str = "confirmation_ca"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_FINGERPRINT_PK` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | const CHAMP_FINGERPRINT_PK: &str = "fingerprint_pk"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_CONFIRMATION_CA` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | const CHAMP_CONFIRMATION_CA: &str = "confirmation_ca"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nom_collection_transactions` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:177:4 [INFO] [stdout] | [INFO] [stdout] 177 | fn nom_collection_transactions(_fingerprint: S) -> String [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_partition_tronquee` and `get_collection_cles` are never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 183 | impl GestionnaireMaitreDesClesSQLite { [INFO] [stdout] | ------------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn get_partition_tronquee(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | fn get_collection_cles(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `preparer_index_mongodb_partition` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:534:14 [INFO] [stdout] | [INFO] [stdout] 534 | pub async fn preparer_index_mongodb_partition(_middleware: &M, _gestionnaire: &GestionnaireMaitreDesClesSQLite) -> Result<(), String> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:548:8 [INFO] [stdout] | [INFO] [stdout] 547 | impl DocumentRechiffrage { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 548 | fn new(fingerprint_pk: S, fingerprint: T) -> Self where S: Into, T: Into { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emettre_cles_vers_ca` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:1460:10 [INFO] [stdout] | [INFO] [stdout] 1460 | async fn emettre_cles_vers_ca( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traiter_cles_manquantes_ca` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:1492:10 [INFO] [stdout] | [INFO] [stdout] 1492 | async fn traiter_cles_manquantes_ca( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `charger_cle` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:1794:4 [INFO] [stdout] | [INFO] [stdout] 1794 | fn charger_cle(connexion: &Connection, domaine: D, hachage_bytes: S) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_enveloppe_privee` is never used [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl HandlerCleRechiffrage { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn get_enveloppe_privee(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fingerprint` is never read [INFO] [stdout] --> src/messages.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct RequeteVerifierPreuve { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 20 | pub fingerprint: String, // fingerprint inclues dans la preuve [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequeteVerifierPreuve` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `date` and `preuve` are never read [INFO] [stdout] --> src/messages.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PreuveCle { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 26 | #[serde(with = "epochseconds")] [INFO] [stdout] 27 | pub date: DateTime, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | pub preuve: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PreuveCle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verifier_preuve` is never used [INFO] [stdout] --> src/messages.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl PreuveCle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 32 | pub fn verifier_preuve(&self, fingerprint: S, cle: &CleSecreteX25519) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/messages.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl MessageReponseChiffree { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 92 | pub fn new(middleware: &M, contenu: S, certificat_demandeur: &EnveloppeCertificat) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rechiffrer_asymetrique_multibase` is never used [INFO] [stdout] --> src/chiffrage_cles.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn rechiffrer_asymetrique_multibase(private_key: &PKey, public_key: &PKey, cle: &str) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chiffrer_asymetrique_multibase` is never used [INFO] [stdout] --> src/chiffrage_cles.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn chiffrer_asymetrique_multibase(cle_secrete: CleSecreteX25519, public_key: &PKey) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extraire_cle_secrete` is never used [INFO] [stdout] --> src/chiffrage_cles.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn extraire_cle_secrete(private_key: &PKey, cle: &str) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_partition.rs:94:37 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn new(handler_rechiffrage: HandlerCleRechiffrage) -> Self { [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | Self { handler_rechiffrage: Arc::new(handler_rechiffrage), ressources: Mutex::new(None) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_partition.rs:94:80 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn new(handler_rechiffrage: HandlerCleRechiffrage) -> Self { [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | Self { handler_rechiffrage: Arc::new(handler_rechiffrage), ressources: Mutex::new(None) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_partition.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 273 | async fn appliquer_transaction(&self, middleware: &M, transaction: TransactionValide) -> Result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_partition.rs:357:171 [INFO] [stdout] | [INFO] [stdout] 357 | async fn consommer_requete(&self, middleware: &M, message: MessageValide) -> Result, Error> where M: Middleware + 'static { [INFO] [stdout] | __________________________________________________________----------------------___________________________________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 358 | | consommer_requete(middleware, message, self).await [INFO] [stdout] 359 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_partition.rs:361:172 [INFO] [stdout] | [INFO] [stdout] 361 | async fn consommer_commande(&self, middleware: &M, message: MessageValide) -> Result, Error> where M: Middleware + 'static { [INFO] [stdout] | ___________________________________________________________----------------------___________________________________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 362 | | consommer_commande(middleware, message, self).await [INFO] [stdout] 363 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_partition.rs:365:175 [INFO] [stdout] | [INFO] [stdout] 365 | async fn consommer_transaction(&self, middleware: &M, message: MessageValide) -> Result, Error> where M: Middleware + 'static { [INFO] [stdout] | ______________________________________________________________----------------------___________________________________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 366 | | consommer_transaction(middleware, message, self).await [INFO] [stdout] 367 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_partition.rs:369:187 [INFO] [stdout] | [INFO] [stdout] 369 | async fn consommer_evenement(self: &'static Self, middleware: &M, message: MessageValide) -> Result, Error> where M: Middleware + 'static { [INFO] [stdout] | __________________________________________________________________________----------------------___________________________________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 370 | | consommer_evenement(middleware, self, message).await [INFO] [stdout] 371 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_partition.rs:373:98 [INFO] [stdout] | [INFO] [stdout] 373 | async fn entretien(self: &'static Self, middleware: Arc) where M: Middleware + 'static { [INFO] [stdout] | ________________________________________________------------------________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 374 | | let mut q_preparation_completee = false; [INFO] [stdout] 375 | | loop { [INFO] [stdout] 376 | | if !self.handler_rechiffrage.is_ready() || q_preparation_completee == false { [INFO] [stdout] ... | [INFO] [stdout] 427 | | } [INFO] [stdout] 428 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_partition.rs:437:5 [INFO] [stdout] | [INFO] [stdout] 434 | async fn aiguillage_transaction(&self, middleware: &M, transaction: TransactionValide) [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 437 | / { [INFO] [stdout] 438 | | aiguillage_transaction(middleware, transaction, self).await [INFO] [stdout] 439 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_ca.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 56 | async fn appliquer_transaction(&self, middleware: &M, transaction: TransactionValide) [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | / { [INFO] [stdout] 60 | | aiguillage_transaction(middleware, transaction).await [INFO] [stdout] 61 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_ca.rs:88:171 [INFO] [stdout] | [INFO] [stdout] 88 | async fn consommer_requete(&self, middleware: &M, message: MessageValide) -> Result, Error> where M: Middleware + 'static { [INFO] [stdout] | __________________________________________________________----------------------___________________________________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | | consommer_requete(middleware, message, &self).await [INFO] [stdout] 90 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_ca.rs:92:172 [INFO] [stdout] | [INFO] [stdout] 92 | async fn consommer_commande(&self, middleware: &M, message: MessageValide) -> Result, Error> where M: Middleware + 'static { [INFO] [stdout] | ___________________________________________________________----------------------___________________________________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | | consommer_commande(middleware, message, &self).await [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_ca.rs:96:175 [INFO] [stdout] | [INFO] [stdout] 96 | async fn consommer_transaction(&self, middleware: &M, message: MessageValide) -> Result, Error> where M: Middleware + 'static { [INFO] [stdout] | ______________________________________________________________----------------------___________________________________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | | consommer_transaction(middleware, message, self).await [INFO] [stdout] 98 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_ca.rs:100:187 [INFO] [stdout] | [INFO] [stdout] 100 | async fn consommer_evenement(self: &'static Self, middleware: &M, message: MessageValide) -> Result, Error> where M: Middleware + 'static { [INFO] [stdout] | __________________________________________________________________________----------------------___________________________________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | | consommer_evenement(middleware, message).await [INFO] [stdout] 102 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_ca.rs:104:98 [INFO] [stdout] | [INFO] [stdout] 104 | async fn entretien(self: &'static Self, middleware: Arc) where M: Middleware + 'static { [INFO] [stdout] | ________________________________________________------------------________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | | entretien(middleware).await [INFO] [stdout] 106 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_ca.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 112 | async fn aiguillage_transaction(&self, middleware: &M, transaction: TransactionValide) [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | / { [INFO] [stdout] 116 | | aiguillage_transaction(middleware, transaction).await [INFO] [stdout] 117 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_ca.rs:704:12 [INFO] [stdout] | [INFO] [stdout] 703 | fn try_from(value: RowClePartitionRef<'a>) -> Result { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 704 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 705 | | signature: value.signature.try_into()?, [INFO] [stdout] 706 | | format: value.format, [INFO] [stdout] 707 | | iv: match value.iv { Some(inner) => Some(inner.to_string()), None => None }, [INFO] [stdout] 708 | | tag: match value.tag { Some(inner) => Some(inner.to_string()), None => None }, [INFO] [stdout] 709 | | header: match value.header { Some(inner) => Some(inner.to_string()), None => None }, [INFO] [stdout] 710 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_commun.rs:901:12 [INFO] [stdout] | [INFO] [stdout] 869 | pub fn to_cle_secrete_serialisee(self, rechiffrage_handler: &HandlerCleRechiffrage) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 880 | let cle_secrete = rechiffrage_handler.dechiffer_cle_secrete(cle_interne)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 901 | Ok(CleSecreteSerialisee::from_cle_secrete(cle_secrete, Some(cle_id), self.format, nonce, verification)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_sqlite.rs:114:48 [INFO] [stdout] | [INFO] [stdout] 113 | fn from(value: millegrilles_common_rust::millegrilles_cryptographie::error::Error) -> Self { [INFO] [stdout] | ------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | ErreurMaitreDesClesSqlite::CommonError(value.into()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_sqlite.rs:132:48 [INFO] [stdout] | [INFO] [stdout] 131 | fn from(value: serde_json::Error) -> Self { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | ErreurMaitreDesClesSqlite::CommonError(Error::SerdeJson(value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_sqlite.rs:144:48 [INFO] [stdout] | [INFO] [stdout] 143 | fn from(value: millegrilles_common_rust::openssl::error::ErrorStack) -> Self { [INFO] [stdout] | ----------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | ErreurMaitreDesClesSqlite::CommonError(Error::Openssl(value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_sqlite.rs:187:34 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn new(handler_rechiffrage: HandlerCleRechiffrage) -> Self { [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 187 | connexion_read_only: Mutex::new(None), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_sqlite.rs:188:40 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn new(handler_rechiffrage: HandlerCleRechiffrage) -> Self { [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 188 | connexion_sauvegarder_cle: Mutex::new(None), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_sqlite.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 270 | async fn appliquer_transaction(&self, middleware: &M, transaction: TransactionValide) -> Result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_sqlite.rs:385:171 [INFO] [stdout] | [INFO] [stdout] 385 | async fn consommer_requete(&self, middleware: &M, message: MessageValide) -> Result, Error> where M: Middleware + 'static { [INFO] [stdout] | __________________________________________________________----------------------___________________________________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 386 | | consommer_requete(middleware, message, self).await [INFO] [stdout] 387 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_sqlite.rs:389:172 [INFO] [stdout] | [INFO] [stdout] 389 | async fn consommer_commande(&self, middleware: &M, message: MessageValide) -> Result, Error> where M: Middleware + 'static { [INFO] [stdout] | ___________________________________________________________----------------------___________________________________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 390 | | consommer_commande(middleware, message, self).await [INFO] [stdout] 391 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_sqlite.rs:393:175 [INFO] [stdout] | [INFO] [stdout] 393 | async fn consommer_transaction(&self, middleware: &M, message: MessageValide) -> Result, Error> where M: Middleware + 'static { [INFO] [stdout] | ______________________________________________________________----------------------___________________________________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 394 | | consommer_transaction(middleware, message, self).await [INFO] [stdout] 395 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_sqlite.rs:397:187 [INFO] [stdout] | [INFO] [stdout] 397 | async fn consommer_evenement(self: &'static Self, middleware: &M, message: MessageValide) -> Result, Error> where M: Middleware + 'static { [INFO] [stdout] | __________________________________________________________________________----------------------___________________________________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 398 | | consommer_evenement(middleware, self, message).await [INFO] [stdout] 399 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_sqlite.rs:401:98 [INFO] [stdout] | [INFO] [stdout] 401 | async fn entretien(self: &'static Self, middleware: Arc) where M: Middleware + 'static { [INFO] [stdout] | ________________________________________________------------------________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 402 | | entretien(self, middleware).await [INFO] [stdout] 403 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_sqlite.rs:412:5 [INFO] [stdout] | [INFO] [stdout] 409 | async fn aiguillage_transaction(&self, middleware: &M, transaction: TransactionValide) [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 412 | / { [INFO] [stdout] 413 | | aiguillage_transaction(middleware, transaction, self).await [INFO] [stdout] 414 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 65 | let guard = self.cle_symmetrique.lock().expect("lock"); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | let cle_secrete = match &*guard { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | enveloppe_privee: self.enveloppe_privee.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 65 | let guard = self.cle_symmetrique.lock().expect("lock"); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | let cle_secrete = match &*guard { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | cle_symmetrique: Mutex::new(cle_secrete), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:112:30 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn with_certificat(enveloppe_privee: Arc) -> Self { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | let cle_privee = enveloppe_privee.cle_privee.to_owned(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | cle_symmetrique: Mutex::new(None), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/messages.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 78 | fn try_from<'a>(mut value: MessageMilleGrillesRefDefault<'a>) -> Result { [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | let dechiffrage = match value.dechiffrage.take() { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | Some(inner) => inner, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 85 | | contenu: multibase::decode(value.contenu_escaped)?.1, [INFO] [stdout] 86 | | dechiffrage: (&dechiffrage).into(), [INFO] [stdout] 87 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors; 252 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `millegrilles_maitredescles` (bin "millegrilles_maitredescles") due to 35 previous errors; 252 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/maitredescles_commun.rs:532:13 [INFO] [stdout] | [INFO] [stdout] 532 | let header = match value.header { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format` [INFO] [stdout] --> src/maitredescles_commun.rs:536:13 [INFO] [stdout] | [INFO] [stdout] 536 | let format: &str = value.format.into(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/maitredescles_commun.rs:566:13 [INFO] [stdout] | [INFO] [stdout] 566 | let header = match value.header { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_secrete` [INFO] [stdout] --> src/maitredescles_commun.rs:565:26 [INFO] [stdout] | [INFO] [stdout] 565 | pub fn from_commande(cle_secrete: &CleSecreteX25519, value: CommandeSauvegarderCle) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_secrete` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/maitredescles_commun.rs:585:13 [INFO] [stdout] | [INFO] [stdout] 585 | let header = match value.header { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_secrete_string` [INFO] [stdout] --> src/maitredescles_commun.rs:589:13 [INFO] [stdout] | [INFO] [stdout] 589 | let cle_secrete_string: String = multibase::encode(Base::Base64, &cle_secrete.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_secrete_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/maitredescles_commun.rs:796:13 [INFO] [stdout] | [INFO] [stdout] 796 | fn from(value: CommandeSauvegarderCle) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint_` [INFO] [stdout] --> src/maitredescles_commun.rs:820:13 [INFO] [stdout] | [INFO] [stdout] 820 | let fingerprint_ = fingerprint.into(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint_` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cles` [INFO] [stdout] --> src/maitredescles_commun.rs:821:17 [INFO] [stdout] | [INFO] [stdout] 821 | let mut cles: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_commun.rs:821:13 [INFO] [stdout] | [INFO] [stdout] 821 | let mut cles: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint` [INFO] [stdout] --> src/maitredescles_commun.rs:843:13 [INFO] [stdout] | [INFO] [stdout] 843 | let fingerprint = fingerprint.into(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_ref` [INFO] [stdout] --> src/maitredescles_commun.rs:844:13 [INFO] [stdout] | [INFO] [stdout] 844 | let cle_ref = cle_ref.into(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_ref` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/maitredescles_commun.rs:839:49 [INFO] [stdout] | [INFO] [stdout] 839 | pub fn try_into_document_cle_partition(value: &DocCleSymmetrique, fingerprint: S, cle_ref: T) -> Result [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/maitredescles_commun.rs:982:13 [INFO] [stdout] | [INFO] [stdout] 982 | fn from(value: RowClePartition) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/maitredescles_commun.rs:1027:13 [INFO] [stdout] | [INFO] [stdout] 1027 | fn from(value: &'a CleSecreteRechiffrage) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_commun.rs:1050:13 [INFO] [stdout] | [INFO] [stdout] 1050 | let mut iv_bytes: Vec = match multibase::decode(iv) { [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] --> src/maitredescles_commun.rs:1058:13 [INFO] [stdout] | [INFO] [stdout] 1058 | let mut tag_bytes: Vec = match multibase::decode(tag) { [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] --> src/maitredescles_commun.rs:1066:13 [INFO] [stdout] | [INFO] [stdout] 1066 | let mut header_bytes: Vec = match multibase::decode(header) { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fingerprint` [INFO] [stdout] --> src/maitredescles_sqlite.rs:193:13 [INFO] [stdout] | [INFO] [stdout] 193 | let fingerprint = self.handler_rechiffrage.fingerprint(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fingerprint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/maitredescles_sqlite.rs:424:36 [INFO] [stdout] | [INFO] [stdout] 424 | let dechiffrer = if let Ok(v) = std::env::var("DESACTIVER_DECHIFFRAGE") { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cles` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1220:13 [INFO] [stdout] | [INFO] [stdout] 1220 | let mut cles: HashMap = HashMap::new(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1208:5 [INFO] [stdout] | [INFO] [stdout] 1208 | middleware: &M, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1209:5 [INFO] [stdout] | [INFO] [stdout] 1209 | gestionnaire: &GestionnaireMaitreDesClesSQLite, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gestionnaire` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `connexion` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1210:5 [INFO] [stdout] | [INFO] [stdout] 1210 | connexion: &mut Connection, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connexion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `requete` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1211:5 [INFO] [stdout] | [INFO] [stdout] 1211 | requete: &RequeteDechiffrage, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_requete` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enveloppe_privee` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1212:5 [INFO] [stdout] | [INFO] [stdout] 1212 | enveloppe_privee: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enveloppe_privee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `certificat` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1213:5 [INFO] [stdout] | [INFO] [stdout] 1213 | certificat: &EnveloppeCertificat, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_certificat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `permission` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1214:5 [INFO] [stdout] | [INFO] [stdout] 1214 | permission: Option<&EnveloppePermission>, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permission` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `domaines_permis` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1215:5 [INFO] [stdout] | [INFO] [stdout] 1215 | domaines_permis: Option<&Vec> [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_domaines_permis` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_sqlite.rs:1220:9 [INFO] [stdout] | [INFO] [stdout] 1220 | let mut cles: HashMap = HashMap::new(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_chiffree` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1728:19 [INFO] [stdout] | [INFO] [stdout] 1728 | let (cle_ref, cle_chiffree) = info_cle.rechiffrer_cle( [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_chiffree` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prepared_statement_cle` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1743:13 [INFO] [stdout] | [INFO] [stdout] 1743 | let mut prepared_statement_cle = connection [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prepared_statement_cle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prepared_statement_identificateurs` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1748:13 [INFO] [stdout] | [INFO] [stdout] 1748 | let mut prepared_statement_identificateurs = connection [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prepared_statement_identificateurs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format_str` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1754:9 [INFO] [stdout] | [INFO] [stdout] 1754 | let format_str: String = serde_json::to_string(&info_cle.format)?.replace("\"", ""); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_format_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1721:5 [INFO] [stdout] | [INFO] [stdout] 1721 | middleware: &M, gestionnaire: &GestionnaireMaitreDesClesSQLite, connection: &Connection, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_sqlite.rs:1743:9 [INFO] [stdout] | [INFO] [stdout] 1743 | let mut prepared_statement_cle = connection [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] --> src/maitredescles_sqlite.rs:1748:9 [INFO] [stdout] | [INFO] [stdout] 1748 | let mut prepared_statement_identificateurs = connection [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `format_chiffrage` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1830:9 [INFO] [stdout] | [INFO] [stdout] 1830 | let format_chiffrage = match format_str.as_str() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_format_chiffrage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_privee` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1915:9 [INFO] [stdout] | [INFO] [stdout] 1915 | let cle_privee = middleware.get_enveloppe_signature(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_privee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | Err(e) => Err(std::fmt::Error{})? [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_privee` [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let cle_privee = enveloppe_privee.cle_privee.to_owned(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_privee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:250:25 [INFO] [stdout] | [INFO] [stdout] 250 | let mut cipher = XChaCha20Poly1305::new((&inner.0).into()); [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] --> src/maitredescles_rechiffrage.rs:276:21 [INFO] [stdout] | [INFO] [stdout] 276 | let mut cipher = XChaCha20Poly1305::new((&inner.0).into()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dechiffrage` [INFO] [stdout] --> src/messages.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | let dechiffrage = match value.dechiffrage.take() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dechiffrage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/messages.rs:92:21 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn new(middleware: &M, contenu: S, certificat_demandeur: &EnveloppeCertificat) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `contenu` [INFO] [stdout] --> src/messages.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn new(middleware: &M, contenu: S, certificat_demandeur: &EnveloppeCertificat) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_contenu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `certificat_demandeur` [INFO] [stdout] --> src/messages.rs:92:49 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn new(middleware: &M, contenu: S, certificat_demandeur: &EnveloppeCertificat) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_certificat_demandeur` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `header` [INFO] [stdout] --> src/messages.rs:111:14 [INFO] [stdout] | [INFO] [stdout] 111 | let (header, cle_secrete) = match self.dechiffrage.cles.as_ref() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_secrete` [INFO] [stdout] --> src/messages.rs:111:22 [INFO] [stdout] | [INFO] [stdout] 111 | let (header, cle_secrete) = match self.dechiffrage.cles.as_ref() { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_secrete` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDEX_RECHIFFRAGE_PK` is never used [INFO] [stdout] --> src/maitredescles_partition.rs:62:7 [INFO] [stdout] | [INFO] [stdout] 62 | const INDEX_RECHIFFRAGE_PK: &str = "fingerprint_pk"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_FINGERPRINT_PK` is never used [INFO] [stdout] --> src/maitredescles_partition.rs:65:7 [INFO] [stdout] | [INFO] [stdout] 65 | const CHAMP_FINGERPRINT_PK: &str = "fingerprint_pk"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rechiffrer_cles` is never used [INFO] [stdout] --> src/maitredescles_partition.rs:1683:10 [INFO] [stdout] | [INFO] [stdout] 1683 | async fn rechiffrer_cles( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `preparer_curseur_cles` is never used [INFO] [stdout] --> src/maitredescles_partition.rs:1736:10 [INFO] [stdout] | [INFO] [stdout] 1736 | async fn preparer_curseur_cles( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fingerprint` is never read [INFO] [stdout] --> src/maitredescles_ca.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 50 | pub struct GestionnaireMaitreDesClesCa { [INFO] [stdout] | --------------------------- field in this struct [INFO] [stdout] 51 | pub fingerprint: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `GestionnaireMaitreDesClesCa` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDEX_CLES_HACHAGE_BYTES` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | pub const INDEX_CLES_HACHAGE_BYTES: &str = "index_hachage_bytes"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_DOMAINE` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | pub const CHAMP_DOMAINE: &str = "domaine"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_LISTE_HACHAGE_BYTES` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:82:11 [INFO] [stdout] | [INFO] [stdout] 82 | pub const CHAMP_LISTE_HACHAGE_BYTES: &str = "liste_hachage_bytes"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_LISTE_CLE_REF` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | pub const CHAMP_LISTE_CLE_REF: &str = "liste_cle_ref"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_CLES` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 90 | pub const CHAMP_CLES: &str = "cles"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_LISTE_CLES` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:91:11 [INFO] [stdout] | [INFO] [stdout] 91 | pub const CHAMP_LISTE_CLES: &str = "liste_cles"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_ACCES_REFUSE` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:94:11 [INFO] [stdout] | [INFO] [stdout] 94 | pub const CHAMP_ACCES_REFUSE: &str = "0.refuse"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_ACCES_PERMIS` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:95:11 [INFO] [stdout] | [INFO] [stdout] 95 | pub const CHAMP_ACCES_PERMIS: &str = "1.permis"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `requete_cles_inconnues` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:338:14 [INFO] [stdout] | [INFO] [stdout] 338 | pub async fn requete_cles_inconnues(middleware: &M, requete: &RequeteDechiffrage, cles_connues: Vec) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `enveloppe` and `permission` are never read [INFO] [stdout] --> src/maitredescles_commun.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 397 | pub struct EnveloppePermission { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 398 | pub enveloppe: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 399 | pub permission: PermissionDechiffrage, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EnveloppePermission` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_bson_filter` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:437:12 [INFO] [stdout] | [INFO] [stdout] 436 | impl CleSynchronisation { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 437 | pub fn get_bson_filter(cles: &Vec) -> Result, Error> [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_doc_cle` and `get_cle_ref` are never used [INFO] [stdout] --> src/maitredescles_commun.rs:584:12 [INFO] [stdout] | [INFO] [stdout] 562 | impl CleSecreteRechiffrage { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 584 | pub fn from_doc_cle(cle_secrete: CleSecreteX25519, value: RowClePartition) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 619 | pub fn get_cle_ref(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new_from_commande` and `into_commande` are never used [INFO] [stdout] --> src/maitredescles_commun.rs:712:12 [INFO] [stdout] | [INFO] [stdout] 711 | impl TransactionCle { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 712 | pub fn new_from_commande(commande: &CommandeSauvegarderCle, fingerprint: &str) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 736 | pub fn into_commande(self, fingerprint: S) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `into_commande` and `try_into_document_cle_partition` are never used [INFO] [stdout] --> src/maitredescles_commun.rs:817:12 [INFO] [stdout] | [INFO] [stdout] 815 | impl RowClePartition { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 816 | [INFO] [stdout] 817 | pub fn into_commande(self, fingerprint: S) -> CommandeSauvegarderCle [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 839 | pub fn try_into_document_cle_partition(value: &DocCleSymmetrique, fingerprint: S, cle_ref: T) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `cle_id`, `cle_symmetrique`, and `nonce_symmetrique` are never read [INFO] [stdout] --> src/maitredescles_commun.rs:909:9 [INFO] [stdout] | [INFO] [stdout] 907 | pub struct RowClePartitionRef<'a> { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 908 | // Identite [INFO] [stdout] 909 | pub cle_id: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 913 | pub cle_symmetrique: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 914 | pub nonce_symmetrique: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RowClePartitionRef` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `tx_messages`, `tx_triggers`, and `routing` are never read [INFO] [stdout] --> src/maitredescles_commun.rs:1001:9 [INFO] [stdout] | [INFO] [stdout] 1000 | pub struct GestionnaireRessources { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 1001 | pub tx_messages: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1002 | pub tx_triggers: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 1003 | pub routing: Mutex>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `hachage_bytes`, `iv`, `tag`, `header`, and `domaine` are never read [INFO] [stdout] --> src/maitredescles_commun.rs:1007:5 [INFO] [stdout] | [INFO] [stdout] 1006 | pub struct CleRefData<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 1007 | hachage_bytes: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 1008 | iv: Option<&'a str>, [INFO] [stdout] | ^^ [INFO] [stdout] 1009 | tag: Option<&'a str>, [INFO] [stdout] | ^^^ [INFO] [stdout] 1010 | header: Option<&'a str>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1011 | domaine: &'a str, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `calculer_cle_ref` is never used [INFO] [stdout] --> src/maitredescles_commun.rs:1040:8 [INFO] [stdout] | [INFO] [stdout] 1040 | pub fn calculer_cle_ref(info: CleRefData, cle_secrete: &CleSecreteX25519) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `cles` is never read [INFO] [stdout] --> src/maitredescles_commun.rs:1170:9 [INFO] [stdout] | [INFO] [stdout] 1169 | pub struct MessageListeCles { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 1170 | pub cles: Vec [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageListeCles` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOM_COLLECTION_RECHIFFRAGE` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:59:7 [INFO] [stdout] | [INFO] [stdout] 59 | const NOM_COLLECTION_RECHIFFRAGE: &str = "MaitreDesCles/rechiffrage"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDEX_RECHIFFRAGE_PK` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:67:7 [INFO] [stdout] | [INFO] [stdout] 67 | const INDEX_RECHIFFRAGE_PK: &str = "fingerprint_pk"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDEX_CONFIRMATION_CA` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:68:7 [INFO] [stdout] | [INFO] [stdout] 68 | const INDEX_CONFIRMATION_CA: &str = "confirmation_ca"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_FINGERPRINT_PK` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | const CHAMP_FINGERPRINT_PK: &str = "fingerprint_pk"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_CONFIRMATION_CA` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:71:7 [INFO] [stdout] | [INFO] [stdout] 71 | const CHAMP_CONFIRMATION_CA: &str = "confirmation_ca"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nom_collection_transactions` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:177:4 [INFO] [stdout] | [INFO] [stdout] 177 | fn nom_collection_transactions(_fingerprint: S) -> String [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_partition_tronquee` and `get_collection_cles` are never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 183 | impl GestionnaireMaitreDesClesSQLite { [INFO] [stdout] | ------------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 230 | pub fn get_partition_tronquee(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | fn get_collection_cles(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `preparer_index_mongodb_partition` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:534:14 [INFO] [stdout] | [INFO] [stdout] 534 | pub async fn preparer_index_mongodb_partition(_middleware: &M, _gestionnaire: &GestionnaireMaitreDesClesSQLite) -> Result<(), String> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:548:8 [INFO] [stdout] | [INFO] [stdout] 547 | impl DocumentRechiffrage { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 548 | fn new(fingerprint_pk: S, fingerprint: T) -> Self where S: Into, T: Into { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `emettre_cles_vers_ca` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:1460:10 [INFO] [stdout] | [INFO] [stdout] 1460 | async fn emettre_cles_vers_ca( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traiter_cles_manquantes_ca` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:1492:10 [INFO] [stdout] | [INFO] [stdout] 1492 | async fn traiter_cles_manquantes_ca( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `charger_cle` is never used [INFO] [stdout] --> src/maitredescles_sqlite.rs:1794:4 [INFO] [stdout] | [INFO] [stdout] 1794 | fn charger_cle(connexion: &Connection, domaine: D, hachage_bytes: S) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_enveloppe_privee` is never used [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:201:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl HandlerCleRechiffrage { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn get_enveloppe_privee(&self) -> Arc { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `fingerprint` is never read [INFO] [stdout] --> src/messages.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct RequeteVerifierPreuve { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 20 | pub fingerprint: String, // fingerprint inclues dans la preuve [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequeteVerifierPreuve` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `date` and `preuve` are never read [INFO] [stdout] --> src/messages.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 25 | pub struct PreuveCle { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 26 | #[serde(with = "epochseconds")] [INFO] [stdout] 27 | pub date: DateTime, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | pub preuve: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PreuveCle` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verifier_preuve` is never used [INFO] [stdout] --> src/messages.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl PreuveCle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 32 | pub fn verifier_preuve(&self, fingerprint: S, cle: &CleSecreteX25519) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/messages.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl MessageReponseChiffree { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 92 | pub fn new(middleware: &M, contenu: S, certificat_demandeur: &EnveloppeCertificat) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rechiffrer_asymetrique_multibase` is never used [INFO] [stdout] --> src/chiffrage_cles.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn rechiffrer_asymetrique_multibase(private_key: &PKey, public_key: &PKey, cle: &str) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `chiffrer_asymetrique_multibase` is never used [INFO] [stdout] --> src/chiffrage_cles.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn chiffrer_asymetrique_multibase(cle_secrete: CleSecreteX25519, public_key: &PKey) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `extraire_cle_secrete` is never used [INFO] [stdout] --> src/chiffrage_cles.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn extraire_cle_secrete(private_key: &PKey, cle: &str) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_partition.rs:94:37 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn new(handler_rechiffrage: HandlerCleRechiffrage) -> Self { [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | Self { handler_rechiffrage: Arc::new(handler_rechiffrage), ressources: Mutex::new(None) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_partition.rs:94:80 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn new(handler_rechiffrage: HandlerCleRechiffrage) -> Self { [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 94 | Self { handler_rechiffrage: Arc::new(handler_rechiffrage), ressources: Mutex::new(None) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_partition.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 273 | async fn appliquer_transaction(&self, middleware: &M, transaction: TransactionValide) -> Result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_partition.rs:357:171 [INFO] [stdout] | [INFO] [stdout] 357 | async fn consommer_requete(&self, middleware: &M, message: MessageValide) -> Result, Error> where M: Middleware + 'static { [INFO] [stdout] | __________________________________________________________----------------------___________________________________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 358 | | consommer_requete(middleware, message, self).await [INFO] [stdout] 359 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_partition.rs:361:172 [INFO] [stdout] | [INFO] [stdout] 361 | async fn consommer_commande(&self, middleware: &M, message: MessageValide) -> Result, Error> where M: Middleware + 'static { [INFO] [stdout] | ___________________________________________________________----------------------___________________________________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 362 | | consommer_commande(middleware, message, self).await [INFO] [stdout] 363 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_partition.rs:365:175 [INFO] [stdout] | [INFO] [stdout] 365 | async fn consommer_transaction(&self, middleware: &M, message: MessageValide) -> Result, Error> where M: Middleware + 'static { [INFO] [stdout] | ______________________________________________________________----------------------___________________________________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 366 | | consommer_transaction(middleware, message, self).await [INFO] [stdout] 367 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_partition.rs:369:187 [INFO] [stdout] | [INFO] [stdout] 369 | async fn consommer_evenement(self: &'static Self, middleware: &M, message: MessageValide) -> Result, Error> where M: Middleware + 'static { [INFO] [stdout] | __________________________________________________________________________----------------------___________________________________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 370 | | consommer_evenement(middleware, self, message).await [INFO] [stdout] 371 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_partition.rs:373:98 [INFO] [stdout] | [INFO] [stdout] 373 | async fn entretien(self: &'static Self, middleware: Arc) where M: Middleware + 'static { [INFO] [stdout] | ________________________________________________------------------________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 374 | | let mut q_preparation_completee = false; [INFO] [stdout] 375 | | loop { [INFO] [stdout] 376 | | if !self.handler_rechiffrage.is_ready() || q_preparation_completee == false { [INFO] [stdout] ... | [INFO] [stdout] 427 | | } [INFO] [stdout] 428 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_partition.rs:437:5 [INFO] [stdout] | [INFO] [stdout] 434 | async fn aiguillage_transaction(&self, middleware: &M, transaction: TransactionValide) [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 437 | / { [INFO] [stdout] 438 | | aiguillage_transaction(middleware, transaction, self).await [INFO] [stdout] 439 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_ca.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 56 | async fn appliquer_transaction(&self, middleware: &M, transaction: TransactionValide) [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 59 | / { [INFO] [stdout] 60 | | aiguillage_transaction(middleware, transaction).await [INFO] [stdout] 61 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_ca.rs:88:171 [INFO] [stdout] | [INFO] [stdout] 88 | async fn consommer_requete(&self, middleware: &M, message: MessageValide) -> Result, Error> where M: Middleware + 'static { [INFO] [stdout] | __________________________________________________________----------------------___________________________________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 89 | | consommer_requete(middleware, message, &self).await [INFO] [stdout] 90 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_ca.rs:92:172 [INFO] [stdout] | [INFO] [stdout] 92 | async fn consommer_commande(&self, middleware: &M, message: MessageValide) -> Result, Error> where M: Middleware + 'static { [INFO] [stdout] | ___________________________________________________________----------------------___________________________________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 93 | | consommer_commande(middleware, message, &self).await [INFO] [stdout] 94 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_ca.rs:96:175 [INFO] [stdout] | [INFO] [stdout] 96 | async fn consommer_transaction(&self, middleware: &M, message: MessageValide) -> Result, Error> where M: Middleware + 'static { [INFO] [stdout] | ______________________________________________________________----------------------___________________________________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 97 | | consommer_transaction(middleware, message, self).await [INFO] [stdout] 98 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_ca.rs:100:187 [INFO] [stdout] | [INFO] [stdout] 100 | async fn consommer_evenement(self: &'static Self, middleware: &M, message: MessageValide) -> Result, Error> where M: Middleware + 'static { [INFO] [stdout] | __________________________________________________________________________----------------------___________________________________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 101 | | consommer_evenement(middleware, message).await [INFO] [stdout] 102 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_ca.rs:104:98 [INFO] [stdout] | [INFO] [stdout] 104 | async fn entretien(self: &'static Self, middleware: Arc) where M: Middleware + 'static { [INFO] [stdout] | ________________________________________________------------------________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 105 | | entretien(middleware).await [INFO] [stdout] 106 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_ca.rs:115:5 [INFO] [stdout] | [INFO] [stdout] 112 | async fn aiguillage_transaction(&self, middleware: &M, transaction: TransactionValide) [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | / { [INFO] [stdout] 116 | | aiguillage_transaction(middleware, transaction).await [INFO] [stdout] 117 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_ca.rs:704:12 [INFO] [stdout] | [INFO] [stdout] 703 | fn try_from(value: RowClePartitionRef<'a>) -> Result { [INFO] [stdout] | ----------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 704 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 705 | | signature: value.signature.try_into()?, [INFO] [stdout] 706 | | format: value.format, [INFO] [stdout] 707 | | iv: match value.iv { Some(inner) => Some(inner.to_string()), None => None }, [INFO] [stdout] 708 | | tag: match value.tag { Some(inner) => Some(inner.to_string()), None => None }, [INFO] [stdout] 709 | | header: match value.header { Some(inner) => Some(inner.to_string()), None => None }, [INFO] [stdout] 710 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_commun.rs:901:12 [INFO] [stdout] | [INFO] [stdout] 869 | pub fn to_cle_secrete_serialisee(self, rechiffrage_handler: &HandlerCleRechiffrage) [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 880 | let cle_secrete = rechiffrage_handler.dechiffer_cle_secrete(cle_interne)?; [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 901 | Ok(CleSecreteSerialisee::from_cle_secrete(cle_secrete, Some(cle_id), self.format, nonce, verification)?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_sqlite.rs:114:48 [INFO] [stdout] | [INFO] [stdout] 113 | fn from(value: millegrilles_common_rust::millegrilles_cryptographie::error::Error) -> Self { [INFO] [stdout] | ------------------------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 114 | ErreurMaitreDesClesSqlite::CommonError(value.into()) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_sqlite.rs:132:48 [INFO] [stdout] | [INFO] [stdout] 131 | fn from(value: serde_json::Error) -> Self { [INFO] [stdout] | ------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 132 | ErreurMaitreDesClesSqlite::CommonError(Error::SerdeJson(value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_sqlite.rs:144:48 [INFO] [stdout] | [INFO] [stdout] 143 | fn from(value: millegrilles_common_rust::openssl::error::ErrorStack) -> Self { [INFO] [stdout] | ----------------------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 144 | ErreurMaitreDesClesSqlite::CommonError(Error::Openssl(value)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_sqlite.rs:187:34 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn new(handler_rechiffrage: HandlerCleRechiffrage) -> Self { [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 187 | connexion_read_only: Mutex::new(None), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_sqlite.rs:188:40 [INFO] [stdout] | [INFO] [stdout] 184 | pub fn new(handler_rechiffrage: HandlerCleRechiffrage) -> Self { [INFO] [stdout] | ------------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 188 | connexion_sauvegarder_cle: Mutex::new(None), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_sqlite.rs:272:5 [INFO] [stdout] | [INFO] [stdout] 270 | async fn appliquer_transaction(&self, middleware: &M, transaction: TransactionValide) -> Result [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_sqlite.rs:385:171 [INFO] [stdout] | [INFO] [stdout] 385 | async fn consommer_requete(&self, middleware: &M, message: MessageValide) -> Result, Error> where M: Middleware + 'static { [INFO] [stdout] | __________________________________________________________----------------------___________________________________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 386 | | consommer_requete(middleware, message, self).await [INFO] [stdout] 387 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_sqlite.rs:389:172 [INFO] [stdout] | [INFO] [stdout] 389 | async fn consommer_commande(&self, middleware: &M, message: MessageValide) -> Result, Error> where M: Middleware + 'static { [INFO] [stdout] | ___________________________________________________________----------------------___________________________________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 390 | | consommer_commande(middleware, message, self).await [INFO] [stdout] 391 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_sqlite.rs:393:175 [INFO] [stdout] | [INFO] [stdout] 393 | async fn consommer_transaction(&self, middleware: &M, message: MessageValide) -> Result, Error> where M: Middleware + 'static { [INFO] [stdout] | ______________________________________________________________----------------------___________________________________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 394 | | consommer_transaction(middleware, message, self).await [INFO] [stdout] 395 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_sqlite.rs:397:187 [INFO] [stdout] | [INFO] [stdout] 397 | async fn consommer_evenement(self: &'static Self, middleware: &M, message: MessageValide) -> Result, Error> where M: Middleware + 'static { [INFO] [stdout] | __________________________________________________________________________----------------------___________________________________________________________________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 398 | | consommer_evenement(middleware, self, message).await [INFO] [stdout] 399 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_sqlite.rs:401:98 [INFO] [stdout] | [INFO] [stdout] 401 | async fn entretien(self: &'static Self, middleware: Arc) where M: Middleware + 'static { [INFO] [stdout] | ________________________________________________------------------________________________________^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 402 | | entretien(self, middleware).await [INFO] [stdout] 403 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_sqlite.rs:412:5 [INFO] [stdout] | [INFO] [stdout] 409 | async fn aiguillage_transaction(&self, middleware: &M, transaction: TransactionValide) [INFO] [stdout] | ------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 412 | / { [INFO] [stdout] 413 | | aiguillage_transaction(middleware, transaction, self).await [INFO] [stdout] 414 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:72:31 [INFO] [stdout] | [INFO] [stdout] 65 | let guard = self.cle_symmetrique.lock().expect("lock"); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | let cle_secrete = match &*guard { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | enveloppe_privee: self.enveloppe_privee.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 65 | let guard = self.cle_symmetrique.lock().expect("lock"); [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 66 | let cle_secrete = match &*guard { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 73 | cle_symmetrique: Mutex::new(cle_secrete), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:112:30 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn with_certificat(enveloppe_privee: Arc) -> Self { [INFO] [stdout] | -------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 107 | let cle_privee = enveloppe_privee.cle_privee.to_owned(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 112 | cle_symmetrique: Mutex::new(None), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/messages.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 78 | fn try_from<'a>(mut value: MessageMilleGrillesRefDefault<'a>) -> Result { [INFO] [stdout] | -------------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 79 | let dechiffrage = match value.dechiffrage.take() { [INFO] [stdout] | ----------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | Some(inner) => inner, [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 84 | Ok(Self { [INFO] [stdout] | ____________^ [INFO] [stdout] 85 | | contenu: multibase::decode(value.contenu_escaped)?.1, [INFO] [stdout] 86 | | dechiffrage: (&dechiffrage).into(), [INFO] [stdout] 87 | | }) [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors; 252 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `millegrilles_maitredescles` (bin "millegrilles_maitredescles" test) due to 35 previous errors; 252 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ee946f73a60f58ec48ec2a3222a03421af1a7259e52114727f5f8573825babe4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee946f73a60f58ec48ec2a3222a03421af1a7259e52114727f5f8573825babe4", kill_on_drop: false }` [INFO] [stdout] ee946f73a60f58ec48ec2a3222a03421af1a7259e52114727f5f8573825babe4