[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 master#00bfd6b2734d9c28a147bf237490995731781fdd for pr-117984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshahin718%2Fpcap2socks" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shahin718/pcap2socks on toolchain 00bfd6b2734d9c28a147bf237490995731781fdd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "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-6-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/zhxie/netifs-rs` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded dns-lookup v1.0.5 [INFO] [stderr] Downloaded interfaces v0.0.4 [INFO] [stderr] Downloaded handlebars v0.29.1 [INFO] [stderr] Downloaded async-socks5 v0.5.0 [INFO] [stderr] Downloaded eui48 v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a2983ef5107bed555bf996917a176de836a28924648f7ac58c81877f6d59f215 [INFO] running `Command { std: "docker" "start" "-a" "a2983ef5107bed555bf996917a176de836a28924648f7ac58c81877f6d59f215", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a2983ef5107bed555bf996917a176de836a28924648f7ac58c81877f6d59f215", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2983ef5107bed555bf996917a176de836a28924648f7ac58c81877f6d59f215", kill_on_drop: false }` [INFO] [stdout] a2983ef5107bed555bf996917a176de836a28924648f7ac58c81877f6d59f215 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d902985c72fe39d85a31970a205a56472e029fca5a239194482b2817d818f03 [INFO] running `Command { std: "docker" "start" "-a" "9d902985c72fe39d85a31970a205a56472e029fca5a239194482b2817d818f03", 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 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 regex-syntax v0.6.21 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling getrandom v0.2.1 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Checking pnet_base v0.27.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling pest v0.3.3 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Checking pnet_macros_support v0.27.2 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking pnet_sys v0.27.2 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Compiling pnet v0.27.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking nix v0.9.0 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking humantime v2.0.1 [INFO] [stderr] Checking bitflags v0.8.2 [INFO] [stderr] Checking dns-lookup v1.0.5 [INFO] [stderr] Checking lru v0.6.3 [INFO] [stderr] Checking rand v0.8.1 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling syntex_pos v0.42.0 [INFO] [stderr] Compiling syntex_errors v0.42.0 [INFO] [stderr] Compiling syntex_syntax v0.42.0 [INFO] [stderr] Checking ipnetwork v0.17.0 [INFO] [stderr] Checking env_logger v0.8.2 [INFO] [stderr] Checking pnet_datalink v0.27.2 [INFO] [stderr] Compiling handlebars v0.29.1 [INFO] [stderr] Compiling serde_derive v1.0.118 [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] Checking thiserror v1.0.23 [INFO] [stderr] Checking structopt v0.3.21 [INFO] [stderr] Compiling interfaces v0.0.4 [INFO] [stderr] Checking async-socks5 v0.5.0 [INFO] [stderr] Compiling syntex v0.42.2 [INFO] [stderr] Compiling pnet_macros v0.27.2 [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: `Fragmentation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: 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: `Fragmentation` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.14s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "9d902985c72fe39d85a31970a205a56472e029fca5a239194482b2817d818f03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d902985c72fe39d85a31970a205a56472e029fca5a239194482b2817d818f03", kill_on_drop: false }` [INFO] [stdout] 9d902985c72fe39d85a31970a205a56472e029fca5a239194482b2817d818f03 [INFO] checking shahin718/pcap2socks against try#aa7c6ba69acce8b10a275eabfe6157ea72c8b599 for pr-117984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshahin718%2Fpcap2socks" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shahin718/pcap2socks on toolchain aa7c6ba69acce8b10a275eabfe6157ea72c8b599 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "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-6-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c65c91804461b8a05b4e237998b3fa765841fe94450c0081c911119f972a818 [INFO] running `Command { std: "docker" "start" "-a" "4c65c91804461b8a05b4e237998b3fa765841fe94450c0081c911119f972a818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c65c91804461b8a05b4e237998b3fa765841fe94450c0081c911119f972a818", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c65c91804461b8a05b4e237998b3fa765841fe94450c0081c911119f972a818", kill_on_drop: false }` [INFO] [stdout] 4c65c91804461b8a05b4e237998b3fa765841fe94450c0081c911119f972a818 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 648ac31ee6d2438311ae8ec2e236e490670265f41a03aba90a562da92cb64a9a [INFO] running `Command { std: "docker" "start" "-a" "648ac31ee6d2438311ae8ec2e236e490670265f41a03aba90a562da92cb64a9a", 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 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 unicode-xid v0.0.3 [INFO] [stderr] Compiling term v0.4.6 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Checking pnet_base v0.27.2 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling getrandom v0.2.1 [INFO] [stderr] Compiling glob v0.2.11 [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.24/src/serialize.rs:1155:5 [INFO] [stdout] | [INFO] [stdout] 1155 | fn decode(d: &mut D) -> Result, D::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /rustc/aa7c6ba69acce8b10a275eabfe6157ea72c8b599/library/alloc/src/borrow.rs:180:30 [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 1151 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T> [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [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 autocfg v1.0.1 [INFO] [stderr] Compiling pest v0.3.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Checking pnet_macros_support v0.27.2 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling tokio v1.0.1 [INFO] [stderr] Checking pnet_sys v0.27.2 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "648ac31ee6d2438311ae8ec2e236e490670265f41a03aba90a562da92cb64a9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "648ac31ee6d2438311ae8ec2e236e490670265f41a03aba90a562da92cb64a9a", kill_on_drop: false }` [INFO] [stdout] 648ac31ee6d2438311ae8ec2e236e490670265f41a03aba90a562da92cb64a9a