[INFO] fetching crate tubez 0.0.1... [INFO] checking tubez-0.0.1 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate tubez 0.0.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate tubez 0.0.1 [INFO] finished tweaking crates.io crate tubez 0.0.1 [INFO] tweaked toml for crates.io crate tubez 0.0.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate tubez 0.0.1 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate tubez 0.0.1 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded simple_logger v2.2.0 [INFO] [stderr] Downloaded clap_derive v3.2.7 [INFO] [stderr] Downloaded clap v3.2.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6f353ca1d5c948c1206e990a63be701f3b57fa0b6a441c3918e7fd3c2c59dd9f [INFO] running `Command { std: "docker" "start" "-a" "6f353ca1d5c948c1206e990a63be701f3b57fa0b6a441c3918e7fd3c2c59dd9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6f353ca1d5c948c1206e990a63be701f3b57fa0b6a441c3918e7fd3c2c59dd9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f353ca1d5c948c1206e990a63be701f3b57fa0b6a441c3918e7fd3c2c59dd9f", kill_on_drop: false }` [INFO] [stdout] 6f353ca1d5c948c1206e990a63be701f3b57fa0b6a441c3918e7fd3c2c59dd9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1a6bde290b5e2efbaab35e08b580961a80d6bdf8da66b30cc0f0cb2a9d723c52 [INFO] running `Command { std: "docker" "start" "-a" "1a6bde290b5e2efbaab35e08b580961a80d6bdf8da66b30cc0f0cb2a9d723c52", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Checking tracing-core v0.1.28 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling time-macros v0.2.4 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking tracing v0.1.35 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking os_str_bytes v6.2.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking textwrap v0.15.0 [INFO] [stderr] Checking termcolor v1.1.3 [INFO] [stderr] Checking time v0.3.11 [INFO] [stderr] Checking simple_logger v2.2.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling clap_derive v3.2.7 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking clap v3.2.13 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking tokio-util v0.7.3 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking h2 v0.3.13 [INFO] [stderr] Checking hyper v0.14.19 [INFO] [stderr] Checking tubez v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `decoder::Decoder` [INFO] [stdout] --> src/common/frame/mod.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(in crate) use decoder::Decoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frame::Frame` [INFO] [stdout] --> src/common/frame/mod.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | pub(in crate) use frame::Frame; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frame_handler::FrameHandler` [INFO] [stdout] --> src/common/frame/mod.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub(in crate) use frame_handler::FrameHandler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frame_handler::FrameHandlerResult` [INFO] [stdout] --> src/common/frame/mod.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub(in crate) use frame_handler::FrameHandlerResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `decoder::Decoder` [INFO] [stdout] --> src/common/frame/mod.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | pub(in crate) use decoder::Decoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frame::Frame` [INFO] [stdout] --> src/common/frame/mod.rs:10:19 [INFO] [stdout] | [INFO] [stdout] 10 | pub(in crate) use frame::Frame; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frame_handler::FrameHandler` [INFO] [stdout] --> src/common/frame/mod.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | pub(in crate) use frame_handler::FrameHandler; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `frame_handler::FrameHandlerResult` [INFO] [stdout] --> src/common/frame/mod.rs:12:19 [INFO] [stdout] | [INFO] [stdout] 12 | pub(in crate) use frame_handler::FrameHandlerResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ctx` is never read [INFO] [stdout] --> src/common/inverted_future.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct InvertedFutureResolver { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 13 | ctx: Arc>>, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InvertedFutureResolver` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `resolve` is never used [INFO] [stdout] --> src/common/inverted_future.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl InvertedFutureResolver { [INFO] [stdout] | --------------------------------- method in this implementation [INFO] [stdout] 16 | pub fn resolve(&mut self, v: T) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Even`, `Odd`, and `Sequential` are never constructed [INFO] [stdout] --> src/common/unique_id_manager.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum UniqueIdIncrementPolicy { [INFO] [stdout] | ----------------------- variants in this enum [INFO] [stdout] 13 | Even, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | Odd, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | Sequential, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UniqueIdIncrementPolicy` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_impl`, `new`, `new_with_even_ids`, and `new_with_odd_ids` are never used [INFO] [stdout] --> src/common/unique_id_manager.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 87 | impl UniqueIdManager { [INFO] [stdout] | -------------------- associated functions in this implementation [INFO] [stdout] 88 | fn new_impl(increment_policy: UniqueIdIncrementPolicy) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn new_with_even_ids() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | pub fn new_with_odd_ids() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FrameDecodeError` is never constructed [INFO] [stdout] --> src/common/frame/decoder.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct FrameDecodeError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FrameParseError` is never used [INFO] [stdout] --> src/common/frame/decoder.rs:20:10 [INFO] [stdout] | [INFO] [stdout] 20 | pub enum FrameParseError { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `double_u8_to_u16` is never used [INFO] [stdout] --> src/common/frame/decoder.rs:27:4 [INFO] [stdout] | [INFO] [stdout] 27 | fn double_u8_to_u16(left_byte: u8, right_byte: u8) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_frame_body` is never used [INFO] [stdout] --> src/common/frame/decoder.rs:34:4 [INFO] [stdout] | [INFO] [stdout] 34 | fn parse_frame_body(frame_type: u8, mut frame_body_data: VecDeque) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Decoder` is never constructed [INFO] [stdout] --> src/common/frame/decoder.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub struct Decoder { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `decode` are never used [INFO] [stdout] --> src/common/frame/decoder.rs:133:12 [INFO] [stdout] | [INFO] [stdout] 132 | impl Decoder { [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 133 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn decode( [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_drain_frame` is never used [INFO] [stdout] --> src/common/frame/encoder.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn encode_drain_frame() -> Result, FrameEncodeError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_newtube_frame` is never used [INFO] [stdout] --> src/common/frame/encoder.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn encode_newtube_frame( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encode_payload_ack_frame` is never used [INFO] [stdout] --> src/common/frame/encoder.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn encode_payload_ack_frame( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DRAIN_FRAMETYPE` is never used [INFO] [stdout] --> src/common/frame/frame.rs:4:21 [INFO] [stdout] | [INFO] [stdout] 4 | pub(in super) const DRAIN_FRAMETYPE: u8 = 0x1; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `NEWTUBE_FRAMETYPE` is never used [INFO] [stdout] --> src/common/frame/frame.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | pub(in super) const NEWTUBE_FRAMETYPE: u8 = 0x2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PAYLOAD_ACK_FRAMETYPE` is never used [INFO] [stdout] --> src/common/frame/frame.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | pub(in super) const PAYLOAD_ACK_FRAMETYPE: u8 = 0x4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Frame` is never used [INFO] [stdout] --> src/common/frame/frame.rs:55:10 [INFO] [stdout] | [INFO] [stdout] 55 | pub enum Frame { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FrameHandlerError` is never used [INFO] [stdout] --> src/common/frame/frame_handler.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | pub(in crate) enum FrameHandlerError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FrameHandlerResult` is never used [INFO] [stdout] --> src/common/frame/frame_handler.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | pub(in crate) enum FrameHandlerResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FrameHandler` is never constructed [INFO] [stdout] --> src/common/frame/frame_handler.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | pub(in crate) struct FrameHandler<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_tube_mgr`, and `handle_frame` are never used [INFO] [stdout] --> src/common/frame/frame_handler.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl<'a> FrameHandler<'a> { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 44 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn get_tube_mgr(&mut self, tube_id: &u16) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub async fn handle_frame( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/common/tube/tube.rs:205:22 [INFO] [stdout] | [INFO] [stdout] 175 | impl Tube { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 205 | pub(in crate) fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/common/tube/tube_event.rs:62:10 [INFO] [stdout] | [INFO] [stdout] 61 | impl StateMachine { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 62 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Open` and `AbortedFromRemote` are never constructed [INFO] [stdout] --> src/common/tube/tube_manager.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub(in crate) enum TubeCompletionState { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 11 | Open, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | AbortedFromRemote(frame::AbortReason), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TubeCompletionState` 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: associated function `new` is never used [INFO] [stdout] --> src/common/tube/tube_manager.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 28 | impl TubeManager { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 29 | pub(in crate) fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/common/frame/decoder.rs:21:34 [INFO] [stdout] | [INFO] [stdout] 21 | InternalByteOffsetLogicError(String), [INFO] [stdout] | ---------------------------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FrameParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 - InternalByteOffsetLogicError(String), [INFO] [stdout] 21 + InternalByteOffsetLogicError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/common/frame/decoder.rs:22:27 [INFO] [stdout] | [INFO] [stdout] 22 | HeaderJsonDecodeError(serde_json::error::Error), [INFO] [stdout] | --------------------- ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `FrameParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 - HeaderJsonDecodeError(serde_json::error::Error), [INFO] [stdout] 22 + HeaderJsonDecodeError(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FrameHandlerError` is never used [INFO] [stdout] --> src/common/frame/frame_handler.rs:13:20 [INFO] [stdout] | [INFO] [stdout] 13 | pub(in crate) enum FrameHandlerError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `FrameHandlerResult` is never used [INFO] [stdout] --> src/common/frame/frame_handler.rs:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | pub(in crate) enum FrameHandlerResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FrameHandler` is never constructed [INFO] [stdout] --> src/common/frame/frame_handler.rs:39:22 [INFO] [stdout] | [INFO] [stdout] 39 | pub(in crate) struct FrameHandler<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_tube_mgr`, and `handle_frame` are never used [INFO] [stdout] --> src/common/frame/frame_handler.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl<'a> FrameHandler<'a> { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 44 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn get_tube_mgr(&mut self, tube_id: &u16) -> Option>> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub async fn handle_frame( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `req_body` is never read [INFO] [stdout] --> src/common/tube/tube.rs:436:9 [INFO] [stdout] | [INFO] [stdout] 435 | struct TestTubeStuff { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 436 | req_body: hyper::body::Body, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AbortedFromRemote` is never constructed [INFO] [stdout] --> src/common/tube/tube_manager.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub(in crate) enum TubeCompletionState { [INFO] [stdout] | ------------------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 16 | AbortedFromRemote(frame::AbortReason), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TubeCompletionState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tubez::server` [INFO] [stdout] --> examples/server.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use tubez::server::ChannelEvent; [INFO] [stdout] | ^^^^^^ could not find `server` in `tubez` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "server")] pub mod server; [INFO] [stdout] | ------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item is gated behind the `server` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tubez::server` [INFO] [stdout] --> examples/server.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use tubez::server::ServerEvent; [INFO] [stdout] | ^^^^^^ could not find `server` in `tubez` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "server")] pub mod server; [INFO] [stdout] | ------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item is gated behind the `server` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `server` in `tubez` [INFO] [stdout] --> examples/server.rs:35:46 [INFO] [stdout] | [INFO] [stdout] 35 | fn spawn_channel_handler(mut channel: tubez::server::Channel) { [INFO] [stdout] | ^^^^^^ could not find `server` in `tubez` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | #[cfg(feature = "server")] pub mod server; [INFO] [stdout] | ------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item is gated behind the `server` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Server` in `tubez` [INFO] [stdout] --> examples/server.rs:61:29 [INFO] [stdout] | [INFO] [stdout] 61 | let mut server = tubez::Server::new(&cli_args.bind_addr).await; [INFO] [stdout] | ^^^^^^ could not find `Server` in `tubez` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:14:44 [INFO] [stdout] | [INFO] [stdout] 14 | #[cfg(feature = "server")] pub use server::Server; [INFO] [stdout] | ------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item is gated behind the `server` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tubez` (example "server") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: could not find `Client` in `tubez` [INFO] [stdout] --> examples/client.rs:43:29 [INFO] [stdout] | [INFO] [stdout] 43 | let mut client = tubez::Client::new(cli_args.server_uri); [INFO] [stdout] | ^^^^^^ could not find `Client` in `tubez` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/workdir/src/lib.rs:10:44 [INFO] [stdout] | [INFO] [stdout] 10 | #[cfg(feature = "client")] pub use client::Client; [INFO] [stdout] | ------------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the item is gated behind the `client` feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tubez` (example "client") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "1a6bde290b5e2efbaab35e08b580961a80d6bdf8da66b30cc0f0cb2a9d723c52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a6bde290b5e2efbaab35e08b580961a80d6bdf8da66b30cc0f0cb2a9d723c52", kill_on_drop: false }` [INFO] [stdout] 1a6bde290b5e2efbaab35e08b580961a80d6bdf8da66b30cc0f0cb2a9d723c52