[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] 0c3f40337a93d5a371b4896c870cb44fbedea7e9 [INFO] checking dugrema/millegrilles_maitredescles/0c3f40337a93d5a371b4896c870cb44fbedea7e9 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [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 ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9425fae88f4ccc5f3562a3b8dcf59e06238c9f7adcffa326006f6527c6350646 [INFO] running `Command { std: "docker" "start" "-a" "9425fae88f4ccc5f3562a3b8dcf59e06238c9f7adcffa326006f6527c6350646", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9425fae88f4ccc5f3562a3b8dcf59e06238c9f7adcffa326006f6527c6350646", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9425fae88f4ccc5f3562a3b8dcf59e06238c9f7adcffa326006f6527c6350646", kill_on_drop: false }` [INFO] [stdout] 9425fae88f4ccc5f3562a3b8dcf59e06238c9f7adcffa326006f6527c6350646 [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" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4bfdb1e7f8f8d481f98eb7fe13f8dfe645873e09f46fe1cb4f13aa95c69ea4bd [INFO] running `Command { std: "docker" "start" "-a" "4bfdb1e7f8f8d481f98eb7fe13f8dfe645873e09f46fe1cb4f13aa95c69ea4bd", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling proc-macro2 v1.0.81 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking subtle v2.5.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking const-oid v0.9.6 [INFO] [stderr] Checking value-bag v1.9.0 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking base64ct v1.6.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling serde v1.0.200 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking flagset v0.4.5 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling thiserror v1.0.59 [INFO] [stderr] Checking parking v2.2.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Compiling dunce v1.0.4 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking untrusted v0.9.0 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Compiling syn v2.0.60 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Checking rustls-pki-types v1.5.0 [INFO] [stderr] Compiling aws-lc-rs v1.7.1 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Checking getrandom v0.2.14 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling serde_json v1.0.116 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling cc v1.0.96 [INFO] [stderr] Checking mirai-annotations v1.12.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Checking event-listener v4.0.3 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling oid-registry v0.7.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Checking event-listener-strategy v0.4.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking futures-lite v2.3.0 [INFO] [stderr] Checking event-listener v5.3.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling cmake v0.1.50 [INFO] [stderr] Compiling openssl-src v300.2.3+3.2.1 [INFO] [stderr] Checking rustls-pemfile v2.1.2 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking async-lock v3.3.0 [INFO] [stderr] Checking ff v0.13.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking event-listener v2.5.3 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling rustls v0.23.5 [INFO] [stderr] Checking base16ct v0.2.0 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking piper v0.2.1 [INFO] [stderr] Checking async-channel v2.2.1 [INFO] [stderr] Checking socket2 v0.4.10 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking linux-raw-sys v0.3.8 [INFO] [stderr] Checking waker-fn v1.1.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking blocking v1.6.0 [INFO] [stderr] Checking async-executor v1.11.0 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Checking miniz_oxide v0.7.2 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking async-lock v2.8.0 [INFO] [stderr] Checking rustls-native-certs v0.7.0 [INFO] [stderr] Checking pem-rfc7468 v0.6.0 [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] Checking cookie-factory v0.3.3 [INFO] [stderr] Compiling unicode-xid v0.2.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling platforms v3.4.0 [INFO] [stderr] Compiling zerocopy v0.8.0-alpha.6 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking opaque-debug v0.3.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Compiling crc32fast v1.4.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking tower-layer v0.3.2 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling backtrace v0.3.71 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking alloc-no-stdlib v2.0.4 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking iana-time-zone v0.1.60 [INFO] [stderr] Checking block-padding v0.2.1 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling amq-protocol v7.2.0 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Checking arrayref v0.3.7 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Checking gimli v0.28.1 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking match_cfg v0.1.0 [INFO] [stderr] Checking hostname v0.3.1 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking rand_core v0.9.0-alpha.1 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking alloc-stdlib v0.2.2 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Compiling sqlite3-src v0.5.1 [INFO] [stderr] Compiling blake3 v1.5.1 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking hash32 v0.2.1 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking object v0.32.2 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Checking unsigned-varint v0.7.2 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking zerocopy v0.7.33 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.13 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking constant_time_eq v0.1.5 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking polling v3.7.0 [INFO] [stderr] Compiling anyhow v1.0.82 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Compiling lapin v2.3.4 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Checking anstyle-parse v0.2.4 [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-impl v0.2.0 [INFO] [stderr] Compiling asn1-rs-derive v0.5.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking der v0.7.9 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking async-io v2.3.2 [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 asn1-rs v0.6.1 [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 salsa20 v0.10.2 [INFO] [stderr] Checking cbc v0.1.2 [INFO] [stderr] Checking scrypt v0.11.0 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking hkdf v0.12.4 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking des v0.8.1 [INFO] [stderr] Checking rc2 v0.8.1 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking async-global-executor v2.4.1 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking der v0.6.1 [INFO] [stderr] Checking executor-trait v2.1.0 [INFO] [stderr] Checking reactor-trait v1.1.0 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking x509-cert v0.2.5 [INFO] [stderr] Checking pkcs5 v0.7.1 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking der-parser v9.0.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Checking addr2line v0.21.0 [INFO] [stderr] Checking spki v0.6.0 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking pkcs8 v0.9.0 [INFO] [stderr] Checking async-global-executor-trait v2.1.0 [INFO] [stderr] Checking async-reactor-trait v1.1.0 [INFO] [stderr] Checking pkcs1 v0.4.1 [INFO] [stderr] Checking cms v0.2.3 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking ed25519 v2.2.3 [INFO] [stderr] Checking x509-parser v0.16.0 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Checking resolv-conf v0.7.0 [INFO] [stderr] Checking pkcs12 v0.1.0 [INFO] [stderr] Checking data-encoding-macro v0.1.15 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking pinky-swear v6.2.0 [INFO] [stderr] Checking flate2 v1.0.30 [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 ecdsa v0.16.9 [INFO] [stderr] Checking p12-keystore v0.1.2 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking brotli-decompressor v4.0.0 [INFO] [stderr] Checking h2 v0.4.4 [INFO] [stderr] Checking rand_chacha v0.9.0-alpha.1 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking lru-cache v0.1.2 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking hash32 v0.3.1 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Compiling substring v1.4.5 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking is_terminal_polyfill v1.70.0 [INFO] [stderr] Checking anstyle-query v1.0.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking dtoa v0.4.8 [INFO] [stderr] Checking either v1.11.0 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking finl_unicode v1.2.0 [INFO] [stderr] Checking base-x v0.2.11 [INFO] [stderr] Checking colorchoice v1.0.1 [INFO] [stderr] Checking arrayvec v0.7.4 [INFO] [stderr] Checking base64 v0.13.1 [INFO] [stderr] Checking constant_time_eq v0.3.0 [INFO] [stderr] Checking ct-codecs v1.1.1 [INFO] [stderr] Checking anstyle v1.0.7 [INFO] [stderr] Checking keccak v0.1.5 [INFO] [stderr] Checking multibase v0.9.1 [INFO] [stderr] Checking stringprep v0.1.4 [INFO] [stderr] Checking ed25519-compact v2.1.1 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Checking anstream v0.6.14 [INFO] [stderr] Checking tokio-socks v0.5.1 [INFO] [stderr] Checking sha3 v0.9.1 [INFO] [stderr] Checking multihash v0.19.1 [INFO] [stderr] Checking tokio-reactor-trait v1.1.0 [INFO] [stderr] Checking rand v0.9.0-alpha.1 [INFO] [stderr] Checking async-std v1.12.0 [INFO] [stderr] Checking rsa v0.7.2 [INFO] [stderr] Checking k256 v0.13.3 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking brotli v5.0.0 [INFO] [stderr] Checking p384 v0.13.0 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking combine v4.6.7 [INFO] [stderr] Checking xz2 v0.1.7 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking dryoc v0.5.3 [INFO] [stderr] Checking ed25519-dalek v2.1.1 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Checking tokio-executor-trait v2.1.1 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking sha2 v0.9.9 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Checking hmac-sha512 v1.1.5 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Checking serde_bytes v0.11.14 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking serde_with v1.14.0 [INFO] [stderr] Checking serde_yaml v0.7.5 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking trust-dns-proto v0.21.2 [INFO] [stderr] Checking amq-protocol-types v7.2.0 [INFO] [stderr] Checking serde-json-core v0.5.1 [INFO] [stderr] Checking pbkdf2 v0.11.0 [INFO] [stderr] Checking sha-1 v0.10.1 [INFO] [stderr] Checking hmac-sha256 v1.1.7 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking bzip2 v0.4.4 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Checking rustls-pemfile v1.0.4 [INFO] [stderr] Checking blake2b_simd v0.5.11 [INFO] [stderr] Checking amq-protocol-uri v7.2.0 [INFO] [stderr] Checking blake2s_simd v0.5.11 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Checking bson v2.10.0 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Checking webpki-roots v0.26.1 [INFO] [stderr] Checking coarsetime v0.1.34 [INFO] [stderr] Checking filetime v0.2.23 [INFO] [stderr] Checking xattr v0.2.3 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking binstring v0.1.1 [INFO] [stderr] Checking deflate64 v0.1.8 [INFO] [stderr] Checking take_mut v0.2.2 [INFO] [stderr] Checking webpki-roots v0.25.4 [INFO] [stderr] Checking unsigned-varint v0.2.3 [INFO] [stderr] Checking sha1_smol v1.0.0 [INFO] [stderr] Checking hmac-sha1-compact v1.1.4 [INFO] [stderr] Checking sync_wrapper v0.1.2 [INFO] [stderr] Checking multicodec v0.1.0 [INFO] [stderr] Checking async-tar v0.4.2 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking jwt-simple v0.11.9 [INFO] [stderr] Checking multihash v0.15.0 [INFO] [stderr] Checking serde-helpers v0.1.0 [INFO] [stderr] Checking static_cell v2.1.0 [INFO] [stderr] Checking sqlite3-sys v0.15.2 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking futures v0.3.30 [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 trust-dns-resolver v0.21.2 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking sqlite v0.30.5 [INFO] [stderr] Checking zstd v0.13.1 [INFO] [stderr] Checking env_logger v0.9.3 [INFO] [stderr] Checking async-compression v0.4.9 [INFO] [stderr] Checking mongodb v2.8.2 [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 tcp-stream v0.28.0 [INFO] [stderr] Checking tokio-rustls v0.25.0 [INFO] [stderr] Checking hyper-rustls v0.26.0 [INFO] [stderr] Checking amq-protocol-tcp v7.2.0 [INFO] [stderr] Checking tokio-amqp v2.0.0 [INFO] [stderr] Checking millegrilles_cryptographie v2024.5.0 (https://github.com/dugrema/millegrilles_cryptographie.git?tag=2024.6-release#c6233a0b) [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.7.0 (https://github.com/dugrema/millegrilles_common_rust.git?branch=master#ead1ebbf) [INFO] [stderr] Checking millegrilles_maitredescles v2024.7.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/maitredescles_partition.rs (32 fixes) [INFO] [stderr] Fixed src/maitredescles_sqlite.rs (25 fixes) [INFO] [stderr] Fixed src/domaines_maitredescles.rs (11 fixes) [INFO] [stderr] Fixed src/maitredescles_rechiffrage.rs (2 fixes) [INFO] [stderr] Fixed src/maitredescles_commun.rs (18 fixes) [INFO] [stderr] Fixed src/messages.rs (3 fixes) [INFO] [stderr] Fixed src/maitredescles_ca.rs (6 fixes) [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: unreachable statement [INFO] [stdout] --> src/domaines_maitredescles.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 238 | / loop { [INFO] [stdout] 239 | | let maintenant = chrono::Utc::now(); [INFO] [stdout] 240 | | debug!("domaines_maitredescles.entretien Execution task d'entretien Core {:?}", maintenant); [INFO] [stdout] ... | [INFO] [stdout] 373 | | sleep(duration).await; [INFO] [stdout] 374 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 377 | 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:210:44 [INFO] [stdout] | [INFO] [stdout] 210 | 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: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 210 | 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:289:22 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 289 | match unsafe{addr_of!(GESTIONNAIRE)} { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rechiffrage_complete` [INFO] [stdout] --> src/domaines_maitredescles.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | let 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: `fingerprint` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1276:9 [INFO] [stdout] | [INFO] [stdout] 1276 | 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:1284:9 [INFO] [stdout] | [INFO] [stdout] 1284 | 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:1290:9 [INFO] [stdout] | [INFO] [stdout] 1290 | 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:1291:9 [INFO] [stdout] | [INFO] [stdout] 1291 | 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:1381:9 [INFO] [stdout] | [INFO] [stdout] 1381 | 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:149:36 [INFO] [stdout] | [INFO] [stdout] 149 | (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] 149 | (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:165:19 [INFO] [stdout] | [INFO] [stdout] 165 | 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] 165 | match unsafe {addr_of!(GESTIONNAIRE)} { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/domaines_maitredescles.rs:148:27 [INFO] [stdout] | [INFO] [stdout] 148 | 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:1101:67 [INFO] [stdout] | [INFO] [stdout] 1101 | 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:1253:22 [INFO] [stdout] | [INFO] [stdout] 1253 | 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:1374:13 [INFO] [stdout] | [INFO] [stdout] 1374 | 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:1392:75 [INFO] [stdout] | [INFO] [stdout] 1392 | 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:1605:9 [INFO] [stdout] | [INFO] [stdout] 1605 | 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:1617:13 [INFO] [stdout] | [INFO] [stdout] 1617 | 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:2291:37 [INFO] [stdout] | [INFO] [stdout] 2291 | 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:2291:53 [INFO] [stdout] | [INFO] [stdout] 2291 | 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:2291:71 [INFO] [stdout] | [INFO] [stdout] 2291 | 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:533:35 [INFO] [stdout] | [INFO] [stdout] 533 | async fn consommer_transaction(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) -> Result src/maitredescles_partition.rs:533:69 [INFO] [stdout] | [INFO] [stdout] 533 | ... &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:613:72 [INFO] [stdout] | [INFO] [stdout] 613 | 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:979:9 [INFO] [stdout] | [INFO] [stdout] 979 | 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:980:9 [INFO] [stdout] | [INFO] [stdout] 980 | 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:987:9 [INFO] [stdout] | [INFO] [stdout] 987 | 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: `m` [INFO] [stdout] --> src/maitredescles_partition.rs:2399:114 [INFO] [stdout] | [INFO] [stdout] 2399 | 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:288:38 [INFO] [stdout] | [INFO] [stdout] 288 | 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:2579:75 [INFO] [stdout] | [INFO] [stdout] 2579 | 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:1083:36 [INFO] [stdout] | [INFO] [stdout] 1083 | 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:1083:84 [INFO] [stdout] | [INFO] [stdout] 1083 | 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:1687:5 [INFO] [stdout] | [INFO] [stdout] 1687 | 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:1688:5 [INFO] [stdout] | [INFO] [stdout] 1688 | 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:1699:9 [INFO] [stdout] | [INFO] [stdout] 1699 | 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:1706:21 [INFO] [stdout] | [INFO] [stdout] 1706 | let 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: 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: `ca` [INFO] [stdout] --> src/maitredescles_commun.rs:94:90 [INFO] [stdout] | [INFO] [stdout] 94 | 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:331:40 [INFO] [stdout] | [INFO] [stdout] 331 | 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:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | 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:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | 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: `fingerprint` [INFO] [stdout] --> src/maitredescles_sqlite.rs:972:9 [INFO] [stdout] | [INFO] [stdout] 972 | 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:1020:9 [INFO] [stdout] | [INFO] [stdout] 1020 | let cles = { [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:1255:54 [INFO] [stdout] | [INFO] [stdout] 1255 | 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:1255:89 [INFO] [stdout] | [INFO] [stdout] 1255 | 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:1268:9 [INFO] [stdout] | [INFO] [stdout] 1268 | let permission: Option = None; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permission` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1091:37 [INFO] [stdout] | [INFO] [stdout] 1091 | 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:1091:53 [INFO] [stdout] | [INFO] [stdout] 1091 | 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:1091:71 [INFO] [stdout] | [INFO] [stdout] 1091 | 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:1607:9 [INFO] [stdout] | [INFO] [stdout] 1607 | 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:1630:9 [INFO] [stdout] | [INFO] [stdout] 1630 | 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:1634:9 [INFO] [stdout] | [INFO] [stdout] 1634 | 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:1636:9 [INFO] [stdout] | [INFO] [stdout] 1636 | 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:614:35 [INFO] [stdout] | [INFO] [stdout] 614 | async fn consommer_transaction(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesSQLite) -> Result src/maitredescles_sqlite.rs:614:69 [INFO] [stdout] | [INFO] [stdout] 614 | ... &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:777:9 [INFO] [stdout] | [INFO] [stdout] 777 | 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:787:9 [INFO] [stdout] | [INFO] [stdout] 787 | 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:789:9 [INFO] [stdout] | [INFO] [stdout] 789 | 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:792:9 [INFO] [stdout] | [INFO] [stdout] 792 | 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:793:9 [INFO] [stdout] | [INFO] [stdout] 793 | 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:795:9 [INFO] [stdout] | [INFO] [stdout] 795 | 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:1687:111 [INFO] [stdout] | [INFO] [stdout] 1687 | 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:2026:75 [INFO] [stdout] | [INFO] [stdout] 2026 | 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:827:53 [INFO] [stdout] | [INFO] [stdout] 827 | 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: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1483:5 [INFO] [stdout] | [INFO] [stdout] 1483 | 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:1483:21 [INFO] [stdout] | [INFO] [stdout] 1483 | 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:1484:5 [INFO] [stdout] | [INFO] [stdout] 1484 | 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:1485:5 [INFO] [stdout] | [INFO] [stdout] 1485 | 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:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | todo!("Fix me - deconge en base64, pas en multibase"); [INFO] [stdout] | ----------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 82 | / Ok(Self { [INFO] [stdout] 83 | | contenu: multibase::decode(value.contenu_escaped)?.1, [INFO] [stdout] 84 | | dechiffrage: (&dechiffrage).into(), [INFO] [stdout] 85 | | }) [INFO] [stdout] | |__________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/maitredescles_partition.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Debug, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::tokio::io::AsyncReadExt` [INFO] [stdout] --> src/maitredescles_sqlite.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | 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:33:39 [INFO] [stdout] | [INFO] [stdout] 33 | 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:28:97 [INFO] [stdout] | [INFO] [stdout] 28 | use millegrilles_common_rust::millegrilles_cryptographie::chiffrage_cles::{CleChiffrageHandler, CleDechiffrage}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::tokio_stream::StreamExt` [INFO] [stdout] --> src/maitredescles_sqlite.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | 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:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | 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:140:36 [INFO] [stdout] | [INFO] [stdout] 140 | 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: `header` [INFO] [stdout] --> src/maitredescles_commun.rs:525:13 [INFO] [stdout] | [INFO] [stdout] 525 | 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:529:13 [INFO] [stdout] | [INFO] [stdout] 529 | 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:559:13 [INFO] [stdout] | [INFO] [stdout] 559 | 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:558:26 [INFO] [stdout] | [INFO] [stdout] 558 | 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:578:13 [INFO] [stdout] | [INFO] [stdout] 578 | 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:582:13 [INFO] [stdout] | [INFO] [stdout] 582 | 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:789:13 [INFO] [stdout] | [INFO] [stdout] 789 | 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:813:13 [INFO] [stdout] | [INFO] [stdout] 813 | 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:814:13 [INFO] [stdout] | [INFO] [stdout] 814 | let 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: `fingerprint` [INFO] [stdout] --> src/maitredescles_commun.rs:836:13 [INFO] [stdout] | [INFO] [stdout] 836 | 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:837:13 [INFO] [stdout] | [INFO] [stdout] 837 | 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:832:49 [INFO] [stdout] | [INFO] [stdout] 832 | 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:975:13 [INFO] [stdout] | [INFO] [stdout] 975 | 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:1020:13 [INFO] [stdout] | [INFO] [stdout] 1020 | 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: unused variable: `fingerprint` [INFO] [stdout] --> src/maitredescles_sqlite.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | 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:414:36 [INFO] [stdout] | [INFO] [stdout] 414 | 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:1210:9 [INFO] [stdout] | [INFO] [stdout] 1210 | let 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:1198:5 [INFO] [stdout] | [INFO] [stdout] 1198 | 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:1199:5 [INFO] [stdout] | [INFO] [stdout] 1199 | 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:1200:5 [INFO] [stdout] | [INFO] [stdout] 1200 | 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:1201:5 [INFO] [stdout] | [INFO] [stdout] 1201 | 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:1202:5 [INFO] [stdout] | [INFO] [stdout] 1202 | 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:1203:5 [INFO] [stdout] | [INFO] [stdout] 1203 | 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:1204:5 [INFO] [stdout] | [INFO] [stdout] 1204 | 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:1205:5 [INFO] [stdout] | [INFO] [stdout] 1205 | 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: unused variable: `cle_chiffree` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1718:19 [INFO] [stdout] | [INFO] [stdout] 1718 | 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:1733:9 [INFO] [stdout] | [INFO] [stdout] 1733 | let 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:1738:9 [INFO] [stdout] | [INFO] [stdout] 1738 | let 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:1744:9 [INFO] [stdout] | [INFO] [stdout] 1744 | 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:1711:5 [INFO] [stdout] | [INFO] [stdout] 1711 | 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: unused variable: `format_chiffrage` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1820:9 [INFO] [stdout] | [INFO] [stdout] 1820 | 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:1905:9 [INFO] [stdout] | [INFO] [stdout] 1905 | 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: unused variable: `dechiffrage` [INFO] [stdout] --> src/messages.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | 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:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | 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:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | 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:90:49 [INFO] [stdout] | [INFO] [stdout] 90 | 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:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | 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:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | 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:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | 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:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | 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:1682:10 [INFO] [stdout] | [INFO] [stdout] 1682 | 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:1735:10 [INFO] [stdout] | [INFO] [stdout] 1735 | 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:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | 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:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | 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:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | 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:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | 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:83:11 [INFO] [stdout] | [INFO] [stdout] 83 | 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:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | 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:87:11 [INFO] [stdout] | [INFO] [stdout] 87 | 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:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | 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:331:14 [INFO] [stdout] | [INFO] [stdout] 331 | 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:391:9 [INFO] [stdout] | [INFO] [stdout] 390 | pub struct EnveloppePermission { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 391 | pub enveloppe: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 392 | 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:430:12 [INFO] [stdout] | [INFO] [stdout] 429 | impl CleSynchronisation { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 430 | 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:577:12 [INFO] [stdout] | [INFO] [stdout] 555 | impl CleSecreteRechiffrage { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 577 | pub fn from_doc_cle(cle_secrete: CleSecreteX25519, value: RowClePartition) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 612 | 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:705:12 [INFO] [stdout] | [INFO] [stdout] 704 | impl TransactionCle { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 705 | pub fn new_from_commande(commande: &CommandeSauvegarderCle, fingerprint: &str) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 729 | 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:810:12 [INFO] [stdout] | [INFO] [stdout] 808 | impl RowClePartition { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 809 | [INFO] [stdout] 810 | pub fn into_commande(self, fingerprint: S) -> CommandeSauvegarderCle [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 832 | 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:902:9 [INFO] [stdout] | [INFO] [stdout] 900 | pub struct RowClePartitionRef<'a> { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 901 | // Identite [INFO] [stdout] 902 | pub cle_id: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 906 | pub cle_symmetrique: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 907 | 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:994:9 [INFO] [stdout] | [INFO] [stdout] 993 | pub struct GestionnaireRessources { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 994 | pub tx_messages: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 995 | pub tx_triggers: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 996 | 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:1000:5 [INFO] [stdout] | [INFO] [stdout] 999 | pub struct CleRefData<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 1000 | hachage_bytes: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 1001 | iv: Option<&'a str>, [INFO] [stdout] | ^^ [INFO] [stdout] 1002 | tag: Option<&'a str>, [INFO] [stdout] | ^^^ [INFO] [stdout] 1003 | header: Option<&'a str>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1004 | 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:1033:8 [INFO] [stdout] | [INFO] [stdout] 1033 | 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:1163:9 [INFO] [stdout] | [INFO] [stdout] 1162 | pub struct MessageListeCles { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 1163 | 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:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | 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:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | 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:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | 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:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | 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:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | 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:167:4 [INFO] [stdout] | [INFO] [stdout] 167 | 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:220:12 [INFO] [stdout] | [INFO] [stdout] 173 | impl GestionnaireMaitreDesClesSQLite { [INFO] [stdout] | ------------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 220 | pub fn get_partition_tronquee(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | 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:524:14 [INFO] [stdout] | [INFO] [stdout] 524 | 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:538:8 [INFO] [stdout] | [INFO] [stdout] 537 | impl DocumentRechiffrage { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 538 | 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:1450:10 [INFO] [stdout] | [INFO] [stdout] 1450 | 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:1482:10 [INFO] [stdout] | [INFO] [stdout] 1482 | 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:1784:4 [INFO] [stdout] | [INFO] [stdout] 1784 | 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:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct RequeteVerifierPreuve { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 18 | 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:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct PreuveCle { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 24 | #[serde(with = "epochseconds")] [INFO] [stdout] 25 | pub date: DateTime, [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | 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:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl PreuveCle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 30 | 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:90:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl MessageReponseChiffree { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 90 | 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: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/maitredescles_partition.rs:1297:11 [INFO] [stdout] | [INFO] [stdout] 1297 | while let Some(row) = curseur.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/maitredescles_partition.rs:1323:5 [INFO] [stdout] | [INFO] [stdout] 1323 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/maitredescles_partition.rs:1490:11 [INFO] [stdout] | [INFO] [stdout] 1490 | while let Some(row) = curseur.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/maitredescles_partition.rs:1516:5 [INFO] [stdout] | [INFO] [stdout] 1516 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/maitredescles_partition.rs:1606:11 [INFO] [stdout] | [INFO] [stdout] 1606 | while let Some(rc) = curseur.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/maitredescles_partition.rs:1642:5 [INFO] [stdout] | [INFO] [stdout] 1642 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/maitredescles_partition.rs:1701:11 [INFO] [stdout] | [INFO] [stdout] 1701 | while let Some(rc) = curseur.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/maitredescles_partition.rs:1729:5 [INFO] [stdout] | [INFO] [stdout] 1729 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/maitredescles_partition.rs:1976:11 [INFO] [stdout] | [INFO] [stdout] 1976 | while let Some(row) = cles.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/maitredescles_partition.rs:1986:5 [INFO] [stdout] | [INFO] [stdout] 1986 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/maitredescles_partition.rs:2155:11 [INFO] [stdout] | [INFO] [stdout] 2155 | while let Some(d) = curseur.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/maitredescles_partition.rs:2168:5 [INFO] [stdout] | [INFO] [stdout] 2168 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/maitredescles_partition.rs:2259:15 [INFO] [stdout] | [INFO] [stdout] 2259 | while let Some(d) = curseur.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/maitredescles_partition.rs:2275:9 [INFO] [stdout] | [INFO] [stdout] 2275 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/maitredescles_ca.rs:823:11 [INFO] [stdout] | [INFO] [stdout] 823 | while let Some(d) = curseur.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/maitredescles_ca.rs:837:5 [INFO] [stdout] | [INFO] [stdout] 837 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/maitredescles_ca.rs:919:11 [INFO] [stdout] | [INFO] [stdout] 919 | while let Some(d) = curseur.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/maitredescles_ca.rs:936:5 [INFO] [stdout] | [INFO] [stdout] 936 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 170 warnings emitted [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: unreachable statement [INFO] [stdout] --> src/domaines_maitredescles.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 238 | / loop { [INFO] [stdout] 239 | | let maintenant = chrono::Utc::now(); [INFO] [stdout] 240 | | debug!("domaines_maitredescles.entretien Execution task d'entretien Core {:?}", maintenant); [INFO] [stdout] ... | [INFO] [stdout] 373 | | sleep(duration).await; [INFO] [stdout] 374 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 377 | 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:210:44 [INFO] [stdout] | [INFO] [stdout] 210 | 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: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] help: use `addr_of!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 210 | 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:289:22 [INFO] [stdout] | [INFO] [stdout] 289 | 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] 289 | match unsafe{addr_of!(GESTIONNAIRE)} { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rechiffrage_complete` [INFO] [stdout] --> src/domaines_maitredescles.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | let 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: `fingerprint` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1276:9 [INFO] [stdout] | [INFO] [stdout] 1276 | 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:1284:9 [INFO] [stdout] | [INFO] [stdout] 1284 | 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:1290:9 [INFO] [stdout] | [INFO] [stdout] 1290 | 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:1291:9 [INFO] [stdout] | [INFO] [stdout] 1291 | 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:1381:9 [INFO] [stdout] | [INFO] [stdout] 1381 | 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:149:36 [INFO] [stdout] | [INFO] [stdout] 149 | (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] 149 | (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:165:19 [INFO] [stdout] | [INFO] [stdout] 165 | 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] 165 | match unsafe {addr_of!(GESTIONNAIRE)} { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/domaines_maitredescles.rs:148:27 [INFO] [stdout] | [INFO] [stdout] 148 | 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:1101:67 [INFO] [stdout] | [INFO] [stdout] 1101 | 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:1253:22 [INFO] [stdout] | [INFO] [stdout] 1253 | 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:1374:13 [INFO] [stdout] | [INFO] [stdout] 1374 | 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:1392:75 [INFO] [stdout] | [INFO] [stdout] 1392 | 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:1605:9 [INFO] [stdout] | [INFO] [stdout] 1605 | 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:1617:13 [INFO] [stdout] | [INFO] [stdout] 1617 | 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:2291:37 [INFO] [stdout] | [INFO] [stdout] 2291 | 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:2291:53 [INFO] [stdout] | [INFO] [stdout] 2291 | 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:2291:71 [INFO] [stdout] | [INFO] [stdout] 2291 | 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:533:35 [INFO] [stdout] | [INFO] [stdout] 533 | async fn consommer_transaction(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) -> Result src/maitredescles_partition.rs:533:69 [INFO] [stdout] | [INFO] [stdout] 533 | ... &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:613:72 [INFO] [stdout] | [INFO] [stdout] 613 | 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:979:9 [INFO] [stdout] | [INFO] [stdout] 979 | 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:980:9 [INFO] [stdout] | [INFO] [stdout] 980 | 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:987:9 [INFO] [stdout] | [INFO] [stdout] 987 | 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: `m` [INFO] [stdout] --> src/maitredescles_partition.rs:2399:114 [INFO] [stdout] | [INFO] [stdout] 2399 | 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:288:38 [INFO] [stdout] | [INFO] [stdout] 288 | 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:2579:75 [INFO] [stdout] | [INFO] [stdout] 2579 | 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:1083:36 [INFO] [stdout] | [INFO] [stdout] 1083 | 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:1083:84 [INFO] [stdout] | [INFO] [stdout] 1083 | 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:1687:5 [INFO] [stdout] | [INFO] [stdout] 1687 | 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:1688:5 [INFO] [stdout] | [INFO] [stdout] 1688 | 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:1699:9 [INFO] [stdout] | [INFO] [stdout] 1699 | 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:1706:21 [INFO] [stdout] | [INFO] [stdout] 1706 | let 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: 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: `ca` [INFO] [stdout] --> src/maitredescles_commun.rs:94:90 [INFO] [stdout] | [INFO] [stdout] 94 | 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:331:40 [INFO] [stdout] | [INFO] [stdout] 331 | 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:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | 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:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | 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: `fingerprint` [INFO] [stdout] --> src/maitredescles_sqlite.rs:972:9 [INFO] [stdout] | [INFO] [stdout] 972 | 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:1020:9 [INFO] [stdout] | [INFO] [stdout] 1020 | let cles = { [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:1255:54 [INFO] [stdout] | [INFO] [stdout] 1255 | 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:1255:89 [INFO] [stdout] | [INFO] [stdout] 1255 | 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:1268:9 [INFO] [stdout] | [INFO] [stdout] 1268 | let permission: Option = None; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permission` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1091:37 [INFO] [stdout] | [INFO] [stdout] 1091 | 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:1091:53 [INFO] [stdout] | [INFO] [stdout] 1091 | 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:1091:71 [INFO] [stdout] | [INFO] [stdout] 1091 | 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:1607:9 [INFO] [stdout] | [INFO] [stdout] 1607 | 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:1630:9 [INFO] [stdout] | [INFO] [stdout] 1630 | 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:1634:9 [INFO] [stdout] | [INFO] [stdout] 1634 | 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:1636:9 [INFO] [stdout] | [INFO] [stdout] 1636 | 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:614:35 [INFO] [stdout] | [INFO] [stdout] 614 | async fn consommer_transaction(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesSQLite) -> Result src/maitredescles_sqlite.rs:614:69 [INFO] [stdout] | [INFO] [stdout] 614 | ... &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:777:9 [INFO] [stdout] | [INFO] [stdout] 777 | 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:787:9 [INFO] [stdout] | [INFO] [stdout] 787 | 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:789:9 [INFO] [stdout] | [INFO] [stdout] 789 | 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:792:9 [INFO] [stdout] | [INFO] [stdout] 792 | 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:793:9 [INFO] [stdout] | [INFO] [stdout] 793 | 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:795:9 [INFO] [stdout] | [INFO] [stdout] 795 | 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:1687:111 [INFO] [stdout] | [INFO] [stdout] 1687 | 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:2026:75 [INFO] [stdout] | [INFO] [stdout] 2026 | 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:827:53 [INFO] [stdout] | [INFO] [stdout] 827 | 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: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1483:5 [INFO] [stdout] | [INFO] [stdout] 1483 | 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:1483:21 [INFO] [stdout] | [INFO] [stdout] 1483 | 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:1484:5 [INFO] [stdout] | [INFO] [stdout] 1484 | 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:1485:5 [INFO] [stdout] | [INFO] [stdout] 1485 | 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:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | todo!("Fix me - deconge en base64, pas en multibase"); [INFO] [stdout] | ----------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 82 | / Ok(Self { [INFO] [stdout] 83 | | contenu: multibase::decode(value.contenu_escaped)?.1, [INFO] [stdout] 84 | | dechiffrage: (&dechiffrage).into(), [INFO] [stdout] 85 | | }) [INFO] [stdout] | |__________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/maitredescles_partition.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Debug, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::tokio::io::AsyncReadExt` [INFO] [stdout] --> src/maitredescles_sqlite.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | 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:33:39 [INFO] [stdout] | [INFO] [stdout] 33 | 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:28:97 [INFO] [stdout] | [INFO] [stdout] 28 | use millegrilles_common_rust::millegrilles_cryptographie::chiffrage_cles::{CleChiffrageHandler, CleDechiffrage}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::tokio_stream::StreamExt` [INFO] [stdout] --> src/maitredescles_sqlite.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | 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:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | 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:140:36 [INFO] [stdout] | [INFO] [stdout] 140 | 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: `header` [INFO] [stdout] --> src/maitredescles_commun.rs:525:13 [INFO] [stdout] | [INFO] [stdout] 525 | 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:529:13 [INFO] [stdout] | [INFO] [stdout] 529 | 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:559:13 [INFO] [stdout] | [INFO] [stdout] 559 | 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:558:26 [INFO] [stdout] | [INFO] [stdout] 558 | 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:578:13 [INFO] [stdout] | [INFO] [stdout] 578 | 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:582:13 [INFO] [stdout] | [INFO] [stdout] 582 | 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:789:13 [INFO] [stdout] | [INFO] [stdout] 789 | 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:813:13 [INFO] [stdout] | [INFO] [stdout] 813 | 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:814:13 [INFO] [stdout] | [INFO] [stdout] 814 | let 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: `fingerprint` [INFO] [stdout] --> src/maitredescles_commun.rs:836:13 [INFO] [stdout] | [INFO] [stdout] 836 | 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:837:13 [INFO] [stdout] | [INFO] [stdout] 837 | 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:832:49 [INFO] [stdout] | [INFO] [stdout] 832 | 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:975:13 [INFO] [stdout] | [INFO] [stdout] 975 | 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:1020:13 [INFO] [stdout] | [INFO] [stdout] 1020 | 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: unused variable: `fingerprint` [INFO] [stdout] --> src/maitredescles_sqlite.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | 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:414:36 [INFO] [stdout] | [INFO] [stdout] 414 | 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:1210:9 [INFO] [stdout] | [INFO] [stdout] 1210 | let 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:1198:5 [INFO] [stdout] | [INFO] [stdout] 1198 | 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:1199:5 [INFO] [stdout] | [INFO] [stdout] 1199 | 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:1200:5 [INFO] [stdout] | [INFO] [stdout] 1200 | 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:1201:5 [INFO] [stdout] | [INFO] [stdout] 1201 | 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:1202:5 [INFO] [stdout] | [INFO] [stdout] 1202 | 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:1203:5 [INFO] [stdout] | [INFO] [stdout] 1203 | 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:1204:5 [INFO] [stdout] | [INFO] [stdout] 1204 | 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:1205:5 [INFO] [stdout] | [INFO] [stdout] 1205 | 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: unused variable: `cle_chiffree` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1718:19 [INFO] [stdout] | [INFO] [stdout] 1718 | 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:1733:9 [INFO] [stdout] | [INFO] [stdout] 1733 | let 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:1738:9 [INFO] [stdout] | [INFO] [stdout] 1738 | let 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:1744:9 [INFO] [stdout] | [INFO] [stdout] 1744 | 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:1711:5 [INFO] [stdout] | [INFO] [stdout] 1711 | 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: unused variable: `format_chiffrage` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1820:9 [INFO] [stdout] | [INFO] [stdout] 1820 | 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:1905:9 [INFO] [stdout] | [INFO] [stdout] 1905 | 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: unused variable: `dechiffrage` [INFO] [stdout] --> src/messages.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | 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:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | 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:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | 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:90:49 [INFO] [stdout] | [INFO] [stdout] 90 | 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:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | 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:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | 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:54:7 [INFO] [stdout] | [INFO] [stdout] 54 | 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:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | 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:1682:10 [INFO] [stdout] | [INFO] [stdout] 1682 | 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:1735:10 [INFO] [stdout] | [INFO] [stdout] 1735 | 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:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | 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:74:11 [INFO] [stdout] | [INFO] [stdout] 74 | 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:75:11 [INFO] [stdout] | [INFO] [stdout] 75 | 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:77:11 [INFO] [stdout] | [INFO] [stdout] 77 | 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:83:11 [INFO] [stdout] | [INFO] [stdout] 83 | 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:84:11 [INFO] [stdout] | [INFO] [stdout] 84 | 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:87:11 [INFO] [stdout] | [INFO] [stdout] 87 | 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:88:11 [INFO] [stdout] | [INFO] [stdout] 88 | 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:331:14 [INFO] [stdout] | [INFO] [stdout] 331 | 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:391:9 [INFO] [stdout] | [INFO] [stdout] 390 | pub struct EnveloppePermission { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 391 | pub enveloppe: Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 392 | 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:430:12 [INFO] [stdout] | [INFO] [stdout] 429 | impl CleSynchronisation { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 430 | 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:577:12 [INFO] [stdout] | [INFO] [stdout] 555 | impl CleSecreteRechiffrage { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 577 | pub fn from_doc_cle(cle_secrete: CleSecreteX25519, value: RowClePartition) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 612 | 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:705:12 [INFO] [stdout] | [INFO] [stdout] 704 | impl TransactionCle { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 705 | pub fn new_from_commande(commande: &CommandeSauvegarderCle, fingerprint: &str) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 729 | 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:810:12 [INFO] [stdout] | [INFO] [stdout] 808 | impl RowClePartition { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 809 | [INFO] [stdout] 810 | pub fn into_commande(self, fingerprint: S) -> CommandeSauvegarderCle [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 832 | 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:902:9 [INFO] [stdout] | [INFO] [stdout] 900 | pub struct RowClePartitionRef<'a> { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] 901 | // Identite [INFO] [stdout] 902 | pub cle_id: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 906 | pub cle_symmetrique: Option<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 907 | 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:994:9 [INFO] [stdout] | [INFO] [stdout] 993 | pub struct GestionnaireRessources { [INFO] [stdout] | ---------------------- fields in this struct [INFO] [stdout] 994 | pub tx_messages: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 995 | pub tx_triggers: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 996 | 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:1000:5 [INFO] [stdout] | [INFO] [stdout] 999 | pub struct CleRefData<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 1000 | hachage_bytes: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 1001 | iv: Option<&'a str>, [INFO] [stdout] | ^^ [INFO] [stdout] 1002 | tag: Option<&'a str>, [INFO] [stdout] | ^^^ [INFO] [stdout] 1003 | header: Option<&'a str>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 1004 | 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:1033:8 [INFO] [stdout] | [INFO] [stdout] 1033 | 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:1163:9 [INFO] [stdout] | [INFO] [stdout] 1162 | pub struct MessageListeCles { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 1163 | 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:49:7 [INFO] [stdout] | [INFO] [stdout] 49 | 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:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | 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:58:7 [INFO] [stdout] | [INFO] [stdout] 58 | 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:60:7 [INFO] [stdout] | [INFO] [stdout] 60 | 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:61:7 [INFO] [stdout] | [INFO] [stdout] 61 | 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:167:4 [INFO] [stdout] | [INFO] [stdout] 167 | 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:220:12 [INFO] [stdout] | [INFO] [stdout] 173 | impl GestionnaireMaitreDesClesSQLite { [INFO] [stdout] | ------------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 220 | pub fn get_partition_tronquee(&self) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | 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:524:14 [INFO] [stdout] | [INFO] [stdout] 524 | 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:538:8 [INFO] [stdout] | [INFO] [stdout] 537 | impl DocumentRechiffrage { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 538 | 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:1450:10 [INFO] [stdout] | [INFO] [stdout] 1450 | 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:1482:10 [INFO] [stdout] | [INFO] [stdout] 1482 | 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:1784:4 [INFO] [stdout] | [INFO] [stdout] 1784 | 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:18:9 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct RequeteVerifierPreuve { [INFO] [stdout] | --------------------- field in this struct [INFO] [stdout] 18 | 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:25:9 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct PreuveCle { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 24 | #[serde(with = "epochseconds")] [INFO] [stdout] 25 | pub date: DateTime, [INFO] [stdout] | ^^^^ [INFO] [stdout] 26 | 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:30:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl PreuveCle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 30 | 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:90:12 [INFO] [stdout] | [INFO] [stdout] 89 | impl MessageReponseChiffree { [INFO] [stdout] | --------------------------- associated function in this implementation [INFO] [stdout] 90 | 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: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/maitredescles_partition.rs:1297:11 [INFO] [stdout] | [INFO] [stdout] 1297 | while let Some(row) = curseur.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/maitredescles_partition.rs:1323:5 [INFO] [stdout] | [INFO] [stdout] 1323 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/maitredescles_partition.rs:1490:11 [INFO] [stdout] | [INFO] [stdout] 1490 | while let Some(row) = curseur.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/maitredescles_partition.rs:1516:5 [INFO] [stdout] | [INFO] [stdout] 1516 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/maitredescles_partition.rs:1606:11 [INFO] [stdout] | [INFO] [stdout] 1606 | while let Some(rc) = curseur.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/maitredescles_partition.rs:1642:5 [INFO] [stdout] | [INFO] [stdout] 1642 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/maitredescles_partition.rs:1701:11 [INFO] [stdout] | [INFO] [stdout] 1701 | while let Some(rc) = curseur.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/maitredescles_partition.rs:1729:5 [INFO] [stdout] | [INFO] [stdout] 1729 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/maitredescles_partition.rs:1976:11 [INFO] [stdout] | [INFO] [stdout] 1976 | while let Some(row) = cles.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^^^----------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/maitredescles_partition.rs:1986:5 [INFO] [stdout] | [INFO] [stdout] 1986 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/maitredescles_partition.rs:2155:11 [INFO] [stdout] | [INFO] [stdout] 2155 | while let Some(d) = curseur.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/maitredescles_partition.rs:2168:5 [INFO] [stdout] | [INFO] [stdout] 2168 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/maitredescles_partition.rs:2259:15 [INFO] [stdout] | [INFO] [stdout] 2259 | while let Some(d) = curseur.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/maitredescles_partition.rs:2275:9 [INFO] [stdout] | [INFO] [stdout] 2275 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/maitredescles_ca.rs:823:11 [INFO] [stdout] | [INFO] [stdout] 823 | while let Some(d) = curseur.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/maitredescles_ca.rs:837:5 [INFO] [stdout] | [INFO] [stdout] 837 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/maitredescles_ca.rs:919:11 [INFO] [stdout] | [INFO] [stdout] 919 | while let Some(d) = curseur.next().await { [INFO] [stdout] | ^^^^^^^^^^^^^^-------------------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/maitredescles_ca.rs:936:5 [INFO] [stdout] | [INFO] [stdout] 936 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 170 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 28s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking millegrilles_maitredescles v2024.7.0 (/tmp/fixit) [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: 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: unreachable statement [INFO] [stdout] --> src/domaines_maitredescles.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 238 | / loop { [INFO] [stdout] 239 | | let maintenant = chrono::Utc::now(); [INFO] [stdout] 240 | | debug!("domaines_maitredescles.entretien Execution task d'entretien Core {:?}", maintenant); [INFO] [stdout] ... | [INFO] [stdout] 373 | | sleep(duration).await; [INFO] [stdout] 374 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 377 | 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] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/domaines_maitredescles.rs:210:44 [INFO] [stdout] | [INFO] [stdout] 210 | if let Some(gestionnaire) = unsafe{&GESTIONNAIRE_CA} { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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] 210 | if let Some(gestionnaire) = unsafe{addr_of!(GESTIONNAIRE_CA)} { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/domaines_maitredescles.rs:289:22 [INFO] [stdout] | [INFO] [stdout] 289 | match unsafe{&GESTIONNAIRE} { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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] 289 | match unsafe{addr_of!(GESTIONNAIRE)} { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rechiffrage_complete` [INFO] [stdout] --> src/domaines_maitredescles.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | let 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: unreachable statement [INFO] [stdout] --> src/domaines_maitredescles.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 238 | / loop { [INFO] [stdout] 239 | | let maintenant = chrono::Utc::now(); [INFO] [stdout] 240 | | debug!("domaines_maitredescles.entretien Execution task d'entretien Core {:?}", maintenant); [INFO] [stdout] ... | [INFO] [stdout] 373 | | sleep(duration).await; [INFO] [stdout] 374 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 377 | 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] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/domaines_maitredescles.rs:210:44 [INFO] [stdout] | [INFO] [stdout] 210 | if let Some(gestionnaire) = unsafe{&GESTIONNAIRE_CA} { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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] 210 | if let Some(gestionnaire) = unsafe{addr_of!(GESTIONNAIRE_CA)} { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/domaines_maitredescles.rs:289:22 [INFO] [stdout] | [INFO] [stdout] 289 | match unsafe{&GESTIONNAIRE} { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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] 289 | match unsafe{addr_of!(GESTIONNAIRE)} { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rechiffrage_complete` [INFO] [stdout] --> src/domaines_maitredescles.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | let 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: `fingerprint` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1276:9 [INFO] [stdout] | [INFO] [stdout] 1276 | 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:1284:9 [INFO] [stdout] | [INFO] [stdout] 1284 | 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:1290:9 [INFO] [stdout] | [INFO] [stdout] 1290 | 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:1291:9 [INFO] [stdout] | [INFO] [stdout] 1291 | 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:1381:9 [INFO] [stdout] | [INFO] [stdout] 1381 | 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: `fingerprint` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1276:9 [INFO] [stdout] | [INFO] [stdout] 1276 | 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:1284:9 [INFO] [stdout] | [INFO] [stdout] 1284 | 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:1290:9 [INFO] [stdout] | [INFO] [stdout] 1290 | 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:1291:9 [INFO] [stdout] | [INFO] [stdout] 1291 | 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:1381:9 [INFO] [stdout] | [INFO] [stdout] 1381 | let batch_size = 250; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_batch_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/domaines_maitredescles.rs:149:36 [INFO] [stdout] | [INFO] [stdout] 149 | (GESTIONNAIRE_CA.as_ref(), &GESTIONNAIRE) [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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] 149 | (GESTIONNAIRE_CA.as_ref(), addr_of!(GESTIONNAIRE)) [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/domaines_maitredescles.rs:165:19 [INFO] [stdout] | [INFO] [stdout] 165 | match unsafe {&GESTIONNAIRE} { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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] 165 | match unsafe {addr_of!(GESTIONNAIRE)} { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/domaines_maitredescles.rs:148:27 [INFO] [stdout] | [INFO] [stdout] 148 | 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:1101:67 [INFO] [stdout] | [INFO] [stdout] 1101 | 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:1253:22 [INFO] [stdout] | [INFO] [stdout] 1253 | 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:1374:13 [INFO] [stdout] | [INFO] [stdout] 1374 | let reponse = ReponseRequeteDechiffrageV2 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/domaines_maitredescles.rs:149:36 [INFO] [stdout] | [INFO] [stdout] 149 | (GESTIONNAIRE_CA.as_ref(), &GESTIONNAIRE) [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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] 149 | (GESTIONNAIRE_CA.as_ref(), addr_of!(GESTIONNAIRE)) [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0796]: creating a shared reference to a mutable static [INFO] [stdout] --> src/domaines_maitredescles.rs:165:19 [INFO] [stdout] | [INFO] [stdout] 165 | match unsafe {&GESTIONNAIRE} { [INFO] [stdout] | ^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [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] 165 | match unsafe {addr_of!(GESTIONNAIRE)} { [INFO] [stdout] | ~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gestionnaire` [INFO] [stdout] --> src/domaines_maitredescles.rs:148:27 [INFO] [stdout] | [INFO] [stdout] 148 | 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:1392:75 [INFO] [stdout] | [INFO] [stdout] 1392 | 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:1605:9 [INFO] [stdout] | [INFO] [stdout] 1605 | 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:1617:13 [INFO] [stdout] | [INFO] [stdout] 1617 | 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:1101:67 [INFO] [stdout] | [INFO] [stdout] 1101 | 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: `middleware` [INFO] [stdout] --> src/maitredescles_partition.rs:2291:37 [INFO] [stdout] | [INFO] [stdout] 2291 | 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:2291:53 [INFO] [stdout] | [INFO] [stdout] 2291 | 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:2291:71 [INFO] [stdout] | [INFO] [stdout] 2291 | 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:533:35 [INFO] [stdout] | [INFO] [stdout] 533 | async fn consommer_transaction(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) -> Result src/maitredescles_partition.rs:533:69 [INFO] [stdout] | [INFO] [stdout] 533 | ... &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: `requete_autorisee_globalement` [INFO] [stdout] --> src/maitredescles_partition.rs:1253:22 [INFO] [stdout] | [INFO] [stdout] 1253 | 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:1374:13 [INFO] [stdout] | [INFO] [stdout] 1374 | 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:613:72 [INFO] [stdout] | [INFO] [stdout] 613 | 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:1392:75 [INFO] [stdout] | [INFO] [stdout] 1392 | 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: `fingerprint_ca` [INFO] [stdout] --> src/maitredescles_partition.rs:979:9 [INFO] [stdout] | [INFO] [stdout] 979 | 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:980:9 [INFO] [stdout] | [INFO] [stdout] 980 | 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:987:9 [INFO] [stdout] | [INFO] [stdout] 987 | 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: `cle_privee` [INFO] [stdout] --> src/maitredescles_partition.rs:1605:9 [INFO] [stdout] | [INFO] [stdout] 1605 | 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:1617:13 [INFO] [stdout] | [INFO] [stdout] 1617 | 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: `m` [INFO] [stdout] --> src/maitredescles_partition.rs:2399:114 [INFO] [stdout] | [INFO] [stdout] 2399 | 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:2291:37 [INFO] [stdout] | [INFO] [stdout] 2291 | 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:2291:53 [INFO] [stdout] | [INFO] [stdout] 2291 | 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:2291:71 [INFO] [stdout] | [INFO] [stdout] 2291 | 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:533:35 [INFO] [stdout] | [INFO] [stdout] 533 | async fn consommer_transaction(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesPartition) -> Result src/maitredescles_partition.rs:533:69 [INFO] [stdout] | [INFO] [stdout] 533 | ... &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:288:38 [INFO] [stdout] | [INFO] [stdout] 288 | 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:613:72 [INFO] [stdout] | [INFO] [stdout] 613 | 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:2579:75 [INFO] [stdout] | [INFO] [stdout] 2579 | 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:1083:36 [INFO] [stdout] | [INFO] [stdout] 1083 | 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:1083:84 [INFO] [stdout] | [INFO] [stdout] 1083 | 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:1687:5 [INFO] [stdout] | [INFO] [stdout] 1687 | 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:1688:5 [INFO] [stdout] | [INFO] [stdout] 1688 | 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:1699:9 [INFO] [stdout] | [INFO] [stdout] 1699 | 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:1706:21 [INFO] [stdout] | [INFO] [stdout] 1706 | let 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: unused variable: `fingerprint_ca` [INFO] [stdout] --> src/maitredescles_partition.rs:979:9 [INFO] [stdout] | [INFO] [stdout] 979 | 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:980:9 [INFO] [stdout] | [INFO] [stdout] 980 | 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:987:9 [INFO] [stdout] | [INFO] [stdout] 987 | 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: `m` [INFO] [stdout] --> src/maitredescles_partition.rs:2399:114 [INFO] [stdout] | [INFO] [stdout] 2399 | 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:288:38 [INFO] [stdout] | [INFO] [stdout] 288 | 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:2579:75 [INFO] [stdout] | [INFO] [stdout] 2579 | 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:1083:36 [INFO] [stdout] | [INFO] [stdout] 1083 | 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:1083:84 [INFO] [stdout] | [INFO] [stdout] 1083 | 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:1687:5 [INFO] [stdout] | [INFO] [stdout] 1687 | 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:1688:5 [INFO] [stdout] | [INFO] [stdout] 1688 | 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:1699:9 [INFO] [stdout] | [INFO] [stdout] 1699 | 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:1706:21 [INFO] [stdout] | [INFO] [stdout] 1706 | let 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: 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_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: `ca` [INFO] [stdout] --> src/maitredescles_commun.rs:94:90 [INFO] [stdout] | [INFO] [stdout] 94 | 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:331:40 [INFO] [stdout] | [INFO] [stdout] 331 | 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:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | 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:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | 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: `fingerprint` [INFO] [stdout] --> src/maitredescles_sqlite.rs:972:9 [INFO] [stdout] | [INFO] [stdout] 972 | 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:1020:9 [INFO] [stdout] | [INFO] [stdout] 1020 | let cles = { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cles` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ca` [INFO] [stdout] --> src/maitredescles_commun.rs:94:90 [INFO] [stdout] | [INFO] [stdout] 94 | 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_sqlite.rs:1255:54 [INFO] [stdout] | [INFO] [stdout] 1255 | 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:1255:89 [INFO] [stdout] | [INFO] [stdout] 1255 | 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:1268:9 [INFO] [stdout] | [INFO] [stdout] 1268 | let permission: Option = None; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permission` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1091:37 [INFO] [stdout] | [INFO] [stdout] 1091 | 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:1091:53 [INFO] [stdout] | [INFO] [stdout] 1091 | 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:1091:71 [INFO] [stdout] | [INFO] [stdout] 1091 | 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:1607:9 [INFO] [stdout] | [INFO] [stdout] 1607 | 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:1630:9 [INFO] [stdout] | [INFO] [stdout] 1630 | 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:1634:9 [INFO] [stdout] | [INFO] [stdout] 1634 | 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:1636:9 [INFO] [stdout] | [INFO] [stdout] 1636 | 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_commun.rs:331:40 [INFO] [stdout] | [INFO] [stdout] 331 | 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:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | 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:338:9 [INFO] [stdout] | [INFO] [stdout] 338 | 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: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:614:35 [INFO] [stdout] | [INFO] [stdout] 614 | async fn consommer_transaction(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesSQLite) -> Result src/maitredescles_sqlite.rs:614:69 [INFO] [stdout] | [INFO] [stdout] 614 | ... &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:777:9 [INFO] [stdout] | [INFO] [stdout] 777 | 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:787:9 [INFO] [stdout] | [INFO] [stdout] 787 | 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:789:9 [INFO] [stdout] | [INFO] [stdout] 789 | 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:792:9 [INFO] [stdout] | [INFO] [stdout] 792 | 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:793:9 [INFO] [stdout] | [INFO] [stdout] 793 | 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:795:9 [INFO] [stdout] | [INFO] [stdout] 795 | 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:1687:111 [INFO] [stdout] | [INFO] [stdout] 1687 | 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` [INFO] [stdout] --> src/maitredescles_sqlite.rs:972:9 [INFO] [stdout] | [INFO] [stdout] 972 | 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:1020:9 [INFO] [stdout] | [INFO] [stdout] 1020 | let cles = { [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:1255:54 [INFO] [stdout] | [INFO] [stdout] 1255 | 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:1255:89 [INFO] [stdout] | [INFO] [stdout] 1255 | 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:1268:9 [INFO] [stdout] | [INFO] [stdout] 1268 | let permission: Option = None; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_permission` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1091:37 [INFO] [stdout] | [INFO] [stdout] 1091 | 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:1091:53 [INFO] [stdout] | [INFO] [stdout] 1091 | 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:1091:71 [INFO] [stdout] | [INFO] [stdout] 1091 | 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:1607:9 [INFO] [stdout] | [INFO] [stdout] 1607 | 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:1630:9 [INFO] [stdout] | [INFO] [stdout] 1630 | 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:1634:9 [INFO] [stdout] | [INFO] [stdout] 1634 | 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:1636:9 [INFO] [stdout] | [INFO] [stdout] 1636 | 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: `gestionnaire` [INFO] [stdout] --> src/maitredescles_sqlite.rs:2026:75 [INFO] [stdout] | [INFO] [stdout] 2026 | 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: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:614:35 [INFO] [stdout] | [INFO] [stdout] 614 | async fn consommer_transaction(middleware: &M, m: MessageValide, gestionnaire: &GestionnaireMaitreDesClesSQLite) -> Result src/maitredescles_sqlite.rs:614:69 [INFO] [stdout] | [INFO] [stdout] 614 | ... &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: `transaction` [INFO] [stdout] --> src/maitredescles_sqlite.rs:827:53 [INFO] [stdout] | [INFO] [stdout] 827 | 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: unused variable: `correlation_id` [INFO] [stdout] --> src/maitredescles_sqlite.rs:777:9 [INFO] [stdout] | [INFO] [stdout] 777 | 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:787:9 [INFO] [stdout] | [INFO] [stdout] 787 | 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:789:9 [INFO] [stdout] | [INFO] [stdout] 789 | 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:792:9 [INFO] [stdout] | [INFO] [stdout] 792 | 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:793:9 [INFO] [stdout] | [INFO] [stdout] 793 | 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:795:9 [INFO] [stdout] | [INFO] [stdout] 795 | 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: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1483:5 [INFO] [stdout] | [INFO] [stdout] 1483 | 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:1483:21 [INFO] [stdout] | [INFO] [stdout] 1483 | 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:1484:5 [INFO] [stdout] | [INFO] [stdout] 1484 | 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:1485:5 [INFO] [stdout] | [INFO] [stdout] 1485 | 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: `m` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1687:111 [INFO] [stdout] | [INFO] [stdout] 1687 | 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:2026:75 [INFO] [stdout] | [INFO] [stdout] 2026 | 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:827:53 [INFO] [stdout] | [INFO] [stdout] 827 | 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: unused variable: `middleware` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1483:5 [INFO] [stdout] | [INFO] [stdout] 1483 | 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:1483:21 [INFO] [stdout] | [INFO] [stdout] 1483 | 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:1484:5 [INFO] [stdout] | [INFO] [stdout] 1484 | 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:1485:5 [INFO] [stdout] | [INFO] [stdout] 1485 | 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:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | todo!("Fix me - deconge en base64, pas en multibase"); [INFO] [stdout] | ----------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 82 | / Ok(Self { [INFO] [stdout] 83 | | contenu: multibase::decode(value.contenu_escaped)?.1, [INFO] [stdout] 84 | | dechiffrage: (&dechiffrage).into(), [INFO] [stdout] 85 | | }) [INFO] [stdout] | |__________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/maitredescles_partition.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Debug, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::tokio::io::AsyncReadExt` [INFO] [stdout] --> src/maitredescles_sqlite.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | 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:33:39 [INFO] [stdout] | [INFO] [stdout] 33 | 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:28:97 [INFO] [stdout] | [INFO] [stdout] 28 | use millegrilles_common_rust::millegrilles_cryptographie::chiffrage_cles::{CleChiffrageHandler, CleDechiffrage}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::tokio_stream::StreamExt` [INFO] [stdout] --> src/maitredescles_sqlite.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | 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:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | 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:140:36 [INFO] [stdout] | [INFO] [stdout] 140 | 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:82:9 [INFO] [stdout] | [INFO] [stdout] 81 | todo!("Fix me - deconge en base64, pas en multibase"); [INFO] [stdout] | ----------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 82 | / Ok(Self { [INFO] [stdout] 83 | | contenu: multibase::decode(value.contenu_escaped)?.1, [INFO] [stdout] 84 | | dechiffrage: (&dechiffrage).into(), [INFO] [stdout] 85 | | }) [INFO] [stdout] | |__________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> src/maitredescles_partition.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fmt::{Debug, Formatter, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::tokio::io::AsyncReadExt` [INFO] [stdout] --> src/maitredescles_sqlite.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | 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:33:39 [INFO] [stdout] | [INFO] [stdout] 33 | 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:28:97 [INFO] [stdout] | [INFO] [stdout] 28 | use millegrilles_common_rust::millegrilles_cryptographie::chiffrage_cles::{CleChiffrageHandler, CleDechiffrage}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::tokio_stream::StreamExt` [INFO] [stdout] --> src/maitredescles_sqlite.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | 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:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | 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:140:36 [INFO] [stdout] | [INFO] [stdout] 140 | 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: `header` [INFO] [stdout] --> src/maitredescles_commun.rs:525:13 [INFO] [stdout] | [INFO] [stdout] 525 | 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:529:13 [INFO] [stdout] | [INFO] [stdout] 529 | 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:559:13 [INFO] [stdout] | [INFO] [stdout] 559 | 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:558:26 [INFO] [stdout] | [INFO] [stdout] 558 | 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:578:13 [INFO] [stdout] | [INFO] [stdout] 578 | 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:582:13 [INFO] [stdout] | [INFO] [stdout] 582 | 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:789:13 [INFO] [stdout] | [INFO] [stdout] 789 | 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:813:13 [INFO] [stdout] | [INFO] [stdout] 813 | 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:814:13 [INFO] [stdout] | [INFO] [stdout] 814 | let 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: `fingerprint` [INFO] [stdout] --> src/maitredescles_commun.rs:836:13 [INFO] [stdout] | [INFO] [stdout] 836 | 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:837:13 [INFO] [stdout] | [INFO] [stdout] 837 | 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:832:49 [INFO] [stdout] | [INFO] [stdout] 832 | 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:975:13 [INFO] [stdout] | [INFO] [stdout] 975 | 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:1020:13 [INFO] [stdout] | [INFO] [stdout] 1020 | 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: unused variable: `header` [INFO] [stdout] --> src/maitredescles_commun.rs:525:13 [INFO] [stdout] | [INFO] [stdout] 525 | 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:529:13 [INFO] [stdout] | [INFO] [stdout] 529 | 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:559:13 [INFO] [stdout] | [INFO] [stdout] 559 | 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:558:26 [INFO] [stdout] | [INFO] [stdout] 558 | 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:578:13 [INFO] [stdout] | [INFO] [stdout] 578 | 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:582:13 [INFO] [stdout] | [INFO] [stdout] 582 | 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: `fingerprint` [INFO] [stdout] --> src/maitredescles_sqlite.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | 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: `value` [INFO] [stdout] --> src/maitredescles_commun.rs:789:13 [INFO] [stdout] | [INFO] [stdout] 789 | 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:813:13 [INFO] [stdout] | [INFO] [stdout] 813 | 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:814:13 [INFO] [stdout] | [INFO] [stdout] 814 | let 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: `fingerprint` [INFO] [stdout] --> src/maitredescles_commun.rs:836:13 [INFO] [stdout] | [INFO] [stdout] 836 | 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:837:13 [INFO] [stdout] | [INFO] [stdout] 837 | 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:832:49 [INFO] [stdout] | [INFO] [stdout] 832 | 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: `v` [INFO] [stdout] --> src/maitredescles_sqlite.rs:414:36 [INFO] [stdout] | [INFO] [stdout] 414 | 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:1210:9 [INFO] [stdout] | [INFO] [stdout] 1210 | let 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:1198:5 [INFO] [stdout] | [INFO] [stdout] 1198 | 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:1199:5 [INFO] [stdout] | [INFO] [stdout] 1199 | 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:1200:5 [INFO] [stdout] | [INFO] [stdout] 1200 | 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:1201:5 [INFO] [stdout] | [INFO] [stdout] 1201 | 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:1202:5 [INFO] [stdout] | [INFO] [stdout] 1202 | 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:1203:5 [INFO] [stdout] | [INFO] [stdout] 1203 | 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:1204:5 [INFO] [stdout] | [INFO] [stdout] 1204 | 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:1205:5 [INFO] [stdout] | [INFO] [stdout] 1205 | 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: unused variable: `cle_chiffree` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1718:19 [INFO] [stdout] | [INFO] [stdout] 1718 | 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:1733:9 [INFO] [stdout] | [INFO] [stdout] 1733 | let 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:1738:9 [INFO] [stdout] | [INFO] [stdout] 1738 | let 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:1744:9 [INFO] [stdout] | [INFO] [stdout] 1744 | 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:1711:5 [INFO] [stdout] | [INFO] [stdout] 1711 | 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: unused variable: `format_chiffrage` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1820:9 [INFO] [stdout] | [INFO] [stdout] 1820 | 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:1905:9 [INFO] [stdout] | [INFO] [stdout] 1905 | 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: `value` [INFO] [stdout] --> src/maitredescles_commun.rs:975:13 [INFO] [stdout] | [INFO] [stdout] 975 | 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:1020:13 [INFO] [stdout] | [INFO] [stdout] 1020 | 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: 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: unused variable: `dechiffrage` [INFO] [stdout] --> src/messages.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | 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:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | 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:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | 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:90:49 [INFO] [stdout] | [INFO] [stdout] 90 | 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:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | 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:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | 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: `fingerprint` [INFO] [stdout] --> src/maitredescles_sqlite.rs:183:13 [INFO] [stdout] | [INFO] [stdout] 183 | 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:414:36 [INFO] [stdout] | [INFO] [stdout] 414 | 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] error: aborting due to 4 previous errors; 113 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0796`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cles` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1210:9 [INFO] [stdout] | [INFO] [stdout] 1210 | let 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:1198:5 [INFO] [stdout] | [INFO] [stdout] 1198 | 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:1199:5 [INFO] [stdout] | [INFO] [stdout] 1199 | 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:1200:5 [INFO] [stdout] | [INFO] [stdout] 1200 | 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:1201:5 [INFO] [stdout] | [INFO] [stdout] 1201 | 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:1202:5 [INFO] [stdout] | [INFO] [stdout] 1202 | 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:1203:5 [INFO] [stdout] | [INFO] [stdout] 1203 | 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:1204:5 [INFO] [stdout] | [INFO] [stdout] 1204 | 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:1205:5 [INFO] [stdout] | [INFO] [stdout] 1205 | 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: unused variable: `cle_chiffree` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1718:19 [INFO] [stdout] | [INFO] [stdout] 1718 | 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:1733:9 [INFO] [stdout] | [INFO] [stdout] 1733 | let 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:1738:9 [INFO] [stdout] | [INFO] [stdout] 1738 | let 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:1744:9 [INFO] [stdout] | [INFO] [stdout] 1744 | 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:1711:5 [INFO] [stdout] | [INFO] [stdout] 1711 | 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: unused variable: `format_chiffrage` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1820:9 [INFO] [stdout] | [INFO] [stdout] 1820 | 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] [stderr] error: could not compile `millegrilles_maitredescles` (bin "millegrilles_maitredescles") due to 5 previous errors; 113 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `cle_privee` [INFO] [stdout] --> src/maitredescles_sqlite.rs:1905:9 [INFO] [stdout] | [INFO] [stdout] 1905 | 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: unused variable: `dechiffrage` [INFO] [stdout] --> src/messages.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | 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:90:21 [INFO] [stdout] | [INFO] [stdout] 90 | 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:90:37 [INFO] [stdout] | [INFO] [stdout] 90 | 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:90:49 [INFO] [stdout] | [INFO] [stdout] 90 | 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:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | 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:109:22 [INFO] [stdout] | [INFO] [stdout] 109 | 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] error: aborting due to 4 previous errors; 113 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0796`. [INFO] [stdout] [INFO] [stderr] error: could not compile `millegrilles_maitredescles` (bin "millegrilles_maitredescles" test) due to 5 previous errors; 113 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "4bfdb1e7f8f8d481f98eb7fe13f8dfe645873e09f46fe1cb4f13aa95c69ea4bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bfdb1e7f8f8d481f98eb7fe13f8dfe645873e09f46fe1cb4f13aa95c69ea4bd", kill_on_drop: false }` [INFO] [stdout] 4bfdb1e7f8f8d481f98eb7fe13f8dfe645873e09f46fe1cb4f13aa95c69ea4bd