[INFO] cloning repository https://github.com/songww/quanshu
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/songww/quanshu" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsongww%2Fquanshu", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsongww%2Fquanshu'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c54780820ead32a141f17514621d011dd3beacb4
[INFO] checking songww/quanshu against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsongww%2Fquanshu" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/songww/quanshu
[INFO] finished tweaking git repo https://github.com/songww/quanshu
[INFO] tweaked toml for git repo https://github.com/songww/quanshu written to /workspace/builds/worker-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/songww/quanshu on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/songww/quanshu 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c8c992fe6e8ca8106d70538ccf7f9679053c188282112cc8b2e86ae626073af1
[INFO] running `Command { std: "docker" "start" "-a" "c8c992fe6e8ca8106d70538ccf7f9679053c188282112cc8b2e86ae626073af1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c8c992fe6e8ca8106d70538ccf7f9679053c188282112cc8b2e86ae626073af1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c8c992fe6e8ca8106d70538ccf7f9679053c188282112cc8b2e86ae626073af1", kill_on_drop: false }`
[INFO] [stdout] c8c992fe6e8ca8106d70538ccf7f9679053c188282112cc8b2e86ae626073af1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 38a618b34169806313e3c2c58f39fc049a314c607da9900a08d16dbf3c1d58d5
[INFO] running `Command { std: "docker" "start" "-a" "38a618b34169806313e3c2c58f39fc049a314c607da9900a08d16dbf3c1d58d5", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.95
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]     Checking once_cell v1.11.0
[INFO] [stderr]    Compiling target-lexicon v0.12.3
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]     Checking mio v0.8.3
[INFO] [stderr]     Checking getrandom v0.2.6
[INFO] [stderr]     Checking tracing-core v0.1.26
[INFO] [stderr]    Compiling semver v1.0.9
[INFO] [stderr]    Compiling openssl-sys v0.9.73
[INFO] [stderr]     Checking http v0.2.7
[INFO] [stderr]     Checking unicode-width v0.1.9
[INFO] [stderr]     Checking idna v0.2.3
[INFO] [stderr]     Checking digest v0.10.3
[INFO] [stderr]    Compiling openssl v0.10.40
[INFO] [stderr]    Compiling anyhow v1.0.57
[INFO] [stderr]    Compiling async-trait v0.1.53
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking addr2line v0.17.0
[INFO] [stderr]     Checking miniz_oxide v0.5.1
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]    Compiling backtrace v0.3.65
[INFO] [stderr]     Checking object v0.28.4
[INFO] [stderr]     Checking sha-1 v0.10.0
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]     Checking unindent v0.1.9
[INFO] [stderr]     Checking url v2.2.2
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]     Checking os_str_bytes v6.0.1
[INFO] [stderr]     Checking parking_lot v0.12.0
[INFO] [stderr]    Compiling indoc v1.0.6
[INFO] [stderr]     Checking yaml-rust v0.4.5
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking http-body v0.4.4
[INFO] [stderr]     Checking regex-automata v0.1.10
[INFO] [stderr]    Compiling cast v0.2.7
[INFO] [stderr]     Checking clap_lex v0.2.0
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking textwrap v0.15.0
[INFO] [stderr]     Checking rayon-core v1.9.3
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking serde_json v1.0.81
[INFO] [stderr]     Checking bstr v0.2.17
[INFO] [stderr]     Checking textwrap v0.11.0
[INFO] [stderr]     Checking csv-core v0.1.10
[INFO] [stderr]     Checking serde_cbor v0.11.2
[INFO] [stderr]     Checking plotters v0.3.1
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking rayon v1.5.3
[INFO] [stderr]     Checking criterion-plot v0.4.4
[INFO] [stderr]    Compiling pyo3-build-config v0.16.5
[INFO] [stderr]     Checking csv v1.1.6
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]    Compiling pyo3-ffi v0.16.5
[INFO] [stderr]    Compiling pyo3 v0.16.5
[INFO] [stderr]    Compiling pyo3-macros-backend v0.16.5
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling futures-macro v0.3.21
[INFO] [stderr]    Compiling thiserror-impl v1.0.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.21
[INFO] [stderr]    Compiling openssl-macros v0.1.0
[INFO] [stderr]    Compiling miette-derive v4.7.1
[INFO] [stderr]    Compiling pin-project-internal v1.0.10
[INFO] [stderr]    Compiling async-recursion v1.0.0
[INFO] [stderr]    Compiling async-stream-impl v0.3.3
[INFO] [stderr]    Compiling clap_derive v3.1.18
[INFO] [stderr]    Compiling serde_derive v1.0.137
[INFO] [stderr]     Checking async-stream v0.3.3
[INFO] [stderr]     Checking tokio v1.18.2
[INFO] [stderr]     Checking thiserror v1.0.31
[INFO] [stderr]     Checking tungstenite v0.17.2
[INFO] [stderr]     Checking miette v4.7.1
[INFO] [stderr]     Checking tracing v0.1.34
[INFO] [stderr]     Checking pin-project v1.0.10
[INFO] [stderr]     Checking clap v3.1.18
[INFO] [stderr]    Compiling pyo3-macros v0.16.5
[INFO] [stderr]     Checking criterion v0.3.5
[INFO] [stderr]     Checking futures-executor v0.3.21
[INFO] [stderr]     Checking futures v0.3.21
[INFO] [stderr]     Checking tokio-util v0.7.2
[INFO] [stderr]     Checking tokio-tungstenite v0.17.1
[INFO] [stderr]     Checking tokio-util v0.6.10
[INFO] [stderr]     Checking tokio-native-tls v0.3.0
[INFO] [stderr]     Checking tokio-stream v0.1.8
[INFO] [stderr]     Checking h2 v0.3.13
[INFO] [stderr]     Checking tokio-graceful-shutdown v0.8.0
[INFO] [stderr]     Checking pyo3-futures v0.2.1 (https://github.com/songww/pyo3-futures#c3989d59)
[INFO] [stderr]     Checking hyper v0.14.18
[INFO] [stderr]     Checking hyper-tungstenite v0.8.0
[INFO] [stderr]     Checking quanshu v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `parking_lot::Mutex as PMutex`
[INFO] [stdout]   --> src/asgi/specs/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use parking_lot::Mutex as PMutex;
[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: `parking_lot::Mutex as PMutex`
[INFO] [stdout]   --> src/asgi/specs/mod.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use parking_lot::Mutex as PMutex;
[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: `py`
[INFO] [stdout]    --> src/asgi/specs/mod.rs:577:9
[INFO] [stdout]     |
[INFO] [stdout] 577 |         py: Python<'a>,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_py`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `py`
[INFO] [stdout]    --> src/asgi/specs/mod.rs:670:33
[INFO] [stdout]     |
[INFO] [stdout] 670 |     fn __call__<'py>(&'py self, py: Python<'py>) -> PyResult<PyAsync<PyResult<PyObject>>> {
[INFO] [stdout]     |                                 ^^ help: if this is intentional, prefix it with an underscore: `_py`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `host`
[INFO] [stdout]    --> src/asgi/mod.rs:102:17
[INFO] [stdout]     |
[INFO] [stdout] 102 |             let host = request_headers.get(":Authority").unwrap();
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_host`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `connection_close`
[INFO] [stdout]    --> src/asgi/mod.rs:108:13
[INFO] [stdout]     |
[INFO] [stdout] 108 |         let connection_close = request_headers
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection_close`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `uds`
[INFO] [stdout]    --> src/lib.rs:363:17
[INFO] [stdout]     |
[INFO] [stdout] 363 |     if let Some(ref uds) = opts.uds {
[INFO] [stdout]     |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `begin`
[INFO] [stdout]    --> src/lib.rs:494:13
[INFO] [stdout]     |
[INFO] [stdout] 494 |         let begin = Instant::now();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_begin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `py`
[INFO] [stdout]    --> src/asgi/specs/mod.rs:577:9
[INFO] [stdout]     |
[INFO] [stdout] 577 |         py: Python<'a>,
[INFO] [stdout]     |         ^^ help: if this is intentional, prefix it with an underscore: `_py`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `py`
[INFO] [stdout]    --> src/lib.rs:546:12
[INFO] [stdout]     |
[INFO] [stdout] 546 | fn quanshu(py: Python, m: &PyModule) -> PyResult<()> {
[INFO] [stdout]     |            ^^ help: if this is intentional, prefix it with an underscore: `_py`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `access_log` is never read
[INFO] [stdout]    --> src/lib.rs:126:5
[INFO] [stdout]     |
[INFO] [stdout]  93 | pub struct Options {
[INFO] [stdout]     |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 126 |     access_log: bool,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Options` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `log` is never used
[INFO] [stdout]  --> src/access.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub(crate) fn log(
[INFO] [stdout]   |               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `V2_0`, `V2_1`, and `V2_2` are never constructed
[INFO] [stdout]   --> src/asgi/specs/mod.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub enum SpecVersion {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] 25 |     V2_0,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 26 |     V2_1,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 27 |     V2_2,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SpecVersion` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `V2` is never constructed
[INFO] [stdout]   --> src/asgi/specs/mod.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub enum AsgiVersion {
[INFO] [stdout]    |          ----------- variant in this enum
[INFO] [stdout] 61 |     V2,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AsgiVersion` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Receive` is never used
[INFO] [stdout]    --> src/asgi/specs/mod.rs:429:10
[INFO] [stdout]     |
[INFO] [stdout] 429 | pub enum Receive {
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<PathBuf, Infallible>
[INFO] [stdout]    --> src/lib.rs:106:5
[INFO] [stdout]     |
[INFO] [stdout] 106 | /     #[clap(long)]
[INFO] [stdout] 107 | |     uds: Option<PathBuf>,
[INFO] [stdout]     | |________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<PathBuf, Infallible>
[INFO] [stdout]    --> src/lib.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 110 | /     #[clap(long)]
[INFO] [stdout] 111 | |     // pkcs12: Option<Identity>,
[INFO] [stdout] 112 | |     pkcs12: Option<PathBuf>,
[INFO] [stdout]     | |___________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/lib.rs:117:5
[INFO] [stdout]     |
[INFO] [stdout] 117 | /     #[clap(short, long, default_value = "")]
[INFO] [stdout] 118 | |     root_path: String,
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `py`
[INFO] [stdout]    --> src/asgi/specs/mod.rs:670:33
[INFO] [stdout]     |
[INFO] [stdout] 670 |     fn __call__<'py>(&'py self, py: Python<'py>) -> PyResult<PyAsync<PyResult<PyObject>>> {
[INFO] [stdout]     |                                 ^^ help: if this is intentional, prefix it with an underscore: `_py`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: ControlFlow<Result<Infallible, Infallible>, HeaderName>
[INFO] [stdout]    --> src/asgi/mod.rs:173:36
[INFO] [stdout]     |
[INFO] [stdout] 173 |                 headers_map.append(HeaderName::try_from(k)?, v.try_into()?);
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<HeaderName, Infallible>
[INFO] [stdout]    --> src/asgi/mod.rs:173:36
[INFO] [stdout]     |
[INFO] [stdout] 173 |                 headers_map.append(HeaderName::try_from(k)?, v.try_into()?);
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: ControlFlow<Result<Infallible, Infallible>, HeaderValue>
[INFO] [stdout]    --> src/asgi/mod.rs:173:62
[INFO] [stdout]     |
[INFO] [stdout] 173 |                 headers_map.append(HeaderName::try_from(k)?, v.try_into()?);
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<HeaderValue, Infallible>
[INFO] [stdout]    --> src/asgi/mod.rs:173:62
[INFO] [stdout]     |
[INFO] [stdout] 173 |                 headers_map.append(HeaderName::try_from(k)?, v.try_into()?);
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/asgi/specs/mod.rs:248:31
[INFO] [stdout]     |
[INFO] [stdout] 248 |     fn into_py_dict(self, py: Python) -> &PyDict {
[INFO] [stdout]     |                               ^^^^^^     ^^^^^^^ the same lifetime is elided here
[INFO] [stdout]     |                               |
[INFO] [stdout]     |                               the lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 248 |     fn into_py_dict(self, py: Python<'_>) -> &PyDict {
[INFO] [stdout]     |                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/asgi/specs/mod.rs:342:31
[INFO] [stdout]     |
[INFO] [stdout] 342 |         let caches = unsafe { &mut CACHED_SCOPES };
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 342 |         let caches = unsafe { &raw mut CACHED_SCOPES };
[INFO] [stdout]     |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/asgi/specs/mod.rs:384:32
[INFO] [stdout]     |
[INFO] [stdout] 384 |         let interns = unsafe { &mut PATH_INTERNS };
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 384 |         let interns = unsafe { &raw mut PATH_INTERNS };
[INFO] [stdout]     |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `host`
[INFO] [stdout]    --> src/asgi/mod.rs:102:17
[INFO] [stdout]     |
[INFO] [stdout] 102 |             let host = request_headers.get(":Authority").unwrap();
[INFO] [stdout]     |                 ^^^^ help: if this is intentional, prefix it with an underscore: `_host`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `connection_close`
[INFO] [stdout]    --> src/asgi/mod.rs:108:13
[INFO] [stdout]     |
[INFO] [stdout] 108 |         let connection_close = request_headers
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection_close`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `quanshu` (lib test) due to 7 previous errors; 16 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `uds`
[INFO] [stdout]    --> src/lib.rs:363:17
[INFO] [stdout]     |
[INFO] [stdout] 363 |     if let Some(ref uds) = opts.uds {
[INFO] [stdout]     |                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_uds`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `begin`
[INFO] [stdout]    --> src/lib.rs:494:13
[INFO] [stdout]     |
[INFO] [stdout] 494 |         let begin = Instant::now();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_begin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `py`
[INFO] [stdout]    --> src/lib.rs:546:12
[INFO] [stdout]     |
[INFO] [stdout] 546 | fn quanshu(py: Python, m: &PyModule) -> PyResult<()> {
[INFO] [stdout]     |            ^^ help: if this is intentional, prefix it with an underscore: `_py`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `access_log` is never read
[INFO] [stdout]    --> src/lib.rs:126:5
[INFO] [stdout]     |
[INFO] [stdout]  93 | pub struct Options {
[INFO] [stdout]     |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 126 |     access_log: bool,
[INFO] [stdout]     |     ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Options` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `log` is never used
[INFO] [stdout]  --> src/access.rs:7:15
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub(crate) fn log(
[INFO] [stdout]   |               ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `V2_0`, `V2_1`, and `V2_2` are never constructed
[INFO] [stdout]   --> src/asgi/specs/mod.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 24 | pub enum SpecVersion {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] 25 |     V2_0,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 26 |     V2_1,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout] 27 |     V2_2,
[INFO] [stdout]    |     ^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `SpecVersion` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `V2` is never constructed
[INFO] [stdout]   --> src/asgi/specs/mod.rs:61:5
[INFO] [stdout]    |
[INFO] [stdout] 60 | pub enum AsgiVersion {
[INFO] [stdout]    |          ----------- variant in this enum
[INFO] [stdout] 61 |     V2,
[INFO] [stdout]    |     ^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `AsgiVersion` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `Receive` is never used
[INFO] [stdout]    --> src/asgi/specs/mod.rs:429:10
[INFO] [stdout]     |
[INFO] [stdout] 429 | pub enum Receive {
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<PathBuf, Infallible>
[INFO] [stdout]    --> src/lib.rs:106:5
[INFO] [stdout]     |
[INFO] [stdout] 106 | /     #[clap(long)]
[INFO] [stdout] 107 | |     uds: Option<PathBuf>,
[INFO] [stdout]     | |________________________^
[INFO] [stdout]     |
[INFO] [stdout]     = note: requested on the command line with `-D unmustuse-in-always-ok`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<PathBuf, Infallible>
[INFO] [stdout]    --> src/lib.rs:110:5
[INFO] [stdout]     |
[INFO] [stdout] 110 | /     #[clap(long)]
[INFO] [stdout] 111 | |     // pkcs12: Option<Identity>,
[INFO] [stdout] 112 | |     pkcs12: Option<PathBuf>,
[INFO] [stdout]     | |___________________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<std::string::String, Infallible>
[INFO] [stdout]    --> src/lib.rs:117:5
[INFO] [stdout]     |
[INFO] [stdout] 117 | /     #[clap(short, long, default_value = "")]
[INFO] [stdout] 118 | |     root_path: String,
[INFO] [stdout]     | |_____________________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: ControlFlow<Result<Infallible, Infallible>, HeaderName>
[INFO] [stdout]    --> src/asgi/mod.rs:173:36
[INFO] [stdout]     |
[INFO] [stdout] 173 |                 headers_map.append(HeaderName::try_from(k)?, v.try_into()?);
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<HeaderName, Infallible>
[INFO] [stdout]    --> src/asgi/mod.rs:173:36
[INFO] [stdout]     |
[INFO] [stdout] 173 |                 headers_map.append(HeaderName::try_from(k)?, v.try_into()?);
[INFO] [stdout]     |                                    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: ControlFlow<Result<Infallible, Infallible>, HeaderValue>
[INFO] [stdout]    --> src/asgi/mod.rs:173:62
[INFO] [stdout]     |
[INFO] [stdout] 173 |                 headers_map.append(HeaderName::try_from(k)?, v.try_into()?);
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: this type will no longer be must used: Result<HeaderValue, Infallible>
[INFO] [stdout]    --> src/asgi/mod.rs:173:62
[INFO] [stdout]     |
[INFO] [stdout] 173 |                 headers_map.append(HeaderName::try_from(k)?, v.try_into()?);
[INFO] [stdout]     |                                                              ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]    --> src/asgi/specs/mod.rs:248:31
[INFO] [stdout]     |
[INFO] [stdout] 248 |     fn into_py_dict(self, py: Python) -> &PyDict {
[INFO] [stdout]     |                               ^^^^^^     ^^^^^^^ the same lifetime is elided here
[INFO] [stdout]     |                               |
[INFO] [stdout]     |                               the lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]     = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]     |
[INFO] [stdout] 248 |     fn into_py_dict(self, py: Python<'_>) -> &PyDict {
[INFO] [stdout]     |                                     ++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/asgi/specs/mod.rs:342:31
[INFO] [stdout]     |
[INFO] [stdout] 342 |         let caches = unsafe { &mut CACHED_SCOPES };
[INFO] [stdout]     |                               ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 342 |         let caches = unsafe { &raw mut CACHED_SCOPES };
[INFO] [stdout]     |                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/asgi/specs/mod.rs:384:32
[INFO] [stdout]     |
[INFO] [stdout] 384 |         let interns = unsafe { &mut PATH_INTERNS };
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 384 |         let interns = unsafe { &raw mut PATH_INTERNS };
[INFO] [stdout]     |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `quanshu` (lib) due to 7 previous errors; 16 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "38a618b34169806313e3c2c58f39fc049a314c607da9900a08d16dbf3c1d58d5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "38a618b34169806313e3c2c58f39fc049a314c607da9900a08d16dbf3c1d58d5", kill_on_drop: false }`
[INFO] [stdout] 38a618b34169806313e3c2c58f39fc049a314c607da9900a08d16dbf3c1d58d5
