[INFO] cloning repository https://github.com/gamesgamesgamesgamesgames/debuff [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gamesgamesgamesgamesgames/debuff" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgamesgamesgamesgamesgames%2Fdebuff", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgamesgamesgamesgamesgames%2Fdebuff'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e16d95bce945a675d511dcd8f9d2182f49b1eaee [INFO] checking gamesgamesgamesgamesgames/debuff against master#bfc05d6b072585dfd0c792ec1b8728c08a3511fe for pr-154149 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgamesgamesgamesgamesgames%2Fdebuff" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gamesgamesgamesgamesgames/debuff [INFO] finished tweaking git repo https://github.com/gamesgamesgamesgamesgames/debuff [INFO] tweaked toml for git repo https://github.com/gamesgamesgamesgamesgames/debuff written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gamesgamesgamesgamesgames/debuff on toolchain bfc05d6b072585dfd0c792ec1b8728c08a3511fe [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bfc05d6b072585dfd0c792ec1b8728c08a3511fe" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gamesgamesgamesgamesgames/debuff 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" "+bfc05d6b072585dfd0c792ec1b8728c08a3511fe" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded native-tls v0.2.18 [INFO] [stderr] Downloaded cbor4ii v0.2.14 [INFO] [stderr] Downloaded wiremock v0.6.5 [INFO] [stderr] Downloaded atrium-common v0.1.3 [INFO] [stderr] Downloaded atrium-xrpc v0.12.4 [INFO] [stderr] Downloaded serde_ipld_dagcbor v0.6.4 [INFO] [stderr] Downloaded atrium-oauth v0.1.6 [INFO] [stderr] Downloaded ipld-core v0.4.3 [INFO] [stderr] Downloaded deadpool-runtime v0.1.4 [INFO] [stderr] Downloaded deadpool v0.12.3 [INFO] [stderr] Downloaded atrium-identity v0.1.8 [INFO] [stderr] Downloaded moka v0.12.14 [INFO] [stderr] Downloaded atrium-api v0.25.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bfc05d6b072585dfd0c792ec1b8728c08a3511fe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a4a3a1ff362920de93abdae1c202c9c2606be7a412e4a48b0d2d9edd87bf41c6 [INFO] running `Command { std: "docker" "start" "-a" "a4a3a1ff362920de93abdae1c202c9c2606be7a412e4a48b0d2d9edd87bf41c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a4a3a1ff362920de93abdae1c202c9c2606be7a412e4a48b0d2d9edd87bf41c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4a3a1ff362920de93abdae1c202c9c2606be7a412e4a48b0d2d9edd87bf41c6", kill_on_drop: false }` [INFO] [stdout] a4a3a1ff362920de93abdae1c202c9c2606be7a412e4a48b0d2d9edd87bf41c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bfc05d6b072585dfd0c792ec1b8728c08a3511fe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ddb997bcf2be092a46f49afb103ba09d5a1b77a96872fffffe6d86190533981 [INFO] running `Command { std: "docker" "start" "-a" "8ddb997bcf2be092a46f49afb103ba09d5a1b77a96872fffffe6d86190533981", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling portable-atomic v1.13.1 [INFO] [stderr] Checking critical-section v1.2.0 [INFO] [stderr] Compiling cc v1.2.57 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Checking base64ct v1.8.3 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling pin-project-lite v0.2.17 [INFO] [stderr] Checking getrandom v0.3.4 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Checking rand_core v0.9.5 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Checking ipnet v2.12.0 [INFO] [stderr] Compiling data-encoding v2.10.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Checking ff v0.13.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Checking const-str v0.4.3 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling itoa v1.0.17 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling concurrent-queue v2.5.0 [INFO] [stderr] Compiling webpki-roots v1.0.6 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Checking group v0.13.0 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling zerocopy v0.8.42 [INFO] [stderr] Checking core2 v0.4.0 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling openssl v0.10.76 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Checking async-lock v3.4.2 [INFO] [stderr] Checking tinyvec v1.11.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling chrono v0.4.44 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling openssl-sys v0.9.112 [INFO] [stderr] Compiling libsqlite3-sys v0.30.1 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling crossbeam-queue v0.3.12 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Checking serde_bytes v0.11.19 [INFO] [stderr] Compiling native-tls v0.2.18 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Checking serde_html_form v0.2.8 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Checking openssl-probe v0.2.1 [INFO] [stderr] Checking compression-core v0.4.31 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Compiling flume v0.11.1 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Checking compression-codecs v0.4.37 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling home v0.5.12 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling num-conv v0.2.0 [INFO] [stderr] Compiling time-core v0.1.8 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling time-macros v0.2.27 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking resolv-conf v0.7.6 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking deadpool-runtime v0.1.4 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Compiling futures-executor v0.3.32 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.6.1 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.17 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Compiling match-lookup v0.1.2 [INFO] [stderr] Checking data-encoding-macro v0.1.19 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking base256emoji v1.0.2 [INFO] [stderr] Checking multibase v0.9.2 [INFO] [stderr] Compiling trait-variant v0.1.2 [INFO] [stderr] Compiling enum-as-inner v0.6.1 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking yoke v0.8.1 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling serial_test_derive v3.4.0 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking zerovec v0.11.5 [INFO] [stderr] Checking zerotrie v0.2.3 [INFO] [stderr] Checking thiserror v2.0.18 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking tempfile v3.27.0 [INFO] [stderr] Compiling tokio-stream v0.1.18 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tinystr v0.8.2 [INFO] [stderr] Checking potential_utf v0.1.4 [INFO] [stderr] Checking icu_collections v2.1.1 [INFO] [stderr] Checking icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Checking icu_properties v2.1.2 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking multihash v0.19.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking atrium-xrpc v0.12.4 [INFO] [stderr] Checking langtag v0.3.4 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking jose-jwa v0.1.2 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking cid v0.11.1 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking icu_normalizer v2.1.1 [INFO] [stderr] Checking jose-b64 v0.1.2 [INFO] [stderr] Checking ipld-core v0.4.3 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking tracing-serde v0.2.0 [INFO] [stderr] Checking cbor4ii v0.2.14 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking dashmap v6.1.0 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking assert-json-diff v2.0.2 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking moka v0.12.14 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking serde_ipld_dagcbor v0.6.4 [INFO] [stderr] Checking serial_test v3.4.0 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking rfc6979 v0.4.0 [INFO] [stderr] Checking signature v2.2.0 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking tungstenite v0.28.0 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking sec1 v0.7.3 [INFO] [stderr] Compiling sqlx-core v0.8.6 [INFO] [stderr] Checking elliptic-curve v0.13.8 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking ecdsa v0.16.9 [INFO] [stderr] Checking primeorder v0.13.6 [INFO] [stderr] Checking k256 v0.13.4 [INFO] [stderr] Checking p256 v0.13.2 [INFO] [stderr] Checking jose-jwk v0.1.2 [INFO] [stderr] Checking tungstenite v0.26.2 [INFO] [stderr] Compiling sqlx-postgres v0.8.6 [INFO] [stderr] Compiling sqlx-sqlite v0.8.6 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking atrium-common v0.1.3 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking async-compression v0.4.41 [INFO] [stderr] Checking tokio-tungstenite v0.28.0 [INFO] [stderr] Checking tokio-rustls v0.26.4 [INFO] [stderr] Checking hickory-proto v0.25.2 [INFO] [stderr] Checking deadpool v0.12.3 [INFO] [stderr] Checking atrium-api v0.25.7 [INFO] [stderr] Checking tokio-tungstenite v0.26.2 [INFO] [stderr] Checking h2 v0.4.13 [INFO] [stderr] Checking tower-http v0.6.8 [INFO] [stderr] Checking hickory-resolver v0.25.2 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking hyper-util v0.1.20 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking axum v0.8.8 [INFO] [stderr] Checking wiremock v0.6.5 [INFO] [stderr] Checking reqwest v0.12.28 [INFO] [stderr] Checking axum-extra v0.10.3 [INFO] [stderr] Checking atrium-identity v0.1.8 [INFO] [stderr] Checking atrium-oauth v0.1.6 [INFO] [stderr] Checking debuff v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `SignedJar` [INFO] [stdout] --> tests/common/app.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use cookie::{CookieJar, Key, SignedJar}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SignedJar` [INFO] [stdout] --> tests/common/app.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use cookie::{CookieJar, Key, SignedJar}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SignedJar` [INFO] [stdout] --> tests/common/app.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use cookie::{CookieJar, Key, SignedJar}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SignedJar` [INFO] [stdout] --> tests/common/app.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use cookie::{CookieJar, Key, SignedJar}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SignedJar` [INFO] [stdout] --> tests/common/app.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use cookie::{CookieJar, Key, SignedJar}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SignedJar` [INFO] [stdout] --> tests/common/app.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use cookie::{CookieJar, Key, SignedJar}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SignedJar` [INFO] [stdout] --> tests/common/app.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use cookie::{CookieJar, Key, SignedJar}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SignedJar` [INFO] [stdout] --> tests/common/app.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use cookie::{CookieJar, Key, SignedJar}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SignedJar` [INFO] [stdout] --> tests/common/app.rs:6:30 [INFO] [stdout] | [INFO] [stdout] 6 | use cookie::{CookieJar, Key, SignedJar}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `axum_key` [INFO] [stdout] --> tests/common/app.rs:287:24 [INFO] [stdout] | [INFO] [stdout] 287 | fn build_signed_cookie(axum_key: &axum_extra::extract::cookie::Key, did: &str) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_axum_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `axum_key` [INFO] [stdout] --> tests/common/app.rs:287:24 [INFO] [stdout] | [INFO] [stdout] 287 | fn build_signed_cookie(axum_key: &axum_extra::extract::cookie::Key, did: &str) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_axum_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state`, `pool`, `mock_server`, and `admin_cookie` are never read [INFO] [stdout] --> tests/common/app.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct TestApp { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 35 | pub router: Router, [INFO] [stdout] 36 | pub state: AppState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 37 | pub pool: AnyPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | pub mock_server: MockServer, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 39 | pub admin_cookie: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> tests/common/app.rs:153:18 [INFO] [stdout] | [INFO] [stdout] 43 | impl TestApp { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 153 | pub async fn get_authed(&self, uri: &str) -> (StatusCode, Value) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub async fn post_authed(&self, uri: &str, body: &Value) -> (StatusCode, Value) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub async fn patch_authed(&self, uri: &str, body: &Value) -> (StatusCode, Value) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub async fn delete_authed(&self, uri: &str) -> (StatusCode, Value) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub async fn delete_authed_with_body(&self, uri: &str, body: &Value) -> (StatusCode, Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn cookie_for(&self, did: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub async fn seed_moderator(&self, did: &str, role: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub async fn seed_definition(&self, identifier: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub async fn seed_report(&self, uri: &str, did: &str, status: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestKeypair` is never constructed [INFO] [stdout] --> tests/common/auth.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TestKeypair { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `generate`, `public_key_multibase`, and `build_service_jwt` are never used [INFO] [stdout] --> tests/common/auth.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl TestKeypair { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 10 | /// Generate a random ES256 keypair. [INFO] [stdout] 11 | pub fn generate() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn public_key_multibase(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn build_service_jwt(&self, iss: &str, aud: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mock_did_document` is never used [INFO] [stdout] --> tests/common/auth.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | pub async fn mock_did_document( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `label_definition` is never used [INFO] [stdout] --> tests/common/fixtures.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn label_definition(identifier: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `label_definition_full` is never used [INFO] [stdout] --> tests/common/fixtures.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn label_definition_full( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_labels` is never used [INFO] [stdout] --> tests/common/fixtures.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn apply_labels(uri: &str, vals: &[&str]) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `negate_labels` is never used [INFO] [stdout] --> tests/common/fixtures.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn negate_labels(uri: &str, vals: &[&str]) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_report_repo` is never used [INFO] [stdout] --> tests/common/fixtures.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn create_report_repo(did: &str, reason_type: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_report_record` is never used [INFO] [stdout] --> tests/common/fixtures.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn create_report_record(uri: &str, cid: &str, reason_type: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `webhook_source` is never used [INFO] [stdout] --> tests/common/fixtures.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn webhook_source(name: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `account_action` is never used [INFO] [stdout] --> tests/common/fixtures.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn account_action(action: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ingest_payload` is never used [INFO] [stdout] --> tests/common/fixtures.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn ingest_payload(subject_uri: &str, subject_did: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ingest_payload_with_labels` is never used [INFO] [stdout] --> tests/common/fixtures.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn ingest_payload_with_labels(subject_uri: &str, subject_did: &str, labels: &[&str]) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `axum_key` [INFO] [stdout] --> tests/common/app.rs:287:24 [INFO] [stdout] | [INFO] [stdout] 287 | fn build_signed_cookie(axum_key: &axum_extra::extract::cookie::Key, did: &str) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_axum_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `axum_key` [INFO] [stdout] --> tests/common/app.rs:287:24 [INFO] [stdout] | [INFO] [stdout] 287 | fn build_signed_cookie(axum_key: &axum_extra::extract::cookie::Key, did: &str) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_axum_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `axum_key` [INFO] [stdout] --> tests/common/app.rs:287:24 [INFO] [stdout] | [INFO] [stdout] 287 | fn build_signed_cookie(axum_key: &axum_extra::extract::cookie::Key, did: &str) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_axum_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `axum_key` [INFO] [stdout] --> tests/common/app.rs:287:24 [INFO] [stdout] | [INFO] [stdout] 287 | fn build_signed_cookie(axum_key: &axum_extra::extract::cookie::Key, did: &str) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_axum_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `axum_key` [INFO] [stdout] --> tests/common/app.rs:287:24 [INFO] [stdout] | [INFO] [stdout] 287 | fn build_signed_cookie(axum_key: &axum_extra::extract::cookie::Key, did: &str) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_axum_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mock_server` is never read [INFO] [stdout] --> tests/common/app.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct TestApp { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | pub mock_server: MockServer, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `delete_authed_with_body`, and `seed_report` are never used [INFO] [stdout] --> tests/common/app.rs:144:18 [INFO] [stdout] | [INFO] [stdout] 43 | impl TestApp { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 144 | pub async fn get(&self, uri: &str) -> (StatusCode, Value) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub async fn delete_authed_with_body(&self, uri: &str, body: &Value) -> (StatusCode, Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub async fn seed_report(&self, uri: &str, did: &str, status: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestKeypair` is never constructed [INFO] [stdout] --> tests/common/auth.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TestKeypair { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `generate`, `public_key_multibase`, and `build_service_jwt` are never used [INFO] [stdout] --> tests/common/auth.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl TestKeypair { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 10 | /// Generate a random ES256 keypair. [INFO] [stdout] 11 | pub fn generate() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn public_key_multibase(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn build_service_jwt(&self, iss: &str, aud: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mock_did_document` is never used [INFO] [stdout] --> tests/common/auth.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | pub async fn mock_did_document( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `label_definition` is never used [INFO] [stdout] --> tests/common/fixtures.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn label_definition(identifier: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `label_definition_full` is never used [INFO] [stdout] --> tests/common/fixtures.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn label_definition_full( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_labels` is never used [INFO] [stdout] --> tests/common/fixtures.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn apply_labels(uri: &str, vals: &[&str]) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `negate_labels` is never used [INFO] [stdout] --> tests/common/fixtures.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn negate_labels(uri: &str, vals: &[&str]) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_report_repo` is never used [INFO] [stdout] --> tests/common/fixtures.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn create_report_repo(did: &str, reason_type: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_report_record` is never used [INFO] [stdout] --> tests/common/fixtures.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn create_report_record(uri: &str, cid: &str, reason_type: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `webhook_source` is never used [INFO] [stdout] --> tests/common/fixtures.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn webhook_source(name: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `account_action` is never used [INFO] [stdout] --> tests/common/fixtures.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn account_action(action: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ingest_payload` is never used [INFO] [stdout] --> tests/common/fixtures.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn ingest_payload(subject_uri: &str, subject_did: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ingest_payload_with_labels` is never used [INFO] [stdout] --> tests/common/fixtures.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn ingest_payload_with_labels(subject_uri: &str, subject_did: &str, labels: &[&str]) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `axum_key` [INFO] [stdout] --> tests/common/app.rs:287:24 [INFO] [stdout] | [INFO] [stdout] 287 | fn build_signed_cookie(axum_key: &axum_extra::extract::cookie::Key, did: &str) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_axum_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `axum_key` [INFO] [stdout] --> tests/common/app.rs:287:24 [INFO] [stdout] | [INFO] [stdout] 287 | fn build_signed_cookie(axum_key: &axum_extra::extract::cookie::Key, did: &str) -> String { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_axum_key` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state` and `mock_server` are never read [INFO] [stdout] --> tests/common/app.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct TestApp { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 35 | pub router: Router, [INFO] [stdout] 36 | pub state: AppState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 37 | pub pool: AnyPool, [INFO] [stdout] 38 | pub mock_server: MockServer, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `patch_authed`, `delete_authed`, `cookie_for`, `seed_moderator`, and `seed_report` are never used [INFO] [stdout] --> tests/common/app.rs:174:18 [INFO] [stdout] | [INFO] [stdout] 43 | impl TestApp { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | pub async fn patch_authed(&self, uri: &str, body: &Value) -> (StatusCode, Value) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub async fn delete_authed(&self, uri: &str) -> (StatusCode, Value) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn cookie_for(&self, did: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub async fn seed_moderator(&self, did: &str, role: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub async fn seed_report(&self, uri: &str, did: &str, status: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestKeypair` is never constructed [INFO] [stdout] --> tests/common/auth.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TestKeypair { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `generate`, `public_key_multibase`, and `build_service_jwt` are never used [INFO] [stdout] --> tests/common/auth.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl TestKeypair { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 10 | /// Generate a random ES256 keypair. [INFO] [stdout] 11 | pub fn generate() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn public_key_multibase(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn build_service_jwt(&self, iss: &str, aud: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mock_did_document` is never used [INFO] [stdout] --> tests/common/auth.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | pub async fn mock_did_document( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `label_definition` is never used [INFO] [stdout] --> tests/common/fixtures.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn label_definition(identifier: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `label_definition_full` is never used [INFO] [stdout] --> tests/common/fixtures.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn label_definition_full( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_report_repo` is never used [INFO] [stdout] --> tests/common/fixtures.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn create_report_repo(did: &str, reason_type: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_report_record` is never used [INFO] [stdout] --> tests/common/fixtures.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn create_report_record(uri: &str, cid: &str, reason_type: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `webhook_source` is never used [INFO] [stdout] --> tests/common/fixtures.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn webhook_source(name: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `account_action` is never used [INFO] [stdout] --> tests/common/fixtures.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn account_action(action: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ingest_payload` is never used [INFO] [stdout] --> tests/common/fixtures.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn ingest_payload(subject_uri: &str, subject_did: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ingest_payload_with_labels` is never used [INFO] [stdout] --> tests/common/fixtures.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn ingest_payload_with_labels(subject_uri: &str, subject_did: &str, labels: &[&str]) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state`, `pool`, and `mock_server` are never read [INFO] [stdout] --> tests/common/app.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct TestApp { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 35 | pub router: Router, [INFO] [stdout] 36 | pub state: AppState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 37 | pub pool: AnyPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | pub mock_server: MockServer, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> tests/common/app.rs:144:18 [INFO] [stdout] | [INFO] [stdout] 43 | impl TestApp { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 144 | pub async fn get(&self, uri: &str) -> (StatusCode, Value) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub async fn patch_authed(&self, uri: &str, body: &Value) -> (StatusCode, Value) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub async fn delete_authed(&self, uri: &str) -> (StatusCode, Value) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub async fn delete_authed_with_body(&self, uri: &str, body: &Value) -> (StatusCode, Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn cookie_for(&self, did: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub async fn seed_moderator(&self, did: &str, role: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub async fn seed_definition(&self, identifier: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub async fn seed_report(&self, uri: &str, did: &str, status: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestKeypair` is never constructed [INFO] [stdout] --> tests/common/auth.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TestKeypair { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `generate`, `public_key_multibase`, and `build_service_jwt` are never used [INFO] [stdout] --> tests/common/auth.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl TestKeypair { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 10 | /// Generate a random ES256 keypair. [INFO] [stdout] 11 | pub fn generate() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn public_key_multibase(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn build_service_jwt(&self, iss: &str, aud: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mock_did_document` is never used [INFO] [stdout] --> tests/common/auth.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | pub async fn mock_did_document( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `label_definition` is never used [INFO] [stdout] --> tests/common/fixtures.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn label_definition(identifier: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `label_definition_full` is never used [INFO] [stdout] --> tests/common/fixtures.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn label_definition_full( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_labels` is never used [INFO] [stdout] --> tests/common/fixtures.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn apply_labels(uri: &str, vals: &[&str]) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `negate_labels` is never used [INFO] [stdout] --> tests/common/fixtures.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn negate_labels(uri: &str, vals: &[&str]) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_report_repo` is never used [INFO] [stdout] --> tests/common/fixtures.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn create_report_repo(did: &str, reason_type: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_report_record` is never used [INFO] [stdout] --> tests/common/fixtures.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn create_report_record(uri: &str, cid: &str, reason_type: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `webhook_source` is never used [INFO] [stdout] --> tests/common/fixtures.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn webhook_source(name: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `account_action` is never used [INFO] [stdout] --> tests/common/fixtures.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn account_action(action: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ingest_payload` is never used [INFO] [stdout] --> tests/common/fixtures.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn ingest_payload(subject_uri: &str, subject_did: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ingest_payload_with_labels` is never used [INFO] [stdout] --> tests/common/fixtures.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn ingest_payload_with_labels(subject_uri: &str, subject_did: &str, labels: &[&str]) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mock_server` is never read [INFO] [stdout] --> tests/common/app.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct TestApp { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | pub mock_server: MockServer, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_authed`, `patch_authed`, `delete_authed`, `delete_authed_with_body`, `seed_definition`, and `seed_report` are never used [INFO] [stdout] --> tests/common/app.rs:153:18 [INFO] [stdout] | [INFO] [stdout] 43 | impl TestApp { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 153 | pub async fn get_authed(&self, uri: &str) -> (StatusCode, Value) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub async fn patch_authed(&self, uri: &str, body: &Value) -> (StatusCode, Value) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub async fn delete_authed(&self, uri: &str) -> (StatusCode, Value) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub async fn delete_authed_with_body(&self, uri: &str, body: &Value) -> (StatusCode, Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub async fn seed_definition(&self, identifier: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub async fn seed_report(&self, uri: &str, did: &str, status: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestKeypair` is never constructed [INFO] [stdout] --> tests/common/auth.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TestKeypair { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `generate`, `public_key_multibase`, and `build_service_jwt` are never used [INFO] [stdout] --> tests/common/auth.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl TestKeypair { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 10 | /// Generate a random ES256 keypair. [INFO] [stdout] 11 | pub fn generate() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn public_key_multibase(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn build_service_jwt(&self, iss: &str, aud: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mock_did_document` is never used [INFO] [stdout] --> tests/common/auth.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | pub async fn mock_did_document( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `label_definition` is never used [INFO] [stdout] --> tests/common/fixtures.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn label_definition(identifier: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `label_definition_full` is never used [INFO] [stdout] --> tests/common/fixtures.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn label_definition_full( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_labels` is never used [INFO] [stdout] --> tests/common/fixtures.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn apply_labels(uri: &str, vals: &[&str]) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `negate_labels` is never used [INFO] [stdout] --> tests/common/fixtures.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn negate_labels(uri: &str, vals: &[&str]) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_report_repo` is never used [INFO] [stdout] --> tests/common/fixtures.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn create_report_repo(did: &str, reason_type: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_report_record` is never used [INFO] [stdout] --> tests/common/fixtures.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn create_report_record(uri: &str, cid: &str, reason_type: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `webhook_source` is never used [INFO] [stdout] --> tests/common/fixtures.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn webhook_source(name: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `account_action` is never used [INFO] [stdout] --> tests/common/fixtures.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn account_action(action: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ingest_payload` is never used [INFO] [stdout] --> tests/common/fixtures.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn ingest_payload(subject_uri: &str, subject_did: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ingest_payload_with_labels` is never used [INFO] [stdout] --> tests/common/fixtures.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn ingest_payload_with_labels(subject_uri: &str, subject_did: &str, labels: &[&str]) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mock_server` is never read [INFO] [stdout] --> tests/common/app.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct TestApp { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 38 | pub mock_server: MockServer, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `patch_authed`, `delete_authed_with_body`, `seed_definition`, and `seed_report` are never used [INFO] [stdout] --> tests/common/app.rs:174:18 [INFO] [stdout] | [INFO] [stdout] 43 | impl TestApp { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | pub async fn patch_authed(&self, uri: &str, body: &Value) -> (StatusCode, Value) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub async fn delete_authed_with_body(&self, uri: &str, body: &Value) -> (StatusCode, Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub async fn seed_definition(&self, identifier: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub async fn seed_report(&self, uri: &str, did: &str, status: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestKeypair` is never constructed [INFO] [stdout] --> tests/common/auth.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TestKeypair { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `generate`, `public_key_multibase`, and `build_service_jwt` are never used [INFO] [stdout] --> tests/common/auth.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl TestKeypair { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 10 | /// Generate a random ES256 keypair. [INFO] [stdout] 11 | pub fn generate() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn public_key_multibase(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn build_service_jwt(&self, iss: &str, aud: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mock_did_document` is never used [INFO] [stdout] --> tests/common/auth.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | pub async fn mock_did_document( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `label_definition` is never used [INFO] [stdout] --> tests/common/fixtures.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn label_definition(identifier: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `label_definition_full` is never used [INFO] [stdout] --> tests/common/fixtures.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn label_definition_full( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_labels` is never used [INFO] [stdout] --> tests/common/fixtures.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn apply_labels(uri: &str, vals: &[&str]) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `negate_labels` is never used [INFO] [stdout] --> tests/common/fixtures.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn negate_labels(uri: &str, vals: &[&str]) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_report_repo` is never used [INFO] [stdout] --> tests/common/fixtures.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn create_report_repo(did: &str, reason_type: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_report_record` is never used [INFO] [stdout] --> tests/common/fixtures.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn create_report_record(uri: &str, cid: &str, reason_type: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `webhook_source` is never used [INFO] [stdout] --> tests/common/fixtures.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn webhook_source(name: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `account_action` is never used [INFO] [stdout] --> tests/common/fixtures.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn account_action(action: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ingest_payload` is never used [INFO] [stdout] --> tests/common/fixtures.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn ingest_payload(subject_uri: &str, subject_did: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ingest_payload_with_labels` is never used [INFO] [stdout] --> tests/common/fixtures.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn ingest_payload_with_labels(subject_uri: &str, subject_did: &str, labels: &[&str]) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state`, `pool`, and `mock_server` are never read [INFO] [stdout] --> tests/common/app.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct TestApp { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 35 | pub router: Router, [INFO] [stdout] 36 | pub state: AppState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 37 | pub pool: AnyPool, [INFO] [stdout] | ^^^^ [INFO] [stdout] 38 | pub mock_server: MockServer, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `delete_authed_with_body`, `cookie_for`, `seed_moderator`, `seed_definition`, and `seed_report` are never used [INFO] [stdout] --> tests/common/app.rs:195:18 [INFO] [stdout] | [INFO] [stdout] 43 | impl TestApp { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 195 | pub async fn delete_authed_with_body(&self, uri: &str, body: &Value) -> (StatusCode, Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn cookie_for(&self, did: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub async fn seed_moderator(&self, did: &str, role: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub async fn seed_definition(&self, identifier: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub async fn seed_report(&self, uri: &str, did: &str, status: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestKeypair` is never constructed [INFO] [stdout] --> tests/common/auth.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TestKeypair { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `generate`, `public_key_multibase`, and `build_service_jwt` are never used [INFO] [stdout] --> tests/common/auth.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl TestKeypair { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 10 | /// Generate a random ES256 keypair. [INFO] [stdout] 11 | pub fn generate() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn public_key_multibase(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn build_service_jwt(&self, iss: &str, aud: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mock_did_document` is never used [INFO] [stdout] --> tests/common/auth.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | pub async fn mock_did_document( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `label_definition_full` is never used [INFO] [stdout] --> tests/common/fixtures.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn label_definition_full( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_labels` is never used [INFO] [stdout] --> tests/common/fixtures.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn apply_labels(uri: &str, vals: &[&str]) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `negate_labels` is never used [INFO] [stdout] --> tests/common/fixtures.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn negate_labels(uri: &str, vals: &[&str]) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_report_repo` is never used [INFO] [stdout] --> tests/common/fixtures.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn create_report_repo(did: &str, reason_type: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_report_record` is never used [INFO] [stdout] --> tests/common/fixtures.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn create_report_record(uri: &str, cid: &str, reason_type: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `webhook_source` is never used [INFO] [stdout] --> tests/common/fixtures.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn webhook_source(name: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `account_action` is never used [INFO] [stdout] --> tests/common/fixtures.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn account_action(action: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ingest_payload` is never used [INFO] [stdout] --> tests/common/fixtures.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn ingest_payload(subject_uri: &str, subject_did: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ingest_payload_with_labels` is never used [INFO] [stdout] --> tests/common/fixtures.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn ingest_payload_with_labels(subject_uri: &str, subject_did: &str, labels: &[&str]) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> tests/common/app.rs:144:18 [INFO] [stdout] | [INFO] [stdout] 43 | impl TestApp { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 144 | pub async fn get(&self, uri: &str) -> (StatusCode, Value) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub async fn get_authed(&self, uri: &str) -> (StatusCode, Value) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub async fn patch_authed(&self, uri: &str, body: &Value) -> (StatusCode, Value) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub async fn delete_authed(&self, uri: &str) -> (StatusCode, Value) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub async fn delete_authed_with_body(&self, uri: &str, body: &Value) -> (StatusCode, Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn cookie_for(&self, did: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub async fn seed_moderator(&self, did: &str, role: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub async fn seed_report(&self, uri: &str, did: &str, status: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `label_definition` is never used [INFO] [stdout] --> tests/common/fixtures.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn label_definition(identifier: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `label_definition_full` is never used [INFO] [stdout] --> tests/common/fixtures.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn label_definition_full( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `negate_labels` is never used [INFO] [stdout] --> tests/common/fixtures.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn negate_labels(uri: &str, vals: &[&str]) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `webhook_source` is never used [INFO] [stdout] --> tests/common/fixtures.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn webhook_source(name: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `account_action` is never used [INFO] [stdout] --> tests/common/fixtures.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn account_action(action: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ingest_payload` is never used [INFO] [stdout] --> tests/common/fixtures.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn ingest_payload(subject_uri: &str, subject_did: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ingest_payload_with_labels` is never used [INFO] [stdout] --> tests/common/fixtures.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn ingest_payload_with_labels(subject_uri: &str, subject_did: &str, labels: &[&str]) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state` and `mock_server` are never read [INFO] [stdout] --> tests/common/app.rs:36:9 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct TestApp { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 35 | pub router: Router, [INFO] [stdout] 36 | pub state: AppState, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 37 | pub pool: AnyPool, [INFO] [stdout] 38 | pub mock_server: MockServer, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `delete_authed`, `delete_authed_with_body`, `cookie_for`, `seed_moderator`, and `seed_definition` are never used [INFO] [stdout] --> tests/common/app.rs:185:18 [INFO] [stdout] | [INFO] [stdout] 43 | impl TestApp { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 185 | pub async fn delete_authed(&self, uri: &str) -> (StatusCode, Value) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 195 | pub async fn delete_authed_with_body(&self, uri: &str, body: &Value) -> (StatusCode, Value) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn cookie_for(&self, did: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | pub async fn seed_moderator(&self, did: &str, role: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | pub async fn seed_definition(&self, identifier: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TestKeypair` is never constructed [INFO] [stdout] --> tests/common/auth.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct TestKeypair { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `generate`, `public_key_multibase`, and `build_service_jwt` are never used [INFO] [stdout] --> tests/common/auth.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl TestKeypair { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 10 | /// Generate a random ES256 keypair. [INFO] [stdout] 11 | pub fn generate() -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn public_key_multibase(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn build_service_jwt(&self, iss: &str, aud: &str) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mock_did_document` is never used [INFO] [stdout] --> tests/common/auth.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | pub async fn mock_did_document( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `label_definition` is never used [INFO] [stdout] --> tests/common/fixtures.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn label_definition(identifier: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `label_definition_full` is never used [INFO] [stdout] --> tests/common/fixtures.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn label_definition_full( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `apply_labels` is never used [INFO] [stdout] --> tests/common/fixtures.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn apply_labels(uri: &str, vals: &[&str]) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `negate_labels` is never used [INFO] [stdout] --> tests/common/fixtures.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn negate_labels(uri: &str, vals: &[&str]) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_report_repo` is never used [INFO] [stdout] --> tests/common/fixtures.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn create_report_repo(did: &str, reason_type: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_report_record` is never used [INFO] [stdout] --> tests/common/fixtures.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn create_report_record(uri: &str, cid: &str, reason_type: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `webhook_source` is never used [INFO] [stdout] --> tests/common/fixtures.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn webhook_source(name: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `account_action` is never used [INFO] [stdout] --> tests/common/fixtures.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn account_action(action: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ingest_payload` is never used [INFO] [stdout] --> tests/common/fixtures.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub fn ingest_payload(subject_uri: &str, subject_did: &str) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ingest_payload_with_labels` is never used [INFO] [stdout] --> tests/common/fixtures.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn ingest_payload_with_labels(subject_uri: &str, subject_did: &str, labels: &[&str]) -> Value { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 08s [INFO] running `Command { std: "docker" "inspect" "8ddb997bcf2be092a46f49afb103ba09d5a1b77a96872fffffe6d86190533981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ddb997bcf2be092a46f49afb103ba09d5a1b77a96872fffffe6d86190533981", kill_on_drop: false }` [INFO] [stdout] 8ddb997bcf2be092a46f49afb103ba09d5a1b77a96872fffffe6d86190533981