[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 master#75948c8bb3bd37f1e8ee20273a04edea4c1f84f8 for pr-147984-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsongww%2Fquanshu" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/songww/quanshu on toolchain 75948c8bb3bd37f1e8ee20273a04edea4c1f84f8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+75948c8bb3bd37f1e8ee20273a04edea4c1f84f8" "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" "+75948c8bb3bd37f1e8ee20273a04edea4c1f84f8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/songww/pyo3-futures` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unindent v0.1.9 [INFO] [stderr] Downloaded pyo3-macros v0.16.5 [INFO] [stderr] Downloaded async-recursion v1.0.0 [INFO] [stderr] Downloaded plotters-backend v0.3.2 [INFO] [stderr] Downloaded plotters-svg v0.3.1 [INFO] [stderr] Downloaded criterion-plot v0.4.4 [INFO] [stderr] Downloaded target-lexicon v0.12.3 [INFO] [stderr] Downloaded pyo3-build-config v0.16.5 [INFO] [stderr] Downloaded pyo3-ffi v0.16.5 [INFO] [stderr] Downloaded tokio-graceful-shutdown v0.8.0 [INFO] [stderr] Downloaded cast v0.2.7 [INFO] [stderr] Downloaded criterion v0.3.5 [INFO] [stderr] Downloaded indoc v1.0.6 [INFO] [stderr] Downloaded pyo3 v0.16.5 [INFO] [stderr] Downloaded hyper-tungstenite v0.8.0 [INFO] [stderr] Downloaded pyo3-macros-backend v0.16.5 [INFO] [stderr] Downloaded plotters v0.3.1 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+75948c8bb3bd37f1e8ee20273a04edea4c1f84f8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb2e0d2351b3d81afe55a4dba715f47b178e6fe675b80aad6c64ed4223913690 [INFO] running `Command { std: "docker" "start" "-a" "fb2e0d2351b3d81afe55a4dba715f47b178e6fe675b80aad6c64ed4223913690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb2e0d2351b3d81afe55a4dba715f47b178e6fe675b80aad6c64ed4223913690", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb2e0d2351b3d81afe55a4dba715f47b178e6fe675b80aad6c64ed4223913690", kill_on_drop: false }` [INFO] [stdout] fb2e0d2351b3d81afe55a4dba715f47b178e6fe675b80aad6c64ed4223913690 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+75948c8bb3bd37f1e8ee20273a04edea4c1f84f8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 009759f9342e1c513f9080538bb1317fd2531de6cae866b293b294b8e0f3ff5c [INFO] running `Command { std: "docker" "start" "-a" "009759f9342e1c513f9080538bb1317fd2531de6cae866b293b294b8e0f3ff5c", kill_on_drop: false }` [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] Compiling once_cell v1.11.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Compiling semver v1.0.9 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling pyo3-macros-backend v0.16.5 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling miette-derive v4.7.1 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Checking object v0.28.4 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling indoc v1.0.6 [INFO] [stderr] Checking unindent v0.1.9 [INFO] [stderr] Checking native-tls v0.2.10 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tokio v1.18.2 [INFO] [stderr] Compiling async-recursion v1.0.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling pyo3-build-config v0.16.5 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking plotters-backend v0.3.2 [INFO] [stderr] Checking rayon-core v1.9.3 [INFO] [stderr] Checking async-stream v0.3.3 [INFO] [stderr] Checking plotters-svg v0.3.1 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking plotters v0.3.1 [INFO] [stderr] Checking rayon v1.5.3 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking tungstenite v0.17.2 [INFO] [stderr] Checking miette v4.7.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking oorandom v11.1.3 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Compiling pyo3-macros v0.16.5 [INFO] [stderr] Checking criterion-plot v0.4.4 [INFO] [stderr] Compiling pyo3-ffi v0.16.5 [INFO] [stderr] Compiling pyo3 v0.16.5 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking serde_json v1.0.81 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking clap v3.1.18 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking tokio-util v0.7.2 [INFO] [stderr] Checking tokio-util v0.6.10 [INFO] [stderr] Checking tokio-tungstenite v0.17.1 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking criterion v0.3.5 [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>> { [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: `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>> { [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: `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: `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: 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] 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] 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 [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 [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: 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 [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 [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 import: `std::any::Any` [INFO] [stdout] --> benches/pydict_convert.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::Any; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.92s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.3.5 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "009759f9342e1c513f9080538bb1317fd2531de6cae866b293b294b8e0f3ff5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "009759f9342e1c513f9080538bb1317fd2531de6cae866b293b294b8e0f3ff5c", kill_on_drop: false }` [INFO] [stdout] 009759f9342e1c513f9080538bb1317fd2531de6cae866b293b294b8e0f3ff5c