[INFO] cloning repository https://github.com/lizhiyong2000/CloudIVS [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lizhiyong2000/CloudIVS" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flizhiyong2000%2FCloudIVS", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flizhiyong2000%2FCloudIVS'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 998a6dd7ef9bedd4200801971fa6740444401cf6 [INFO] testing lizhiyong2000/CloudIVS against master#8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e for pr-74409 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flizhiyong2000%2FCloudIVS" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lizhiyong2000/CloudIVS on toolchain 8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lizhiyong2000/CloudIVS [INFO] removed workspace from git repo https://github.com/lizhiyong2000/CloudIVS [INFO] finished tweaking git repo https://github.com/lizhiyong2000/CloudIVS [INFO] tweaked toml for git repo https://github.com/lizhiyong2000/CloudIVS written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/lizhiyong2000/CloudIVS already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sha v1.0.3 [INFO] [stderr] Downloaded trackable v0.1.8 [INFO] [stderr] Downloaded parallel-event-emitter v0.2.4 [INFO] [stderr] Downloaded trace-error v0.1.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc332cb4a2b95761161839181f53ec46aa33d6ded9067a6ef30e4083e0fa9953 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "bc332cb4a2b95761161839181f53ec46aa33d6ded9067a6ef30e4083e0fa9953", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc332cb4a2b95761161839181f53ec46aa33d6ded9067a6ef30e4083e0fa9953", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc332cb4a2b95761161839181f53ec46aa33d6ded9067a6ef30e4083e0fa9953", kill_on_drop: false }` [INFO] [stdout] bc332cb4a2b95761161839181f53ec46aa33d6ded9067a6ef30e4083e0fa9953 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:38e1b949b06cde1964af550a6e548bd9b2b2ea170003ae122f8fc0886596cc07" "/opt/rustwide/cargo-home/bin/cargo" "+8534be72fc3b9c5f2f2dc4e4ee7b651a008e9a3e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 096cf372bff3f5ce91b2a154e08b09579714be7787b15cfff867580eeec59ace [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "096cf372bff3f5ce91b2a154e08b09579714be7787b15cfff867580eeec59ace", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.33 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling unicode-xid v0.0.3 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling once_cell v1.4.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling proc-macro-hack v0.5.16 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling adler v0.2.2 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.8 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling tinyvec v0.3.3 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.114 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling bytes v0.5.5 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling ahash v0.3.8 [INFO] [stderr] Compiling futures v0.1.29 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling pnet_base v0.26.0 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling bswap v1.0.0 [INFO] [stderr] Compiling strum v0.18.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling splay_tree v0.2.10 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling miniz_oxide v0.4.0 [INFO] [stderr] Compiling uriparse v0.6.1 (https://github.com/sgodwincs/uriparse-rs.git#3fa71456) [INFO] [stderr] Compiling nom v6.0.0-alpha1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling pnet_macros_support v0.26.0 [INFO] [stderr] Compiling linked_hash_set v0.1.3 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling sha v1.0.3 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling syntex_pos v0.42.0 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling syntex_errors v0.42.0 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling backtrace v0.3.50 [INFO] [stderr] Compiling trackable v0.1.8 [INFO] [stderr] Compiling syntex_syntax v0.42.0 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling trace-error v0.1.5 [INFO] [stderr] Compiling parallel-event-emitter v0.2.4 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling dlv-list v0.2.2 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling ordered-multimap v0.2.4 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling trackable_derive v0.1.3 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling strum_macros v0.18.0 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling trackable v0.2.23 [INFO] [stderr] Compiling bytecodec v0.4.13 [INFO] [stderr] Compiling syntex v0.42.2 [INFO] [stderr] Compiling pnet_macros v0.26.0 [INFO] [stderr] Compiling pin-project v0.4.22 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling cloudmedia v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling futures-executor v0.3.5 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stdout] warning: variant `AES_CM_128_HMAC_SHA1_80` should have an upper camel case name [INFO] [stdout] --> src/common/srtp_parameters.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | AES_CM_128_HMAC_SHA1_80, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AesCm128HmacSha1_80` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AES_CM_128_HMAC_SHA1_32` should have an upper camel case name [INFO] [stdout] --> src/common/srtp_parameters.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | AES_CM_128_HMAC_SHA1_32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `AesCm128HmacSha1_32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0004]: non-exhaustive patterns: `Ready(None)` not covered [INFO] [stdout] --> src/protocol/rtsp/connection/sender.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 76 | match self [INFO] [stdout] | ___________________^ [INFO] [stdout] 77 | | .rx_outgoing_message [INFO] [stdout] 78 | | .poll_next_unpin(cx) [INFO] [stdout] | |____________________________________^ pattern `Ready(None)` not covered [INFO] [stdout] | [INFO] [stdout] = help: ensure that all possible cases are being handled, possibly by adding wildcards or more match arms [INFO] [stdout] = note: the matched value is of type `std::task::Poll>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable if-let pattern [INFO] [stdout] --> src/protocol/rtsp/connection/sender.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | / if let result = self.sink.start_send_unpin(message)? { [INFO] [stdout] 122 | | self.buffered_message = Some(message); [INFO] [stdout] 123 | | // return Poll::Pending; [INFO] [stdout] 124 | | } [INFO] [stdout] | |_________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/mod.rs:119:33 [INFO] [stdout] | [INFO] [stdout] 118 | fn poll_receiver(self: Pin<&mut Self>, cx: &mut Context<'_>) { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] 119 | if let Some(receiver) = self.receiver.as_mut() { [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/mod.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 118 | fn poll_receiver(self: Pin<&mut Self>, cx: &mut Context<'_>) { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 122 | self.shutdown_receiver(); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/mod.rs:136:54 [INFO] [stdout] | [INFO] [stdout] 134 | fn poll_request_handler_shutdown(self: Pin<&mut Self>, cx: &mut Context<'_>) { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] 135 | if self.is_receiver_shutdown() { [INFO] [stdout] 136 | if let Some(rx_handler_shutdown_event) = self.rx_handler_shutdown_event.as_mut() { [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/mod.rs:139:25 [INFO] [stdout] | [INFO] [stdout] 134 | fn poll_request_handler_shutdown(self: Pin<&mut Self>, cx: &mut Context<'_>) { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 139 | self.shutdown_sender(); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/mod.rs:152:31 [INFO] [stdout] | [INFO] [stdout] 151 | fn poll_sender(self: Pin<&mut Self>, cx: &mut Context<'_>) { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] 152 | if let Some(sender) = self.sender.as_mut() { [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/mod.rs:155:21 [INFO] [stdout] | [INFO] [stdout] 151 | fn poll_sender(self: Pin<&mut Self>, cx: &mut Context<'_>) { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 155 | self.shutdown_request_receiver(); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/mod.rs:156:21 [INFO] [stdout] | [INFO] [stdout] 151 | fn poll_sender(self: Pin<&mut Self>, cx: &mut Context<'_>) { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 156 | self.shutdown_sender(); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `self` [INFO] [stdout] --> src/protocol/rtsp/connection/mod.rs:295:9 [INFO] [stdout] | [INFO] [stdout] 293 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll{ [INFO] [stdout] | ---- move occurs because `self` has type `std::pin::Pin<&mut protocol::rtsp::connection::Connection>`, which does not implement the `Copy` trait [INFO] [stdout] 294 | self.poll_receiver(cx); [INFO] [stdout] | ----------------- `self` moved due to this method call [INFO] [stdout] 295 | self.poll_sender(cx); [INFO] [stdout] | ^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: this function consumes the receiver `self` by taking ownership of it, which moves `self` [INFO] [stdout] --> src/protocol/rtsp/connection/mod.rs:118:22 [INFO] [stdout] | [INFO] [stdout] 118 | fn poll_receiver(self: Pin<&mut Self>, cx: &mut Context<'_>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/mod.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 293 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll{ [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 298 | let _ = self.shutdown.poll_unpin(cx); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `self` [INFO] [stdout] --> src/protocol/rtsp/connection/mod.rs:298:17 [INFO] [stdout] | [INFO] [stdout] 293 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll{ [INFO] [stdout] | ---- move occurs because `self` has type `std::pin::Pin<&mut protocol::rtsp::connection::Connection>`, which does not implement the `Copy` trait [INFO] [stdout] 294 | self.poll_receiver(cx); [INFO] [stdout] 295 | self.poll_sender(cx); [INFO] [stdout] | --------------- `self` moved due to this method call [INFO] [stdout] ... [INFO] [stdout] 298 | let _ = self.shutdown.poll_unpin(cx); [INFO] [stdout] | ^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] note: this function consumes the receiver `self` by taking ownership of it, which moves `self` [INFO] [stdout] --> src/protocol/rtsp/connection/mod.rs:151:20 [INFO] [stdout] | [INFO] [stdout] 151 | fn poll_sender(self: Pin<&mut Self>, cx: &mut Context<'_>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/mod.rs:323:17 [INFO] [stdout] | [INFO] [stdout] 293 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll{ [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 323 | self.shutdown_request_receiver(); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/mod.rs:332:17 [INFO] [stdout] | [INFO] [stdout] 293 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll{ [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 332 | self.shutdown_receiver(); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/mod.rs:333:17 [INFO] [stdout] | [INFO] [stdout] 293 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll{ [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 333 | self.shutdown_sender(); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `self` [INFO] [stdout] --> src/protocol/rtsp/connection/mod.rs:342:12 [INFO] [stdout] | [INFO] [stdout] 293 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll{ [INFO] [stdout] | ---- move occurs because `self` has type `std::pin::Pin<&mut protocol::rtsp::connection::Connection>`, which does not implement the `Copy` trait [INFO] [stdout] 294 | self.poll_receiver(cx); [INFO] [stdout] 295 | self.poll_sender(cx); [INFO] [stdout] | --------------- `self` moved due to this method call [INFO] [stdout] ... [INFO] [stdout] 316 | self.poll_request_handler_shutdown(cx); [INFO] [stdout] | --------------------------------- `self` moved due to this method call [INFO] [stdout] ... [INFO] [stdout] 342 | if self.is_shutdown() { [INFO] [stdout] | ^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] note: this function consumes the receiver `self` by taking ownership of it, which moves `self` [INFO] [stdout] --> src/protocol/rtsp/connection/mod.rs:134:38 [INFO] [stdout] | [INFO] [stdout] 134 | fn poll_request_handler_shutdown(self: Pin<&mut Self>, cx: &mut Context<'_>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/mod.rs:343:13 [INFO] [stdout] | [INFO] [stdout] 293 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll{ [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 343 | self.shutdown.force_shutdown(); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/mod.rs:564:37 [INFO] [stdout] | [INFO] [stdout] 562 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll{ [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] 563 | // fn poll(&mut self) -> Poll { [INFO] [stdout] 564 | if let Some(mut receiver) = self.rx_connection_shutdown_event.take() { [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/mod.rs:572:17 [INFO] [stdout] | [INFO] [stdout] 562 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll{ [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 572 | self.rx_connection_shutdown_event = Some(receiver); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/mod.rs:576:37 [INFO] [stdout] | [INFO] [stdout] 562 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll{ [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 576 | if let Some(mut receiver) = self.rx_handler_shutdown_event.take() { [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/mod.rs:582:17 [INFO] [stdout] | [INFO] [stdout] 562 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll{ [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 582 | self.rx_handler_shutdown_event = Some(receiver); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in a dereference of `std::pin::Pin<&mut protocol::rtsp::connection::handler::RequestHandler>` as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/handler.rs:113:42 [INFO] [stdout] | [INFO] [stdout] 113 | while let Some(continue_timer) = self.continue_timer.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `std::pin::Pin<&mut protocol::rtsp::connection::handler::RequestHandler>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in a dereference of `std::pin::Pin<&mut protocol::rtsp::connection::handler::RequestHandler>` as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/handler.rs:116:21 [INFO] [stdout] | [INFO] [stdout] 116 | self.send_response(cseq, CONTINUE_RESPONSE.clone()); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `std::pin::Pin<&mut protocol::rtsp::connection::handler::RequestHandler>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in a dereference of `std::pin::Pin<&mut protocol::rtsp::connection::handler::RequestHandler>` as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/handler.rs:117:21 [INFO] [stdout] | [INFO] [stdout] 117 | self.reset_continue_timer(); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `std::pin::Pin<&mut protocol::rtsp::connection::handler::RequestHandler>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in a dereference of `std::pin::Pin<&mut protocol::rtsp::connection::handler::RequestHandler>` as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/handler.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 146 | match self.serviced_request.as_mut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `std::pin::Pin<&mut protocol::rtsp::connection::handler::RequestHandler>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in a dereference of `std::pin::Pin<&mut protocol::rtsp::connection::handler::RequestHandler>` as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/handler.rs:152:25 [INFO] [stdout] | [INFO] [stdout] 152 | self.send_response(cseq, response.into()); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `std::pin::Pin<&mut protocol::rtsp::connection::handler::RequestHandler>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in a dereference of `std::pin::Pin<&mut protocol::rtsp::connection::handler::RequestHandler>` [INFO] [stdout] --> src/protocol/rtsp/connection/handler.rs:153:25 [INFO] [stdout] | [INFO] [stdout] 153 | self.continue_timer = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `std::pin::Pin<&mut protocol::rtsp::connection::handler::RequestHandler>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in a dereference of `std::pin::Pin<&mut protocol::rtsp::connection::handler::RequestHandler>` [INFO] [stdout] --> src/protocol/rtsp/connection/handler.rs:154:25 [INFO] [stdout] | [INFO] [stdout] 154 | self.serviced_request = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `std::pin::Pin<&mut protocol::rtsp::connection::handler::RequestHandler>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in a dereference of `std::pin::Pin<&mut protocol::rtsp::connection::handler::RequestHandler>` as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/handler.rs:162:25 [INFO] [stdout] | [INFO] [stdout] 162 | self.send_response(cseq, INTERNAL_SERVER_ERROR_RESPONSE.clone()); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `std::pin::Pin<&mut protocol::rtsp::connection::handler::RequestHandler>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in a dereference of `std::pin::Pin<&mut protocol::rtsp::connection::handler::RequestHandler>` [INFO] [stdout] --> src/protocol/rtsp/connection/handler.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | self.continue_timer = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `std::pin::Pin<&mut protocol::rtsp::connection::handler::RequestHandler>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in a dereference of `std::pin::Pin<&mut protocol::rtsp::connection::handler::RequestHandler>` [INFO] [stdout] --> src/protocol/rtsp/connection/handler.rs:164:25 [INFO] [stdout] | [INFO] [stdout] 164 | self.serviced_request = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `std::pin::Pin<&mut protocol::rtsp::connection::handler::RequestHandler>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `self` [INFO] [stdout] --> src/protocol/rtsp/connection/handler.rs:283:20 [INFO] [stdout] | [INFO] [stdout] 281 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll{ [INFO] [stdout] | ---- move occurs because `self` has type `std::pin::Pin<&mut protocol::rtsp::connection::handler::RequestHandler>`, which does not implement the `Copy` trait [INFO] [stdout] 282 | loop { [INFO] [stdout] 283 | ready!(self.poll_serviced_request(cx)); [INFO] [stdout] | ^^^^ value moved here, in previous iteration of loop [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in a dereference of `std::pin::Pin<&mut protocol::rtsp::connection::handler::RequestHandler>` as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/handler.rs:285:19 [INFO] [stdout] | [INFO] [stdout] 285 | match self [INFO] [stdout] | ___________________^ [INFO] [stdout] 286 | | .rx_incoming_request [INFO] [stdout] | |____________________________________^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `std::pin::Pin<&mut protocol::rtsp::connection::handler::RequestHandler>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in a dereference of `std::pin::Pin<&mut protocol::rtsp::connection::handler::RequestHandler>` as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/handler.rs:290:55 [INFO] [stdout] | [INFO] [stdout] 290 | Poll::Ready(Some((cseq, request))) => self.process_request(cseq, request), [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `std::pin::Pin<&mut protocol::rtsp::connection::handler::RequestHandler>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow data in a dereference of `std::pin::Pin<&mut protocol::rtsp::connection::handler::RequestHandler>` as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/handler.rs:293:21 [INFO] [stdout] | [INFO] [stdout] 293 | self.shutdown(); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] | [INFO] [stdout] = help: trait `DerefMut` is required to modify through a dereference, but it is not implemented for `std::pin::Pin<&mut protocol::rtsp::connection::handler::RequestHandler>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/pending.rs:93:45 [INFO] [stdout] | [INFO] [stdout] 92 | fn poll_is_cancelled(self: Pin<&mut Self>, cx: &mut Context<'_>) -> bool { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] 93 | if let Poll::Ready(Err(Canceled)) = self.rx_response.poll_unpin(cx) { [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/pending.rs:112:40 [INFO] [stdout] | [INFO] [stdout] 108 | fn poll_request(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll, OperationError>> { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 112 | if let Poll::Ready(response) = self [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/pending.rs:123:29 [INFO] [stdout] | [INFO] [stdout] 108 | fn poll_request(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll, OperationError>> { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 123 | self.rx_response = rx_response; [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/pending.rs:124:29 [INFO] [stdout] | [INFO] [stdout] 108 | fn poll_request(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll, OperationError>> { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 124 | self.timer = self [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/pending.rs:149:30 [INFO] [stdout] | [INFO] [stdout] 148 | fn poll_max_timer(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] 149 | if let Some(timer) = self.max_timer.as_mut() { [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/pending.rs:152:21 [INFO] [stdout] | [INFO] [stdout] 148 | fn poll_max_timer(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 152 | self.cancel_request(); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/pending.rs:170:30 [INFO] [stdout] | [INFO] [stdout] 169 | fn poll_timer(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] 170 | if let Some(timer) = self.timer.as_mut() { [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/pending.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 169 | fn poll_timer(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 173 | self.cancel_request(); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `self` [INFO] [stdout] --> src/protocol/rtsp/connection/pending.rs:219:42 [INFO] [stdout] | [INFO] [stdout] 212 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll{ [INFO] [stdout] | ---- move occurs because `self` has type `std::pin::Pin<&mut protocol::rtsp::connection::pending::SendRequest>`, which does not implement the `Copy` trait [INFO] [stdout] 213 | match self.poll_request(cx) { [INFO] [stdout] | ---------------- `self` moved due to this method call [INFO] [stdout] ... [INFO] [stdout] 219 | if let Poll::Ready(Err(error)) = self.poll_max_timer(cx) { [INFO] [stdout] | ^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: this function consumes the receiver `self` by taking ownership of it, which moves `self` [INFO] [stdout] --> src/protocol/rtsp/connection/pending.rs:108:21 [INFO] [stdout] | [INFO] [stdout] 108 | fn poll_request(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll, OperationError>> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `self` [INFO] [stdout] --> src/protocol/rtsp/connection/pending.rs:223:42 [INFO] [stdout] | [INFO] [stdout] 212 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll{ [INFO] [stdout] | ---- move occurs because `self` has type `std::pin::Pin<&mut protocol::rtsp::connection::pending::SendRequest>`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 219 | if let Poll::Ready(Err(error)) = self.poll_max_timer(cx) { [INFO] [stdout] | ------------------ `self` moved due to this method call [INFO] [stdout] ... [INFO] [stdout] 223 | if let Poll::Ready(Err(error)) = self.poll_timer(cx) { [INFO] [stdout] | ^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: this function consumes the receiver `self` by taking ownership of it, which moves `self` [INFO] [stdout] --> src/protocol/rtsp/connection/pending.rs:148:23 [INFO] [stdout] | [INFO] [stdout] 148 | fn poll_max_timer(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/receiver.rs:244:19 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn poll_codec_events(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] 243 | loop { [INFO] [stdout] 244 | match self [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/receiver.rs:249:45 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn poll_codec_events(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 249 | Poll::Ready(Some(event)) => self.handle_codec_event(event), [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/receiver.rs:264:39 [INFO] [stdout] | [INFO] [stdout] 263 | fn poll_decoding_timer(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] 264 | if let Some(decoding_timer) = self.decoding_timer.as_mut() { [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/receiver.rs:289:42 [INFO] [stdout] | [INFO] [stdout] 288 | fn poll_receiving(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] 289 | if let Some(response_receiver) = self.response_receiver.as_mut() { [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/receiver.rs:294:21 [INFO] [stdout] | [INFO] [stdout] 288 | fn poll_receiving(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 294 | self.shutdown_response_receiver(); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `self` [INFO] [stdout] --> src/protocol/rtsp/connection/receiver.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 288 | fn poll_receiving(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ---- move occurs because `self` has type `std::pin::Pin<&mut protocol::rtsp::connection::receiver::Receiver>`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 300 | match self.poll_stream(cx) { [INFO] [stdout] | --------------- `self` moved due to this method call [INFO] [stdout] ... [INFO] [stdout] 309 | let _ = self.poll_codec_events(cx); [INFO] [stdout] | ^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: this function consumes the receiver `self` by taking ownership of it, which moves `self` [INFO] [stdout] --> src/protocol/rtsp/connection/receiver.rs:339:24 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn poll_stream(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `self` [INFO] [stdout] --> src/protocol/rtsp/connection/receiver.rs:311:15 [INFO] [stdout] | [INFO] [stdout] 288 | fn poll_receiving(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ---- move occurs because `self` has type `std::pin::Pin<&mut protocol::rtsp::connection::receiver::Receiver>`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 309 | let _ = self.poll_codec_events(cx); [INFO] [stdout] | --------------------- `self` moved due to this method call [INFO] [stdout] 310 | [INFO] [stdout] 311 | match self.poll_decoding_timer(cx) { [INFO] [stdout] | ^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: this function consumes the receiver `self` by taking ownership of it, which moves `self` [INFO] [stdout] --> src/protocol/rtsp/connection/receiver.rs:242:30 [INFO] [stdout] | [INFO] [stdout] 242 | pub fn poll_codec_events(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/receiver.rs:340:15 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn poll_stream(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] 340 | match self.stream.take() { [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/receiver.rs:347:25 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn poll_stream(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 347 | self.stream = Some(stream); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/receiver.rs:360:53 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn poll_stream(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 360 | if let Err(error) = self.handle_message(message) { [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/receiver.rs:372:25 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn poll_stream(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 372 | self.stream = Some(stream); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/receiver.rs:464:17 [INFO] [stdout] | [INFO] [stdout] 461 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll{ [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 464 | self.shutdown_receiving(); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `self` [INFO] [stdout] --> src/protocol/rtsp/connection/receiver.rs:464:17 [INFO] [stdout] | [INFO] [stdout] 461 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll{ [INFO] [stdout] | ---- move occurs because `self` has type `std::pin::Pin<&mut protocol::rtsp::connection::receiver::Receiver>`, which does not implement the `Copy` trait [INFO] [stdout] 462 | match self.poll_receiving(cx) { [INFO] [stdout] | ------------------ `self` moved due to this method call [INFO] [stdout] 463 | Poll::Ready(Ok(_)) | Poll::Ready(Err(_)) => { [INFO] [stdout] 464 | self.shutdown_receiving(); [INFO] [stdout] | ^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] note: this function consumes the receiver `self` by taking ownership of it, which moves `self` [INFO] [stdout] --> src/protocol/rtsp/connection/receiver.rs:288:23 [INFO] [stdout] | [INFO] [stdout] 288 | fn poll_receiving(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/receiver.rs:469:33 [INFO] [stdout] | [INFO] [stdout] 461 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll{ [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 469 | let is_shutdown = match self.forwarding_receiver.as_mut() { [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/receiver.rs:471:40 [INFO] [stdout] | [INFO] [stdout] 461 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll{ [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 471 | Poll::Ready(Err(_)) => self.shutdown_forwarding_receiver(), [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/receiver.rs:473:21 [INFO] [stdout] | [INFO] [stdout] 461 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll{ [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 473 | self.shutdown_forwarding_receiver() [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/receiver.rs:619:39 [INFO] [stdout] | [INFO] [stdout] 614 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll{ [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 619 | while let Some(request) = self.buffered_requests.remove(&incoming_sequence_number) { [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/receiver.rs:620:23 [INFO] [stdout] | [INFO] [stdout] 614 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll{ [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 620 | match self [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/receiver.rs:629:25 [INFO] [stdout] | [INFO] [stdout] 614 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll{ [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 629 | self.buffered_requests [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/receiver.rs:631:25 [INFO] [stdout] | [INFO] [stdout] 614 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll{ [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 631 | self.incoming_sequence_number = Some(incoming_sequence_number); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/receiver.rs:638:13 [INFO] [stdout] | [INFO] [stdout] 614 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll{ [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 638 | self.incoming_sequence_number = Some(incoming_sequence_number); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/receiver.rs:765:19 [INFO] [stdout] | [INFO] [stdout] 763 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll{ [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] 764 | loop { [INFO] [stdout] 765 | match self [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/receiver.rs:770:46 [INFO] [stdout] | [INFO] [stdout] 763 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll{ [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 770 | Poll::Ready(Some(update)) => self.handle_pending_request_update(update), [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/sender.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 74 | fn poll_write(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] 75 | loop { [INFO] [stdout] 76 | match self [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `self` [INFO] [stdout] --> src/protocol/rtsp/connection/sender.rs:76:19 [INFO] [stdout] | [INFO] [stdout] 74 | fn poll_write(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ---- move occurs because `self` has type `std::pin::Pin<&mut protocol::rtsp::connection::sender::Sender>`, which does not implement the `Copy` trait [INFO] [stdout] 75 | loop { [INFO] [stdout] 76 | match self [INFO] [stdout] | ^^^^ value borrowed here after move [INFO] [stdout] ... [INFO] [stdout] 91 | ready!(self.try_send_message(cx, message)); [INFO] [stdout] | ---- value moved here, in previous iteration of loop [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/sender.rs:94:28 [INFO] [stdout] | [INFO] [stdout] 74 | fn poll_write(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 94 | ready!(self.sink.poll_flush_unpin(cx)); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/sender.rs:116:32 [INFO] [stdout] | [INFO] [stdout] 113 | fn try_send_message(self: Pin<&mut Self>, cx: &mut Context<'_>, message: Message) -> Poll> { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 116 | if let Poll::Pending = self.sink.poll_ready_unpin(cx){ [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/sender.rs:121:25 [INFO] [stdout] | [INFO] [stdout] 113 | fn try_send_message(self: Pin<&mut Self>, cx: &mut Context<'_>, message: Message) -> Poll> { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 121 | if let result = self.sink.start_send_unpin(message)? { [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/sender.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 113 | fn try_send_message(self: Pin<&mut Self>, cx: &mut Context<'_>, message: Message) -> Poll> { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 122 | self.buffered_message = Some(message); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `message` [INFO] [stdout] --> src/protocol/rtsp/connection/sender.rs:122:42 [INFO] [stdout] | [INFO] [stdout] 113 | fn try_send_message(self: Pin<&mut Self>, cx: &mut Context<'_>, message: Message) -> Poll> { [INFO] [stdout] | ------- move occurs because `message` has type `protocol::rtsp::codec::Message`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 121 | if let result = self.sink.start_send_unpin(message)? { [INFO] [stdout] | ------- value moved here [INFO] [stdout] 122 | self.buffered_message = Some(message); [INFO] [stdout] | ^^^^^^^ value used here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/sender.rs:149:41 [INFO] [stdout] | [INFO] [stdout] 148 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll{ [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] 149 | if let Some(buffered_message) = self.buffered_message.take() { [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `self` [INFO] [stdout] --> src/protocol/rtsp/connection/sender.rs:153:16 [INFO] [stdout] | [INFO] [stdout] 148 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll{ [INFO] [stdout] | ---- move occurs because `self` has type `std::pin::Pin<&mut protocol::rtsp::connection::sender::Sender>`, which does not implement the `Copy` trait [INFO] [stdout] 149 | if let Some(buffered_message) = self.buffered_message.take() { [INFO] [stdout] 150 | ready!(self.try_send_message(cx, buffered_message)); [INFO] [stdout] | -------------------------------------- `self` moved due to this method call [INFO] [stdout] ... [INFO] [stdout] 153 | ready!(self.poll_write(cx)); [INFO] [stdout] | ^^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: this function consumes the receiver `self` by taking ownership of it, which moves `self` [INFO] [stdout] --> src/protocol/rtsp/connection/sender.rs:113:25 [INFO] [stdout] | [INFO] [stdout] 113 | fn try_send_message(self: Pin<&mut Self>, cx: &mut Context<'_>, message: Message) -> Poll> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `self` [INFO] [stdout] --> src/protocol/rtsp/connection/sender.rs:155:23 [INFO] [stdout] | [INFO] [stdout] 148 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll{ [INFO] [stdout] | ---- move occurs because `self` has type `std::pin::Pin<&mut protocol::rtsp::connection::sender::Sender>`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 153 | ready!(self.poll_write(cx)); [INFO] [stdout] | -------------- `self` moved due to this method call [INFO] [stdout] 154 | [INFO] [stdout] 155 | debug_assert!(self.buffered_message.is_none()); [INFO] [stdout] | ^^^^ value borrowed here after move [INFO] [stdout] | [INFO] [stdout] note: this function consumes the receiver `self` by taking ownership of it, which moves `self` [INFO] [stdout] --> src/protocol/rtsp/connection/sender.rs:74:19 [INFO] [stdout] | [INFO] [stdout] 74 | fn poll_write(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/sender.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 148 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll{ [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 157 | self.sink.poll_close_unpin(cx) [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/shutdown.rs:99:15 [INFO] [stdout] | [INFO] [stdout] 98 | fn poll_running(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] 99 | match self [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/shutdown.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 98 | fn poll_running(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 109 | self.handle_shutdown(shutdown_type); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/shutdown.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 98 | fn poll_running(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 114 | self.handle_shutdown(ShutdownType::Immediate); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/shutdown.rs:136:15 [INFO] [stdout] | [INFO] [stdout] 135 | fn poll_shutting_down(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] 136 | match self [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0596]: cannot borrow `self` as mutable, as it is not declared as mutable [INFO] [stdout] --> src/protocol/rtsp/connection/shutdown.rs:145:17 [INFO] [stdout] | [INFO] [stdout] 135 | fn poll_shutting_down(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ---- help: consider changing this to be mutable: `mut self` [INFO] [stdout] ... [INFO] [stdout] 145 | self.handle_shutdown(ShutdownType::Immediate); [INFO] [stdout] | ^^^^ cannot borrow as mutable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: borrow of moved value: `self` [INFO] [stdout] --> src/protocol/rtsp/connection/shutdown.rs:195:19 [INFO] [stdout] | [INFO] [stdout] 193 | fn poll(self: Pin<&mut Self>, cx: &mut Context<'_>) -> Poll{ [INFO] [stdout] | ---- move occurs because `self` has type `std::pin::Pin<&mut protocol::rtsp::connection::shutdown::ShutdownHandler>`, which does not implement the `Copy` trait [INFO] [stdout] 194 | loop { [INFO] [stdout] 195 | match self.state() { [INFO] [stdout] | ^^^^ value borrowed here after move [INFO] [stdout] 196 | ShutdownState::Running => self.poll_running(cx), [INFO] [stdout] | ---- value moved here, in previous iteration of loop [INFO] [stdout] 197 | ShutdownState::ShuttingDown => self.poll_shutting_down(cx), [INFO] [stdout] | ---- value moved here, in previous iteration of loop [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 84 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0004, E0382, E0594, E0596. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0004`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cloudmedia`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "096cf372bff3f5ce91b2a154e08b09579714be7787b15cfff867580eeec59ace", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "096cf372bff3f5ce91b2a154e08b09579714be7787b15cfff867580eeec59ace", kill_on_drop: false }` [INFO] [stdout] 096cf372bff3f5ce91b2a154e08b09579714be7787b15cfff867580eeec59ace