[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] testing songww/quanshu against 1.84.0 for beta-1.85-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsongww%2Fquanshu" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/songww/quanshu on toolchain 1.84.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.84.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-tc1/source/Cargo.toml [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" "+1.84.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/songww/pyo3-futures` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded miette-derive v4.7.1 [INFO] [stderr] Downloaded hyper-tungstenite v0.8.0 [INFO] [stderr] Downloaded pyo3-macros-backend v0.16.5 [INFO] [stderr] Downloaded unindent v0.1.9 [INFO] [stderr] Downloaded async-recursion v1.0.0 [INFO] [stderr] Downloaded tokio-tungstenite v0.17.1 [INFO] [stderr] Downloaded indoc v1.0.6 [INFO] [stderr] Downloaded pyo3-build-config v0.16.5 [INFO] [stderr] Downloaded pyo3-ffi v0.16.5 [INFO] [stderr] Downloaded miette v4.7.1 [INFO] [stderr] Downloaded pyo3-macros v0.16.5 [INFO] [stderr] Downloaded pyo3 v0.16.5 [INFO] [stderr] Downloaded tokio-graceful-shutdown v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b83bb77a2bb6e182e16618b015f2ac34c72de5c52b1b3403bcf71527a72f5e18 [INFO] running `Command { std: "docker" "start" "-a" "b83bb77a2bb6e182e16618b015f2ac34c72de5c52b1b3403bcf71527a72f5e18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b83bb77a2bb6e182e16618b015f2ac34c72de5c52b1b3403bcf71527a72f5e18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b83bb77a2bb6e182e16618b015f2ac34c72de5c52b1b3403bcf71527a72f5e18", kill_on_drop: false }` [INFO] [stdout] b83bb77a2bb6e182e16618b015f2ac34c72de5c52b1b3403bcf71527a72f5e18 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2ee2be71147d872ababd9c2b858dee47121f11e67a8009962a18e7f08474ca8f [INFO] running `Command { std: "docker" "start" "-a" "2ee2be71147d872ababd9c2b858dee47121f11e67a8009962a18e7f08474ca8f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling once_cell v1.11.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling target-lexicon v0.12.3 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling slab v0.4.6 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling tracing-core v0.1.26 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling http v0.2.7 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling parking_lot v0.12.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling pyo3-build-config v0.16.5 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling openssl v0.10.40 [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Compiling openssl-sys v0.9.73 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling backtrace v0.3.65 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling native-tls v0.2.10 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling miniz_oxide v0.5.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling object v0.28.4 [INFO] [stderr] Compiling unindent v0.1.9 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling indoc v1.0.6 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling os_str_bytes v6.0.1 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling clap_lex v0.2.0 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling digest v0.10.3 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling pyo3-ffi v0.16.5 [INFO] [stderr] Compiling pyo3 v0.16.5 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling pyo3-macros-backend v0.16.5 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tracing-attributes v0.1.21 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [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-stream-impl v0.3.3 [INFO] [stderr] Compiling async-recursion v1.0.0 [INFO] [stderr] Compiling clap_derive v3.1.18 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling tokio v1.18.2 [INFO] [stderr] Compiling pyo3-macros v0.16.5 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tungstenite v0.17.2 [INFO] [stderr] Compiling miette v4.7.1 [INFO] [stderr] Compiling tracing v0.1.34 [INFO] [stderr] Compiling clap v3.1.18 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-util v0.7.2 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling tokio-tungstenite v0.17.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling pyo3-futures v0.2.1 (https://github.com/songww/pyo3-futures#c3989d59) [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling tokio-graceful-shutdown v0.8.0 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling hyper-tungstenite v0.8.0 [INFO] [stderr] Compiling 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uds` [INFO] [stdout] --> src/lib.rs:363:21 [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] = note: `#[warn(unused_variables)]` on by default [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: `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] [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: `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)]` 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: variants `HttpRequest`, `Disconnect`, `WebsocketConnect`, `WebsocketReceive`, and `WebsocketDisconnect` are never constructed [INFO] [stdout] --> src/asgi/specs/mod.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 429 | pub enum Receive { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 430 | /// "http.request" [INFO] [stdout] 431 | HttpRequest { body: Vec, more_body: bool }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 432 | /// "http.disconnect" [INFO] [stdout] 433 | Disconnect, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 437 | WebsocketConnect, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 438 | /// websocket.receive [INFO] [stdout] 439 | WebsocketReceive { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 444 | WebsocketDisconnect { code: u32 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Receive` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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)]` 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 is discouraged [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.95s [INFO] running `Command { std: "docker" "inspect" "2ee2be71147d872ababd9c2b858dee47121f11e67a8009962a18e7f08474ca8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2ee2be71147d872ababd9c2b858dee47121f11e67a8009962a18e7f08474ca8f", kill_on_drop: false }` [INFO] [stdout] 2ee2be71147d872ababd9c2b858dee47121f11e67a8009962a18e7f08474ca8f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac9592003bb47d3cfbbac61e307a460c4b06c86ed1d78c7558ac5fdfdbe6455f [INFO] running `Command { std: "docker" "start" "-a" "ac9592003bb47d3cfbbac61e307a460c4b06c86ed1d78c7558ac5fdfdbe6455f", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.9 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling oorandom v11.1.3 [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uds` [INFO] [stdout] --> src/lib.rs:363:21 [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] = note: `#[warn(unused_variables)]` on by default [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: `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] [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: `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)]` 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: variants `HttpRequest`, `Disconnect`, `WebsocketConnect`, `WebsocketReceive`, and `WebsocketDisconnect` are never constructed [INFO] [stdout] --> src/asgi/specs/mod.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 429 | pub enum Receive { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 430 | /// "http.request" [INFO] [stdout] 431 | HttpRequest { body: Vec, more_body: bool }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 432 | /// "http.disconnect" [INFO] [stdout] 433 | Disconnect, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 437 | WebsocketConnect, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 438 | /// websocket.receive [INFO] [stdout] 439 | WebsocketReceive { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 444 | WebsocketDisconnect { code: u32 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Receive` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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)]` 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 is discouraged [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] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling regex v1.5.5 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uds` [INFO] [stdout] --> src/lib.rs:363:21 [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] = note: `#[warn(unused_variables)]` on by default [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: `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] [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: `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)]` 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: variants `HttpRequest`, `Disconnect`, `WebsocketConnect`, `WebsocketReceive`, and `WebsocketDisconnect` are never constructed [INFO] [stdout] --> src/asgi/specs/mod.rs:431:5 [INFO] [stdout] | [INFO] [stdout] 429 | pub enum Receive { [INFO] [stdout] | ------- variants in this enum [INFO] [stdout] 430 | /// "http.request" [INFO] [stdout] 431 | HttpRequest { body: Vec, more_body: bool }, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 432 | /// "http.disconnect" [INFO] [stdout] 433 | Disconnect, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 437 | WebsocketConnect, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 438 | /// websocket.receive [INFO] [stdout] 439 | WebsocketReceive { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 444 | WebsocketDisconnect { code: u32 }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Receive` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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)]` 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 is discouraged [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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 15.11s [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 1` [INFO] running `Command { std: "docker" "inspect" "ac9592003bb47d3cfbbac61e307a460c4b06c86ed1d78c7558ac5fdfdbe6455f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac9592003bb47d3cfbbac61e307a460c4b06c86ed1d78c7558ac5fdfdbe6455f", kill_on_drop: false }` [INFO] [stdout] ac9592003bb47d3cfbbac61e307a460c4b06c86ed1d78c7558ac5fdfdbe6455f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:86ea7c7af713d31e8cfdb68a6d0db50b5cf7cbeecde3d112f9f257f747318d36" "/opt/rustwide/cargo-home/bin/cargo" "+1.84.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 48b5b51bc52cbdd21ec635875dcd9076f0846f051f366d8436cdc27e193dc6c2 [INFO] running `Command { std: "docker" "start" "-a" "48b5b51bc52cbdd21ec635875dcd9076f0846f051f366d8436cdc27e193dc6c2", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `parking_lot::Mutex as PMutex` [INFO] [stderr] --> src/asgi/specs/mod.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use parking_lot::Mutex as PMutex; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `uds` [INFO] [stderr] --> src/lib.rs:363:21 [INFO] [stderr] | [INFO] [stderr] 363 | if let Some(ref uds) = opts.uds { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_uds` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `begin` [INFO] [stderr] --> src/lib.rs:494:13 [INFO] [stderr] | [INFO] [stderr] 494 | let begin = Instant::now(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_begin` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `host` [INFO] [stderr] --> src/asgi/mod.rs:102:17 [INFO] [stderr] | [INFO] [stderr] 102 | let host = request_headers.get(":Authority").unwrap(); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_host` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `connection_close` [INFO] [stderr] --> src/asgi/mod.rs:108:13 [INFO] [stderr] | [INFO] [stderr] 108 | let connection_close = request_headers [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_connection_close` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `py` [INFO] [stderr] --> src/asgi/specs/mod.rs:577:9 [INFO] [stderr] | [INFO] [stderr] 577 | py: Python<'a>, [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `py` [INFO] [stderr] --> src/asgi/specs/mod.rs:670:33 [INFO] [stderr] | [INFO] [stderr] 670 | fn __call__<'py>(&'py self, py: Python<'py>) -> PyResult>> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `py` [INFO] [stderr] --> src/lib.rs:546:12 [INFO] [stderr] | [INFO] [stderr] 546 | fn quanshu(py: Python, m: &PyModule) -> PyResult<()> { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [INFO] [stderr] [INFO] [stderr] warning: field `access_log` is never read [INFO] [stderr] --> src/lib.rs:126:5 [INFO] [stderr] | [INFO] [stderr] 93 | pub struct Options { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 126 | access_log: bool, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Options` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `log` is never used [INFO] [stderr] --> src/access.rs:7:15 [INFO] [stderr] | [INFO] [stderr] 7 | pub(crate) fn log( [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: variants `V2_0`, `V2_1`, and `V2_2` are never constructed [INFO] [stderr] --> src/asgi/specs/mod.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 24 | pub enum SpecVersion { [INFO] [stderr] | ----------- variants in this enum [INFO] [stderr] 25 | V2_0, [INFO] [stderr] | ^^^^ [INFO] [stderr] 26 | V2_1, [INFO] [stderr] | ^^^^ [INFO] [stderr] 27 | V2_2, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SpecVersion` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variant `V2` is never constructed [INFO] [stderr] --> src/asgi/specs/mod.rs:61:5 [INFO] [stderr] | [INFO] [stderr] 60 | pub enum AsgiVersion { [INFO] [stderr] | ----------- variant in this enum [INFO] [stderr] 61 | V2, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `AsgiVersion` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `HttpRequest`, `Disconnect`, `WebsocketConnect`, `WebsocketReceive`, and `WebsocketDisconnect` are never constructed [INFO] [stderr] --> src/asgi/specs/mod.rs:431:5 [INFO] [stderr] | [INFO] [stderr] 429 | pub enum Receive { [INFO] [stderr] | ------- variants in this enum [INFO] [stderr] 430 | /// "http.request" [INFO] [stderr] 431 | HttpRequest { body: Vec, more_body: bool }, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] 432 | /// "http.disconnect" [INFO] [stderr] 433 | Disconnect, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 437 | WebsocketConnect, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 438 | /// websocket.receive [INFO] [stderr] 439 | WebsocketReceive { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 444 | WebsocketDisconnect { code: u32 }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Receive` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/asgi/specs/mod.rs:342:31 [INFO] [stderr] | [INFO] [stderr] 342 | let caches = unsafe { &mut CACHED_SCOPES }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 342 | let caches = unsafe { &raw mut CACHED_SCOPES }; [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: creating a mutable reference to mutable static is discouraged [INFO] [stderr] --> src/asgi/specs/mod.rs:384:32 [INFO] [stderr] | [INFO] [stderr] 384 | let interns = unsafe { &mut PATH_INTERNS }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ mutable reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] help: use `&raw mut` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 384 | let interns = unsafe { &raw mut PATH_INTERNS }; [INFO] [stderr] | ~~~~~~~~ [INFO] [stderr] [INFO] [stderr] warning: `quanshu` (lib) generated 15 warnings (run `cargo fix --lib -p quanshu` to apply 1 suggestion) [INFO] [stderr] warning: `quanshu` (lib test) generated 15 warnings (15 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.20s [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 1` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/quanshu-36dc949d278a8dfe) [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 unittests src/main.rs (/opt/rustwide/target/debug/deps/quanshu-db19703732378513) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Doc-tests quanshu [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] [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] running `Command { std: "docker" "inspect" "48b5b51bc52cbdd21ec635875dcd9076f0846f051f366d8436cdc27e193dc6c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48b5b51bc52cbdd21ec635875dcd9076f0846f051f366d8436cdc27e193dc6c2", kill_on_drop: false }` [INFO] [stdout] 48b5b51bc52cbdd21ec635875dcd9076f0846f051f366d8436cdc27e193dc6c2