[INFO] cloning repository https://github.com/dennie-seth/Rust-Data-Broker-Client [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dennie-seth/Rust-Data-Broker-Client" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdennie-seth%2FRust-Data-Broker-Client", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdennie-seth%2FRust-Data-Broker-Client'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9d6dfbb512c03c13618c6bc076d7996e7eeb7a33 [INFO] checking dennie-seth/Rust-Data-Broker-Client against master#a33907a7a5381473eec8bcfa0c56e05a856a911c for pr-151539 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdennie-seth%2FRust-Data-Broker-Client" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/dennie-seth/Rust-Data-Broker-Client [INFO] finished tweaking git repo https://github.com/dennie-seth/Rust-Data-Broker-Client [INFO] tweaked toml for git repo https://github.com/dennie-seth/Rust-Data-Broker-Client written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/dennie-seth/Rust-Data-Broker-Client on toolchain a33907a7a5381473eec8bcfa0c56e05a856a911c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/dennie-seth/Rust-Data-Broker-Client 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" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pyo3-asyncio v0.20.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba3342745cefd6d84dc8e0c1e6b55cab465dbf33115ea8253761fdedb5e3b9ac [INFO] running `Command { std: "docker" "start" "-a" "ba3342745cefd6d84dc8e0c1e6b55cab465dbf33115ea8253761fdedb5e3b9ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba3342745cefd6d84dc8e0c1e6b55cab465dbf33115ea8253761fdedb5e3b9ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba3342745cefd6d84dc8e0c1e6b55cab465dbf33115ea8253761fdedb5e3b9ac", kill_on_drop: false }` [INFO] [stdout] ba3342745cefd6d84dc8e0c1e6b55cab465dbf33115ea8253761fdedb5e3b9ac [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+a33907a7a5381473eec8bcfa0c56e05a856a911c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5559ab7ad92b68e12a7249b5e73411bbfe1f01d211a556118dcfe838eceb984 [INFO] running `Command { std: "docker" "start" "-a" "b5559ab7ad92b68e12a7249b5e73411bbfe1f01d211a556118dcfe838eceb984", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.16 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling portable-atomic v1.11.1 [INFO] [stderr] Checking signal-hook-registry v1.4.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Compiling indoc v2.0.7 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling pyo3-build-config v0.20.3 [INFO] [stderr] Compiling pyo3-ffi v0.20.3 [INFO] [stderr] Compiling pyo3 v0.20.3 [INFO] [stderr] Compiling pyo3-macros-backend v0.20.3 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling pyo3-macros v0.20.3 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking pyo3-asyncio v0.20.0 [INFO] [stderr] Checking DataBrokerClient v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe fn connect(py: Python<'_>, url: String) -> PyResult<&PyAny> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 33 | unsafe fn send<'py>(py: Python<'py>, client: &PyBrokerClient, path: String) -> PyResult<&'py PyAny> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:33:69 [INFO] [stdout] | [INFO] [stdout] 33 | unsafe fn send<'py>(py: Python<'py>, client: &PyBrokerClient, path: String) -> PyResult<&'py PyAny> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `py` [INFO] [stdout] --> src/lib.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | fn data_broker_client(py: Python<'_>, m: &PyModule) -> PyResult<()> { [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: type `Response` is more private than the item `ResponseMessage::new` [INFO] [stdout] --> src/net/client.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) fn new(status: Response, payload_size: u64, payload: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `ResponseMessage::new` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Response` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/net/client.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | enum Response { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Dequeue` is never constructed [INFO] [stdout] --> src/net/client.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | enum Request { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 23 | Enqueue = 1, [INFO] [stdout] 24 | Dequeue = 2, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has derived impls for the traits `Clone` and `Debug`, 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: fields `status`, `payload_size`, and `payload` are never read [INFO] [stdout] --> src/net/client.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) struct ResponseMessage { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 58 | status: Response, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 59 | payload_size: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 60 | payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResponseMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:17:40 [INFO] [stdout] | [INFO] [stdout] 17 | unsafe fn connect(py: Python<'_>, url: String) -> PyResult<&PyAny> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] = note: `#[warn(unsafe_op_in_unsafe_fn)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:33:46 [INFO] [stdout] | [INFO] [stdout] 33 | unsafe fn send<'py>(py: Python<'py>, client: &PyBrokerClient, path: String) -> PyResult<&'py PyAny> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `pyo3::impl_::extract_argument::unwrap_required_argument` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:33:69 [INFO] [stdout] | [INFO] [stdout] 33 | unsafe fn send<'py>(py: Python<'py>, client: &PyBrokerClient, path: String) -> PyResult<&'py PyAny> { [INFO] [stdout] | ^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Response` is more private than the item `ResponseMessage::new` [INFO] [stdout] --> src/net/client.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) fn new(status: Response, payload_size: u64, payload: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `ResponseMessage::new` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Response` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/net/client.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | enum Response { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stream` and `files` are never read [INFO] [stdout] --> src/net/client.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct BrokerClient { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 13 | stream: Arc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | files: Arc>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BrokerClient` has derived impls for the traits `Clone` and `Debug`, 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: enum `Request` is never used [INFO] [stdout] --> src/net/client.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | enum Request { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Response` is never used [INFO] [stdout] --> src/net/client.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | enum Response { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_u8` is never used [INFO] [stdout] --> src/net/client.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 32 | impl Response { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 33 | pub(crate) fn from_u8(value: u8) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestMessage` is never constructed [INFO] [stdout] --> src/net/client.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) struct RequestMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bytes` is never used [INFO] [stdout] --> src/net/client.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 47 | impl RequestMessage { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 48 | pub(crate) fn as_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResponseMessage` is never constructed [INFO] [stdout] --> src/net/client.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) struct ResponseMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/net/client.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 62 | impl ResponseMessage { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 63 | pub(crate) fn new(status: Response, payload_size: u64, payload: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_message` is never used [INFO] [stdout] --> src/net/client.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | async fn parse_message(buffer: &mut BytesMut) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `send` and `receive` are never used [INFO] [stdout] --> src/net/client.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 85 | impl BrokerClient { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub(crate) async fn send(self, path: &String) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub(crate) async fn receive(self) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `client_send` is never used [INFO] [stdout] --> src/net/client.rs:135:14 [INFO] [stdout] | [INFO] [stdout] 135 | pub async fn client_send(client: Arc>, path: &String) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `py` [INFO] [stdout] --> src/lib.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | fn data_broker_client(py: Python<'_>, m: &PyModule) -> PyResult<()> { [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: type `Response` is more private than the item `ResponseMessage::new` [INFO] [stdout] --> src/net/client.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) fn new(status: Response, payload_size: u64, payload: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `ResponseMessage::new` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Response` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/net/client.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | enum Response { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Dequeue` is never constructed [INFO] [stdout] --> src/net/client.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | enum Request { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] 23 | Enqueue = 1, [INFO] [stdout] 24 | Dequeue = 2, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Request` has derived impls for the traits `Clone` and `Debug`, 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: fields `status`, `payload_size`, and `payload` are never read [INFO] [stdout] --> src/net/client.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) struct ResponseMessage { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 58 | status: Response, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 59 | payload_size: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 60 | payload: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResponseMessage` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning: type `Response` is more private than the item `ResponseMessage::new` [INFO] [stdout] --> src/net/client.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub(crate) fn new(status: Response, payload_size: u64, payload: Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `ResponseMessage::new` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Response` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/net/client.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | enum Response { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `stream` and `files` are never read [INFO] [stdout] --> src/net/client.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct BrokerClient { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 13 | stream: Arc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 14 | files: Arc>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BrokerClient` has derived impls for the traits `Clone` and `Debug`, 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: enum `Request` is never used [INFO] [stdout] --> src/net/client.rs:22:6 [INFO] [stdout] | [INFO] [stdout] 22 | enum Request { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Response` is never used [INFO] [stdout] --> src/net/client.rs:28:6 [INFO] [stdout] | [INFO] [stdout] 28 | enum Response { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_u8` is never used [INFO] [stdout] --> src/net/client.rs:33:19 [INFO] [stdout] | [INFO] [stdout] 32 | impl Response { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 33 | pub(crate) fn from_u8(value: u8) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RequestMessage` is never constructed [INFO] [stdout] --> src/net/client.rs:42:19 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) struct RequestMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_bytes` is never used [INFO] [stdout] --> src/net/client.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 47 | impl RequestMessage { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] 48 | pub(crate) fn as_bytes(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ResponseMessage` is never constructed [INFO] [stdout] --> src/net/client.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | pub(crate) struct ResponseMessage { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/net/client.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 62 | impl ResponseMessage { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 63 | pub(crate) fn new(status: Response, payload_size: u64, payload: Vec) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_message` is never used [INFO] [stdout] --> src/net/client.rs:71:10 [INFO] [stdout] | [INFO] [stdout] 71 | async fn parse_message(buffer: &mut BytesMut) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `send` and `receive` are never used [INFO] [stdout] --> src/net/client.rs:92:25 [INFO] [stdout] | [INFO] [stdout] 85 | impl BrokerClient { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 92 | pub(crate) async fn send(self, path: &String) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub(crate) async fn receive(self) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `client_send` is never used [INFO] [stdout] --> src/net/client.rs:135:14 [INFO] [stdout] | [INFO] [stdout] 135 | pub async fn client_send(client: Arc>, path: &String) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.79s [INFO] running `Command { std: "docker" "inspect" "b5559ab7ad92b68e12a7249b5e73411bbfe1f01d211a556118dcfe838eceb984", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5559ab7ad92b68e12a7249b5e73411bbfe1f01d211a556118dcfe838eceb984", kill_on_drop: false }` [INFO] [stdout] b5559ab7ad92b68e12a7249b5e73411bbfe1f01d211a556118dcfe838eceb984