[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] 41c2f5c298b39eb48bcc718dadb27d2b5fe8179f [INFO] building dugrema/millegrilles_maitredescles against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdugrema%2Fmillegrilles_maitredescles" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dugrema/millegrilles_maitredescles on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "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-0-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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 99601d10e5dc29a9a70524f35bf98a8d688c8a39212171a9043d5b1ef2fe18b1 [INFO] running `Command { std: "docker" "start" "-a" "99601d10e5dc29a9a70524f35bf98a8d688c8a39212171a9043d5b1ef2fe18b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "99601d10e5dc29a9a70524f35bf98a8d688c8a39212171a9043d5b1ef2fe18b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99601d10e5dc29a9a70524f35bf98a8d688c8a39212171a9043d5b1ef2fe18b1", kill_on_drop: false }` [INFO] [stdout] 99601d10e5dc29a9a70524f35bf98a8d688c8a39212171a9043d5b1ef2fe18b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 71748ec8c3b439a4e2fcc35afda45fd3a09c0d74c9c0cd95761d56616d8d4793 [INFO] running `Command { std: "docker" "start" "-a" "71748ec8c3b439a4e2fcc35afda45fd3a09c0d74c9c0cd95761d56616d8d4793", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling once_cell v1.20.1 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling value-bag v1.9.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling base64ct v1.6.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling bytes v1.7.2 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.15.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling flagset v0.4.6 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling time-macros v0.2.18 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling rustls-pki-types v1.9.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling data-encoding v2.6.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling fastrand v2.1.1 [INFO] [stderr] Compiling rusticata-macros v4.1.0 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling rustls v0.23.13 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling oid-registry v0.7.1 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling indexmap v2.6.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling event-listener v5.3.1 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling jobserver v0.1.32 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling event-listener-strategy v0.5.2 [INFO] [stderr] Compiling cc v1.1.24 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling futures-lite v2.3.0 [INFO] [stderr] Compiling ff v0.13.0 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling openssl v0.10.66 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling async-lock v3.4.0 [INFO] [stderr] Compiling async-channel v2.3.1 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling rustls-native-certs v0.7.3 [INFO] [stderr] Compiling pem-rfc7468 v0.6.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Compiling polling v2.8.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cookie-factory v0.3.3 [INFO] [stderr] Compiling rustix v0.37.27 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling blocking v1.6.1 [INFO] [stderr] Compiling async-executor v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling async-io v1.13.0 [INFO] [stderr] Compiling openssl-src v300.3.2+3.3.2 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling waker-fn v1.2.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling linux-raw-sys v0.3.8 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling futures-lite v1.13.0 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Compiling async-lock v2.8.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling gimli v0.31.0 [INFO] [stderr] Compiling amq-protocol v7.2.2 [INFO] [stderr] Compiling ipnet v2.10.0 [INFO] [stderr] Compiling zstd-safe v7.2.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling openssl-sys v0.9.103 [INFO] [stderr] Compiling zstd-sys v2.0.13+zstd.1.5.6 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling lzma-sys v0.1.20 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling block-padding v0.2.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling regex-automata v0.4.8 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling sqlite3-src v0.5.1 [INFO] [stderr] Compiling blake3 v1.5.4 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rustc_version_runtime v0.2.1 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling addr2line v0.24.1 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling object v0.36.4 [INFO] [stderr] Compiling anyhow v1.0.89 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling rustc-demangle v0.1.24 [INFO] [stderr] Compiling unsigned-varint v0.7.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling portable-atomic v1.9.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling lapin v2.5.0 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling publicsuffix v2.2.3 [INFO] [stderr] Compiling anstyle-parse v0.2.5 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling serde_derive v1.0.210 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling der_derive v0.7.3 [INFO] [stderr] Compiling thiserror-impl v1.0.64 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling tokio v1.40.0 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling der v0.7.9 [INFO] [stderr] Compiling async-trait v0.1.83 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling asn1-rs-derive v0.5.1 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling inout v0.1.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling sha2 v0.10.8 [INFO] [stderr] Compiling rustls-webpki v0.102.8 [INFO] [stderr] Compiling pbkdf2 v0.12.2 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling salsa20 v0.10.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling scrypt v0.11.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling asn1-rs v0.6.2 [INFO] [stderr] Compiling x509-cert v0.2.5 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling cbc v0.1.2 [INFO] [stderr] Compiling polling v3.7.3 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling pkcs5 v0.7.1 [INFO] [stderr] Compiling rc2 v0.8.1 [INFO] [stderr] Compiling des v0.8.1 [INFO] [stderr] Compiling async-io v2.3.4 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling der v0.6.1 [INFO] [stderr] Compiling executor-trait v2.1.0 [INFO] [stderr] Compiling reactor-trait v1.1.0 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling rand_core v0.9.0-alpha.2 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling async-global-executor v2.4.1 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling spki v0.6.0 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling sct v0.7.1 [INFO] [stderr] Compiling pkcs8 v0.9.0 [INFO] [stderr] Compiling rustls-webpki v0.101.7 [INFO] [stderr] Compiling der-parser v9.0.0 [INFO] [stderr] Compiling regex v1.11.0 [INFO] [stderr] Compiling enum-as-inner v0.4.0 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.13 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling pkcs1 v0.4.1 [INFO] [stderr] Compiling data-encoding-macro v0.1.15 [INFO] [stderr] Compiling serde_with_macros v1.5.2 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling http-body-util v0.1.2 [INFO] [stderr] Compiling futures-executor v0.3.30 [INFO] [stderr] Compiling cms v0.2.3 [INFO] [stderr] Compiling x509-parser v0.16.0 [INFO] [stderr] Compiling async-global-executor-trait v2.1.0 [INFO] [stderr] Compiling rand_chacha v0.9.0-alpha.2 [INFO] [stderr] Compiling async-reactor-trait v1.1.0 [INFO] [stderr] Compiling backtrace v0.3.74 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling rustls-connector v0.20.1 [INFO] [stderr] Compiling signature v1.6.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling pkcs12 v0.1.0 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling tokio-util v0.7.12 [INFO] [stderr] Compiling tokio-rustls v0.26.0 [INFO] [stderr] Compiling tokio-stream v0.1.16 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling pinky-swear v6.2.0 [INFO] [stderr] Compiling h2 v0.4.6 [INFO] [stderr] Compiling p12-keystore v0.1.3 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling async-channel v1.9.0 [INFO] [stderr] Compiling webpki-roots v0.26.6 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling chrono v0.4.38 [INFO] [stderr] Compiling uuid v1.10.0 [INFO] [stderr] Compiling serde_bytes v0.11.15 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling tcp-stream v0.28.0 [INFO] [stderr] Compiling hash32 v0.3.1 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling trust-dns-proto v0.21.2 [INFO] [stderr] Compiling substring v1.4.5 [INFO] [stderr] Compiling dtoa v0.4.8 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling amq-protocol-types v7.2.2 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling anstyle-query v1.1.1 [INFO] [stderr] Compiling ct-codecs v1.1.2 [INFO] [stderr] Compiling base-x v0.2.11 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling constant_time_eq v0.3.1 [INFO] [stderr] Compiling colorchoice v1.0.2 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling anstream v0.6.15 [INFO] [stderr] Compiling amq-protocol-uri v7.2.2 [INFO] [stderr] Compiling sha3 v0.9.1 [INFO] [stderr] Compiling amq-protocol-tcp v7.2.2 [INFO] [stderr] Compiling tokio-socks v0.5.2 [INFO] [stderr] Compiling ed25519-compact v2.1.1 [INFO] [stderr] Compiling bson v2.13.0 [INFO] [stderr] Compiling multibase v0.9.1 [INFO] [stderr] Compiling cookie_store v0.21.0 [INFO] [stderr] Compiling serde_yaml v0.7.5 [INFO] [stderr] Compiling multihash v0.19.1 [INFO] [stderr] Compiling zstd v0.13.2 [INFO] [stderr] Compiling hyper v1.4.1 [INFO] [stderr] Compiling async-std v1.13.0 [INFO] [stderr] Compiling tokio-rustls v0.24.1 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling serde-json-core v0.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_with v1.14.0 [INFO] [stderr] Compiling xz2 v0.1.7 [INFO] [stderr] Compiling brotli v7.0.0 [INFO] [stderr] Compiling rsa v0.7.2 [INFO] [stderr] Compiling tokio-reactor-trait v1.1.0 [INFO] [stderr] Compiling combine v4.6.7 [INFO] [stderr] Compiling multihash-derive v0.7.2 [INFO] [stderr] Compiling trust-dns-resolver v0.21.2 [INFO] [stderr] Compiling bzip2 v0.4.4 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling tokio-executor-trait v2.1.1 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling rand v0.9.0-alpha.2 [INFO] [stderr] Compiling dryoc v0.5.4 [INFO] [stderr] Compiling hyper-util v0.1.9 [INFO] [stderr] Compiling env_filter v0.1.2 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling p384 v0.13.0 [INFO] [stderr] Compiling sha2 v0.9.9 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling sha-1 v0.10.1 [INFO] [stderr] Compiling hmac-sha512 v1.1.5 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling hyper-rustls v0.27.3 [INFO] [stderr] Compiling hmac-sha256 v1.1.7 [INFO] [stderr] Compiling pbkdf2 v0.11.0 [INFO] [stderr] Compiling typed-builder v0.10.0 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling serde_repr v0.1.19 [INFO] [stderr] Compiling blake2s_simd v0.5.11 [INFO] [stderr] Compiling blake2b_simd v0.5.11 [INFO] [stderr] Compiling coarsetime v0.1.34 [INFO] [stderr] Compiling xattr v0.2.3 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling sync_wrapper v1.0.1 [INFO] [stderr] Compiling encoding_rs v0.8.34 [INFO] [stderr] Compiling deflate64 v0.1.9 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling hmac-sha1-compact v1.1.4 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling unsigned-varint v0.2.3 [INFO] [stderr] Compiling webpki-roots v0.25.4 [INFO] [stderr] Compiling binstring v0.1.1 [INFO] [stderr] Compiling multicodec v0.1.0 [INFO] [stderr] Compiling async-tar v0.4.2 [INFO] [stderr] Compiling multihash v0.15.0 [INFO] [stderr] Compiling jwt-simple v0.11.9 [INFO] [stderr] Compiling static_cell v2.1.0 [INFO] [stderr] Compiling env_logger v0.11.5 [INFO] [stderr] Compiling sqlite3-sys v0.15.2 [INFO] [stderr] Compiling serde-helpers v0.1.0 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Compiling tempfile v3.13.0 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling base64-url v2.0.2 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling sqlite v0.30.5 [INFO] [stderr] Compiling async-compression v0.4.13 [INFO] [stderr] Compiling mongodb v2.8.2 [INFO] [stderr] Compiling env_logger v0.9.3 [INFO] [stderr] Compiling tokio-amqp v2.0.0 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling millegrilles_cryptographie v2025.2.2 (https://github.com/dugrema/millegrilles_cryptographie.git?tag=2025.2-release#55e276a0) [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling redis v0.25.4 [INFO] [stderr] Compiling reqwest v0.12.8 [INFO] [stderr] Compiling millegrilles_common_rust v2025.2.3 (https://github.com/dugrema/millegrilles_common_rust.git?tag=2025.2-release#426721ea) [INFO] [stderr] Compiling millegrilles_maitredescles v2025.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:263:77 [INFO] [stdout] | [INFO] [stdout] 263 | let cle_chiffree = multibase::encode(Base::Base64, &ciphertext[..]);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MessageMilleGrillesBufferDefault`, `MessageMilleGrillesOwned`, and `MessageMilleGrillesRef` [INFO] [stdout] --> src/messages.rs:13:112 [INFO] [stdout] | [INFO] [stdout] 13 | ...ageInterMillegrilleOwned, MessageMilleGrillesBufferDefault, MessageMilleGrillesOwned, MessageMilleGrillesRef, MessageMilleGrillesRefDe... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::from_utf8` [INFO] [stdout] --> src/messages.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::str::from_utf8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ca_manager::MaitreDesClesCaManager` [INFO] [stdout] --> src/maitredescles_mongodb.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ca_manager::MaitreDesClesCaManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CommandeRechiffrerBatch` [INFO] [stdout] --> src/maitredescles_mongodb.rs:3:255 [INFO] [stdout] | [INFO] [stdout] 3 | ... CleTransfert, CleTransfertCa, CommandeCleSymmetrique, CommandeRechiffrerBatch, CommandeRechiffrerBatchChiffree, CommandeRechiffrerBat... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mongodb_manager::MaitreDesClesMongoDbManager` [INFO] [stdout] --> src/maitredescles_mongodb.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::mongodb_manager::MaitreDesClesMongoDbManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> src/maitredescles_mongodb.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `verifier_erreur_duplication_mongo` [INFO] [stdout] --> src/maitredescles_mongodb.rs:27:120 [INFO] [stdout] | [INFO] [stdout] 27 | ...le, convertir_to_bson, start_transaction_regular, verifier_erreur_duplication_mongo, ChampIndex, IndexOptions, MongoDao}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/builder.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/builder.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `chrono` and `tokio` [INFO] [stdout] --> src/builder.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use millegrilles_common_rust::{chrono, tokio}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::chrono::Utc` [INFO] [stdout] --> src/builder.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use millegrilles_common_rust::chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChampIndex`, `IndexOptions`, and `MongoDao` [INFO] [stdout] --> src/builder.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | use millegrilles_common_rust::mongo_dao::{ChampIndex, IndexOptions, MongoDao}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `charger_certificats_chiffrage` [INFO] [stdout] --> src/builder.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | use millegrilles_common_rust::middleware::{charger_certificats_chiffrage, Middleware}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::transactions::resoumettre_transactions` [INFO] [stdout] --> src/builder.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use millegrilles_common_rust::transactions::resoumettre_transactions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration as DurationTokio` and `sleep` [INFO] [stdout] --> src/builder.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | use millegrilles_common_rust::tokio::time::{sleep, Duration as DurationTokio}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::maitredescles_commun::emettre_cles_symmetriques` [INFO] [stdout] --> src/builder.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::maitredescles_commun::emettre_cles_symmetriques; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/mongodb_manager.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::tokio_stream::StreamExt` [INFO] [stdout] --> src/mongodb_manager.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use millegrilles_common_rust::tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `confirmer_cles_ca` and `synchroniser_cles` [INFO] [stdout] --> src/mongodb_manager.rs:33:174 [INFO] [stdout] | [INFO] [stdout] 33 | ...e, confirmer_cles_ca, evenement_cle_manquante, evenement_cle_rechiffrage, preparer_index_mongodb_custom, preparer_index_mongodb_partition, preparer_rechiffreur_mongo, query_repair_symmetric_key, request_keys_for_ca, requete_dechiffrage_v2, requete_transfert_cles, synchroniser_cles, N... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::mongodb::ClientSession` [INFO] [stdout] --> src/maintenance.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use millegrilles_common_rust::mongodb::ClientSession; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `synchroniser_cles` [INFO] [stdout] --> src/maintenance.rs:14:101 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::maitredescles_mongodb::{confirmer_cles_ca, marquer_cles_ca_timeout, process_ca_key_sync, synchroniser_cles}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ca` [INFO] [stdout] --> src/maitredescles_mongodb.rs:49:90 [INFO] [stdout] | [INFO] [stdout] 49 | 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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/maitredescles_mongodb.rs:864:82 [INFO] [stdout] | [INFO] [stdout] 864 | pub async fn commande_confirmer_cles_sur_ca(middleware: &M, m: MessageValide, session: &mut ClientSession) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filtre` [INFO] [stdout] --> src/maitredescles_mongodb.rs:1118:9 [INFO] [stdout] | [INFO] [stdout] 1118 | let filtre = doc! {"cle_id": hachage_bytes}; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filtre` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/maitredescles_mongodb.rs:1178:16 [INFO] [stdout] | [INFO] [stdout] 1178 | Ok(r) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/maitredescles_mongodb.rs:1183:16 [INFO] [stdout] | [INFO] [stdout] 1183 | Ok(r) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/maitredescles_mongodb.rs:1240:16 [INFO] [stdout] | [INFO] [stdout] 1240 | Ok(r) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/maitredescles_mongodb.rs:1245:16 [INFO] [stdout] | [INFO] [stdout] 1245 | Ok(r) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `requete_autorisee_globalement` [INFO] [stdout] --> src/maitredescles_mongodb.rs:1287:22 [INFO] [stdout] | [INFO] [stdout] 1287 | 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_mongodb.rs:1406:13 [INFO] [stdout] | [INFO] [stdout] 1406 | let reponse = ReponseRequeteDechiffrageV2 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_mongodb.rs:1571:59 [INFO] [stdout] | [INFO] [stdout] 1571 | pub async fn commande_rechiffrer_batch(middleware: &M, mut m: MessageValide, handler_rechiffrage: &HandlerCleRechiffrage, session: &mu... [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/maitredescles_mongodb.rs:1953:60 [INFO] [stdout] | [INFO] [stdout] 1953 | pub async fn query_repair_symmetric_key(middleware: &M, m: MessageValide, handler_rechiffrage: &HandlerCleRechiffrage, session: &mut C... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handler_rechiffrage` [INFO] [stdout] --> src/maitredescles_mongodb.rs:1978:71 [INFO] [stdout] | [INFO] [stdout] 1978 | ... MessageValide, handler_rechiffrage: &HandlerCleRechiffrage, session: &mut ClientSession) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler_rechiffrage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/maintenance.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 65 | / loop { [INFO] [stdout] 66 | | let maintenant = chrono::Utc::now(); [INFO] [stdout] 67 | | debug!("thread_entretien Execution task d'entretien Core {:?}", maintenant); [INFO] [stdout] ... | [INFO] [stdout] 89 | | sleep(duration).await; [INFO] [stdout] 90 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 91 | [INFO] [stdout] 92 | info!("thread_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: variable does not need to be mutable [INFO] [stdout] --> src/mongodb_manager.rs:343:25 [INFO] [stdout] | [INFO] [stdout] 343 | let mut futures_consumer = FuturesUnordered::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/sqlite_manager.rs:122:40 [INFO] [stdout] | [INFO] [stdout] 122 | pub async fn preparer_index_mongodb(middleware: &M) -> Result<(), CommonError> [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/commands.rs:19:112 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn commande_verifier_cle_symmetrique(middleware: &M, handler_rechiffrage: &HandlerCleRechiffrage, session: &mut ClientSession) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/commands.rs:36:75 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn commande_dechiffrer_cle(middleware: &M, m: MessageValide, session: &mut ClientSession) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hour` [INFO] [stdout] --> src/maintenance.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let hour = trigger.get_date().hour(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/messages.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 86 | todo!("Fix me - deconge en base64, pas en multibase"); [INFO] [stdout] | ----------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 87 | / Ok(Self { [INFO] [stdout] 88 | | contenu: multibase::decode(value.contenu_escaped)?.1, [INFO] [stdout] 89 | | dechiffrage: (&dechiffrage).into(), [INFO] [stdout] 90 | | }) [INFO] [stdout] | |__________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RabbitMqTrait` [INFO] [stdout] --> src/mongodb_manager.rs:17:76 [INFO] [stdout] | [INFO] [stdout] 17 | use millegrilles_common_rust::middleware::{Middleware, MiddlewareMessages, RabbitMqTrait}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | Err(e) => Err(std::fmt::Error{})? [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_privee` [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let cle_privee = enveloppe_privee.cle_privee.to_owned(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_privee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:250:25 [INFO] [stdout] | [INFO] [stdout] 250 | let mut cipher = XChaCha20Poly1305::new((&inner.0).into()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:276:21 [INFO] [stdout] | [INFO] [stdout] 276 | let mut cipher = XChaCha20Poly1305::new((&inner.0).into()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dechiffrage` [INFO] [stdout] --> src/messages.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | 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:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | 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:95:37 [INFO] [stdout] | [INFO] [stdout] 95 | 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:95:49 [INFO] [stdout] | [INFO] [stdout] 95 | 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:114:14 [INFO] [stdout] | [INFO] [stdout] 114 | 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:114:22 [INFO] [stdout] | [INFO] [stdout] 114 | 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: `session` [INFO] [stdout] --> src/mongodb_manager.rs:144:96 [INFO] [stdout] | [INFO] [stdout] 144 | ...saction: TransactionValide, session: &mut ClientSession) -> Result, CommonError> [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/mongodb_manager.rs:168:32 [INFO] [stdout] | [INFO] [stdout] 168 | 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: `middleware` [INFO] [stdout] --> src/sqlite_manager.rs:71:42 [INFO] [stdout] | [INFO] [stdout] 71 | async fn consommer_requete(&self, middleware: &M, message: MessageValide) -> Result, Comm... [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/sqlite_manager.rs:71:58 [INFO] [stdout] | [INFO] [stdout] 71 | ...e(&self, middleware: &M, message: MessageValide) -> Result, CommonError> [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/sqlite_manager.rs:79:43 [INFO] [stdout] | [INFO] [stdout] 79 | async fn consommer_commande(&self, middleware: &M, message: MessageValide) -> Result, Com... [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/sqlite_manager.rs:79:59 [INFO] [stdout] | [INFO] [stdout] 79 | ...e(&self, middleware: &M, message: MessageValide) -> Result, CommonError> [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/sqlite_manager.rs:87:44 [INFO] [stdout] | [INFO] [stdout] 87 | async fn consommer_evenement(&self, middleware: &M, message: MessageValide) -> Result, Co... [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/sqlite_manager.rs:87:60 [INFO] [stdout] | [INFO] [stdout] 87 | ...t(&self, middleware: &M, message: MessageValide) -> Result, CommonError> [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/sqlite_manager.rs:98:47 [INFO] [stdout] | [INFO] [stdout] 98 | async fn aiguillage_transaction(&self, middleware: &M, transaction: TransactionValide, session: &mut ClientSession) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/sqlite_manager.rs:98:95 [INFO] [stdout] | [INFO] [stdout] 98 | async fn aiguillage_transaction(&self, middleware: &M, transaction: TransactionValide, session: &mut ClientSession) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction` [INFO] [stdout] --> src/sqlite_manager.rs:98:63 [INFO] [stdout] | [INFO] [stdout] 98 | async fn aiguillage_transaction(&self, middleware: &M, transaction: TransactionValide, session: &mut ClientSession) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manager` [INFO] [stdout] --> src/sqlite_manager.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | fn preparer_queues(manager: &MaitreDesClesSqliteManager) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `date_creation` is never read [INFO] [stdout] --> src/maitredescles_commun.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 350 | pub struct RowClePartitionRef<'a> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 372 | pub date_creation: DateTime, [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] = note: `#[warn(dead_code)]` on by default [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: fields `fingerprint` and `preuves` are never read [INFO] [stdout] --> src/messages.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct RequeteVerifierPreuve { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 23 | pub fingerprint: String, // fingerprint inclues dans la preuve [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 24 | pub preuves: HashMap, // fuuid, preuve [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequeteVerifierPreuve` has derived impls for the traits `Clone` and `Debug`, 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:30:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct PreuveCle { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 29 | #[serde(with = "epochseconds")] [INFO] [stdout] 30 | pub date: DateTime, [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | pub preuve: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PreuveCle` has derived impls for the traits `Clone` and `Debug`, 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:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl PreuveCle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 35 | pub fn verifier_preuve(&self, fingerprint: S, cle: &CleSecreteX25519) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `dechiffrer` are never used [INFO] [stdout] --> src/messages.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl MessageReponseChiffree { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 95 | pub fn new(middleware: &M, contenu: S, certificat_demandeur: &EnveloppeCertificat) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn dechiffrer(&self, middleware: &M) -> Result [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: constant `INDEX_CLES_HACHAGE_BYTES` is never used [INFO] [stdout] --> src/constants.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const INDEX_CLES_HACHAGE_BYTES: &str = "index_hachage_bytes"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_HACHAGE_BYTES` is never used [INFO] [stdout] --> src/constants.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub const CHAMP_HACHAGE_BYTES: &str = "hachage_bytes"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_DOMAINE` is never used [INFO] [stdout] --> src/constants.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | 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/constants.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | 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/constants.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | 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/constants.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | 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/constants.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | 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/constants.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | 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/constants.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub const CHAMP_ACCES_PERMIS: &str = "1.permis"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COMMAND_REPAIR_SYMMETRIC_KEY` is never used [INFO] [stdout] --> src/constants.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | pub const COMMAND_REPAIR_SYMMETRIC_KEY: &str = "repairSymmetricKey"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDEX_RECHIFFRAGE_PK` is never used [INFO] [stdout] --> src/constants.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | pub const INDEX_RECHIFFRAGE_PK: &str = "fingerprint_pk"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_FINGERPRINT_PK` is never used [INFO] [stdout] --> src/constants.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | pub const CHAMP_FINGERPRINT_PK: &str = "fingerprint_pk"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOM_Q_CA_TRANSACTIONS` is never used [INFO] [stdout] --> src/constants.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | pub const NOM_Q_CA_TRANSACTIONS: &str = "MaitreDesCles/CA/transactions"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOM_Q_CA_TRIGGERS` is never used [INFO] [stdout] --> src/constants.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | pub const NOM_Q_CA_TRIGGERS: &str = "MaitreDesCles/CA/triggers"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REQUETE_CLES_NON_DECHIFFRABLES` is never used [INFO] [stdout] --> src/constants.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | pub const REQUETE_CLES_NON_DECHIFFRABLES: &str = "clesNonDechiffrables"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOM_COLLECTION_TRANSACTIONS` is never used [INFO] [stdout] --> src/maitredescles_mongodb.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub const NOM_COLLECTION_TRANSACTIONS: &str = DOMAINE_NOM; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `synchroniser_cles` is never used [INFO] [stdout] --> src/maitredescles_mongodb.rs:213:14 [INFO] [stdout] | [INFO] [stdout] 213 | pub async fn synchroniser_cles(middleware: &M, handler_rechiffrage: &HandlerCleRechiffrage) -> Result<(), Error> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `synchroniser_cles_session` is never used [INFO] [stdout] --> src/maitredescles_mongodb.rs:231:10 [INFO] [stdout] | [INFO] [stdout] 231 | async fn synchroniser_cles_session(middleware: &M, handler_rechiffrage: &HandlerCleRechiffrage, session: &mut ClientSession) -> Result... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traiter_batch_synchroniser_cles` is never used [INFO] [stdout] --> src/maitredescles_mongodb.rs:275:10 [INFO] [stdout] | [INFO] [stdout] 275 | async fn traiter_batch_synchroniser_cles(middleware: &M, handler_rechiffrage: &HandlerCleRechiffrage, reponse: ReponseSynchroniserCles... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traiter_cles_manquantes_ca` is never used [INFO] [stdout] --> src/maitredescles_mongodb.rs:539:10 [INFO] [stdout] | [INFO] [stdout] 539 | async fn traiter_cles_manquantes_ca( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `requete_cles_non_dechiffrables` is never used [INFO] [stdout] --> src/maitredescles_mongodb.rs:630:14 [INFO] [stdout] | [INFO] [stdout] 630 | pub async fn requete_cles_non_dechiffrables(middleware: &M, m: MessageValide, session: &mut ClientSession) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MaitreDesClesSymmetricManagerTrait` is never used [INFO] [stdout] --> src/builder.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait MaitreDesClesSymmetricManagerTrait {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ressources` is never read [INFO] [stdout] --> src/mongodb_manager.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct MaitreDesClesMongoDbManager { [INFO] [stdout] | --------------------------- field in this struct [INFO] [stdout] 38 | pub handler_rechiffrage: HandlerCleRechiffrage, [INFO] [stdout] 39 | pub ressources: Mutex>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `connexion_read_only` and `connexion_sauvegarder_cle` are never read [INFO] [stdout] --> src/sqlite_manager.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct MaitreDesClesSqliteManager { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] 24 | pub handler_rechiffrage: HandlerCleRechiffrage, [INFO] [stdout] 25 | connexion_read_only: Mutex>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | connexion_sauvegarder_cle: Mutex>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `preparer_index_mongodb` is never used [INFO] [stdout] --> src/sqlite_manager.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 122 | pub async fn preparer_index_mongodb(middleware: &M) -> Result<(), CommonError> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_next_trigger` is never used [INFO] [stdout] --> src/maintenance.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl IntervalTrigger { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | fn set_next_trigger(&mut self, interval: chrono::Duration) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5m 46s [INFO] running `Command { std: "docker" "inspect" "71748ec8c3b439a4e2fcc35afda45fd3a09c0d74c9c0cd95761d56616d8d4793", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71748ec8c3b439a4e2fcc35afda45fd3a09c0d74c9c0cd95761d56616d8d4793", kill_on_drop: false }` [INFO] [stdout] 71748ec8c3b439a4e2fcc35afda45fd3a09c0d74c9c0cd95761d56616d8d4793 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 467a403584476ae3dd98964ce7f4af77aed12ddf8e6c1b4571fbc517badf0c29 [INFO] running `Command { std: "docker" "start" "-a" "467a403584476ae3dd98964ce7f4af77aed12ddf8e6c1b4571fbc517badf0c29", kill_on_drop: false }` [INFO] [stderr] Compiling millegrilles_maitredescles v2025.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:263:77 [INFO] [stdout] | [INFO] [stdout] 263 | let cle_chiffree = multibase::encode(Base::Base64, &ciphertext[..]);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MessageMilleGrillesBufferDefault`, `MessageMilleGrillesOwned`, and `MessageMilleGrillesRef` [INFO] [stdout] --> src/messages.rs:13:112 [INFO] [stdout] | [INFO] [stdout] 13 | ...ageInterMillegrilleOwned, MessageMilleGrillesBufferDefault, MessageMilleGrillesOwned, MessageMilleGrillesRef, MessageMilleGrillesRefDe... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::from_utf8` [INFO] [stdout] --> src/messages.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use std::str::from_utf8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::ca_manager::MaitreDesClesCaManager` [INFO] [stdout] --> src/maitredescles_mongodb.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::ca_manager::MaitreDesClesCaManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CommandeRechiffrerBatch` [INFO] [stdout] --> src/maitredescles_mongodb.rs:3:255 [INFO] [stdout] | [INFO] [stdout] 3 | ... CleTransfert, CleTransfertCa, CommandeCleSymmetrique, CommandeRechiffrerBatch, CommandeRechiffrerBatchChiffree, CommandeRechiffrerBat... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::mongodb_manager::MaitreDesClesMongoDbManager` [INFO] [stdout] --> src/maitredescles_mongodb.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::mongodb_manager::MaitreDesClesMongoDbManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `trace` [INFO] [stdout] --> src/maitredescles_mongodb.rs:7:31 [INFO] [stdout] | [INFO] [stdout] 7 | use log::{debug, error, info, trace, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `verifier_erreur_duplication_mongo` [INFO] [stdout] --> src/maitredescles_mongodb.rs:27:120 [INFO] [stdout] | [INFO] [stdout] 27 | ...le, convertir_to_bson, start_transaction_regular, verifier_erreur_duplication_mongo, ChampIndex, IndexOptions, MongoDao}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/builder.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/builder.rs:2:18 [INFO] [stdout] | [INFO] [stdout] 2 | use log::{debug, error, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `chrono` and `tokio` [INFO] [stdout] --> src/builder.rs:3:32 [INFO] [stdout] | [INFO] [stdout] 3 | use millegrilles_common_rust::{chrono, tokio}; [INFO] [stdout] | ^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::chrono::Utc` [INFO] [stdout] --> src/builder.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use millegrilles_common_rust::chrono::Utc; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ChampIndex`, `IndexOptions`, and `MongoDao` [INFO] [stdout] --> src/builder.rs:11:43 [INFO] [stdout] | [INFO] [stdout] 11 | use millegrilles_common_rust::mongo_dao::{ChampIndex, IndexOptions, MongoDao}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `charger_certificats_chiffrage` [INFO] [stdout] --> src/builder.rs:17:44 [INFO] [stdout] | [INFO] [stdout] 17 | use millegrilles_common_rust::middleware::{charger_certificats_chiffrage, Middleware}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::transactions::resoumettre_transactions` [INFO] [stdout] --> src/builder.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use millegrilles_common_rust::transactions::resoumettre_transactions; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration as DurationTokio` and `sleep` [INFO] [stdout] --> src/builder.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | use millegrilles_common_rust::tokio::time::{sleep, Duration as DurationTokio}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::maitredescles_commun::emettre_cles_symmetriques` [INFO] [stdout] --> src/builder.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | use crate::maitredescles_commun::emettre_cles_symmetriques; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/mongodb_manager.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::tokio_stream::StreamExt` [INFO] [stdout] --> src/mongodb_manager.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use millegrilles_common_rust::tokio_stream::StreamExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `confirmer_cles_ca` and `synchroniser_cles` [INFO] [stdout] --> src/mongodb_manager.rs:33:174 [INFO] [stdout] | [INFO] [stdout] 33 | ...e, confirmer_cles_ca, evenement_cle_manquante, evenement_cle_rechiffrage, preparer_index_mongodb_custom, preparer_index_mongodb_partition, preparer_rechiffreur_mongo, query_repair_symmetric_key, request_keys_for_ca, requete_dechiffrage_v2, requete_transfert_cles, synchroniser_cles, N... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `millegrilles_common_rust::mongodb::ClientSession` [INFO] [stdout] --> src/maintenance.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use millegrilles_common_rust::mongodb::ClientSession; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `synchroniser_cles` [INFO] [stdout] --> src/maintenance.rs:14:101 [INFO] [stdout] | [INFO] [stdout] 14 | use crate::maitredescles_mongodb::{confirmer_cles_ca, marquer_cles_ca_timeout, process_ca_key_sync, synchroniser_cles}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ca` [INFO] [stdout] --> src/maitredescles_mongodb.rs:49:90 [INFO] [stdout] | [INFO] [stdout] 49 | 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] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/maitredescles_mongodb.rs:864:82 [INFO] [stdout] | [INFO] [stdout] 864 | pub async fn commande_confirmer_cles_sur_ca(middleware: &M, m: MessageValide, session: &mut ClientSession) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `filtre` [INFO] [stdout] --> src/maitredescles_mongodb.rs:1118:9 [INFO] [stdout] | [INFO] [stdout] 1118 | let filtre = doc! {"cle_id": hachage_bytes}; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_filtre` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/maitredescles_mongodb.rs:1178:16 [INFO] [stdout] | [INFO] [stdout] 1178 | Ok(r) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/maitredescles_mongodb.rs:1183:16 [INFO] [stdout] | [INFO] [stdout] 1183 | Ok(r) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/maitredescles_mongodb.rs:1240:16 [INFO] [stdout] | [INFO] [stdout] 1240 | Ok(r) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/maitredescles_mongodb.rs:1245:16 [INFO] [stdout] | [INFO] [stdout] 1245 | Ok(r) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `requete_autorisee_globalement` [INFO] [stdout] --> src/maitredescles_mongodb.rs:1287:22 [INFO] [stdout] | [INFO] [stdout] 1287 | 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_mongodb.rs:1406:13 [INFO] [stdout] | [INFO] [stdout] 1406 | let reponse = ReponseRequeteDechiffrageV2 { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_mongodb.rs:1571:59 [INFO] [stdout] | [INFO] [stdout] 1571 | pub async fn commande_rechiffrer_batch(middleware: &M, mut m: MessageValide, handler_rechiffrage: &HandlerCleRechiffrage, session: &mu... [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/maitredescles_mongodb.rs:1953:60 [INFO] [stdout] | [INFO] [stdout] 1953 | pub async fn query_repair_symmetric_key(middleware: &M, m: MessageValide, handler_rechiffrage: &HandlerCleRechiffrage, session: &mut C... [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handler_rechiffrage` [INFO] [stdout] --> src/maitredescles_mongodb.rs:1978:71 [INFO] [stdout] | [INFO] [stdout] 1978 | ... MessageValide, handler_rechiffrage: &HandlerCleRechiffrage, session: &mut ClientSession) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler_rechiffrage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/maintenance.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 65 | / loop { [INFO] [stdout] 66 | | let maintenant = chrono::Utc::now(); [INFO] [stdout] 67 | | debug!("thread_entretien Execution task d'entretien Core {:?}", maintenant); [INFO] [stdout] ... | [INFO] [stdout] 89 | | sleep(duration).await; [INFO] [stdout] 90 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 91 | [INFO] [stdout] 92 | info!("thread_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: variable does not need to be mutable [INFO] [stdout] --> src/mongodb_manager.rs:343:25 [INFO] [stdout] | [INFO] [stdout] 343 | let mut futures_consumer = FuturesUnordered::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/sqlite_manager.rs:122:40 [INFO] [stdout] | [INFO] [stdout] 122 | pub async fn preparer_index_mongodb(middleware: &M) -> Result<(), CommonError> [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/commands.rs:19:112 [INFO] [stdout] | [INFO] [stdout] 19 | pub async fn commande_verifier_cle_symmetrique(middleware: &M, handler_rechiffrage: &HandlerCleRechiffrage, session: &mut ClientSession) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/commands.rs:36:75 [INFO] [stdout] | [INFO] [stdout] 36 | pub async fn commande_dechiffrer_cle(middleware: &M, m: MessageValide, session: &mut ClientSession) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hour` [INFO] [stdout] --> src/maintenance.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | let hour = trigger.get_date().hour(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_hour` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/messages.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 86 | todo!("Fix me - deconge en base64, pas en multibase"); [INFO] [stdout] | ----------------------------------------------------- any code following this expression is unreachable [INFO] [stdout] 87 | / Ok(Self { [INFO] [stdout] 88 | | contenu: multibase::decode(value.contenu_escaped)?.1, [INFO] [stdout] 89 | | dechiffrage: (&dechiffrage).into(), [INFO] [stdout] 90 | | }) [INFO] [stdout] | |__________^ unreachable expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RabbitMqTrait` [INFO] [stdout] --> src/mongodb_manager.rs:17:76 [INFO] [stdout] | [INFO] [stdout] 17 | use millegrilles_common_rust::middleware::{Middleware, MiddlewareMessages, RabbitMqTrait}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | Err(e) => Err(std::fmt::Error{})? [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cle_privee` [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let cle_privee = enveloppe_privee.cle_privee.to_owned(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cle_privee` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:250:25 [INFO] [stdout] | [INFO] [stdout] 250 | let mut cipher = XChaCha20Poly1305::new((&inner.0).into()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/maitredescles_rechiffrage.rs:276:21 [INFO] [stdout] | [INFO] [stdout] 276 | let mut cipher = XChaCha20Poly1305::new((&inner.0).into()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dechiffrage` [INFO] [stdout] --> src/messages.rs:82:13 [INFO] [stdout] | [INFO] [stdout] 82 | 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:95:21 [INFO] [stdout] | [INFO] [stdout] 95 | 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:95:37 [INFO] [stdout] | [INFO] [stdout] 95 | 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:95:49 [INFO] [stdout] | [INFO] [stdout] 95 | 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:114:14 [INFO] [stdout] | [INFO] [stdout] 114 | 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:114:22 [INFO] [stdout] | [INFO] [stdout] 114 | 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: `session` [INFO] [stdout] --> src/mongodb_manager.rs:144:96 [INFO] [stdout] | [INFO] [stdout] 144 | ...saction: TransactionValide, session: &mut ClientSession) -> Result, CommonError> [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/mongodb_manager.rs:168:32 [INFO] [stdout] | [INFO] [stdout] 168 | 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: `middleware` [INFO] [stdout] --> src/sqlite_manager.rs:71:42 [INFO] [stdout] | [INFO] [stdout] 71 | async fn consommer_requete(&self, middleware: &M, message: MessageValide) -> Result, Comm... [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/sqlite_manager.rs:71:58 [INFO] [stdout] | [INFO] [stdout] 71 | ...e(&self, middleware: &M, message: MessageValide) -> Result, CommonError> [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/sqlite_manager.rs:79:43 [INFO] [stdout] | [INFO] [stdout] 79 | async fn consommer_commande(&self, middleware: &M, message: MessageValide) -> Result, Com... [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/sqlite_manager.rs:79:59 [INFO] [stdout] | [INFO] [stdout] 79 | ...e(&self, middleware: &M, message: MessageValide) -> Result, CommonError> [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/sqlite_manager.rs:87:44 [INFO] [stdout] | [INFO] [stdout] 87 | async fn consommer_evenement(&self, middleware: &M, message: MessageValide) -> Result, Co... [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/sqlite_manager.rs:87:60 [INFO] [stdout] | [INFO] [stdout] 87 | ...t(&self, middleware: &M, message: MessageValide) -> Result, CommonError> [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `middleware` [INFO] [stdout] --> src/sqlite_manager.rs:98:47 [INFO] [stdout] | [INFO] [stdout] 98 | async fn aiguillage_transaction(&self, middleware: &M, transaction: TransactionValide, session: &mut ClientSession) [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_middleware` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session` [INFO] [stdout] --> src/sqlite_manager.rs:98:95 [INFO] [stdout] | [INFO] [stdout] 98 | async fn aiguillage_transaction(&self, middleware: &M, transaction: TransactionValide, session: &mut ClientSession) [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transaction` [INFO] [stdout] --> src/sqlite_manager.rs:98:63 [INFO] [stdout] | [INFO] [stdout] 98 | async fn aiguillage_transaction(&self, middleware: &M, transaction: TransactionValide, session: &mut ClientSession) [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transaction` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `manager` [INFO] [stdout] --> src/sqlite_manager.rs:118:20 [INFO] [stdout] | [INFO] [stdout] 118 | fn preparer_queues(manager: &MaitreDesClesSqliteManager) -> Vec { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `date_creation` is never read [INFO] [stdout] --> src/maitredescles_commun.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 350 | pub struct RowClePartitionRef<'a> { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 372 | pub date_creation: DateTime, [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] = note: `#[warn(dead_code)]` on by default [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: fields `fingerprint` and `preuves` are never read [INFO] [stdout] --> src/messages.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct RequeteVerifierPreuve { [INFO] [stdout] | --------------------- fields in this struct [INFO] [stdout] 23 | pub fingerprint: String, // fingerprint inclues dans la preuve [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 24 | pub preuves: HashMap, // fuuid, preuve [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RequeteVerifierPreuve` has derived impls for the traits `Clone` and `Debug`, 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:30:9 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct PreuveCle { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 29 | #[serde(with = "epochseconds")] [INFO] [stdout] 30 | pub date: DateTime, [INFO] [stdout] | ^^^^ [INFO] [stdout] 31 | pub preuve: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PreuveCle` has derived impls for the traits `Clone` and `Debug`, 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:35:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl PreuveCle { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 35 | pub fn verifier_preuve(&self, fingerprint: S, cle: &CleSecreteX25519) -> Result [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `dechiffrer` are never used [INFO] [stdout] --> src/messages.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 94 | impl MessageReponseChiffree { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 95 | pub fn new(middleware: &M, contenu: S, certificat_demandeur: &EnveloppeCertificat) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn dechiffrer(&self, middleware: &M) -> Result [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: constant `INDEX_CLES_HACHAGE_BYTES` is never used [INFO] [stdout] --> src/constants.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const INDEX_CLES_HACHAGE_BYTES: &str = "index_hachage_bytes"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_HACHAGE_BYTES` is never used [INFO] [stdout] --> src/constants.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub const CHAMP_HACHAGE_BYTES: &str = "hachage_bytes"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_DOMAINE` is never used [INFO] [stdout] --> src/constants.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | 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/constants.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | 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/constants.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | 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/constants.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | 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/constants.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | 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/constants.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | 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/constants.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub const CHAMP_ACCES_PERMIS: &str = "1.permis"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `COMMAND_REPAIR_SYMMETRIC_KEY` is never used [INFO] [stdout] --> src/constants.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | pub const COMMAND_REPAIR_SYMMETRIC_KEY: &str = "repairSymmetricKey"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INDEX_RECHIFFRAGE_PK` is never used [INFO] [stdout] --> src/constants.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | pub const INDEX_RECHIFFRAGE_PK: &str = "fingerprint_pk"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CHAMP_FINGERPRINT_PK` is never used [INFO] [stdout] --> src/constants.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | pub const CHAMP_FINGERPRINT_PK: &str = "fingerprint_pk"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOM_Q_CA_TRANSACTIONS` is never used [INFO] [stdout] --> src/constants.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | pub const NOM_Q_CA_TRANSACTIONS: &str = "MaitreDesCles/CA/transactions"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOM_Q_CA_TRIGGERS` is never used [INFO] [stdout] --> src/constants.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | pub const NOM_Q_CA_TRIGGERS: &str = "MaitreDesCles/CA/triggers"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REQUETE_CLES_NON_DECHIFFRABLES` is never used [INFO] [stdout] --> src/constants.rs:69:11 [INFO] [stdout] | [INFO] [stdout] 69 | pub const REQUETE_CLES_NON_DECHIFFRABLES: &str = "clesNonDechiffrables"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NOM_COLLECTION_TRANSACTIONS` is never used [INFO] [stdout] --> src/maitredescles_mongodb.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub const NOM_COLLECTION_TRANSACTIONS: &str = DOMAINE_NOM; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `synchroniser_cles` is never used [INFO] [stdout] --> src/maitredescles_mongodb.rs:213:14 [INFO] [stdout] | [INFO] [stdout] 213 | pub async fn synchroniser_cles(middleware: &M, handler_rechiffrage: &HandlerCleRechiffrage) -> Result<(), Error> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `synchroniser_cles_session` is never used [INFO] [stdout] --> src/maitredescles_mongodb.rs:231:10 [INFO] [stdout] | [INFO] [stdout] 231 | async fn synchroniser_cles_session(middleware: &M, handler_rechiffrage: &HandlerCleRechiffrage, session: &mut ClientSession) -> Result... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traiter_batch_synchroniser_cles` is never used [INFO] [stdout] --> src/maitredescles_mongodb.rs:275:10 [INFO] [stdout] | [INFO] [stdout] 275 | async fn traiter_batch_synchroniser_cles(middleware: &M, handler_rechiffrage: &HandlerCleRechiffrage, reponse: ReponseSynchroniserCles... [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `traiter_cles_manquantes_ca` is never used [INFO] [stdout] --> src/maitredescles_mongodb.rs:539:10 [INFO] [stdout] | [INFO] [stdout] 539 | async fn traiter_cles_manquantes_ca( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `requete_cles_non_dechiffrables` is never used [INFO] [stdout] --> src/maitredescles_mongodb.rs:630:14 [INFO] [stdout] | [INFO] [stdout] 630 | pub async fn requete_cles_non_dechiffrables(middleware: &M, m: MessageValide, session: &mut ClientSession) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `MaitreDesClesSymmetricManagerTrait` is never used [INFO] [stdout] --> src/builder.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait MaitreDesClesSymmetricManagerTrait {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ressources` is never read [INFO] [stdout] --> src/mongodb_manager.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct MaitreDesClesMongoDbManager { [INFO] [stdout] | --------------------------- field in this struct [INFO] [stdout] 38 | pub handler_rechiffrage: HandlerCleRechiffrage, [INFO] [stdout] 39 | pub ressources: Mutex>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `connexion_read_only` and `connexion_sauvegarder_cle` are never read [INFO] [stdout] --> src/sqlite_manager.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct MaitreDesClesSqliteManager { [INFO] [stdout] | -------------------------- fields in this struct [INFO] [stdout] 24 | pub handler_rechiffrage: HandlerCleRechiffrage, [INFO] [stdout] 25 | connexion_read_only: Mutex>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | connexion_sauvegarder_cle: Mutex>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `preparer_index_mongodb` is never used [INFO] [stdout] --> src/sqlite_manager.rs:122:14 [INFO] [stdout] | [INFO] [stdout] 122 | pub async fn preparer_index_mongodb(middleware: &M) -> Result<(), CommonError> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_next_trigger` is never used [INFO] [stdout] --> src/maintenance.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 25 | impl IntervalTrigger { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 40 | fn set_next_trigger(&mut self, interval: chrono::Duration) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 11.74s [INFO] running `Command { std: "docker" "inspect" "467a403584476ae3dd98964ce7f4af77aed12ddf8e6c1b4571fbc517badf0c29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "467a403584476ae3dd98964ce7f4af77aed12ddf8e6c1b4571fbc517badf0c29", kill_on_drop: false }` [INFO] [stdout] 467a403584476ae3dd98964ce7f4af77aed12ddf8e6c1b4571fbc517badf0c29