[INFO] cloning repository https://github.com/mjovanc/shared-signals [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mjovanc/shared-signals" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmjovanc%2Fshared-signals", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmjovanc%2Fshared-signals'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 86772ea63999a216de86e58079e47a22cdec8b9e [INFO] testing mjovanc/shared-signals against master#ec6f9a5b4413f74386267ef8efc93712c2ce6db6 for pr-155739-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmjovanc%2Fshared-signals" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-0-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/mjovanc/shared-signals [INFO] finished tweaking git repo https://github.com/mjovanc/shared-signals [INFO] tweaked toml for git repo https://github.com/mjovanc/shared-signals written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mjovanc/shared-signals on toolchain ec6f9a5b4413f74386267ef8efc93712c2ce6db6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mjovanc/shared-signals 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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded webpki-root-certs v1.0.6 [INFO] [stderr] Downloaded zerocopy-derive v0.8.41 [INFO] [stderr] Downloaded reqwest v0.13.2 [INFO] [stderr] Downloaded aws-lc-rs v1.16.1 [INFO] [stderr] Downloaded zerocopy v0.8.41 [INFO] [stderr] Downloaded aws-lc-sys v0.38.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 74a8c719c0330660d8bd2cf36a83dacb0dea60706dc538030b3489519824e1fd [INFO] running `Command { std: "docker" "start" "-a" "74a8c719c0330660d8bd2cf36a83dacb0dea60706dc538030b3489519824e1fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "74a8c719c0330660d8bd2cf36a83dacb0dea60706dc538030b3489519824e1fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "74a8c719c0330660d8bd2cf36a83dacb0dea60706dc538030b3489519824e1fd", kill_on_drop: false }` [INFO] [stdout] 74a8c719c0330660d8bd2cf36a83dacb0dea60706dc538030b3489519824e1fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e9f21aa92550112caab10c3ed2e7f17d7e0bbb63f788856448e24ca24c3a2ba [INFO] running `Command { std: "docker" "start" "-a" "7e9f21aa92550112caab10c3ed2e7f17d7e0bbb63f788856448e24ca24c3a2ba", kill_on_drop: false }` [INFO] [stderr] Compiling bytes v1.11.1 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling futures-core v0.3.32 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling aws-lc-rs v1.16.1 [INFO] [stderr] Compiling writeable v0.6.2 [INFO] [stderr] Compiling litemap v0.8.1 [INFO] [stderr] Compiling icu_properties_data v2.1.2 [INFO] [stderr] Compiling icu_normalizer_data v2.1.1 [INFO] [stderr] Compiling futures-sink v0.3.32 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling socket2 v0.6.3 [INFO] [stderr] Compiling futures-task v0.3.32 [INFO] [stderr] Compiling rustls v0.23.37 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling rustls-pki-types v1.14.0 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling futures-channel v0.3.32 [INFO] [stderr] Compiling futures-util v0.3.32 [INFO] [stderr] Compiling sync_wrapper v1.0.2 [INFO] [stderr] Compiling openssl-probe v0.2.1 [INFO] [stderr] Compiling ipnet v2.12.0 [INFO] [stderr] Compiling cc v1.2.56 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling bitflags v2.11.0 [INFO] [stderr] Compiling iri-string v0.7.10 [INFO] [stderr] Compiling memchr v2.8.0 [INFO] [stderr] Compiling http v1.4.0 [INFO] [stderr] Compiling tokio v1.50.0 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling rustls-native-certs v0.8.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling http-body-util v0.1.3 [INFO] [stderr] Compiling cmake v0.1.57 [INFO] [stderr] Compiling aws-lc-sys v0.38.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling tower v0.5.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling tower-http v0.6.8 [INFO] [stderr] Compiling h2 v0.4.13 [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 serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling hyper v1.8.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.2 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling hyper-util v0.1.20 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling url v2.5.8 [INFO] [stderr] Compiling rustls-webpki v0.103.9 [INFO] [stderr] Compiling tokio-rustls v0.26.4 [INFO] [stderr] Compiling rustls-platform-verifier v0.6.2 [INFO] [stderr] Compiling hyper-rustls v0.27.7 [INFO] [stderr] Compiling reqwest v0.13.2 [INFO] [stderr] Compiling sigshare v0.1.0-alpha.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn discover(&self, issuer: &str) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:60:55 [INFO] [stdout] | [INFO] [stdout] 60 | pub async fn invalidate_transmitter_config(&self, issuer: &str) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method_urn` [INFO] [stdout] --> src/client.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | method_urn: &str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_method_urn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:74:42 [INFO] [stdout] | [INFO] [stdout] 74 | pub async fn supported_events(&self, issuer: &str) -> Result>, Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/client.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | config: &StreamConfiguration, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream_id` [INFO] [stdout] --> src/client.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | stream_id: &str, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/client.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | config: &StreamConfiguration, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/client.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | config: &StreamConfiguration, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream_id` [INFO] [stdout] --> src/client.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | stream_id: &str, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream_id` [INFO] [stdout] --> src/client.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | stream_id: &str, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream_id` [INFO] [stdout] --> src/client.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | stream_id: &str, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update` [INFO] [stdout] --> src/client.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | update: &StreamStatusUpdate, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/client.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | request: &AddSubjectRequest, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/client.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | request: &RemoveSubjectRequest, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/client.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | request: &VerificationRequest, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `endpoint_url` [INFO] [stdout] --> src/client.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | endpoint_url: &str, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endpoint_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/client.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | request: &PollRequest, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/client.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | body: &[u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_issuer` [INFO] [stdout] --> src/client.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | expected_issuer: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_audience` [INFO] [stdout] --> src/client.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | expected_audience: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_audience` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:222:28 [INFO] [stdout] | [INFO] [stdout] 222 | fn validate_issuer_url(issuer: &str) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:226:28 [INFO] [stdout] | [INFO] [stdout] 226 | fn build_discovery_url(issuer: &str) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> src/client.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | expected: &str, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/client.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | config: &TransmitterConfiguration, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entries` and `ttl` are never read [INFO] [stdout] --> src/cache.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct TtlCache { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 21 | entries: Arc>>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | ttl: Duration, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `inserted_at` are never read [INFO] [stdout] --> src/cache.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct CacheEntry { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 27 | value: V, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | inserted_at: Instant, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `insert`, and `invalidate` are never used [INFO] [stdout] --> src/cache.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 31 | impl TtlCache { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub async fn get(&self, key: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub async fn insert(&self, key: String, value: V) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub async fn invalidate(&self, key: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SSF_WELL_KNOWN_PATH` is never used [INFO] [stdout] --> src/client.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const SSF_WELL_KNOWN_PATH: &str = "/.well-known/ssf-configuration"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `http` and `cache` are never read [INFO] [stdout] --> src/client.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct SsfClient { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 27 | http: C, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | cache: TtlCache, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/client.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl SsfClient { [INFO] [stdout] | -------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 222 | fn validate_issuer_url(issuer: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | fn build_discovery_url(issuer: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | fn validate_issuer_match( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | async fn resolve_endpoint( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | fn url_with_params(base: &str, params: &[(&str, &str)]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | async fn authenticated_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | async fn unauthenticated_get(&self, url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | async fn get_json( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | async fn post_json( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 328 | async fn patch_json( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | async fn put_json( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 352 | async fn post_empty( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | async fn delete_empty(&self, url: &str, token: &str) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "7e9f21aa92550112caab10c3ed2e7f17d7e0bbb63f788856448e24ca24c3a2ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e9f21aa92550112caab10c3ed2e7f17d7e0bbb63f788856448e24ca24c3a2ba", kill_on_drop: false }` [INFO] [stdout] 7e9f21aa92550112caab10c3ed2e7f17d7e0bbb63f788856448e24ca24c3a2ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35d83987917e41b20da90399f1c346419456b9b427ece3de782c18a5d522835a [INFO] running `Command { std: "docker" "start" "-a" "35d83987917e41b20da90399f1c346419456b9b427ece3de782c18a5d522835a", kill_on_drop: false }` [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn discover(&self, issuer: &str) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:60:55 [INFO] [stdout] | [INFO] [stdout] 60 | pub async fn invalidate_transmitter_config(&self, issuer: &str) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method_urn` [INFO] [stdout] --> src/client.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | method_urn: &str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_method_urn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:74:42 [INFO] [stdout] | [INFO] [stdout] 74 | pub async fn supported_events(&self, issuer: &str) -> Result>, Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/client.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | config: &StreamConfiguration, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream_id` [INFO] [stdout] --> src/client.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | stream_id: &str, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/client.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | config: &StreamConfiguration, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/client.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | config: &StreamConfiguration, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream_id` [INFO] [stdout] --> src/client.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | stream_id: &str, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream_id` [INFO] [stdout] --> src/client.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | stream_id: &str, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream_id` [INFO] [stdout] --> src/client.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | stream_id: &str, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update` [INFO] [stdout] --> src/client.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | update: &StreamStatusUpdate, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/client.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | request: &AddSubjectRequest, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling sigshare v0.1.0-alpha.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/client.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | request: &RemoveSubjectRequest, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/client.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | request: &VerificationRequest, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `endpoint_url` [INFO] [stdout] --> src/client.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | endpoint_url: &str, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endpoint_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/client.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | request: &PollRequest, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/client.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | body: &[u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_issuer` [INFO] [stdout] --> src/client.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | expected_issuer: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_audience` [INFO] [stdout] --> src/client.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | expected_audience: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_audience` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:222:28 [INFO] [stdout] | [INFO] [stdout] 222 | fn validate_issuer_url(issuer: &str) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:226:28 [INFO] [stdout] | [INFO] [stdout] 226 | fn build_discovery_url(issuer: &str) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> src/client.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | expected: &str, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/client.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | config: &TransmitterConfiguration, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entries` and `ttl` are never read [INFO] [stdout] --> src/cache.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct TtlCache { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 21 | entries: Arc>>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | ttl: Duration, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `inserted_at` are never read [INFO] [stdout] --> src/cache.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct CacheEntry { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 27 | value: V, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | inserted_at: Instant, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `insert`, and `invalidate` are never used [INFO] [stdout] --> src/cache.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 31 | impl TtlCache { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub async fn get(&self, key: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub async fn insert(&self, key: String, value: V) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub async fn invalidate(&self, key: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SSF_WELL_KNOWN_PATH` is never used [INFO] [stdout] --> src/client.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const SSF_WELL_KNOWN_PATH: &str = "/.well-known/ssf-configuration"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `http` and `cache` are never read [INFO] [stdout] --> src/client.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct SsfClient { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 27 | http: C, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | cache: TtlCache, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/client.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl SsfClient { [INFO] [stdout] | -------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 222 | fn validate_issuer_url(issuer: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | fn build_discovery_url(issuer: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | fn validate_issuer_match( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | async fn resolve_endpoint( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | fn url_with_params(base: &str, params: &[(&str, &str)]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | async fn authenticated_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | async fn unauthenticated_get(&self, url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | async fn get_json( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | async fn post_json( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 328 | async fn patch_json( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | async fn put_json( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 352 | async fn post_empty( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | async fn delete_empty(&self, url: &str, token: &str) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 45 | pub async fn discover(&self, issuer: &str) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:60:55 [INFO] [stdout] | [INFO] [stdout] 60 | pub async fn invalidate_transmitter_config(&self, issuer: &str) -> bool { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `method_urn` [INFO] [stdout] --> src/client.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | method_urn: &str, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_method_urn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:74:42 [INFO] [stdout] | [INFO] [stdout] 74 | pub async fn supported_events(&self, issuer: &str) -> Result>, Error> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:86:9 [INFO] [stdout] | [INFO] [stdout] 86 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/client.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 87 | config: &StreamConfiguration, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:96:9 [INFO] [stdout] | [INFO] [stdout] 96 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream_id` [INFO] [stdout] --> src/client.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | stream_id: &str, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/client.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | config: &StreamConfiguration, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/client.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | config: &StreamConfiguration, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream_id` [INFO] [stdout] --> src/client.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | stream_id: &str, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:151:9 [INFO] [stdout] | [INFO] [stdout] 151 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream_id` [INFO] [stdout] --> src/client.rs:152:9 [INFO] [stdout] | [INFO] [stdout] 152 | stream_id: &str, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream_id` [INFO] [stdout] --> src/client.rs:162:9 [INFO] [stdout] | [INFO] [stdout] 162 | stream_id: &str, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `update` [INFO] [stdout] --> src/client.rs:163:9 [INFO] [stdout] | [INFO] [stdout] 163 | update: &StreamStatusUpdate, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:172:9 [INFO] [stdout] | [INFO] [stdout] 172 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/client.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | request: &AddSubjectRequest, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/client.rs:183:9 [INFO] [stdout] | [INFO] [stdout] 183 | request: &RemoveSubjectRequest, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | issuer: &str, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/client.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | request: &VerificationRequest, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `endpoint_url` [INFO] [stdout] --> src/client.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | endpoint_url: &str, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endpoint_url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `token` [INFO] [stdout] --> src/client.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | token: &str, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `request` [INFO] [stdout] --> src/client.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | request: &PollRequest, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `body` [INFO] [stdout] --> src/client.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | body: &[u8], [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_issuer` [INFO] [stdout] --> src/client.rs:215:9 [INFO] [stdout] | [INFO] [stdout] 215 | expected_issuer: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected_audience` [INFO] [stdout] --> src/client.rs:216:9 [INFO] [stdout] | [INFO] [stdout] 216 | expected_audience: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_audience` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:222:28 [INFO] [stdout] | [INFO] [stdout] 222 | fn validate_issuer_url(issuer: &str) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `issuer` [INFO] [stdout] --> src/client.rs:226:28 [INFO] [stdout] | [INFO] [stdout] 226 | fn build_discovery_url(issuer: &str) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `expected` [INFO] [stdout] --> src/client.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | expected: &str, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/client.rs:232:9 [INFO] [stdout] | [INFO] [stdout] 232 | config: &TransmitterConfiguration, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `entries` and `ttl` are never read [INFO] [stdout] --> src/cache.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) struct TtlCache { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 21 | entries: Arc>>>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 22 | ttl: Duration, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `value` and `inserted_at` are never read [INFO] [stdout] --> src/cache.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | struct CacheEntry { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 27 | value: V, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | inserted_at: Instant, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `insert`, and `invalidate` are never used [INFO] [stdout] --> src/cache.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 31 | impl TtlCache { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub async fn get(&self, key: &str) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub async fn insert(&self, key: String, value: V) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub async fn invalidate(&self, key: &str) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SSF_WELL_KNOWN_PATH` is never used [INFO] [stdout] --> src/client.rs:20:7 [INFO] [stdout] | [INFO] [stdout] 20 | const SSF_WELL_KNOWN_PATH: &str = "/.well-known/ssf-configuration"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `http` and `cache` are never read [INFO] [stdout] --> src/client.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct SsfClient { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 27 | http: C, [INFO] [stdout] | ^^^^ [INFO] [stdout] 28 | cache: TtlCache, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/client.rs:222:8 [INFO] [stdout] | [INFO] [stdout] 31 | impl SsfClient { [INFO] [stdout] | -------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 222 | fn validate_issuer_url(issuer: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | fn build_discovery_url(issuer: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | fn validate_issuer_match( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | async fn resolve_endpoint( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | fn url_with_params(base: &str, params: &[(&str, &str)]) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | async fn authenticated_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 292 | async fn unauthenticated_get(&self, url: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 306 | async fn get_json( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 316 | async fn post_json( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 328 | async fn patch_json( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | async fn put_json( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 352 | async fn post_empty( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | async fn delete_empty(&self, url: &str, token: &str) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.18s [INFO] running `Command { std: "docker" "inspect" "35d83987917e41b20da90399f1c346419456b9b427ece3de782c18a5d522835a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35d83987917e41b20da90399f1c346419456b9b427ece3de782c18a5d522835a", kill_on_drop: false }` [INFO] [stdout] 35d83987917e41b20da90399f1c346419456b9b427ece3de782c18a5d522835a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+ec6f9a5b4413f74386267ef8efc93712c2ce6db6" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f0cc6aee616b44b2f17265899ea38782e51aac32ecbf8a713488689d08c357ca [INFO] running `Command { std: "docker" "start" "-a" "f0cc6aee616b44b2f17265899ea38782e51aac32ecbf8a713488689d08c357ca", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `issuer` [INFO] [stderr] --> src/client.rs:45:34 [INFO] [stderr] | [INFO] [stderr] 45 | pub async fn discover(&self, issuer: &str) -> Result { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `issuer` [INFO] [stderr] --> src/client.rs:52:9 [INFO] [stderr] | [INFO] [stderr] 52 | issuer: &str, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `issuer` [INFO] [stderr] --> src/client.rs:60:55 [INFO] [stderr] | [INFO] [stderr] 60 | pub async fn invalidate_transmitter_config(&self, issuer: &str) -> bool { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `issuer` [INFO] [stderr] --> src/client.rs:67:9 [INFO] [stderr] | [INFO] [stderr] 67 | issuer: &str, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `method_urn` [INFO] [stderr] --> src/client.rs:68:9 [INFO] [stderr] | [INFO] [stderr] 68 | method_urn: &str, [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_method_urn` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `issuer` [INFO] [stderr] --> src/client.rs:74:42 [INFO] [stderr] | [INFO] [stderr] 74 | pub async fn supported_events(&self, issuer: &str) -> Result>, Error> { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `issuer` [INFO] [stderr] --> src/client.rs:85:9 [INFO] [stderr] | [INFO] [stderr] 85 | issuer: &str, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/client.rs:86:9 [INFO] [stderr] | [INFO] [stderr] 86 | token: &str, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/client.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 87 | config: &StreamConfiguration, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `issuer` [INFO] [stderr] --> src/client.rs:95:9 [INFO] [stderr] | [INFO] [stderr] 95 | issuer: &str, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/client.rs:96:9 [INFO] [stderr] | [INFO] [stderr] 96 | token: &str, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stream_id` [INFO] [stderr] --> src/client.rs:97:9 [INFO] [stderr] | [INFO] [stderr] 97 | stream_id: &str, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `issuer` [INFO] [stderr] --> src/client.rs:108:9 [INFO] [stderr] | [INFO] [stderr] 108 | issuer: &str, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/client.rs:109:9 [INFO] [stderr] | [INFO] [stderr] 109 | token: &str, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/client.rs:110:9 [INFO] [stderr] | [INFO] [stderr] 110 | config: &StreamConfiguration, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `issuer` [INFO] [stderr] --> src/client.rs:121:9 [INFO] [stderr] | [INFO] [stderr] 121 | issuer: &str, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/client.rs:122:9 [INFO] [stderr] | [INFO] [stderr] 122 | token: &str, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/client.rs:123:9 [INFO] [stderr] | [INFO] [stderr] 123 | config: &StreamConfiguration, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `issuer` [INFO] [stderr] --> src/client.rs:131:9 [INFO] [stderr] | [INFO] [stderr] 131 | issuer: &str, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/client.rs:132:9 [INFO] [stderr] | [INFO] [stderr] 132 | token: &str, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stream_id` [INFO] [stderr] --> src/client.rs:133:9 [INFO] [stderr] | [INFO] [stderr] 133 | stream_id: &str, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `issuer` [INFO] [stderr] --> src/client.rs:141:9 [INFO] [stderr] | [INFO] [stderr] 141 | issuer: &str, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/client.rs:142:9 [INFO] [stderr] | [INFO] [stderr] 142 | token: &str, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `issuer` [INFO] [stderr] --> src/client.rs:150:9 [INFO] [stderr] | [INFO] [stderr] 150 | issuer: &str, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/client.rs:151:9 [INFO] [stderr] | [INFO] [stderr] 151 | token: &str, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stream_id` [INFO] [stderr] --> src/client.rs:152:9 [INFO] [stderr] | [INFO] [stderr] 152 | stream_id: &str, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `issuer` [INFO] [stderr] --> src/client.rs:160:9 [INFO] [stderr] | [INFO] [stderr] 160 | issuer: &str, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/client.rs:161:9 [INFO] [stderr] | [INFO] [stderr] 161 | token: &str, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stream_id` [INFO] [stderr] --> src/client.rs:162:9 [INFO] [stderr] | [INFO] [stderr] 162 | stream_id: &str, [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `update` [INFO] [stderr] --> src/client.rs:163:9 [INFO] [stderr] | [INFO] [stderr] 163 | update: &StreamStatusUpdate, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_update` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `issuer` [INFO] [stderr] --> src/client.rs:171:9 [INFO] [stderr] | [INFO] [stderr] 171 | issuer: &str, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/client.rs:172:9 [INFO] [stderr] | [INFO] [stderr] 172 | token: &str, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `request` [INFO] [stderr] --> src/client.rs:173:9 [INFO] [stderr] | [INFO] [stderr] 173 | request: &AddSubjectRequest, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `issuer` [INFO] [stderr] --> src/client.rs:181:9 [INFO] [stderr] | [INFO] [stderr] 181 | issuer: &str, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/client.rs:182:9 [INFO] [stderr] | [INFO] [stderr] 182 | token: &str, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `request` [INFO] [stderr] --> src/client.rs:183:9 [INFO] [stderr] | [INFO] [stderr] 183 | request: &RemoveSubjectRequest, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `issuer` [INFO] [stderr] --> src/client.rs:191:9 [INFO] [stderr] | [INFO] [stderr] 191 | issuer: &str, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/client.rs:192:9 [INFO] [stderr] | [INFO] [stderr] 192 | token: &str, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `request` [INFO] [stderr] --> src/client.rs:193:9 [INFO] [stderr] | [INFO] [stderr] 193 | request: &VerificationRequest, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `endpoint_url` [INFO] [stderr] --> src/client.rs:201:9 [INFO] [stderr] | [INFO] [stderr] 201 | endpoint_url: &str, [INFO] [stderr] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endpoint_url` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `token` [INFO] [stderr] --> src/client.rs:202:9 [INFO] [stderr] | [INFO] [stderr] 202 | token: &str, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_token` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `request` [INFO] [stderr] --> src/client.rs:203:9 [INFO] [stderr] | [INFO] [stderr] 203 | request: &PollRequest, [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_request` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `body` [INFO] [stderr] --> src/client.rs:214:9 [INFO] [stderr] | [INFO] [stderr] 214 | body: &[u8], [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_body` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `expected_issuer` [INFO] [stderr] --> src/client.rs:215:9 [INFO] [stderr] | [INFO] [stderr] 215 | expected_issuer: &str, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_issuer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `expected_audience` [INFO] [stderr] --> src/client.rs:216:9 [INFO] [stderr] | [INFO] [stderr] 216 | expected_audience: &str, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_audience` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `issuer` [INFO] [stderr] --> src/client.rs:222:28 [INFO] [stderr] | [INFO] [stderr] 222 | fn validate_issuer_url(issuer: &str) -> Result { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `issuer` [INFO] [stderr] --> src/client.rs:226:28 [INFO] [stderr] | [INFO] [stderr] 226 | fn build_discovery_url(issuer: &str) -> Result { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_issuer` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `expected` [INFO] [stderr] --> src/client.rs:231:9 [INFO] [stderr] | [INFO] [stderr] 231 | expected: &str, [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/client.rs:232:9 [INFO] [stderr] | [INFO] [stderr] 232 | config: &TransmitterConfiguration, [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] [INFO] [stderr] warning: fields `entries` and `ttl` are never read [INFO] [stderr] --> src/cache.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 20 | pub(crate) struct TtlCache { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 21 | entries: Arc>>>, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 22 | ttl: Duration, [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `value` and `inserted_at` are never read [INFO] [stderr] --> src/cache.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 26 | struct CacheEntry { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 27 | value: V, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 28 | inserted_at: Instant, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get`, `insert`, and `invalidate` are never used [INFO] [stderr] --> src/cache.rs:43:18 [INFO] [stderr] | [INFO] [stderr] 31 | impl TtlCache { [INFO] [stderr] | -------------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 43 | pub async fn get(&self, key: &str) -> Option { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 51 | pub async fn insert(&self, key: String, value: V) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 57 | pub async fn invalidate(&self, key: &str) { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `SSF_WELL_KNOWN_PATH` is never used [INFO] [stderr] --> src/client.rs:20:7 [INFO] [stderr] | [INFO] [stderr] 20 | const SSF_WELL_KNOWN_PATH: &str = "/.well-known/ssf-configuration"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `http` and `cache` are never read [INFO] [stderr] --> src/client.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 26 | pub struct SsfClient { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 27 | http: C, [INFO] [stderr] | ^^^^ [INFO] [stderr] 28 | cache: TtlCache, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: multiple associated items are never used [INFO] [stderr] --> src/client.rs:222:8 [INFO] [stderr] | [INFO] [stderr] 31 | impl SsfClient { [INFO] [stderr] | -------------------------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 222 | fn validate_issuer_url(issuer: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 226 | fn build_discovery_url(issuer: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 230 | fn validate_issuer_match( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 238 | async fn resolve_endpoint( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 251 | fn url_with_params(base: &str, params: &[(&str, &str)]) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 269 | async fn authenticated_request( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 292 | async fn unauthenticated_get(&self, url: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 306 | async fn get_json( [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 316 | async fn post_json( [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 328 | async fn patch_json( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 340 | async fn put_json( [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 352 | async fn post_empty( [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 364 | async fn delete_empty(&self, url: &str, token: &str) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `sigshare` (lib) generated 55 warnings (run `cargo fix --lib -p sigshare` to apply 49 suggestions) [INFO] [stderr] warning: `sigshare` (lib test) generated 55 warnings (55 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/sigshare-e9df5b3609f73fa2) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/caep_tests.rs (/opt/rustwide/target/debug/deps/caep_tests-ef2dfc73b7798de9) [INFO] [stdout] [INFO] [stdout] running 8 tests [INFO] [stdout] test builder_should_build_set_with_device_compliance_change_event ... ok [INFO] [stdout] test builder_should_build_set_with_session_presented_event ... ok [INFO] [stdout] test builder_should_build_set_with_session_established_event ... ok [INFO] [stdout] test builder_should_build_set_with_token_claims_change_event ... ok [INFO] [stdout] test builder_should_build_set_with_session_revoked_event ... ok [INFO] [stdout] test builder_should_build_set_with_risk_level_change_event ... ok [INFO] [stdout] test builder_should_build_set_with_credential_change_event ... ok [INFO] [stderr] Running tests/risc_tests.rs (/opt/rustwide/target/debug/deps/risc_tests-ba6f47a374e63222) [INFO] [stdout] test builder_should_build_set_with_assurance_level_change_event ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test builder_should_build_set_with_account_credential_change_required_event ... ok [INFO] [stdout] test builder_should_build_set_with_account_disabled_event ... ok [INFO] [stdout] test builder_should_build_set_with_account_enabled_event ... ok [INFO] [stdout] test builder_should_build_set_with_account_purged_event ... ok [INFO] [stdout] test builder_should_build_set_with_identifier_changed_event ... ok [INFO] [stdout] test builder_should_build_set_with_identifier_recycled_event ... ok [INFO] [stdout] test builder_should_build_set_with_opt_in_event ... ok [INFO] [stdout] test builder_should_build_set_with_opt_out_cancelled_event ... ok [INFO] [stdout] test builder_should_build_set_with_opt_out_effective_event ... ok [INFO] [stdout] test builder_should_build_set_with_opt_out_initiated_event ... ok [INFO] [stdout] test builder_should_build_set_with_recovery_activated_event ... ok [INFO] [stdout] test builder_should_build_set_with_recovery_information_changed_event ... ok [INFO] [stderr] Running tests/set_tests.rs (/opt/rustwide/target/debug/deps/set_tests-78cf89acbfce159f) [INFO] [stdout] test builder_should_build_set_with_credential_compromise_event ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 12 tests [INFO] [stdout] test builder_should_fail_when_two_events_share_the_same_uri ... ok [INFO] [stdout] test builder_should_include_aud_when_set ... ok [INFO] [stdout] test builder_should_fail_when_jti_is_missing ... ok [INFO] [stdout] test builder_should_fail_when_no_events_are_provided ... ok [INFO] [stdout] test builder_should_include_sub_id_when_set ... ok [INFO] [stdout] test builder_should_include_sub_when_set ... ok [INFO] [stdout] test builder_should_include_txn_when_set ... ok [INFO] [stdout] test builder_should_succeed_when_all_required_fields_are_present ... ok [INFO] [stdout] test builder_should_fail_when_iat_is_missing ... ok [INFO] [stdout] test builder_should_fail_when_iss_is_missing ... ok [INFO] [stdout] test builder_should_allow_multiple_events_with_different_uris ... ok [INFO] [stdout] test builder_should_include_toe_when_set ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.09s [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Running tests/ssf_tests.rs (/opt/rustwide/target/debug/deps/ssf_tests-34f9866708f644c0) [INFO] [stdout] running 5 tests [INFO] [stdout] test builder_should_build_set_with_stream_updated_event ... ok [INFO] [stdout] test builder_should_build_set_with_stream_updated_event_with_reason ... ok [INFO] [stdout] test builder_should_build_set_with_verification_event_with_state ... ok [INFO] [stdout] test builder_should_build_set_with_verification_event ... ok [INFO] [stdout] test builder_should_build_set_with_custom_event ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests sigshare [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 23) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.19s; merged doctests compilation took 1.15s [INFO] running `Command { std: "docker" "inspect" "f0cc6aee616b44b2f17265899ea38782e51aac32ecbf8a713488689d08c357ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0cc6aee616b44b2f17265899ea38782e51aac32ecbf8a713488689d08c357ca", kill_on_drop: false }` [INFO] [stdout] f0cc6aee616b44b2f17265899ea38782e51aac32ecbf8a713488689d08c357ca