[INFO] cloning repository https://github.com/shahin718/pcap2socks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shahin718/pcap2socks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshahin718%2Fpcap2socks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshahin718%2Fpcap2socks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bfc2554b987c7c0a2baf76ec1eaad8756caa9148 [INFO] checking shahin718/pcap2socks against try#4d7187a26f9eb7e5000e28e28662298d34d2508f for pr-102474 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshahin718%2Fpcap2socks" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shahin718/pcap2socks on toolchain 4d7187a26f9eb7e5000e28e28662298d34d2508f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d7187a26f9eb7e5000e28e28662298d34d2508f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shahin718/pcap2socks [INFO] finished tweaking git repo https://github.com/shahin718/pcap2socks [INFO] tweaked toml for git repo https://github.com/shahin718/pcap2socks written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/shahin718/pcap2socks already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d7187a26f9eb7e5000e28e28662298d34d2508f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+4d7187a26f9eb7e5000e28e28662298d34d2508f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52310fd29ea24a7e6a8e3b6a7be8a29f59bd9fd5797ea998d6ddfdfb2d967b45 [INFO] running `Command { std: "docker" "start" "-a" "52310fd29ea24a7e6a8e3b6a7be8a29f59bd9fd5797ea998d6ddfdfb2d967b45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52310fd29ea24a7e6a8e3b6a7be8a29f59bd9fd5797ea998d6ddfdfb2d967b45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52310fd29ea24a7e6a8e3b6a7be8a29f59bd9fd5797ea998d6ddfdfb2d967b45", kill_on_drop: false }` [INFO] [stdout] 52310fd29ea24a7e6a8e3b6a7be8a29f59bd9fd5797ea998d6ddfdfb2d967b45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+4d7187a26f9eb7e5000e28e28662298d34d2508f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53af83e64b5c48028d5147555df8a37ecbc4a8f297f3d5ae0092aa0c4f0f799d [INFO] running `Command { std: "docker" "start" "-a" "53af83e64b5c48028d5147555df8a37ecbc4a8f297f3d5ae0092aa0c4f0f799d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.57 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling unicode-xid v0.0.3 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking pnet_base v0.27.2 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling syntex_pos v0.42.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling getrandom v0.2.1 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling pest v0.3.3 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling syntex_errors v0.42.0 [INFO] [stderr] Checking pnet_macros_support v0.27.2 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Checking pnet_sys v0.27.2 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Compiling syntex_syntax v0.42.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Compiling pnet v0.27.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking bytes v1.0.0 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling handlebars v0.29.1 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking pin-project-lite v0.2.1 [INFO] [stderr] Checking ipnetwork v0.17.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking humantime v2.0.1 [INFO] [stderr] Checking pnet_datalink v0.27.2 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking nix v0.9.0 [INFO] [stderr] Checking bitflags v0.8.2 [INFO] [stderr] Checking rand v0.8.1 [INFO] [stderr] Checking dns-lookup v1.0.5 [INFO] [stderr] Checking lru v0.6.3 [INFO] [stderr] Checking env_logger v0.8.2 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling syntex v0.42.2 [INFO] [stderr] Compiling pnet_macros v0.27.2 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Checking async-socks5 v0.5.0 [INFO] [stderr] Compiling interfaces v0.0.4 [INFO] [stderr] Compiling pnet_packet v0.27.2 [INFO] [stderr] Checking pnet_transport v0.27.2 [INFO] [stderr] Checking pcap2socks v0.6.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `ethernet` is never read [INFO] [stdout] --> src/packet/mod.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 374 | pub struct Fragmentation { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 375 | ethernet: Ethernet, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Fragmentation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stream` is never read [INFO] [stdout] --> src/proxy/socks/mod.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct SocksSendHalf { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 82 | stream: Arc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SocksSendHalf` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stream` is never read [INFO] [stdout] --> src/proxy/socks/mod.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct SocksRecvHalf { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 114 | stream: Arc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SocksRecvHalf` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/packet/layer/icmpv4.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | &payload[..2].copy_from_slice(&identifier.to_ne_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 33 | let _ = &payload[..2].copy_from_slice(&identifier.to_ne_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/packet/layer/icmpv4.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | &payload[2..].copy_from_slice(&sequence_number.to_ne_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = &payload[2..].copy_from_slice(&sequence_number.to_ne_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/packet/layer/icmpv4.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | &next_payload[4..].copy_from_slice(payload); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 47 | let _ = &next_payload[4..].copy_from_slice(payload); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/packet/layer/icmpv4.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | &next_payload[4..].copy_from_slice(payload); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = &next_payload[4..].copy_from_slice(payload); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/proxy/socks/mod.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | &buf[4..8].copy_from_slice(&dst.ip().octets()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 100 | let _ = &buf[4..8].copy_from_slice(&dst.ip().octets()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/proxy/socks/mod.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | &buf[10..].copy_from_slice(payload); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 105 | let _ = &buf[10..].copy_from_slice(payload); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/proxy/socks/mod.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | &buffer[..size].copy_from_slice(&self.buffer[HEADER_SIZE..n]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 148 | let _ = &buffer[..size].copy_from_slice(&self.buffer[HEADER_SIZE..n]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ethernet` is never read [INFO] [stdout] --> src/packet/mod.rs:375:5 [INFO] [stdout] | [INFO] [stdout] 374 | pub struct Fragmentation { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 375 | ethernet: Ethernet, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Fragmentation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stream` is never read [INFO] [stdout] --> src/proxy/socks/mod.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub struct SocksSendHalf { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 82 | stream: Arc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SocksSendHalf` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stream` is never read [INFO] [stdout] --> src/proxy/socks/mod.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 113 | pub struct SocksRecvHalf { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 114 | stream: Arc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SocksRecvHalf` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/packet/layer/icmpv4.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | &payload[..2].copy_from_slice(&identifier.to_ne_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 33 | let _ = &payload[..2].copy_from_slice(&identifier.to_ne_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/packet/layer/icmpv4.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | &payload[2..].copy_from_slice(&sequence_number.to_ne_bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = &payload[2..].copy_from_slice(&sequence_number.to_ne_bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/packet/layer/icmpv4.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | &next_payload[4..].copy_from_slice(payload); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 47 | let _ = &next_payload[4..].copy_from_slice(payload); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/packet/layer/icmpv4.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | &next_payload[4..].copy_from_slice(payload); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 60 | let _ = &next_payload[4..].copy_from_slice(payload); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/proxy/socks/mod.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | &buf[4..8].copy_from_slice(&dst.ip().octets()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 100 | let _ = &buf[4..8].copy_from_slice(&dst.ip().octets()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/proxy/socks/mod.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | &buf[10..].copy_from_slice(payload); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 105 | let _ = &buf[10..].copy_from_slice(payload); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/proxy/socks/mod.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | &buffer[..size].copy_from_slice(&self.buffer[HEADER_SIZE..n]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 148 | let _ = &buffer[..size].copy_from_slice(&self.buffer[HEADER_SIZE..n]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "53af83e64b5c48028d5147555df8a37ecbc4a8f297f3d5ae0092aa0c4f0f799d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53af83e64b5c48028d5147555df8a37ecbc4a8f297f3d5ae0092aa0c4f0f799d", kill_on_drop: false }` [INFO] [stdout] 53af83e64b5c48028d5147555df8a37ecbc4a8f297f3d5ae0092aa0c4f0f799d