[INFO] cloning repository https://github.com/Tonghua-Li/rust-socks5 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Tonghua-Li/rust-socks5" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTonghua-Li%2Frust-socks5", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTonghua-Li%2Frust-socks5'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0677f2d2737cad9495b16b283000ff0e3849bc52 [INFO] testing Tonghua-Li/rust-socks5 against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTonghua-Li%2Frust-socks5" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Tonghua-Li/rust-socks5 on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Tonghua-Li/rust-socks5 [INFO] finished tweaking git repo https://github.com/Tonghua-Li/rust-socks5 [INFO] tweaked toml for git repo https://github.com/Tonghua-Li/rust-socks5 written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/Tonghua-Li/rust-socks5 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab9142b7379f80b4d1b5f521d97944c7cf348d568e22c8633b63a09e22584766 [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" "ab9142b7379f80b4d1b5f521d97944c7cf348d568e22c8633b63a09e22584766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab9142b7379f80b4d1b5f521d97944c7cf348d568e22c8633b63a09e22584766", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab9142b7379f80b4d1b5f521d97944c7cf348d568e22c8633b63a09e22584766", kill_on_drop: false }` [INFO] [stdout] ab9142b7379f80b4d1b5f521d97944c7cf348d568e22c8633b63a09e22584766 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 11c62049c734d2a52e681c47e0ac652be8545e424a6c452cdfc30803834e1518 [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" "11c62049c734d2a52e681c47e0ac652be8545e424a6c452cdfc30803834e1518", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.9 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling proc-macro-nested v0.1.4 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling arc-swap v0.4.5 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling regex v1.3.5 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.12 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling tokio v0.2.13 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 51 | / loop{ [INFO] [stdout] 52 | | match state{ [INFO] [stdout] 53 | | Socks5State::Init => { [INFO] [stdout] 54 | | let n = ri.peek(&mut b1).await?; [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [INFO] [stdout] 80 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 81 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `transfer` [INFO] [stdout] --> src/main.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | async fn transfer(mut inbound: TcpStream, proxy_addr: String) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 54.17s [INFO] running `Command { std: "docker" "inspect" "11c62049c734d2a52e681c47e0ac652be8545e424a6c452cdfc30803834e1518", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11c62049c734d2a52e681c47e0ac652be8545e424a6c452cdfc30803834e1518", kill_on_drop: false }` [INFO] [stdout] 11c62049c734d2a52e681c47e0ac652be8545e424a6c452cdfc30803834e1518 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea68c0acd3043aa39deba9c9f63c730047433d6088b52639893e663d4d853bd8 [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" "ea68c0acd3043aa39deba9c9f63c730047433d6088b52639893e663d4d853bd8", kill_on_drop: false }` [INFO] [stderr] Compiling proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 51 | / loop{ [INFO] [stdout] 52 | | match state{ [INFO] [stdout] 53 | | Socks5State::Init => { [INFO] [stdout] 54 | | let n = ri.peek(&mut b1).await?; [INFO] [stdout] ... | [INFO] [stdout] 79 | | } [INFO] [stdout] 80 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 81 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `transfer` [INFO] [stdout] --> src/main.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | async fn transfer(mut inbound: TcpStream, proxy_addr: String) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.87s [INFO] running `Command { std: "docker" "inspect" "ea68c0acd3043aa39deba9c9f63c730047433d6088b52639893e663d4d853bd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea68c0acd3043aa39deba9c9f63c730047433d6088b52639893e663d4d853bd8", kill_on_drop: false }` [INFO] [stdout] ea68c0acd3043aa39deba9c9f63c730047433d6088b52639893e663d4d853bd8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] fdc60a1220aebf0eec4af0e334b2134743f95f51cac02ac975cd3652331aff33 [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" "fdc60a1220aebf0eec4af0e334b2134743f95f51cac02ac975cd3652331aff33", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: unreachable expression [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/main.rs:81:5 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stderr] 51 | / loop{ [INFO] [stdout] [INFO] [stderr] 52 | | match state{ [INFO] [stderr] 53 | | Socks5State::Init => { [INFO] [stderr] 54 | | let n = ri.peek(&mut b1).await?; [INFO] [stderr] ... | [INFO] [stderr] 79 | | } [INFO] [stderr] 80 | | } [INFO] [stderr] | |_____- any code following this expression is unreachable [INFO] [stderr] 81 | Ok(()) [INFO] [stderr] | ^^^^^^ unreachable expression [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `transfer` [INFO] [stderr] --> src/main.rs:84:10 [INFO] [stderr] | [INFO] [stderr] 84 | async fn transfer(mut inbound: TcpStream, proxy_addr: String) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 2 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/proxy-87e9cf138135b961 [INFO] running `Command { std: "docker" "inspect" "fdc60a1220aebf0eec4af0e334b2134743f95f51cac02ac975cd3652331aff33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdc60a1220aebf0eec4af0e334b2134743f95f51cac02ac975cd3652331aff33", kill_on_drop: false }` [INFO] [stdout] fdc60a1220aebf0eec4af0e334b2134743f95f51cac02ac975cd3652331aff33