[INFO] cloning repository https://github.com/avrilko-go/rust-kv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/avrilko-go/rust-kv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Favrilko-go%2Frust-kv", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Favrilko-go%2Frust-kv'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2011a224a27d27b3c76246f3e7690f223c536b73 [INFO] building avrilko-go/rust-kv against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Favrilko-go%2Frust-kv" "/workspace/builds/worker-33/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-33/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/avrilko-go/rust-kv on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/avrilko-go/rust-kv [INFO] finished tweaking git repo https://github.com/avrilko-go/rust-kv [INFO] tweaked toml for git repo https://github.com/avrilko-go/rust-kv written to /workspace/builds/worker-33/source/Cargo.toml [INFO] crate git repo https://github.com/avrilko-go/rust-kv already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a6a9827eabd4d2093337a128e3f0fe062055e1191b6e21aabaf0a15b2a589ae9 [INFO] running `Command { std: "docker" "start" "-a" "a6a9827eabd4d2093337a128e3f0fe062055e1191b6e21aabaf0a15b2a589ae9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a6a9827eabd4d2093337a128e3f0fe062055e1191b6e21aabaf0a15b2a589ae9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6a9827eabd4d2093337a128e3f0fe062055e1191b6e21aabaf0a15b2a589ae9", kill_on_drop: false }` [INFO] [stdout] a6a9827eabd4d2093337a128e3f0fe062055e1191b6e21aabaf0a15b2a589ae9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6de911bcb6dec10b9326745d356cdf703dfccef4fa0758eabcc9e87f3038c6d8 [INFO] running `Command { std: "docker" "start" "-a" "6de911bcb6dec10b9326745d356cdf703dfccef4fa0758eabcc9e87f3038c6d8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling async-trait v0.1.52 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling oid-registry v0.2.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling fixedbitset v0.2.0 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling data-encoding v2.3.2 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling integer-encoding v1.1.7 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling nohash-hasher v0.2.0 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling sharded-slab v0.1.4 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling thread_local v1.1.4 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling tracing-log v0.1.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling petgraph v0.5.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling which v4.2.2 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling dashmap v4.0.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rusticata-macros v4.0.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling prost-build v0.8.0 [INFO] [stderr] Compiling ordered-float v1.1.1 [INFO] [stderr] Compiling thrift v0.13.0 [INFO] [stderr] Compiling sled v0.34.7 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling pem v1.0.1 [INFO] [stderr] Compiling pem v0.8.3 [INFO] [stderr] Compiling matchers v0.0.1 [INFO] [stderr] Compiling yasna v0.4.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling prost-derive v0.8.0 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling der-oid-macro v0.5.0 [INFO] [stderr] Compiling tracing-attributes v0.1.18 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling der-parser v6.0.0 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling x509-parser v0.12.0 [INFO] [stderr] Compiling rcgen v0.8.14 [INFO] [stderr] Compiling prost v0.8.0 [INFO] [stderr] Compiling certify v0.3.1 [INFO] [stderr] Compiling prost-types v0.8.0 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling opentelemetry v0.16.0 [INFO] [stderr] Compiling yamux v0.9.0 [INFO] [stderr] Compiling opentelemetry-semantic-conventions v0.8.0 [INFO] [stderr] Compiling opentelemetry-jaeger v0.15.0 [INFO] [stderr] Compiling tracing-serde v0.1.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling learn v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling tracing-subscriber v0.2.25 [INFO] [stderr] Compiling tracing-appender v0.1.2 [INFO] [stderr] Compiling tracing-opentelemetry v0.15.0 [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> src/network/frame.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use bytes::{Buf, BufMut, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/network/frame.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | ///需要压缩 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | let mut buf1 = Vec::with_capacity(size); [INFO] [stdout] | ---------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> src/network/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | inner: ProstStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `service` [INFO] [stdout] --> src/network/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | service: Service, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> src/network/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | inner: ProstStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stream` [INFO] [stdout] --> src/network/stream.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | stream: S, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `wbuf` [INFO] [stdout] --> src/network/stream.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | wbuf: BytesMut, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `written` [INFO] [stdout] --> src/network/stream.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | written: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rbuf` [INFO] [stdout] --> src/network/stream.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | rbuf: BytesMut, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 38s [INFO] running `Command { std: "docker" "inspect" "6de911bcb6dec10b9326745d356cdf703dfccef4fa0758eabcc9e87f3038c6d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6de911bcb6dec10b9326745d356cdf703dfccef4fa0758eabcc9e87f3038c6d8", kill_on_drop: false }` [INFO] [stdout] 6de911bcb6dec10b9326745d356cdf703dfccef4fa0758eabcc9e87f3038c6d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d863da2bfd4865a3325afed8936c0e355b6792231da54a42cba941f163123f7 [INFO] running `Command { std: "docker" "start" "-a" "6d863da2bfd4865a3325afed8936c0e355b6792231da54a42cba941f163123f7", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> src/network/frame.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use bytes::{Buf, BufMut, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/network/frame.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | ///需要压缩 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | let mut buf1 = Vec::with_capacity(size); [INFO] [stdout] | ---------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> src/network/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | inner: ProstStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `service` [INFO] [stdout] --> src/network/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | service: Service, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> src/network/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | inner: ProstStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stream` [INFO] [stdout] --> src/network/stream.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | stream: S, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `wbuf` [INFO] [stdout] --> src/network/stream.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | wbuf: BytesMut, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `written` [INFO] [stdout] --> src/network/stream.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | written: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rbuf` [INFO] [stdout] --> src/network/stream.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | rbuf: BytesMut, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling learn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Buf` [INFO] [stdout] --> src/network/frame.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use bytes::{Buf, BufMut, BytesMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/network/frame.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | ///需要压缩 [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | let mut buf1 = Vec::with_capacity(size); [INFO] [stdout] | ---------------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> src/network/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | inner: ProstStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `service` [INFO] [stdout] --> src/network/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | service: Service, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> src/network/mod.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | inner: ProstStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stream` [INFO] [stdout] --> src/network/stream.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | stream: S, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `wbuf` [INFO] [stdout] --> src/network/stream.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | wbuf: BytesMut, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `written` [INFO] [stdout] --> src/network/stream.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | written: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rbuf` [INFO] [stdout] --> src/network/stream.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | rbuf: BytesMut, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 17.79s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/learn-c896ffab0883f75f) [INFO] [stderr] Executable unittests tools/gen_certs.rs (/opt/rustwide/target/debug/deps/gen_cert-b8a6a05d0f400cfa) [INFO] [stderr] Executable unittests tools/gen_config.rs (/opt/rustwide/target/debug/deps/gen_config-329e2597befc7406) [INFO] [stderr] Executable unittests src/server.rs (/opt/rustwide/target/debug/deps/kv_server-4919d64481b7928b) [INFO] running `Command { std: "docker" "inspect" "6d863da2bfd4865a3325afed8936c0e355b6792231da54a42cba941f163123f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d863da2bfd4865a3325afed8936c0e355b6792231da54a42cba941f163123f7", kill_on_drop: false }` [INFO] [stdout] 6d863da2bfd4865a3325afed8936c0e355b6792231da54a42cba941f163123f7