[INFO] cloning repository https://github.com/luyikk/kcp_server_echo
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/luyikk/kcp_server_echo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluyikk%2Fkcp_server_echo", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluyikk%2Fkcp_server_echo'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6351a8edf0eaf34ecddaa513c7b6b5f5ba591aa1
[INFO] checking luyikk/kcp_server_echo against try#012cd62c9add58ab3910e44c137d87db3ab70f61 for pr-155915
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fluyikk%2Fkcp_server_echo" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/luyikk/kcp_server_echo
[INFO] finished tweaking git repo https://github.com/luyikk/kcp_server_echo
[INFO] tweaked toml for git repo https://github.com/luyikk/kcp_server_echo written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/luyikk/kcp_server_echo on toolchain 012cd62c9add58ab3910e44c137d87db3ab70f61
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/luyikk/kcp_server_echo already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c40feda194765ffc6f0b3385cb85cbea0eac867657be734c8382dac5becc7940
[INFO] running `Command { std: "docker" "start" "-a" "c40feda194765ffc6f0b3385cb85cbea0eac867657be734c8382dac5becc7940", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c40feda194765ffc6f0b3385cb85cbea0eac867657be734c8382dac5becc7940", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c40feda194765ffc6f0b3385cb85cbea0eac867657be734c8382dac5becc7940", kill_on_drop: false }`
[INFO] [stdout] c40feda194765ffc6f0b3385cb85cbea0eac867657be734c8382dac5becc7940
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+012cd62c9add58ab3910e44c137d87db3ab70f61" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2bbb4f43c2efaa68edef51bb3b61df83a333ff554e23d0d6808fee66db563fad
[INFO] running `Command { std: "docker" "start" "-a" "2bbb4f43c2efaa68edef51bb3b61df83a333ff554e23d0d6808fee66db563fad", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.76
[INFO] [stderr]    Compiling proc-macro2 v1.0.19
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling syn v1.0.39
[INFO] [stderr]    Compiling memchr v2.3.3
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling pin-project-internal v0.4.23
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling proc-macro-nested v0.1.6
[INFO] [stderr]     Checking futures-core v0.3.5
[INFO] [stderr]     Checking futures-sink v0.3.5
[INFO] [stderr]     Checking once_cell v1.4.1
[INFO] [stderr]    Compiling proc-macro-hack v0.5.18
[INFO] [stderr]     Checking futures-io v0.3.5
[INFO] [stderr]     Checking arc-swap v0.4.7
[INFO] [stderr]     Checking thread_local v1.0.1
[INFO] [stderr]     Checking bytes v0.5.6
[INFO] [stderr]     Checking quick-error v1.2.3
[INFO] [stderr]     Checking regex-syntax v0.6.18
[INFO] [stderr]     Checking futures-channel v0.3.5
[INFO] [stderr]     Checking pin-project-lite v0.1.7
[INFO] [stderr]     Checking humantime v1.3.0
[INFO] [stderr]     Checking futures-task v0.3.5
[INFO] [stderr]     Checking termcolor v1.1.0
[INFO] [stderr]    Compiling num-traits v0.2.12
[INFO] [stderr]    Compiling num-integer v0.1.43
[INFO] [stderr]     Checking aho-corasick v0.7.13
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking net2 v0.2.34
[INFO] [stderr]     Checking signal-hook-registry v1.2.1
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking time v0.1.44
[INFO] [stderr]     Checking rand v0.4.6
[INFO] [stderr]     Checking mio v0.6.22
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]     Checking rand v0.3.23
[INFO] [stderr]     Checking mio-uds v0.6.8
[INFO] [stderr]     Checking chrono v0.4.15
[INFO] [stderr]     Checking regex v1.3.9
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]    Compiling futures-macro v0.3.5
[INFO] [stderr]    Compiling tokio-macros v0.2.5
[INFO] [stderr]     Checking tokio v0.2.22
[INFO] [stderr]     Checking pin-project v0.4.23
[INFO] [stderr]     Checking futures-util v0.3.5
[INFO] [stderr]     Checking futures-executor v0.3.5
[INFO] [stderr]     Checking futures v0.3.5
[INFO] [stderr]     Checking udp_server v0.3.2
[INFO] [stderr]     Checking kcp_server_echo v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `Kcp` and `get_conv`
[INFO] [stdout]  --> src/kcp/mod.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub use super::{get_conv, Kcp};
[INFO] [stdout]   |                     ^^^^^^^^  ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `set_conv`
[INFO] [stdout]   --> src/kcp/mod.rs:12:25
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use kcp::{get_conv, set_conv, Kcp};
[INFO] [stdout]    |                         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `async_closure` has been stable since 1.85.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(async_closure)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Kcp` and `get_conv`
[INFO] [stdout]  --> src/kcp/mod.rs:8:21
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub use super::{get_conv, Kcp};
[INFO] [stdout]   |                     ^^^^^^^^  ^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `set_conv`
[INFO] [stdout]   --> src/kcp/mod.rs:12:25
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub use kcp::{get_conv, set_conv, Kcp};
[INFO] [stdout]    |                         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `async_closure` has been stable since 1.85.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(async_closure)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `flush_async` is never used
[INFO] [stdout]   --> src/kcp_server/kcp_peer.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl KcpLock{
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub async fn flush_async(&self)->  KcpResult<()>{
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `conv` is never read
[INFO] [stdout]   --> src/kcp_server/kcp_peer.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub struct KcpPeer<T: Send> {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 60 |     pub kcp:KcpLock,
[INFO] [stdout] 61 |     pub conv: u32,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `flush_async` is never used
[INFO] [stdout]   --> src/kcp_server/kcp_peer.rs:96:18
[INFO] [stdout]    |
[INFO] [stdout] 71 | impl <T:Send> KcpPeer<T>{
[INFO] [stdout]    | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 96 |     pub async fn flush_async(&self)->  KcpResult<()>{
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `session_expire`, `flush_write`, `flush_acks_input`, and `stream` are never read
[INFO] [stdout]   --> src/kcp_server/kcp_config.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct KcpConfig {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub session_expire: Option<Duration>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub flush_write: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 64 |     /// Flush ACKs immediately after input
[INFO] [stdout] 65 |     pub flush_acks_input: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 66 |     /// Stream mode
[INFO] [stdout] 67 |     pub stream: bool,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `KcpConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_conv` is never used
[INFO] [stdout]   --> src/kcp/kcp.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn get_conv(buf: &mut Bytes) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_conv` is never used
[INFO] [stdout]   --> src/kcp/kcp.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub fn set_conv(buf: &mut BytesMut, conv: u32) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]     --> src/kcp/kcp.rs:238:12
[INFO] [stdout]      |
[INFO] [stdout]  225 | impl Kcp {
[INFO] [stdout]      | -------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  238 |     pub fn new_stream(conv: u32, output: Arc<UdpSend>) -> Self {
[INFO] [stdout]      |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  552 |     pub fn input_conv(&mut self) {
[INFO] [stdout]      |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  558 |     pub fn waiting_conv(&self) -> bool {
[INFO] [stdout]      |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  564 |     pub fn set_conv(&mut self, conv: u32) {
[INFO] [stdout]      |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  570 |     pub fn conv(&self) -> u32 {
[INFO] [stdout]      |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  816 |     pub async fn flush_ack(&mut self) -> KcpResult<()> {
[INFO] [stdout]      |                  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  970 |     pub async fn flush_async(&mut self)-> KcpResult<()> {
[INFO] [stdout]      |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1014 |     pub fn check(&self, current: u32) -> u32 {
[INFO] [stdout]      |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1067 |     pub fn mtu(&self) -> usize {
[INFO] [stdout]      |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 1128 |     pub fn snd_wnd(&self) -> u16 {
[INFO] [stdout]      |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1133 |     pub fn rcv_wnd(&self) -> u16 {
[INFO] [stdout]      |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1138 |     pub fn wait_snd(&self) -> usize {
[INFO] [stdout]      |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1153 |     pub fn header_len() -> usize {
[INFO] [stdout]      |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1158 |     pub fn is_stream(&self) -> bool {
[INFO] [stdout]      |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1163 |     pub fn mss(&self) -> u32 {
[INFO] [stdout]      |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 1168 |     pub fn set_maximum_resend_times(&mut self, dead_link: u32) {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1173 |     pub fn is_dead_link(&self) -> bool {
[INFO] [stdout]      |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: transmuting an integer to a pointer creates a pointer without provenance
[INFO] [stdout]    --> src/kcp_server/kcp_listener.rs:235:45
[INFO] [stdout]     |
[INFO] [stdout] 235 |                 if let Some(input)=(*unsafe{std::mem::transmute::<_,&mut BuffInputStore<S,R>>(p)}).get(){
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this is dangerous because dereferencing the resulting pointer is undefined behavior
[INFO] [stdout]     = note: exposed provenance semantics can be used to create a pointer based on some previously exposed provenance
[INFO] [stdout]     = help: if you truly mean to create a pointer without provenance, use `std::ptr::without_provenance_mut`
[INFO] [stdout]     = help: for more information about transmute, see <https://doc.rust-lang.org/std/mem/fn.transmute.html#transmutation-between-pointers-and-integers>
[INFO] [stdout]     = help: for more information about exposed provenance, see <https://doc.rust-lang.org/std/ptr/index.html#exposed-provenance>
[INFO] [stdout]     = note: `#[warn(integer_to_ptr_transmutes)]` on by default
[INFO] [stdout] help: use `std::ptr::with_exposed_provenance_mut` instead to use a previously exposed provenance
[INFO] [stdout]     |
[INFO] [stdout] 235 -                 if let Some(input)=(*unsafe{std::mem::transmute::<_,&mut BuffInputStore<S,R>>(p)}).get(){
[INFO] [stdout] 235 +                 if let Some(input)=(*unsafe{&mut *std::ptr::with_exposed_provenance_mut::<BuffInputStore<S, R>>(p)}).get(){
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `flush_async` is never used
[INFO] [stdout]   --> src/kcp_server/kcp_peer.rs:39:18
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl KcpLock{
[INFO] [stdout]    | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 39 |     pub async fn flush_async(&self)->  KcpResult<()>{
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `conv` is never read
[INFO] [stdout]   --> src/kcp_server/kcp_peer.rs:61:9
[INFO] [stdout]    |
[INFO] [stdout] 59 | pub struct KcpPeer<T: Send> {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] 60 |     pub kcp:KcpLock,
[INFO] [stdout] 61 |     pub conv: u32,
[INFO] [stdout]    |         ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `flush_async` is never used
[INFO] [stdout]   --> src/kcp_server/kcp_peer.rs:96:18
[INFO] [stdout]    |
[INFO] [stdout] 71 | impl <T:Send> KcpPeer<T>{
[INFO] [stdout]    | ------------------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 96 |     pub async fn flush_async(&self)->  KcpResult<()>{
[INFO] [stdout]    |                  ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `session_expire`, `flush_write`, `flush_acks_input`, and `stream` are never read
[INFO] [stdout]   --> src/kcp_server/kcp_config.rs:59:9
[INFO] [stdout]    |
[INFO] [stdout] 47 | pub struct KcpConfig {
[INFO] [stdout]    |            --------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 59 |     pub session_expire: Option<Duration>,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub flush_write: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^
[INFO] [stdout] 64 |     /// Flush ACKs immediately after input
[INFO] [stdout] 65 |     pub flush_acks_input: bool,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 66 |     /// Stream mode
[INFO] [stdout] 67 |     pub stream: bool,
[INFO] [stdout]    |         ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `KcpConfig` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_conv` is never used
[INFO] [stdout]   --> src/kcp/kcp.rs:44:8
[INFO] [stdout]    |
[INFO] [stdout] 44 | pub fn get_conv(buf: &mut Bytes) -> u32 {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_conv` is never used
[INFO] [stdout]   --> src/kcp/kcp.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub fn set_conv(buf: &mut BytesMut, conv: u32) {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]     --> src/kcp/kcp.rs:238:12
[INFO] [stdout]      |
[INFO] [stdout]  225 | impl Kcp {
[INFO] [stdout]      | -------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  238 |     pub fn new_stream(conv: u32, output: Arc<UdpSend>) -> Self {
[INFO] [stdout]      |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  552 |     pub fn input_conv(&mut self) {
[INFO] [stdout]      |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  558 |     pub fn waiting_conv(&self) -> bool {
[INFO] [stdout]      |            ^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  564 |     pub fn set_conv(&mut self, conv: u32) {
[INFO] [stdout]      |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  570 |     pub fn conv(&self) -> u32 {
[INFO] [stdout]      |            ^^^^
[INFO] [stdout] ...
[INFO] [stdout]  816 |     pub async fn flush_ack(&mut self) -> KcpResult<()> {
[INFO] [stdout]      |                  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  970 |     pub async fn flush_async(&mut self)-> KcpResult<()> {
[INFO] [stdout]      |                  ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1014 |     pub fn check(&self, current: u32) -> u32 {
[INFO] [stdout]      |            ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1067 |     pub fn mtu(&self) -> usize {
[INFO] [stdout]      |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 1128 |     pub fn snd_wnd(&self) -> u16 {
[INFO] [stdout]      |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1133 |     pub fn rcv_wnd(&self) -> u16 {
[INFO] [stdout]      |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1138 |     pub fn wait_snd(&self) -> usize {
[INFO] [stdout]      |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1153 |     pub fn header_len() -> usize {
[INFO] [stdout]      |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1158 |     pub fn is_stream(&self) -> bool {
[INFO] [stdout]      |            ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1163 |     pub fn mss(&self) -> u32 {
[INFO] [stdout]      |            ^^^
[INFO] [stdout] ...
[INFO] [stdout] 1168 |     pub fn set_maximum_resend_times(&mut self, dead_link: u32) {
[INFO] [stdout]      |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 1173 |     pub fn is_dead_link(&self) -> bool {
[INFO] [stdout]      |            ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: transmuting an integer to a pointer creates a pointer without provenance
[INFO] [stdout]    --> src/kcp_server/kcp_listener.rs:235:45
[INFO] [stdout]     |
[INFO] [stdout] 235 |                 if let Some(input)=(*unsafe{std::mem::transmute::<_,&mut BuffInputStore<S,R>>(p)}).get(){
[INFO] [stdout]     |                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this is dangerous because dereferencing the resulting pointer is undefined behavior
[INFO] [stdout]     = note: exposed provenance semantics can be used to create a pointer based on some previously exposed provenance
[INFO] [stdout]     = help: if you truly mean to create a pointer without provenance, use `std::ptr::without_provenance_mut`
[INFO] [stdout]     = help: for more information about transmute, see <https://doc.rust-lang.org/std/mem/fn.transmute.html#transmutation-between-pointers-and-integers>
[INFO] [stdout]     = help: for more information about exposed provenance, see <https://doc.rust-lang.org/std/ptr/index.html#exposed-provenance>
[INFO] [stdout]     = note: `#[warn(integer_to_ptr_transmutes)]` on by default
[INFO] [stdout] help: use `std::ptr::with_exposed_provenance_mut` instead to use a previously exposed provenance
[INFO] [stdout]     |
[INFO] [stdout] 235 -                 if let Some(input)=(*unsafe{std::mem::transmute::<_,&mut BuffInputStore<S,R>>(p)}).get(){
[INFO] [stdout] 235 +                 if let Some(input)=(*unsafe{&mut *std::ptr::with_exposed_provenance_mut::<BuffInputStore<S, R>>(p)}).get(){
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.74s
[INFO] running `Command { std: "docker" "inspect" "2bbb4f43c2efaa68edef51bb3b61df83a333ff554e23d0d6808fee66db563fad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2bbb4f43c2efaa68edef51bb3b61df83a333ff554e23d0d6808fee66db563fad", kill_on_drop: false }`
[INFO] [stdout] 2bbb4f43c2efaa68edef51bb3b61df83a333ff554e23d0d6808fee66db563fad
