[INFO] cloning repository https://github.com/beanbean97/simple_quic [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/beanbean97/simple_quic" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeanbean97%2Fsimple_quic", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeanbean97%2Fsimple_quic'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 10f081a49ca2a56b4f26127dc7f83e315e2e81ce [INFO] checking beanbean97/simple_quic against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeanbean97%2Fsimple_quic" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/beanbean97/simple_quic on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/beanbean97/simple_quic [INFO] finished tweaking git repo https://github.com/beanbean97/simple_quic [INFO] tweaked toml for git repo https://github.com/beanbean97/simple_quic written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/beanbean97/simple_quic already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-executor v1.3.0 [INFO] [stderr] Downloaded wepoll-sys v3.0.0 [INFO] [stderr] Downloaded async-io v1.1.9 [INFO] [stderr] Downloaded async-global-executor v1.3.0 [INFO] [stderr] Downloaded polling v2.0.0 [INFO] [stderr] Downloaded futures-lite v1.10.1 [INFO] [stderr] Downloaded bimap v0.5.2 [INFO] [stderr] Downloaded blocking v1.0.1 [INFO] [stderr] Downloaded mio v0.7.2 [INFO] [stderr] Downloaded async-std v1.6.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 45b65e8f0b56fd26daf4b11c8cbfe135c255985cea4a7f876bd00a8446b4eed7 [INFO] running `Command { std: "docker" "start" "-a" "45b65e8f0b56fd26daf4b11c8cbfe135c255985cea4a7f876bd00a8446b4eed7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "45b65e8f0b56fd26daf4b11c8cbfe135c255985cea4a7f876bd00a8446b4eed7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45b65e8f0b56fd26daf4b11c8cbfe135c255985cea4a7f876bd00a8446b4eed7", kill_on_drop: false }` [INFO] [stdout] 45b65e8f0b56fd26daf4b11c8cbfe135c255985cea4a7f876bd00a8446b4eed7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f497d7c89520ddc9b1afcb7b9f6e00bb85ad74ed320a0a7ce9172c968033d687 [INFO] running `Command { std: "docker" "start" "-a" "f497d7c89520ddc9b1afcb7b9f6e00bb85ad74ed320a0a7ce9172c968033d687", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Checking futures-core v0.3.6 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Checking futures-io v0.3.6 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking pin-project-lite v0.1.10 [INFO] [stderr] Compiling pin-project-internal v0.4.26 [INFO] [stderr] Compiling rustversion v1.0.3 [INFO] [stderr] Checking futures-sink v0.3.6 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking vec-arena v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking async-task v4.0.2 [INFO] [stderr] Checking bimap v0.5.2 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking futures-channel v0.3.6 [INFO] [stderr] Checking async-channel v1.4.2 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking futures-task v0.3.6 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking futures-lite v1.10.1 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking async-executor v1.3.0 [INFO] [stderr] Checking blocking v1.0.1 [INFO] [stderr] Checking polling v2.0.0 [INFO] [stderr] Checking nb-connect v1.0.2 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.2 [INFO] [stderr] Checking async-io v1.1.9 [INFO] [stderr] Checking async-global-executor v1.3.0 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling futures-macro v0.3.6 [INFO] [stderr] Compiling async-attributes v1.1.1 [INFO] [stderr] Compiling tracing-attributes v0.1.11 [INFO] [stderr] Compiling async-trait v0.1.41 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Checking async-std v1.6.5 [INFO] [stderr] Checking pin-project v0.4.26 [INFO] [stderr] Checking futures-util v0.3.6 [INFO] [stderr] Checking tracing v0.1.21 [INFO] [stderr] Checking futures-executor v0.3.6 [INFO] [stderr] Checking futures v0.3.6 [INFO] [stderr] Checking simple_quic v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/connect.rs:140:39 [INFO] [stdout] | [INFO] [stdout] 140 | self.detect_lost_packets(now);//!IMPO [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/connect.rs:144:41 [INFO] [stdout] | [INFO] [stdout] 144 | self.set_loss_detection_timer();//!IMPO [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `.` [INFO] [stdout] --> src/connect.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | .sent_packets [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/connect.rs:290:14 [INFO] [stdout] | [INFO] [stdout] 290 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 291 | let timeout = pto * 2u32.pow(cmp::min(self.pto_count, MAX_BACKOFF_EXPONENT)); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/connect.rs:352:45 [INFO] [stdout] | [INFO] [stdout] 352 | let mut coalesce = spaces.len() > 1;//!do not need we only have one spaces [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/connect.rs:371:35 [INFO] [stdout] | [INFO] [stdout] 371 | let pn_len = number.len();//!always 16 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/connect.rs:140:39 [INFO] [stdout] | [INFO] [stdout] 140 | self.detect_lost_packets(now);//!IMPO [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/connect.rs:144:41 [INFO] [stdout] | [INFO] [stdout] 144 | self.set_loss_detection_timer();//!IMPO [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unexpected token: `.` [INFO] [stdout] --> src/connect.rs:260:21 [INFO] [stdout] | [INFO] [stdout] 260 | .sent_packets [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found keyword `let` [INFO] [stdout] --> src/connect.rs:290:14 [INFO] [stdout] | [INFO] [stdout] 290 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 291 | let timeout = pto * 2u32.pow(cmp::min(self.pto_count, MAX_BACKOFF_EXPONENT)); [INFO] [stdout] | --- unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/connect.rs:352:45 [INFO] [stdout] | [INFO] [stdout] 352 | let mut coalesce = spaces.len() > 1;//!do not need we only have one spaces [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/connect.rs:371:35 [INFO] [stdout] | [INFO] [stdout] 371 | let pn_len = number.len();//!always 16 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: attributes on expressions are experimental [INFO] [stdout] --> src/connect.rs:140:39 [INFO] [stdout] | [INFO] [stdout] 140 | self.detect_lost_packets(now);//!IMPO [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #15701 for more information [INFO] [stdout] = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable [INFO] [stdout] = help: `///` is for documentation comments. For a plain comment, use `//`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: attributes on expressions are experimental [INFO] [stdout] --> src/connect.rs:140:39 [INFO] [stdout] | [INFO] [stdout] 140 | self.detect_lost_packets(now);//!IMPO [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #15701 for more information [INFO] [stdout] = help: add `#![feature(stmt_expr_attributes)]` to the crate attributes to enable [INFO] [stdout] = help: `///` is for documentation comments. For a plain comment, use `//`. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `space` [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod space; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `space`, create file "src/space.rs" or "src/space/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `space` [INFO] [stdout] --> src/lib.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod space; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `space`, create file "src/space.rs" or "src/space/mod.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing `in` in `for` loop [INFO] [stdout] --> src/streams.rs:480:27 [INFO] [stdout] | [INFO] [stdout] 480 | for old_next .. self.next_remote{ [INFO] [stdout] | ^ help: try adding `in` here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing `in` in `for` loop [INFO] [stdout] --> src/streams.rs:480:27 [INFO] [stdout] | [INFO] [stdout] 480 | for old_next .. self.next_remote{ [INFO] [stdout] | ^ help: try adding `in` here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/streams.rs:480:27 [INFO] [stdout] | [INFO] [stdout] 480 | for old_next .. self.next_remote{ [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `.` [INFO] [stdout] --> src/streams.rs:480:27 [INFO] [stdout] | [INFO] [stdout] 480 | for old_next .. self.next_remote{ [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/streams.rs:705:5 [INFO] [stdout] | [INFO] [stdout] 705 | //! 原实现好像直接开到max_remote 待查通知机制 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0753]: expected outer doc comment [INFO] [stdout] --> src/streams.rs:705:5 [INFO] [stdout] | [INFO] [stdout] 705 | //! 原实现好像直接开到max_remote 待查通知机制 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::space::PacketSpace`, `super::space::Retransmits`, `super::space::SentPacket`, `super::share`, `super::timer` [INFO] [stdout] --> src/connect.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use super::{share::TransportConfig,timer::{Timer, TimerTable},space::{PacketSpace, Retransmits, SentPacket}}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ no `SentPacket` in `space` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `Retransmits` in `space` [INFO] [stdout] | | | no `PacketSpace` in `space` [INFO] [stdout] | | could not find `timer` in the crate root [INFO] [stdout] | could not find `share` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/connect.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | trace!(timer = ?timer, "timeout"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::streams::trace [INFO] [stdout] log::trace [INFO] [stdout] tracing::trace [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/connect.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | trace!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::streams::trace [INFO] [stdout] log::trace [INFO] [stdout] tracing::trace [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/connect.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | trace!("packets lost: {:?}", lost_packets); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::streams::trace [INFO] [stdout] log::trace [INFO] [stdout] tracing::trace [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/connect.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | trace!("sending {} byte datagram", buf.len()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::streams::trace [INFO] [stdout] log::trace [INFO] [stdout] tracing::trace [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/connect.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | trace!("PING"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::streams::trace [INFO] [stdout] log::trace [INFO] [stdout] tracing::trace [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/connect.rs:412:13 [INFO] [stdout] | [INFO] [stdout] 412 | trace!("ACK"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::streams::trace [INFO] [stdout] log::trace [INFO] [stdout] tracing::trace [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/connect.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 429 | trace!(stream = %id, "RESET_STREAM"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::streams::trace [INFO] [stdout] log::trace [INFO] [stdout] tracing::trace [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/connect.rs:452:13 [INFO] [stdout] | [INFO] [stdout] 452 | trace!(stream = %frame.id, "STOP_SENDING"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::streams::trace [INFO] [stdout] log::trace [INFO] [stdout] tracing::trace [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/connect.rs:459:13 [INFO] [stdout] | [INFO] [stdout] 459 | trace!(value = self.local_max_data, "MAX_DATA"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::streams::trace [INFO] [stdout] log::trace [INFO] [stdout] tracing::trace [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/connect.rs:482:13 [INFO] [stdout] | [INFO] [stdout] 482 | trace!(stream = %id, max = max, "MAX_STREAM_DATA"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::streams::trace [INFO] [stdout] log::trace [INFO] [stdout] tracing::trace [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/connect.rs:493:13 [INFO] [stdout] | [INFO] [stdout] 493 | trace!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::streams::trace [INFO] [stdout] log::trace [INFO] [stdout] tracing::trace [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/connect.rs:537:13 [INFO] [stdout] | [INFO] [stdout] 537 | trace!(id = %stream.id, off = stream.offset, len, fin, "STREAM"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::streams::trace [INFO] [stdout] log::trace [INFO] [stdout] tracing::trace [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame` [INFO] [stdout] --> src/connect.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | ack: frame::Ack, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SpaceId` [INFO] [stdout] --> src/connect.rs:187:78 [INFO] [stdout] | [INFO] [stdout] 187 | debug_assert!(self.side.is_client() && self.highest_space == SpaceId::Handshake); [INFO] [stdout] | ^^^^^^^ use of undeclared type `SpaceId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SpaceId` [INFO] [stdout] --> src/connect.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | SpaceId::Handshake [INFO] [stdout] | ^^^^^^^ use of undeclared type `SpaceId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Frame` [INFO] [stdout] --> src/connect.rs:320:17 [INFO] [stdout] | [INFO] [stdout] 320 | Frame::Ack(_) | Frame::Padding => {} [INFO] [stdout] | ^^^^^ use of undeclared type `Frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Frame` [INFO] [stdout] --> src/connect.rs:320:33 [INFO] [stdout] | [INFO] [stdout] 320 | Frame::Ack(_) | Frame::Padding => {} [INFO] [stdout] | ^^^^^ use of undeclared type `Frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Frame` [INFO] [stdout] --> src/connect.rs:326:17 [INFO] [stdout] | [INFO] [stdout] 326 | Frame::Ack(ack) => { [INFO] [stdout] | ^^^^^ use of undeclared type `Frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SpaceId` [INFO] [stdout] --> src/connect.rs:327:47 [INFO] [stdout] | [INFO] [stdout] 327 | self.on_ack_received(now, SpaceId::Data, ack)?; [INFO] [stdout] | ^^^^^^^ use of undeclared type `SpaceId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PacketNumber` [INFO] [stdout] --> src/connect.rs:368:22 [INFO] [stdout] | [INFO] [stdout] 368 | let number = PacketNumber::new(exact_number, self.space.largest_acked_packet.unwrap_or(0)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PacketNumber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame` [INFO] [stdout] --> src/connect.rs:408:23 [INFO] [stdout] | [INFO] [stdout] 408 | buf.write(frame::Type::PING); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame` [INFO] [stdout] --> src/connect.rs:420:27 [INFO] [stdout] | [INFO] [stdout] 420 | while buf.len() + frame::ResetStream::SIZE_BOUND < max_size { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame` [INFO] [stdout] --> src/connect.rs:431:13 [INFO] [stdout] | [INFO] [stdout] 431 | frame::ResetStream { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame` [INFO] [stdout] --> src/connect.rs:440:27 [INFO] [stdout] | [INFO] [stdout] 440 | while buf.len() + frame::StopSending::SIZE_BOUND < max_size { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame` [INFO] [stdout] --> src/connect.rs:462:23 [INFO] [stdout] | [INFO] [stdout] 462 | buf.write(frame::Type::MAX_DATA); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame` [INFO] [stdout] --> src/connect.rs:483:23 [INFO] [stdout] | [INFO] [stdout] 483 | buf.write(frame::Type::MAX_STREAM_DATA); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame` [INFO] [stdout] --> src/connect.rs:497:23 [INFO] [stdout] | [INFO] [stdout] 497 | buf.write(frame::Type::MAX_STREAMS_BIDI); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dir` [INFO] [stdout] --> src/connect.rs:498:51 [INFO] [stdout] | [INFO] [stdout] 498 | buf.write_var(self.streams.max_remote[Dir::Bi as usize]); [INFO] [stdout] | ^^^ use of undeclared type `Dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datagram` [INFO] [stdout] --> src/connect.rs:502:27 [INFO] [stdout] | [INFO] [stdout] 502 | while buf.len() + Datagram::SIZE_BOUND < max_size { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Datagram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `super::space::PacketSpace`, `super::space::Retransmits`, `super::space::SentPacket`, `super::share`, `super::timer` [INFO] [stdout] --> src/connect.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use super::{share::TransportConfig,timer::{Timer, TimerTable},space::{PacketSpace, Retransmits, SentPacket}}; [INFO] [stdout] | ^^^^^ ^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ no `SentPacket` in `space` [INFO] [stdout] | | | | | [INFO] [stdout] | | | | no `Retransmits` in `space` [INFO] [stdout] | | | no `PacketSpace` in `space` [INFO] [stdout] | | could not find `timer` in the crate root [INFO] [stdout] | could not find `share` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame` [INFO] [stdout] --> src/connect.rs:518:27 [INFO] [stdout] | [INFO] [stdout] 518 | while buf.len() + frame::Stream::SIZE_BOUND < max_size { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/connect.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | trace!(timer = ?timer, "timeout"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::streams::trace [INFO] [stdout] log::trace [INFO] [stdout] tracing::trace [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/connect.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | trace!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::streams::trace [INFO] [stdout] log::trace [INFO] [stdout] tracing::trace [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame` [INFO] [stdout] --> src/connect.rs:533:49 [INFO] [stdout] | [INFO] [stdout] 533 | max_size as usize - buf.len() - frame::Stream::SIZE_BOUND, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame` [INFO] [stdout] --> src/connect.rs:538:25 [INFO] [stdout] | [INFO] [stdout] 538 | let frame = frame::Stream { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/connect.rs:257:13 [INFO] [stdout] | [INFO] [stdout] 257 | trace!("packets lost: {:?}", lost_packets); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::streams::trace [INFO] [stdout] log::trace [INFO] [stdout] tracing::trace [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/connect.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | trace!("sending {} byte datagram", buf.len()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::streams::trace [INFO] [stdout] log::trace [INFO] [stdout] tracing::trace [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/connect.rs:407:13 [INFO] [stdout] | [INFO] [stdout] 407 | trace!("PING"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::streams::trace [INFO] [stdout] log::trace [INFO] [stdout] tracing::trace [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/connect.rs:412:13 [INFO] [stdout] | [INFO] [stdout] 412 | trace!("ACK"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::streams::trace [INFO] [stdout] log::trace [INFO] [stdout] tracing::trace [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/connect.rs:429:13 [INFO] [stdout] | [INFO] [stdout] 429 | trace!(stream = %id, "RESET_STREAM"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::streams::trace [INFO] [stdout] log::trace [INFO] [stdout] tracing::trace [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mem` [INFO] [stdout] --> src/streams.rs:479:22 [INFO] [stdout] | [INFO] [stdout] 479 | let old_next = mem::replace( self.next_remote,id+1); [INFO] [stdout] | ^^^ use of undeclared crate or module `mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/connect.rs:452:13 [INFO] [stdout] | [INFO] [stdout] 452 | trace!(stream = %frame.id, "STOP_SENDING"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::streams::trace [INFO] [stdout] log::trace [INFO] [stdout] tracing::trace [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/connect.rs:459:13 [INFO] [stdout] | [INFO] [stdout] 459 | trace!(value = self.local_max_data, "MAX_DATA"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::streams::trace [INFO] [stdout] log::trace [INFO] [stdout] tracing::trace [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/connect.rs:482:13 [INFO] [stdout] | [INFO] [stdout] 482 | trace!(stream = %id, max = max, "MAX_STREAM_DATA"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::streams::trace [INFO] [stdout] log::trace [INFO] [stdout] tracing::trace [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/connect.rs:493:13 [INFO] [stdout] | [INFO] [stdout] 493 | trace!( [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::streams::trace [INFO] [stdout] log::trace [INFO] [stdout] tracing::trace [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find macro `trace` in this scope [INFO] [stdout] --> src/connect.rs:537:13 [INFO] [stdout] | [INFO] [stdout] 537 | trace!(id = %stream.id, off = stream.offset, len, fin, "STREAM"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider importing one of these items: [INFO] [stdout] crate::streams::trace [INFO] [stdout] log::trace [INFO] [stdout] tracing::trace [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DatagramConfig` in this scope [INFO] [stdout] --> src/connect.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Config{ [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 14 | datagram:Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StreamConfig` in this scope [INFO] [stdout] --> src/connect.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Config{ [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 14 | datagram:Arc, [INFO] [stdout] 15 | stream:Arc, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PackageSpace` in this scope [INFO] [stdout] --> src/connect.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | space: PackageSpace, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ClientStreams` in this scope [INFO] [stdout] --> src/connect.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | streams: ClientStreams, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ClientDatagrams` in this scope [INFO] [stdout] --> src/connect.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | datagrams: ClientDatagrams, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Dedup` in this scope [INFO] [stdout] --> src/connect.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | dedup: Dedup, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransportError` in this scope [INFO] [stdout] --> src/connect.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | ) -> Result<(), TransportError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::TransportError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransportError` [INFO] [stdout] --> src/connect.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | return Err(TransportError::PROTOCOL_VIOLATION("unsent packet acked")); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::TransportError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `instant_saturating_sub` in this scope [INFO] [stdout] --> src/connect.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | let rtt = instant_saturating_sub(now, self.space.largest_acked_packet_sent); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TIMER_GRANULARITY` in this scope [INFO] [stdout] --> src/connect.rs:228:76 [INFO] [stdout] | [INFO] [stdout] 228 | let loss_delay = cmp::max(rtt.mul_f32(self.config.time_threshold), TIMER_GRANULARITY); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `space` in this scope [INFO] [stdout] --> src/connect.rs:244:21 [INFO] [stdout] | [INFO] [stdout] 244 | space [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TIMER_GRANULARITY` in this scope [INFO] [stdout] --> src/connect.rs:288:60 [INFO] [stdout] | [INFO] [stdout] 288 | srtt + cmp::max(4 * self.path.rtt.var, TIMER_GRANULARITY) + self.max_ack_delay() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_BACKOFF_EXPONENT` in this scope [INFO] [stdout] --> src/connect.rs:291:67 [INFO] [stdout] | [INFO] [stdout] 291 | let timeout = pto * 2u32.pow(cmp::min(self.pto_count, MAX_BACKOFF_EXPONENT)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Packet` in this scope [INFO] [stdout] --> src/connect.rs:302:21 [INFO] [stdout] | [INFO] [stdout] 302 | mut packet: Packet, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_ACK_BLOCKS` in this scope [INFO] [stdout] --> src/connect.rs:309:39 [INFO] [stdout] | [INFO] [stdout] 309 | if space.pending_acks.len() > MAX_ACK_BLOCKS { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame` [INFO] [stdout] --> src/connect.rs:316:29 [INFO] [stdout] | [INFO] [stdout] 316 | for frame in frame::Iter::new(packet.payload) { [INFO] [stdout] | ^^^^ not found in `frame` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use async_std::path::Iter; [INFO] [stdout] | [INFO] [stdout] 1 | use bimap::btree::Iter; [INFO] [stdout] | [INFO] [stdout] 1 | use bimap::hash::Iter; [INFO] [stdout] | [INFO] [stdout] 1 | use core::option::Iter; [INFO] [stdout] | [INFO] [stdout] and 23 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Package` in this scope [INFO] [stdout] --> src/connect.rs:341:57 [INFO] [stdout] | [INFO] [stdout] 47 | impl ClientConnection [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 341 | fn poll_transmit(&mut self, now: Instant) -> Option { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `spaces` in this scope [INFO] [stdout] --> src/connect.rs:352:28 [INFO] [stdout] | [INFO] [stdout] 352 | let mut coalesce = spaces.len() > 1;//!do not need we only have one spaces [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `space` in this scope [INFO] [stdout] --> src/connect.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | space.permit_ack_only &= acks.is_empty(); [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `padded` in this scope [INFO] [stdout] --> src/connect.rs:385:30 [INFO] [stdout] | [INFO] [stdout] 385 | size: if padded || ack_eliciting { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RangeSet` in this scope [INFO] [stdout] --> src/connect.rs:404:71 [INFO] [stdout] | [INFO] [stdout] 404 | fn populate_packet(&mut self, buf: &mut Vec) -> (Retransmits, RangeSet) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::range_set::RangeSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `space` in this scope [INFO] [stdout] --> src/connect.rs:406:30 [INFO] [stdout] | [INFO] [stdout] 406 | if mem::replace(&mut space.ping_pending, false) { [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `space` in this scope [INFO] [stdout] --> src/connect.rs:411:24 [INFO] [stdout] | [INFO] [stdout] 411 | let acks = if !space.pending_acks.is_empty() { [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame` [INFO] [stdout] --> src/connect.rs:413:20 [INFO] [stdout] | [INFO] [stdout] 413 | frame::Ack::encode(0, &space.pending_acks, buf); [INFO] [stdout] | ^^^ not found in `frame` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::frame::Ack; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `space` in this scope [INFO] [stdout] --> src/connect.rs:413:36 [INFO] [stdout] | [INFO] [stdout] 413 | frame::Ack::encode(0, &space.pending_acks, buf); [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `space` in this scope [INFO] [stdout] --> src/connect.rs:414:13 [INFO] [stdout] | [INFO] [stdout] 414 | space.pending_acks.clone() [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeSet` [INFO] [stdout] --> src/connect.rs:416:13 [INFO] [stdout] | [INFO] [stdout] 416 | RangeSet::new() [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::range_set::RangeSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `max_size` in this scope [INFO] [stdout] --> src/connect.rs:420:60 [INFO] [stdout] | [INFO] [stdout] 420 | while buf.len() + frame::ResetStream::SIZE_BOUND < max_size { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `space` in this scope [INFO] [stdout] --> src/connect.rs:421:42 [INFO] [stdout] | [INFO] [stdout] 421 | let (id, error_code) = match space.pending.reset_stream.pop() { [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `max_size` in this scope [INFO] [stdout] --> src/connect.rs:440:60 [INFO] [stdout] | [INFO] [stdout] 440 | while buf.len() + frame::StopSending::SIZE_BOUND < max_size { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `space` in this scope [INFO] [stdout] --> src/connect.rs:441:31 [INFO] [stdout] | [INFO] [stdout] 441 | let frame = match space.pending.stop_sending.pop() { [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `space` in this scope [INFO] [stdout] --> src/connect.rs:458:12 [INFO] [stdout] | [INFO] [stdout] 458 | if space.pending.max_data && buf.len() + 9 < max_size { [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `max_size` in this scope [INFO] [stdout] --> src/connect.rs:458:54 [INFO] [stdout] | [INFO] [stdout] 458 | if space.pending.max_data && buf.len() + 9 < max_size { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `space` in this scope [INFO] [stdout] --> src/connect.rs:460:13 [INFO] [stdout] | [INFO] [stdout] 460 | space.pending.max_data = false; [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `max_size` in this scope [INFO] [stdout] --> src/connect.rs:467:32 [INFO] [stdout] | [INFO] [stdout] 467 | while buf.len() + 17 < max_size { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `space` in this scope [INFO] [stdout] --> src/connect.rs:468:28 [INFO] [stdout] | [INFO] [stdout] 468 | let id = match space.pending.max_stream_data.iter().next() { [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `space` in this scope [INFO] [stdout] --> src/connect.rs:472:13 [INFO] [stdout] | [INFO] [stdout] 472 | space.pending.max_stream_data.remove(&id); [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `space` in this scope [INFO] [stdout] --> src/connect.rs:490:12 [INFO] [stdout] | [INFO] [stdout] 490 | if space.pending.max_bi_stream_id && buf.len() + 9 < max_size { [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `max_size` in this scope [INFO] [stdout] --> src/connect.rs:490:62 [INFO] [stdout] | [INFO] [stdout] 490 | if space.pending.max_bi_stream_id && buf.len() + 9 < max_size { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `space` in this scope [INFO] [stdout] --> src/connect.rs:491:13 [INFO] [stdout] | [INFO] [stdout] 491 | space.pending.max_bi_stream_id = false; [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `max_size` in this scope [INFO] [stdout] --> src/connect.rs:502:50 [INFO] [stdout] | [INFO] [stdout] 502 | while buf.len() + Datagram::SIZE_BOUND < max_size { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `max_size` in this scope [INFO] [stdout] --> src/connect.rs:507:50 [INFO] [stdout] | [INFO] [stdout] 507 | if buf.len() + datagram.size(true) > max_size { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `max_size` in this scope [INFO] [stdout] --> src/connect.rs:518:55 [INFO] [stdout] | [INFO] [stdout] 518 | while buf.len() + frame::Stream::SIZE_BOUND < max_size { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `space` in this scope [INFO] [stdout] --> src/connect.rs:519:36 [INFO] [stdout] | [INFO] [stdout] 519 | let mut stream = match space.pending.stream.pop_front() { [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `max_size` in this scope [INFO] [stdout] --> src/connect.rs:533:17 [INFO] [stdout] | [INFO] [stdout] 533 | max_size as usize - buf.len() - frame::Stream::SIZE_BOUND, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `space` in this scope [INFO] [stdout] --> src/connect.rs:548:17 [INFO] [stdout] | [INFO] [stdout] 548 | space.pending.stream.push_front(stream); [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RangeSet` in this scope [INFO] [stdout] --> src/connect.rs:559:11 [INFO] [stdout] | [INFO] [stdout] 559 | acks: RangeSet, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::range_set::RangeSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeSet` [INFO] [stdout] --> src/connect.rs:567:15 [INFO] [stdout] | [INFO] [stdout] 567 | acks: RangeSet::new(), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::range_set::RangeSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ClientStream` in this scope [INFO] [stdout] --> src/streams.rs:314:7 [INFO] [stdout] | [INFO] [stdout] 314 | ClientStream { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found derive macro `Error` [INFO] [stdout] --> src/streams.rs:473:51 [INFO] [stdout] | [INFO] [stdout] 473 | fn id_new_opened(&mut self,id:u64)->Result{ [INFO] [stdout] | ^^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use async_std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::transport_error::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use futures::io::Error; [INFO] [stdout] | [INFO] [stdout] and 6 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame` [INFO] [stdout] --> src/connect.rs:85:14 [INFO] [stdout] | [INFO] [stdout] 85 | ack: frame::Ack, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found derive macro `Error` [INFO] [stdout] --> src/streams.rs:494:70 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn on_recv_frame(&mut self, frame: frame::Frame) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use async_std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::transport_error::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use futures::io::Error; [INFO] [stdout] | [INFO] [stdout] and 6 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found derive macro `Error` [INFO] [stdout] --> src/streams.rs:610:72 [INFO] [stdout] | [INFO] [stdout] 610 | pub fn on_frame_acked(&mut self, frame: &frame::Frame) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use async_std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::transport_error::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use futures::io::Error; [INFO] [stdout] | [INFO] [stdout] and 6 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SpaceId` [INFO] [stdout] --> src/connect.rs:187:78 [INFO] [stdout] | [INFO] [stdout] 187 | debug_assert!(self.side.is_client() && self.highest_space == SpaceId::Handshake); [INFO] [stdout] | ^^^^^^^ use of undeclared type `SpaceId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SpaceId` [INFO] [stdout] --> src/connect.rs:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | SpaceId::Handshake [INFO] [stdout] | ^^^^^^^ use of undeclared type `SpaceId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Frame` [INFO] [stdout] --> src/connect.rs:320:17 [INFO] [stdout] | [INFO] [stdout] 320 | Frame::Ack(_) | Frame::Padding => {} [INFO] [stdout] | ^^^^^ use of undeclared type `Frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Frame` [INFO] [stdout] --> src/connect.rs:320:33 [INFO] [stdout] | [INFO] [stdout] 320 | Frame::Ack(_) | Frame::Padding => {} [INFO] [stdout] | ^^^^^ use of undeclared type `Frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Frame` [INFO] [stdout] --> src/connect.rs:326:17 [INFO] [stdout] | [INFO] [stdout] 326 | Frame::Ack(ack) => { [INFO] [stdout] | ^^^^^ use of undeclared type `Frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SpaceId` [INFO] [stdout] --> src/connect.rs:327:47 [INFO] [stdout] | [INFO] [stdout] 327 | self.on_ack_received(now, SpaceId::Data, ack)?; [INFO] [stdout] | ^^^^^^^ use of undeclared type `SpaceId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PacketNumber` [INFO] [stdout] --> src/connect.rs:368:22 [INFO] [stdout] | [INFO] [stdout] 368 | let number = PacketNumber::new(exact_number, self.space.largest_acked_packet.unwrap_or(0)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `PacketNumber` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet`, `fmt`, `io`, `net::SocketAddr` [INFO] [stdout] --> src/connect.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{BTreeMap, HashSet, VecDeque}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | fmt, io, mem, [INFO] [stdout] | ^^^ ^^ [INFO] [stdout] 5 | net::SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BytesMut`, `Bytes` [INFO] [stdout] --> src/connect.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use bytes::{Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/connect.rs:140:39 [INFO] [stdout] | [INFO] [stdout] 140 | self.detect_lost_packets(now);//!IMPO [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 141 | [INFO] [stdout] 142 | self.pto_count = 0; [INFO] [stdout] | -------------- rustdoc does not generate documentation for expressions [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] error[E0433]: failed to resolve: use of undeclared crate or module `frame` [INFO] [stdout] --> src/connect.rs:408:23 [INFO] [stdout] | [INFO] [stdout] 408 | buf.write(frame::Type::PING); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/connect.rs:144:41 [INFO] [stdout] | [INFO] [stdout] 144 | self.set_loss_detection_timer();//!IMPO [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 145 | Ok(()) [INFO] [stdout] | ------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/connect.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | /// Probe Timeout [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 285 | / let pto = match self.path.rtt.smoothed { [INFO] [stdout] 286 | | None => 2 * self.config.initial_rtt, [INFO] [stdout] 287 | | Some(srtt) => { [INFO] [stdout] 288 | | srtt + cmp::max(4 * self.path.rtt.var, TIMER_GRANULARITY) + self.max_ack_delay() [INFO] [stdout] 289 | | } [INFO] [stdout] 290 | | } [INFO] [stdout] | |_____________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/connect.rs:352:45 [INFO] [stdout] | [INFO] [stdout] 352 | let mut coalesce = spaces.len() > 1;//!do not need we only have one spaces [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 353 | [INFO] [stdout] 354 | let buf_start = buf.len(); [INFO] [stdout] | -------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/connect.rs:371:35 [INFO] [stdout] | [INFO] [stdout] 371 | let pn_len = number.len();//!always 16 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 372 | [INFO] [stdout] 373 | / if let Some((sent, acks)) = sent { [INFO] [stdout] 374 | | // If we sent any acks, don't immediately resend them. Setting this even if ack_only is [INFO] [stdout] 375 | | // false needlessly prevents us from ACKing the next packet if it's ACK-only, but saves [INFO] [stdout] 376 | | // the need for subtler logic to avoid double-transmitting acks all the time. [INFO] [stdout] ... | [INFO] [stdout] 393 | | ); [INFO] [stdout] 394 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/streams.rs:705:5 [INFO] [stdout] | [INFO] [stdout] 705 | //! 原实现好像直接开到max_remote 待查通知机制 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 706 | / self.streams.insert( [INFO] [stdout] 707 | | id, [INFO] [stdout] 708 | | Stream { [INFO] [stdout] 709 | | proxy_addr: None, [INFO] [stdout] ... | [INFO] [stdout] 712 | | }, [INFO] [stdout] 713 | | ); [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame` [INFO] [stdout] --> src/connect.rs:420:27 [INFO] [stdout] | [INFO] [stdout] 420 | while buf.len() + frame::ResetStream::SIZE_BOUND < max_size { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame` [INFO] [stdout] --> src/connect.rs:431:13 [INFO] [stdout] | [INFO] [stdout] 431 | frame::ResetStream { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame` [INFO] [stdout] --> src/connect.rs:440:27 [INFO] [stdout] | [INFO] [stdout] 440 | while buf.len() + frame::StopSending::SIZE_BOUND < max_size { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame` [INFO] [stdout] --> src/connect.rs:462:23 [INFO] [stdout] | [INFO] [stdout] 462 | buf.write(frame::Type::MAX_DATA); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame` [INFO] [stdout] --> src/connect.rs:483:23 [INFO] [stdout] | [INFO] [stdout] 483 | buf.write(frame::Type::MAX_STREAM_DATA); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame` [INFO] [stdout] --> src/connect.rs:497:23 [INFO] [stdout] | [INFO] [stdout] 497 | buf.write(frame::Type::MAX_STREAMS_BIDI); [INFO] [stdout] | ^^^^^ use of undeclared crate or module `frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dir` [INFO] [stdout] --> src/connect.rs:498:51 [INFO] [stdout] | [INFO] [stdout] 498 | buf.write_var(self.streams.max_remote[Dir::Bi as usize]); [INFO] [stdout] | ^^^ use of undeclared type `Dir` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Datagram` [INFO] [stdout] --> src/connect.rs:502:27 [INFO] [stdout] | [INFO] [stdout] 502 | while buf.len() + Datagram::SIZE_BOUND < max_size { [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Datagram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame` [INFO] [stdout] --> src/connect.rs:518:27 [INFO] [stdout] | [INFO] [stdout] 518 | while buf.len() + frame::Stream::SIZE_BOUND < max_size { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame` [INFO] [stdout] --> src/connect.rs:533:49 [INFO] [stdout] | [INFO] [stdout] 533 | max_size as usize - buf.len() - frame::Stream::SIZE_BOUND, [INFO] [stdout] | ^^^^^ use of undeclared crate or module `frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame` [INFO] [stdout] --> src/connect.rs:538:25 [INFO] [stdout] | [INFO] [stdout] 538 | let frame = frame::Stream { [INFO] [stdout] | ^^^^^ use of undeclared crate or module `frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mem` [INFO] [stdout] --> src/streams.rs:479:22 [INFO] [stdout] | [INFO] [stdout] 479 | let old_next = mem::replace( self.next_remote,id+1); [INFO] [stdout] | ^^^ use of undeclared crate or module `mem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DatagramConfig` in this scope [INFO] [stdout] --> src/connect.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Config{ [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 14 | datagram:Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StreamConfig` in this scope [INFO] [stdout] --> src/connect.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 13 | pub struct Config{ [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 14 | datagram:Arc, [INFO] [stdout] 15 | stream:Arc, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PackageSpace` in this scope [INFO] [stdout] --> src/connect.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | space: PackageSpace, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ClientStreams` in this scope [INFO] [stdout] --> src/connect.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | streams: ClientStreams, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ClientDatagrams` in this scope [INFO] [stdout] --> src/connect.rs:25:14 [INFO] [stdout] | [INFO] [stdout] 25 | datagrams: ClientDatagrams, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Dedup` in this scope [INFO] [stdout] --> src/connect.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | dedup: Dedup, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TransportError` in this scope [INFO] [stdout] --> src/connect.rs:86:21 [INFO] [stdout] | [INFO] [stdout] 86 | ) -> Result<(), TransportError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::TransportError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TransportError` [INFO] [stdout] --> src/connect.rs:88:24 [INFO] [stdout] | [INFO] [stdout] 88 | return Err(TransportError::PROTOCOL_VIOLATION("unsent packet acked")); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::TransportError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `instant_saturating_sub` in this scope [INFO] [stdout] --> src/connect.rs:135:23 [INFO] [stdout] | [INFO] [stdout] 135 | let rtt = instant_saturating_sub(now, self.space.largest_acked_packet_sent); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TIMER_GRANULARITY` in this scope [INFO] [stdout] --> src/connect.rs:228:76 [INFO] [stdout] | [INFO] [stdout] 228 | let loss_delay = cmp::max(rtt.mul_f32(self.config.time_threshold), TIMER_GRANULARITY); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `space` in this scope [INFO] [stdout] --> src/connect.rs:244:21 [INFO] [stdout] | [INFO] [stdout] 244 | space [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TIMER_GRANULARITY` in this scope [INFO] [stdout] --> src/connect.rs:288:60 [INFO] [stdout] | [INFO] [stdout] 288 | srtt + cmp::max(4 * self.path.rtt.var, TIMER_GRANULARITY) + self.max_ack_delay() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_BACKOFF_EXPONENT` in this scope [INFO] [stdout] --> src/connect.rs:291:67 [INFO] [stdout] | [INFO] [stdout] 291 | let timeout = pto * 2u32.pow(cmp::min(self.pto_count, MAX_BACKOFF_EXPONENT)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Packet` in this scope [INFO] [stdout] --> src/connect.rs:302:21 [INFO] [stdout] | [INFO] [stdout] 302 | mut packet: Packet, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_ACK_BLOCKS` in this scope [INFO] [stdout] --> src/connect.rs:309:39 [INFO] [stdout] | [INFO] [stdout] 309 | if space.pending_acks.len() > MAX_ACK_BLOCKS { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame` [INFO] [stdout] --> src/connect.rs:316:29 [INFO] [stdout] | [INFO] [stdout] 316 | for frame in frame::Iter::new(packet.payload) { [INFO] [stdout] | ^^^^ not found in `frame` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use async_std::path::Iter; [INFO] [stdout] | [INFO] [stdout] 1 | use bimap::btree::Iter; [INFO] [stdout] | [INFO] [stdout] 1 | use bimap::hash::Iter; [INFO] [stdout] | [INFO] [stdout] 1 | use core::option::Iter; [INFO] [stdout] | [INFO] [stdout] and 23 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Package` in this scope [INFO] [stdout] --> src/connect.rs:341:57 [INFO] [stdout] | [INFO] [stdout] 47 | impl ClientConnection [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 341 | fn poll_transmit(&mut self, now: Instant) -> Option { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `spaces` in this scope [INFO] [stdout] --> src/connect.rs:352:28 [INFO] [stdout] | [INFO] [stdout] 352 | let mut coalesce = spaces.len() > 1;//!do not need we only have one spaces [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `space` in this scope [INFO] [stdout] --> src/connect.rs:377:13 [INFO] [stdout] | [INFO] [stdout] 377 | space.permit_ack_only &= acks.is_empty(); [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `padded` in this scope [INFO] [stdout] --> src/connect.rs:385:30 [INFO] [stdout] | [INFO] [stdout] 385 | size: if padded || ack_eliciting { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RangeSet` in this scope [INFO] [stdout] --> src/connect.rs:404:71 [INFO] [stdout] | [INFO] [stdout] 404 | fn populate_packet(&mut self, buf: &mut Vec) -> (Retransmits, RangeSet) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::range_set::RangeSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `space` in this scope [INFO] [stdout] --> src/connect.rs:406:30 [INFO] [stdout] | [INFO] [stdout] 406 | if mem::replace(&mut space.ping_pending, false) { [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `space` in this scope [INFO] [stdout] --> src/connect.rs:411:24 [INFO] [stdout] | [INFO] [stdout] 411 | let acks = if !space.pending_acks.is_empty() { [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `frame` [INFO] [stdout] --> src/connect.rs:413:20 [INFO] [stdout] | [INFO] [stdout] 413 | frame::Ack::encode(0, &space.pending_acks, buf); [INFO] [stdout] | ^^^ not found in `frame` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::frame::Ack; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `space` in this scope [INFO] [stdout] --> src/connect.rs:413:36 [INFO] [stdout] | [INFO] [stdout] 413 | frame::Ack::encode(0, &space.pending_acks, buf); [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `space` in this scope [INFO] [stdout] --> src/connect.rs:414:13 [INFO] [stdout] | [INFO] [stdout] 414 | space.pending_acks.clone() [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeSet` [INFO] [stdout] --> src/connect.rs:416:13 [INFO] [stdout] | [INFO] [stdout] 416 | RangeSet::new() [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::range_set::RangeSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `max_size` in this scope [INFO] [stdout] --> src/connect.rs:420:60 [INFO] [stdout] | [INFO] [stdout] 420 | while buf.len() + frame::ResetStream::SIZE_BOUND < max_size { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `space` in this scope [INFO] [stdout] --> src/connect.rs:421:42 [INFO] [stdout] | [INFO] [stdout] 421 | let (id, error_code) = match space.pending.reset_stream.pop() { [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `max_size` in this scope [INFO] [stdout] --> src/connect.rs:440:60 [INFO] [stdout] | [INFO] [stdout] 440 | while buf.len() + frame::StopSending::SIZE_BOUND < max_size { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `space` in this scope [INFO] [stdout] --> src/connect.rs:441:31 [INFO] [stdout] | [INFO] [stdout] 441 | let frame = match space.pending.stop_sending.pop() { [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `space` in this scope [INFO] [stdout] --> src/connect.rs:458:12 [INFO] [stdout] | [INFO] [stdout] 458 | if space.pending.max_data && buf.len() + 9 < max_size { [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `max_size` in this scope [INFO] [stdout] --> src/connect.rs:458:54 [INFO] [stdout] | [INFO] [stdout] 458 | if space.pending.max_data && buf.len() + 9 < max_size { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `space` in this scope [INFO] [stdout] --> src/connect.rs:460:13 [INFO] [stdout] | [INFO] [stdout] 460 | space.pending.max_data = false; [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `max_size` in this scope [INFO] [stdout] --> src/connect.rs:467:32 [INFO] [stdout] | [INFO] [stdout] 467 | while buf.len() + 17 < max_size { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `space` in this scope [INFO] [stdout] --> src/connect.rs:468:28 [INFO] [stdout] | [INFO] [stdout] 468 | let id = match space.pending.max_stream_data.iter().next() { [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `space` in this scope [INFO] [stdout] --> src/connect.rs:472:13 [INFO] [stdout] | [INFO] [stdout] 472 | space.pending.max_stream_data.remove(&id); [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `space` in this scope [INFO] [stdout] --> src/connect.rs:490:12 [INFO] [stdout] | [INFO] [stdout] 490 | if space.pending.max_bi_stream_id && buf.len() + 9 < max_size { [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `max_size` in this scope [INFO] [stdout] --> src/connect.rs:490:62 [INFO] [stdout] | [INFO] [stdout] 490 | if space.pending.max_bi_stream_id && buf.len() + 9 < max_size { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `space` in this scope [INFO] [stdout] --> src/connect.rs:491:13 [INFO] [stdout] | [INFO] [stdout] 491 | space.pending.max_bi_stream_id = false; [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `max_size` in this scope [INFO] [stdout] --> src/connect.rs:502:50 [INFO] [stdout] | [INFO] [stdout] 502 | while buf.len() + Datagram::SIZE_BOUND < max_size { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `max_size` in this scope [INFO] [stdout] --> src/connect.rs:507:50 [INFO] [stdout] | [INFO] [stdout] 507 | if buf.len() + datagram.size(true) > max_size { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `max_size` in this scope [INFO] [stdout] --> src/connect.rs:518:55 [INFO] [stdout] | [INFO] [stdout] 518 | while buf.len() + frame::Stream::SIZE_BOUND < max_size { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `space` in this scope [INFO] [stdout] --> src/connect.rs:519:36 [INFO] [stdout] | [INFO] [stdout] 519 | let mut stream = match space.pending.stream.pop_front() { [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `max_size` in this scope [INFO] [stdout] --> src/connect.rs:533:17 [INFO] [stdout] | [INFO] [stdout] 533 | max_size as usize - buf.len() - frame::Stream::SIZE_BOUND, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `space` in this scope [INFO] [stdout] --> src/connect.rs:548:17 [INFO] [stdout] | [INFO] [stdout] 548 | space.pending.stream.push_front(stream); [INFO] [stdout] | ^^^^^ help: you might have meant to use the available field: `self.space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RangeSet` in this scope [INFO] [stdout] --> src/connect.rs:559:11 [INFO] [stdout] | [INFO] [stdout] 559 | acks: RangeSet, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::range_set::RangeSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `RangeSet` [INFO] [stdout] --> src/connect.rs:567:15 [INFO] [stdout] | [INFO] [stdout] 567 | acks: RangeSet::new(), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::range_set::RangeSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `ClientStream` in this scope [INFO] [stdout] --> src/streams.rs:314:7 [INFO] [stdout] | [INFO] [stdout] 314 | ClientStream { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found derive macro `Error` [INFO] [stdout] --> src/streams.rs:473:51 [INFO] [stdout] | [INFO] [stdout] 473 | fn id_new_opened(&mut self,id:u64)->Result{ [INFO] [stdout] | ^^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use async_std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::transport_error::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use futures::io::Error; [INFO] [stdout] | [INFO] [stdout] and 6 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found derive macro `Error` [INFO] [stdout] --> src/streams.rs:494:70 [INFO] [stdout] | [INFO] [stdout] 494 | pub fn on_recv_frame(&mut self, frame: frame::Frame) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use async_std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::transport_error::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use futures::io::Error; [INFO] [stdout] | [INFO] [stdout] and 6 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found derive macro `Error` [INFO] [stdout] --> src/streams.rs:610:72 [INFO] [stdout] | [INFO] [stdout] 610 | pub fn on_frame_acked(&mut self, frame: &frame::Frame) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 1 | use async_std::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use crate::transport_error::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use futures::io::Error; [INFO] [stdout] | [INFO] [stdout] and 6 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashSet`, `fmt`, `io`, `net::SocketAddr` [INFO] [stdout] --> src/connect.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{BTreeMap, HashSet, VecDeque}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 4 | fmt, io, mem, [INFO] [stdout] | ^^^ ^^ [INFO] [stdout] 5 | net::SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BytesMut`, `Bytes` [INFO] [stdout] --> src/connect.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use bytes::{Bytes, BytesMut}; [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/connect.rs:140:39 [INFO] [stdout] | [INFO] [stdout] 140 | self.detect_lost_packets(now);//!IMPO [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 141 | [INFO] [stdout] 142 | self.pto_count = 0; [INFO] [stdout] | -------------- rustdoc does not generate documentation for expressions [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: unused doc comment [INFO] [stdout] --> src/connect.rs:144:41 [INFO] [stdout] | [INFO] [stdout] 144 | self.set_loss_detection_timer();//!IMPO [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 145 | Ok(()) [INFO] [stdout] | ------ rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/connect.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 284 | /// Probe Timeout [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 285 | / let pto = match self.path.rtt.smoothed { [INFO] [stdout] 286 | | None => 2 * self.config.initial_rtt, [INFO] [stdout] 287 | | Some(srtt) => { [INFO] [stdout] 288 | | srtt + cmp::max(4 * self.path.rtt.var, TIMER_GRANULARITY) + self.max_ack_delay() [INFO] [stdout] 289 | | } [INFO] [stdout] 290 | | } [INFO] [stdout] | |_____________- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/connect.rs:352:45 [INFO] [stdout] | [INFO] [stdout] 352 | let mut coalesce = spaces.len() > 1;//!do not need we only have one spaces [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 353 | [INFO] [stdout] 354 | let buf_start = buf.len(); [INFO] [stdout] | -------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/connect.rs:371:35 [INFO] [stdout] | [INFO] [stdout] 371 | let pn_len = number.len();//!always 16 [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 372 | [INFO] [stdout] 373 | / if let Some((sent, acks)) = sent { [INFO] [stdout] 374 | | // If we sent any acks, don't immediately resend them. Setting this even if ack_only is [INFO] [stdout] 375 | | // false needlessly prevents us from ACKing the next packet if it's ACK-only, but saves [INFO] [stdout] 376 | | // the need for subtler logic to avoid double-transmitting acks all the time. [INFO] [stdout] ... | [INFO] [stdout] 393 | | ); [INFO] [stdout] 394 | | } [INFO] [stdout] | |_________- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/streams.rs:705:5 [INFO] [stdout] | [INFO] [stdout] 705 | //! 原实现好像直接开到max_remote 待查通知机制 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 706 | / self.streams.insert( [INFO] [stdout] 707 | | id, [INFO] [stdout] 708 | | Stream { [INFO] [stdout] 709 | | proxy_addr: None, [INFO] [stdout] ... | [INFO] [stdout] 712 | | }, [INFO] [stdout] 713 | | ); [INFO] [stdout] | |_____- rustdoc does not generate documentation for expressions [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `coding::UnexpectedEnd` [INFO] [stdout] --> src/coding.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | addr: String::from_utf8(addr)?, //TODO [INFO] [stdout] | ^ the trait `From` is not implemented for `coding::UnexpectedEnd` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `std::result::Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `permit_ack_only` on type `&ClientConnection` [INFO] [stdout] --> src/connect.rs:56:36 [INFO] [stdout] | [INFO] [stdout] 56 | self.pending.ping || (self.permit_ack_only && !self.pending.acks.is_empty()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `config`, `path`, `space`, `streams`, `datagrams` ... and 15 others [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 56 | self.pending.ping || (self.pending.permit_ack_only && !self.pending.acks.is_empty()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `package_space` on type `&mut ClientConnection` [INFO] [stdout] --> src/connect.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | self.package_space.time_of_last_sent_ack_eliciting_packet = Some(now); [INFO] [stdout] | ^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `config`, `path`, `space`, `streams`, `datagrams` ... and 15 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `package_space` on type `&mut ClientConnection` [INFO] [stdout] --> src/connect.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | if ack.largest >= self.package_space.next_packet_number { [INFO] [stdout] | ^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `config`, `path`, `space`, `streams`, `datagrams` ... and 15 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `coding::UnexpectedEnd` [INFO] [stdout] --> src/coding.rs:102:50 [INFO] [stdout] | [INFO] [stdout] 102 | addr: String::from_utf8(addr)?, //TODO [INFO] [stdout] | ^ the trait `From` is not implemented for `coding::UnexpectedEnd` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required because of the requirements on the impl of `FromResidual>` for `std::result::Result` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `max_ack_delay` found for mutable reference `&mut ClientConnection` in the current scope [INFO] [stdout] --> src/connect.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | self.max_ack_delay(), [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&mut ClientConnection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `params` on type `&mut ClientConnection` [INFO] [stdout] --> src/connect.rs:133:55 [INFO] [stdout] | [INFO] [stdout] 133 | Duration::from_micros(ack.delay << self.params.ack_delay_exponent), [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `config`, `path`, `space`, `streams`, `datagrams` ... and 15 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `permit_ack_only` on type `&ClientConnection` [INFO] [stdout] --> src/connect.rs:56:36 [INFO] [stdout] | [INFO] [stdout] 56 | self.pending.ping || (self.permit_ack_only && !self.pending.acks.is_empty()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `config`, `path`, `space`, `streams`, `datagrams` ... and 15 others [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 56 | self.pending.ping || (self.pending.permit_ack_only && !self.pending.acks.is_empty()) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `package_space` on type `&mut ClientConnection` [INFO] [stdout] --> src/connect.rs:76:20 [INFO] [stdout] | [INFO] [stdout] 76 | self.package_space.time_of_last_sent_ack_eliciting_packet = Some(now); [INFO] [stdout] | ^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `config`, `path`, `space`, `streams`, `datagrams` ... and 15 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `package_space` on type `&mut ClientConnection` [INFO] [stdout] --> src/connect.rs:87:32 [INFO] [stdout] | [INFO] [stdout] 87 | if ack.largest >= self.package_space.next_packet_number { [INFO] [stdout] | ^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `config`, `path`, `space`, `streams`, `datagrams` ... and 15 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `earliest_time_and_space` found for mutable reference `&mut ClientConnection` in the current scope [INFO] [stdout] --> src/connect.rs:170:43 [INFO] [stdout] | [INFO] [stdout] 170 | if let Some((_, pn_space)) = self.earliest_time_and_space(|x| x.loss_time) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut ClientConnection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/connect.rs:172:18 [INFO] [stdout] | [INFO] [stdout] 172 | self.detect_lost_packets(now, pn_space); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ --- -------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/connect.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 221 | fn detect_lost_packets(&mut self, now: Instant) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ --------- ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `max_ack_delay` found for mutable reference `&mut ClientConnection` in the current scope [INFO] [stdout] --> src/connect.rs:132:20 [INFO] [stdout] | [INFO] [stdout] 132 | self.max_ack_delay(), [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&mut ClientConnection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `params` on type `&mut ClientConnection` [INFO] [stdout] --> src/connect.rs:133:55 [INFO] [stdout] | [INFO] [stdout] 133 | Duration::from_micros(ack.delay << self.params.ack_delay_exponent), [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `config`, `path`, `space`, `streams`, `datagrams` ... and 15 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `earliest_time_and_space` found for mutable reference `&mut ClientConnection` in the current scope [INFO] [stdout] --> src/connect.rs:179:14 [INFO] [stdout] | [INFO] [stdout] 179 | .earliest_time_and_space(|x| x.time_of_last_sent_ack_eliciting_packet) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut ClientConnection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `side` on type `&mut ClientConnection` [INFO] [stdout] --> src/connect.rs:187:36 [INFO] [stdout] | [INFO] [stdout] 187 | debug_assert!(self.side.is_client() && self.highest_space == SpaceId::Handshake); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `config`, `path`, `space`, `streams`, `datagrams` ... and 15 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `highest_space` on type `&mut ClientConnection` [INFO] [stdout] --> src/connect.rs:187:61 [INFO] [stdout] | [INFO] [stdout] 187 | debug_assert!(self.side.is_client() && self.highest_space == SpaceId::Handshake); [INFO] [stdout] | ^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `config`, `path`, `space`, `streams`, `datagrams` ... and 15 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `earliest_time_and_space` found for mutable reference `&mut ClientConnection` in the current scope [INFO] [stdout] --> src/connect.rs:170:43 [INFO] [stdout] | [INFO] [stdout] 170 | if let Some((_, pn_space)) = self.earliest_time_and_space(|x| x.loss_time) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut ClientConnection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> src/connect.rs:172:18 [INFO] [stdout] | [INFO] [stdout] 172 | self.detect_lost_packets(now, pn_space); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ --- -------- supplied 2 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/connect.rs:221:8 [INFO] [stdout] | [INFO] [stdout] 221 | fn detect_lost_packets(&mut self, now: Instant) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ --------- ------------ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `earliest_time_and_space` found for mutable reference `&mut ClientConnection` in the current scope [INFO] [stdout] --> src/connect.rs:179:14 [INFO] [stdout] | [INFO] [stdout] 179 | .earliest_time_and_space(|x| x.time_of_last_sent_ack_eliciting_packet) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ method not found in `&mut ClientConnection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `side` on type `&mut ClientConnection` [INFO] [stdout] --> src/connect.rs:187:36 [INFO] [stdout] | [INFO] [stdout] 187 | debug_assert!(self.side.is_client() && self.highest_space == SpaceId::Handshake); [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `config`, `path`, `space`, `streams`, `datagrams` ... and 15 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `highest_space` on type `&mut ClientConnection` [INFO] [stdout] --> src/connect.rs:187:61 [INFO] [stdout] | [INFO] [stdout] 187 | debug_assert!(self.side.is_client() && self.highest_space == SpaceId::Handshake); [INFO] [stdout] | ^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `config`, `path`, `space`, `streams`, `datagrams` ... and 15 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `space_mut` found for mutable reference `&mut ClientConnection` in the current scope [INFO] [stdout] --> src/connect.rs:196:14 [INFO] [stdout] | [INFO] [stdout] 196 | self.space_mut(space).loss_probes = self.space(space).loss_probes.saturating_add(2); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut ClientConnection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `space` found for mutable reference `&mut ClientConnection` in the current scope [INFO] [stdout] --> src/connect.rs:196:50 [INFO] [stdout] | [INFO] [stdout] 196 | self.space_mut(space).loss_probes = self.space(space).loss_probes.saturating_add(2); [INFO] [stdout] | ^^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: to call the function stored in `space`, surround the field access with parentheses [INFO] [stdout] | [INFO] [stdout] 196 | self.space_mut(space).loss_probes = (self.space)(space).loss_probes.saturating_add(2); [INFO] [stdout] | ^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `time_threshold` on type `Arc` [INFO] [stdout] --> src/connect.rs:228:59 [INFO] [stdout] | [INFO] [stdout] 228 | let loss_delay = cmp::max(rtt.mul_f32(self.config.time_threshold), TIMER_GRANULARITY); [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `packet_threshold` on type `Arc` [INFO] [stdout] --> src/connect.rs:233:44 [INFO] [stdout] | [INFO] [stdout] 233 | let packet_threshold = self.config.packet_threshold as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `space_mut` found for mutable reference `&mut ClientConnection` in the current scope [INFO] [stdout] --> src/connect.rs:196:14 [INFO] [stdout] | [INFO] [stdout] 196 | self.space_mut(space).loss_probes = self.space(space).loss_probes.saturating_add(2); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut ClientConnection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `lost_packets` on type `PathData` [INFO] [stdout] --> src/connect.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | self.path.lost_packets += lost_packets.len() as u64; [INFO] [stdout] | ^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `rtt`, `plr`, `mtu`, `in_flight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `sapce` on type `&mut ClientConnection` [INFO] [stdout] --> src/connect.rs:259:33 [INFO] [stdout] | [INFO] [stdout] 259 | let info = self.sapce. [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `config`, `path`, `space`, `streams`, `datagrams` ... and 15 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `sapce` on type `&mut ClientConnection` [INFO] [stdout] --> src/connect.rs:265:22 [INFO] [stdout] | [INFO] [stdout] 265 | self.sapce.pending += info.retransmits; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `config`, `path`, `space`, `streams`, `datagrams` ... and 15 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `space` found for mutable reference `&mut ClientConnection` in the current scope [INFO] [stdout] --> src/connect.rs:196:50 [INFO] [stdout] | [INFO] [stdout] 196 | self.space_mut(space).loss_probes = self.space(space).loss_probes.saturating_add(2); [INFO] [stdout] | ^^^^^ field, not a method [INFO] [stdout] | [INFO] [stdout] help: to call the function stored in `space`, surround the field access with parentheses [INFO] [stdout] | [INFO] [stdout] 196 | self.space_mut(space).loss_probes = (self.space)(space).loss_probes.saturating_add(2); [INFO] [stdout] | ^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `initial_rtt` on type `Arc` [INFO] [stdout] --> src/connect.rs:286:41 [INFO] [stdout] | [INFO] [stdout] 286 | None => 2 * self.config.initial_rtt, [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `time_threshold` on type `Arc` [INFO] [stdout] --> src/connect.rs:228:59 [INFO] [stdout] | [INFO] [stdout] 228 | let loss_delay = cmp::max(rtt.mul_f32(self.config.time_threshold), TIMER_GRANULARITY); [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `packet_threshold` on type `Arc` [INFO] [stdout] --> src/connect.rs:233:44 [INFO] [stdout] | [INFO] [stdout] 233 | let packet_threshold = self.config.packet_threshold as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `max_ack_delay` found for mutable reference `&mut ClientConnection` in the current scope [INFO] [stdout] --> src/connect.rs:288:86 [INFO] [stdout] | [INFO] [stdout] 288 | srtt + cmp::max(4 * self.path.rtt.var, TIMER_GRANULARITY) + self.max_ack_delay() [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&mut ClientConnection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0070]: invalid left-hand side of assignment [INFO] [stdout] --> src/connect.rs:322:53 [INFO] [stdout] | [INFO] [stdout] 322 | &mut self.space.permit_ack_only = true; [INFO] [stdout] | ------------------------------- ^ [INFO] [stdout] | | [INFO] [stdout] | cannot assign to this expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `lost_packets` on type `PathData` [INFO] [stdout] --> src/connect.rs:256:23 [INFO] [stdout] | [INFO] [stdout] 256 | self.path.lost_packets += lost_packets.len() as u64; [INFO] [stdout] | ^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `rtt`, `plr`, `mtu`, `in_flight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `sapce` on type `&mut ClientConnection` [INFO] [stdout] --> src/connect.rs:259:33 [INFO] [stdout] | [INFO] [stdout] 259 | let info = self.sapce. [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `config`, `path`, `space`, `streams`, `datagrams` ... and 15 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `sapce` on type `&mut ClientConnection` [INFO] [stdout] --> src/connect.rs:265:22 [INFO] [stdout] | [INFO] [stdout] 265 | self.sapce.pending += info.retransmits; [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `config`, `path`, `space`, `streams`, `datagrams` ... and 15 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a method that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/connect.rs:327:66 [INFO] [stdout] | [INFO] [stdout] 299 | / fn handle_packet( [INFO] [stdout] 300 | | &mut self, [INFO] [stdout] 301 | | now: Instant, [INFO] [stdout] 302 | | mut packet: Packet, [INFO] [stdout] ... | [INFO] [stdout] 327 | | self.on_ack_received(now, SpaceId::Data, ack)?; [INFO] [stdout] | | ^ cannot use the `?` operator in a method that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 332 | | } [INFO] [stdout] 333 | | } [INFO] [stdout] | |_____- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `mtu` on type `&mut ClientConnection` [INFO] [stdout] --> src/connect.rs:351:47 [INFO] [stdout] | [INFO] [stdout] 351 | let mut buf = Vec::with_capacity(self.mtu as usize); [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `config`, `path`, `space`, `streams`, `datagrams` ... and 15 others [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 351 | let mut buf = Vec::with_capacity(self.path.mtu as usize); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `initial_rtt` on type `Arc` [INFO] [stdout] --> src/connect.rs:286:41 [INFO] [stdout] | [INFO] [stdout] 286 | None => 2 * self.config.initial_rtt, [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `max_ack_delay` found for mutable reference `&mut ClientConnection` in the current scope [INFO] [stdout] --> src/connect.rs:288:86 [INFO] [stdout] | [INFO] [stdout] 288 | srtt + cmp::max(4 * self.path.rtt.var, TIMER_GRANULARITY) + self.max_ack_delay() [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `&mut ClientConnection` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0070]: invalid left-hand side of assignment [INFO] [stdout] --> src/connect.rs:322:53 [INFO] [stdout] | [INFO] [stdout] 322 | &mut self.space.permit_ack_only = true; [INFO] [stdout] | ------------------------------- ^ [INFO] [stdout] | | [INFO] [stdout] | cannot assign to this expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a method that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/connect.rs:327:66 [INFO] [stdout] | [INFO] [stdout] 299 | / fn handle_packet( [INFO] [stdout] 300 | | &mut self, [INFO] [stdout] 301 | | now: Instant, [INFO] [stdout] 302 | | mut packet: Packet, [INFO] [stdout] ... | [INFO] [stdout] 327 | | self.on_ack_received(now, SpaceId::Data, ack)?; [INFO] [stdout] | | ^ cannot use the `?` operator in a method that returns `()` [INFO] [stdout] ... | [INFO] [stdout] 332 | | } [INFO] [stdout] 333 | | } [INFO] [stdout] | |_____- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual<_>` is not implemented for `()` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `mtu` on type `&mut ClientConnection` [INFO] [stdout] --> src/connect.rs:351:47 [INFO] [stdout] | [INFO] [stdout] 351 | let mut buf = Vec::with_capacity(self.mtu as usize); [INFO] [stdout] | ^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `config`, `path`, `space`, `streams`, `datagrams` ... and 15 others [INFO] [stdout] help: one of the expressions' fields has a field of the same name [INFO] [stdout] | [INFO] [stdout] 351 | let mut buf = Vec::with_capacity(self.path.mtu as usize); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for mutable reference `&mut Vec` in the current scope [INFO] [stdout] --> src/connect.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 408 | buf.write(frame::Type::PING); [INFO] [stdout] | ^^^^^ method not found in `&mut Vec` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] candidate #1: `use crate::coding::BufMutExt;` [INFO] [stdout] candidate #2: `use std::io::Write;` [INFO] [stdout] candidate #3: `use std::hash::Hasher;` [INFO] [stdout] candidate #4: `use futures::AsyncWriteExt;` [INFO] [stdout] and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for mutable reference `&mut Vec` in the current scope [INFO] [stdout] --> src/connect.rs:462:17 [INFO] [stdout] | [INFO] [stdout] 462 | buf.write(frame::Type::MAX_DATA); [INFO] [stdout] | ^^^^^ method not found in `&mut Vec` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] candidate #1: `use crate::coding::BufMutExt;` [INFO] [stdout] candidate #2: `use std::io::Write;` [INFO] [stdout] candidate #3: `use std::hash::Hasher;` [INFO] [stdout] candidate #4: `use futures::AsyncWriteExt;` [INFO] [stdout] and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_var` found for mutable reference `&mut Vec` in the current scope [INFO] [stdout] --> src/connect.rs:463:17 [INFO] [stdout] | [INFO] [stdout] 463 | buf.write_var(self.local_max_data); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut Vec` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::coding::BufMutExt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `local_max_data` on type `&mut ClientConnection` [INFO] [stdout] --> src/connect.rs:463:32 [INFO] [stdout] | [INFO] [stdout] 463 | buf.write_var(self.local_max_data); [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `config`, `path`, `space`, `streams`, `datagrams` ... and 15 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `stream_receive_window` on type `Arc` [INFO] [stdout] --> src/connect.rs:481:51 [INFO] [stdout] | [INFO] [stdout] 481 | let max = rs.bytes_read + self.config.stream_receive_window; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for mutable reference `&mut Vec` in the current scope [INFO] [stdout] --> src/connect.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 408 | buf.write(frame::Type::PING); [INFO] [stdout] | ^^^^^ method not found in `&mut Vec` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] candidate #1: `use crate::coding::BufMutExt;` [INFO] [stdout] candidate #2: `use std::io::Write;` [INFO] [stdout] candidate #3: `use std::hash::Hasher;` [INFO] [stdout] candidate #4: `use futures::AsyncWriteExt;` [INFO] [stdout] and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for mutable reference `&mut Vec` in the current scope [INFO] [stdout] --> src/connect.rs:483:17 [INFO] [stdout] | [INFO] [stdout] 483 | buf.write(frame::Type::MAX_STREAM_DATA); [INFO] [stdout] | ^^^^^ method not found in `&mut Vec` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] candidate #1: `use crate::coding::BufMutExt;` [INFO] [stdout] candidate #2: `use std::io::Write;` [INFO] [stdout] candidate #3: `use std::hash::Hasher;` [INFO] [stdout] candidate #4: `use futures::AsyncWriteExt;` [INFO] [stdout] and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for mutable reference `&mut Vec` in the current scope [INFO] [stdout] --> src/connect.rs:462:17 [INFO] [stdout] | [INFO] [stdout] 462 | buf.write(frame::Type::MAX_DATA); [INFO] [stdout] | ^^^^^ method not found in `&mut Vec` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] candidate #1: `use crate::coding::BufMutExt;` [INFO] [stdout] candidate #2: `use std::io::Write;` [INFO] [stdout] candidate #3: `use std::hash::Hasher;` [INFO] [stdout] candidate #4: `use futures::AsyncWriteExt;` [INFO] [stdout] and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for mutable reference `&mut Vec` in the current scope [INFO] [stdout] --> src/connect.rs:484:17 [INFO] [stdout] | [INFO] [stdout] 484 | buf.write(id); [INFO] [stdout] | ^^^^^ method not found in `&mut Vec` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] candidate #1: `use crate::coding::BufMutExt;` [INFO] [stdout] candidate #2: `use std::io::Write;` [INFO] [stdout] candidate #3: `use std::hash::Hasher;` [INFO] [stdout] candidate #4: `use futures::AsyncWriteExt;` [INFO] [stdout] and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_var` found for mutable reference `&mut Vec` in the current scope [INFO] [stdout] --> src/connect.rs:463:17 [INFO] [stdout] | [INFO] [stdout] 463 | buf.write_var(self.local_max_data); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut Vec` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::coding::BufMutExt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `local_max_data` on type `&mut ClientConnection` [INFO] [stdout] --> src/connect.rs:463:32 [INFO] [stdout] | [INFO] [stdout] 463 | buf.write_var(self.local_max_data); [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `config`, `path`, `space`, `streams`, `datagrams` ... and 15 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_var` found for mutable reference `&mut Vec` in the current scope [INFO] [stdout] --> src/connect.rs:485:17 [INFO] [stdout] | [INFO] [stdout] 485 | buf.write_var(max); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut Vec` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::coding::BufMutExt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `stream_receive_window` on type `Arc` [INFO] [stdout] --> src/connect.rs:481:51 [INFO] [stdout] | [INFO] [stdout] 481 | let max = rs.bytes_read + self.config.stream_receive_window; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for mutable reference `&mut Vec` in the current scope [INFO] [stdout] --> src/connect.rs:497:17 [INFO] [stdout] | [INFO] [stdout] 497 | buf.write(frame::Type::MAX_STREAMS_BIDI); [INFO] [stdout] | ^^^^^ method not found in `&mut Vec` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] candidate #1: `use crate::coding::BufMutExt;` [INFO] [stdout] candidate #2: `use std::io::Write;` [INFO] [stdout] candidate #3: `use std::hash::Hasher;` [INFO] [stdout] candidate #4: `use futures::AsyncWriteExt;` [INFO] [stdout] and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_var` found for mutable reference `&mut Vec` in the current scope [INFO] [stdout] --> src/connect.rs:498:17 [INFO] [stdout] | [INFO] [stdout] 498 | buf.write_var(self.streams.max_remote[Dir::Bi as usize]); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut Vec` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::coding::BufMutExt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for mutable reference `&mut Vec` in the current scope [INFO] [stdout] --> src/connect.rs:483:17 [INFO] [stdout] | [INFO] [stdout] 483 | buf.write(frame::Type::MAX_STREAM_DATA); [INFO] [stdout] | ^^^^^ method not found in `&mut Vec` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] candidate #1: `use crate::coding::BufMutExt;` [INFO] [stdout] candidate #2: `use std::io::Write;` [INFO] [stdout] candidate #3: `use std::hash::Hasher;` [INFO] [stdout] candidate #4: `use futures::AsyncWriteExt;` [INFO] [stdout] and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for mutable reference `&mut Vec` in the current scope [INFO] [stdout] --> src/connect.rs:484:17 [INFO] [stdout] | [INFO] [stdout] 484 | buf.write(id); [INFO] [stdout] | ^^^^^ method not found in `&mut Vec` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] candidate #1: `use crate::coding::BufMutExt;` [INFO] [stdout] candidate #2: `use std::io::Write;` [INFO] [stdout] candidate #3: `use std::hash::Hasher;` [INFO] [stdout] candidate #4: `use futures::AsyncWriteExt;` [INFO] [stdout] and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_var` found for mutable reference `&mut Vec` in the current scope [INFO] [stdout] --> src/connect.rs:485:17 [INFO] [stdout] | [INFO] [stdout] 485 | buf.write_var(max); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut Vec` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::coding::BufMutExt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `unacked_data` on type `&mut ClientConnection` [INFO] [stdout] --> src/connect.rs:528:22 [INFO] [stdout] | [INFO] [stdout] 528 | self.unacked_data -= stream.data.len() as u64; [INFO] [stdout] | ^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `config`, `path`, `space`, `streams`, `datagrams` ... and 15 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `permit_ack_only` in initializer of `connect::Pending` [INFO] [stdout] --> src/connect.rs:565:7 [INFO] [stdout] | [INFO] [stdout] 565 | Self { [INFO] [stdout] | ^^^^ missing `permit_ack_only` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/connect.rs:570:22 [INFO] [stdout] | [INFO] [stdout] 570 | fn is_empty() -> bool {} [INFO] [stdout] | -------- ^^^^ expected `bool`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write` found for mutable reference `&mut Vec` in the current scope [INFO] [stdout] --> src/connect.rs:497:17 [INFO] [stdout] | [INFO] [stdout] 497 | buf.write(frame::Type::MAX_STREAMS_BIDI); [INFO] [stdout] | ^^^^^ method not found in `&mut Vec` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following traits are implemented but not in scope; perhaps add a `use` for one of them: [INFO] [stdout] candidate #1: `use crate::coding::BufMutExt;` [INFO] [stdout] candidate #2: `use std::io::Write;` [INFO] [stdout] candidate #3: `use std::hash::Hasher;` [INFO] [stdout] candidate #4: `use futures::AsyncWriteExt;` [INFO] [stdout] and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `write_var` found for mutable reference `&mut Vec` in the current scope [INFO] [stdout] --> src/connect.rs:498:17 [INFO] [stdout] | [INFO] [stdout] 498 | buf.write_var(self.streams.max_remote[Dir::Bi as usize]); [INFO] [stdout] | ^^^^^^^^^ method not found in `&mut Vec` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] = note: the following trait is implemented but not in scope; perhaps add a `use` for it: [INFO] [stdout] `use crate::coding::BufMutExt;` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `unacked_data` on type `&mut ClientConnection` [INFO] [stdout] --> src/connect.rs:528:22 [INFO] [stdout] | [INFO] [stdout] 528 | self.unacked_data -= stream.data.len() as u64; [INFO] [stdout] | ^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `config`, `path`, `space`, `streams`, `datagrams` ... and 15 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing field `permit_ack_only` in initializer of `connect::Pending` [INFO] [stdout] --> src/connect.rs:565:7 [INFO] [stdout] | [INFO] [stdout] 565 | Self { [INFO] [stdout] | ^^^^ missing `permit_ack_only` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/connect.rs:570:22 [INFO] [stdout] | [INFO] [stdout] 570 | fn is_empty() -> bool {} [INFO] [stdout] | -------- ^^^^ expected `bool`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/frame.rs:208:35 [INFO] [stdout] | [INFO] [stdout] 174 | / match self { [INFO] [stdout] 175 | | Padding => Type::PADDING, [INFO] [stdout] 176 | | ResetStream { .. } => Type::RESET_STREAM, [INFO] [stdout] 177 | | MaxData(_) => Type::MAX_DATA, [INFO] [stdout] ... | [INFO] [stdout] 207 | | DatagramsBlocked(_) => Type::DATAGRAMS_BLOCKED, [INFO] [stdout] | | ----------------------- this and all prior arms are found to be of type `Type` [INFO] [stdout] 208 | | Invalid { ty, .. } => ty, [INFO] [stdout] | | ^^ [INFO] [stdout] | | | [INFO] [stdout] | | expected struct `Type`, found `&Type` [INFO] [stdout] | | help: consider dereferencing the borrow: `*ty` [INFO] [stdout] 209 | | } [INFO] [stdout] | |_________- `match` arms have incompatible types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/frame.rs:208:35 [INFO] [stdout] | [INFO] [stdout] 174 | / match self { [INFO] [stdout] 175 | | Padding => Type::PADDING, [INFO] [stdout] 176 | | ResetStream { .. } => Type::RESET_STREAM, [INFO] [stdout] 177 | | MaxData(_) => Type::MAX_DATA, [INFO] [stdout] ... | [INFO] [stdout] 207 | | DatagramsBlocked(_) => Type::DATAGRAMS_BLOCKED, [INFO] [stdout] | | ----------------------- this and all prior arms are found to be of type `Type` [INFO] [stdout] 208 | | Invalid { ty, .. } => ty, [INFO] [stdout] | | ^^ [INFO] [stdout] | | | [INFO] [stdout] | | expected struct `Type`, found `&Type` [INFO] [stdout] | | help: consider dereferencing the borrow: `*ty` [INFO] [stdout] 209 | | } [INFO] [stdout] | |_________- `match` arms have incompatible types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/streams.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | } => Some(stop_reason), [INFO] [stdout] | ^^^^^^^^^^^ expected `u64`, found `&mut Option` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u64` [INFO] [stdout] found mutable reference `&mut Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/streams.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | } => Some(stop_reason), [INFO] [stdout] | ^^^^^^^^^^^ expected `u64`, found `&mut Option` [INFO] [stdout] | [INFO] [stdout] = note: expected type `u64` [INFO] [stdout] found mutable reference `&mut Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `offset` on type `frame::Stream` [INFO] [stdout] --> src/streams.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | let end = frame.offset + frame.data.len() as u64; [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `id`, `addr_off`, `fin`, `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `offset` on type `frame::Stream` [INFO] [stdout] --> src/streams.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | let end = frame.offset + frame.data.len() as u64; [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `id`, `addr_off`, `fin`, `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `offset` on type `frame::Stream` [INFO] [stdout] --> src/streams.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 147 | self.recvd.insert(frame.offset..end); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `id`, `addr_off`, `fin`, `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `offset` on type `frame::Stream` [INFO] [stdout] --> src/streams.rs:149:35 [INFO] [stdout] | [INFO] [stdout] 149 | self.assembler.insert(frame.offset, frame.data); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `id`, `addr_off`, `fin`, `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/streams.rs:248:15 [INFO] [stdout] | [INFO] [stdout] 248 | fn new() -> Self {} [INFO] [stdout] | --- ^^^^ expected struct `streams::Pending`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `config` and `is_client` in initializer of `Streams` [INFO] [stdout] --> src/streams.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | Self { [INFO] [stdout] | ^^^^ missing `config` and `is_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `offset` on type `frame::Stream` [INFO] [stdout] --> src/streams.rs:147:29 [INFO] [stdout] | [INFO] [stdout] 147 | self.recvd.insert(frame.offset..end); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `id`, `addr_off`, `fin`, `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `active_streams` on type `&mut Streams` [INFO] [stdout] --> src/streams.rs:321:10 [INFO] [stdout] | [INFO] [stdout] 321 | self.active_streams += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `streams`, `config`, `blocked_streams`, `is_client`, `max` ... and 11 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `offset` on type `frame::Stream` [INFO] [stdout] --> src/streams.rs:149:35 [INFO] [stdout] | [INFO] [stdout] 149 | self.assembler.insert(frame.offset, frame.data); [INFO] [stdout] | ^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `id`, `addr_off`, `fin`, `data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `active_streams` on type `&mut Streams` [INFO] [stdout] --> src/streams.rs:329:16 [INFO] [stdout] | [INFO] [stdout] 329 | self.active_streams -= 1; [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `streams`, `config`, `blocked_streams`, `is_client`, `max` ... and 11 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/streams.rs:248:15 [INFO] [stdout] | [INFO] [stdout] 248 | fn new() -> Self {} [INFO] [stdout] | --- ^^^^ expected struct `streams::Pending`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `config` and `is_client` in initializer of `Streams` [INFO] [stdout] --> src/streams.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | Self { [INFO] [stdout] | ^^^^ missing `config` and `is_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `active_streams` on type `&mut Streams` [INFO] [stdout] --> src/streams.rs:321:10 [INFO] [stdout] | [INFO] [stdout] 321 | self.active_streams += 1; [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `streams`, `config`, `blocked_streams`, `is_client`, `max` ... and 11 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `active_streams` on type `&mut Streams` [INFO] [stdout] --> src/streams.rs:329:16 [INFO] [stdout] | [INFO] [stdout] 329 | self.active_streams -= 1; [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `streams`, `config`, `blocked_streams`, `is_client`, `max` ... and 11 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/streams.rs:355:47 [INFO] [stdout] | [INFO] [stdout] 355 | addr_off: frame::Stream::get_addr_off(&stream.proxy_addr, stream.send.offset, true), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected enum `Address`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Address` [INFO] [stdout] found reference `&Option
` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `send_window` on type `Arc` [INFO] [stdout] --> src/streams.rs:392:73 [INFO] [stdout] | [INFO] [stdout] 392 | self.data_sent >= self.max_data || self.unacked_data >= self.config.send_window [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/streams.rs:355:47 [INFO] [stdout] | [INFO] [stdout] 355 | addr_off: frame::Stream::get_addr_off(&stream.proxy_addr, stream.send.offset, true), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected enum `Address`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Address` [INFO] [stdout] found reference `&Option
` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `send_window` on type `Arc` [INFO] [stdout] --> src/streams.rs:392:73 [INFO] [stdout] | [INFO] [stdout] 392 | self.data_sent >= self.max_data || self.unacked_data >= self.config.send_window [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/streams.rs:405:45 [INFO] [stdout] | [INFO] [stdout] 405 | addr_off: frame::Stream::get_addr_off(&stream.proxy_addr, old_offset, true), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected enum `Address`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Address` [INFO] [stdout] found reference `&Option
` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `send_window` on type `Arc` [INFO] [stdout] --> src/streams.rs:442:19 [INFO] [stdout] | [INFO] [stdout] 442 | self.config.send_window - self.unacked_data, [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `map` exists for unit type `()`, but its trait bounds were not satisfied [INFO] [stdout] --> src/streams.rs:476:33 [INFO] [stdout] | [INFO] [stdout] 476 | self.stream_id_verify(id).map(|()| false)? [INFO] [stdout] | ^^^ method cannot be called on `()` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `(): Iterator` [INFO] [stdout] which is required by `&mut (): Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/streams.rs:499:9 [INFO] [stdout] | [INFO] [stdout] 499 | self.stream_id_verify(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `()` [INFO] [stdout] = note: required by `branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `stream_receive_window` on type `Arc` [INFO] [stdout] --> src/streams.rs:511:23 [INFO] [stdout] | [INFO] [stdout] 511 | self.config.stream_receive_window, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/streams.rs:528:9 [INFO] [stdout] | [INFO] [stdout] 528 | self.stream_id_verify(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `()` [INFO] [stdout] = note: required by `branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/streams.rs:405:45 [INFO] [stdout] | [INFO] [stdout] 405 | addr_off: frame::Stream::get_addr_off(&stream.proxy_addr, old_offset, true), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected enum `Address`, found enum `Option` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&Address` [INFO] [stdout] found reference `&Option
` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `send_window` on type `Arc` [INFO] [stdout] --> src/streams.rs:442:19 [INFO] [stdout] | [INFO] [stdout] 442 | self.config.send_window - self.unacked_data, [INFO] [stdout] | ^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/streams.rs:551:9 [INFO] [stdout] | [INFO] [stdout] 551 | self.stream_id_verify(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `()` [INFO] [stdout] = note: required by `branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `map` exists for unit type `()`, but its trait bounds were not satisfied [INFO] [stdout] --> src/streams.rs:476:33 [INFO] [stdout] | [INFO] [stdout] 476 | self.stream_id_verify(id).map(|()| false)? [INFO] [stdout] | ^^^ method cannot be called on `()` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `(): Iterator` [INFO] [stdout] which is required by `&mut (): Iterator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/streams.rs:597:9 [INFO] [stdout] | [INFO] [stdout] 597 | self.stream_id_verify(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `()` [INFO] [stdout] = note: required by `branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/streams.rs:499:9 [INFO] [stdout] | [INFO] [stdout] 499 | self.stream_id_verify(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `()` [INFO] [stdout] = note: required by `branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `stream_receive_window` on type `Arc` [INFO] [stdout] --> src/streams.rs:511:23 [INFO] [stdout] | [INFO] [stdout] 511 | self.config.stream_receive_window, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/streams.rs:528:9 [INFO] [stdout] | [INFO] [stdout] 528 | self.stream_id_verify(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `()` [INFO] [stdout] = note: required by `branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `on_stream_frame` found for mutable reference `&mut Streams` in the current scope [INFO] [stdout] --> src/streams.rs:603:16 [INFO] [stdout] | [INFO] [stdout] 603 | self.on_stream_frame(false, id); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `on_recv_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/streams.rs:551:9 [INFO] [stdout] | [INFO] [stdout] 551 | self.stream_id_verify(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `()` [INFO] [stdout] = note: required by `branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/streams.rs:619:31 [INFO] [stdout] | [INFO] [stdout] 619 | self.stream_id_verify(id)?; [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `u64`, found `&u64` [INFO] [stdout] | help: consider dereferencing the borrow: `*id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/streams.rs:619:9 [INFO] [stdout] | [INFO] [stdout] 619 | self.stream_id_verify(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `()` [INFO] [stdout] = note: required by `branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/streams.rs:645:31 [INFO] [stdout] | [INFO] [stdout] 645 | self.stream_id_verify(id)?; [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `u64`, found `&u64` [INFO] [stdout] | help: consider dereferencing the borrow: `*id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/streams.rs:645:9 [INFO] [stdout] | [INFO] [stdout] 645 | self.stream_id_verify(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `()` [INFO] [stdout] = note: required by `branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/streams.rs:597:9 [INFO] [stdout] | [INFO] [stdout] 597 | self.stream_id_verify(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `()` [INFO] [stdout] = note: required by `branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `on_stream_frame` found for mutable reference `&mut Streams` in the current scope [INFO] [stdout] --> src/streams.rs:603:16 [INFO] [stdout] | [INFO] [stdout] 603 | self.on_stream_frame(false, id); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: there is an associated function with a similar name: `on_recv_frame` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/streams.rs:619:31 [INFO] [stdout] | [INFO] [stdout] 619 | self.stream_id_verify(id)?; [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `u64`, found `&u64` [INFO] [stdout] | help: consider dereferencing the borrow: `*id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/streams.rs:619:9 [INFO] [stdout] | [INFO] [stdout] 619 | self.stream_id_verify(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `()` [INFO] [stdout] = note: required by `branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/streams.rs:645:31 [INFO] [stdout] | [INFO] [stdout] 645 | self.stream_id_verify(id)?; [INFO] [stdout] | ^^ [INFO] [stdout] | | [INFO] [stdout] | expected `u64`, found `&u64` [INFO] [stdout] | help: consider dereferencing the borrow: `*id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be applied to values that implement `Try` [INFO] [stdout] --> src/streams.rs:645:9 [INFO] [stdout] | [INFO] [stdout] 645 | self.stream_id_verify(id)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the `?` operator cannot be applied to type `()` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Try` is not implemented for `()` [INFO] [stdout] = note: required by `branch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 157 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0063, E0070, E0277, E0308, E0412, E0422, E0425, E0432... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `simple_quic` due to 158 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 157 previous errors; 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0063, E0070, E0277, E0308, E0412, E0422, E0425, E0432... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f497d7c89520ddc9b1afcb7b9f6e00bb85ad74ed320a0a7ce9172c968033d687", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f497d7c89520ddc9b1afcb7b9f6e00bb85ad74ed320a0a7ce9172c968033d687", kill_on_drop: false }` [INFO] [stdout] f497d7c89520ddc9b1afcb7b9f6e00bb85ad74ed320a0a7ce9172c968033d687