[INFO] cloning repository https://github.com/vincascm/socks5-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vincascm/socks5-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvincascm%2Fsocks5-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvincascm%2Fsocks5-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c14f055b1f8941e5a90a030b43a49b6c59d7fc19 [INFO] checking vincascm/socks5-server against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvincascm%2Fsocks5-server" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vincascm/socks5-server on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/vincascm/socks5-server [INFO] finished tweaking git repo https://github.com/vincascm/socks5-server [INFO] tweaked toml for git repo https://github.com/vincascm/socks5-server written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/vincascm/socks5.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "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 async-task v4.0.2 [INFO] [stderr] Downloaded async-process v1.0.1 [INFO] [stderr] Downloaded vec-arena v1.0.0 [INFO] [stderr] Downloaded cache-padded v1.1.1 [INFO] [stderr] Downloaded anyhow v1.0.33 [INFO] [stderr] Downloaded async-fs v1.5.0 [INFO] [stderr] Downloaded async-io v1.1.10 [INFO] [stderr] Downloaded smol v1.2.4 [INFO] [stderr] Downloaded futures-lite v1.11.1 [INFO] [stderr] Downloaded async-executor v1.3.0 [INFO] [stderr] Downloaded async-lock v2.3.0 [INFO] [stderr] Downloaded async-net v1.4.7 [INFO] [stderr] Downloaded nb-connect v1.0.2 [INFO] [stderr] Downloaded wepoll-sys v3.0.0 [INFO] [stderr] Downloaded polling v2.0.1 [INFO] [stderr] Downloaded event-listener v2.5.1 [INFO] [stderr] Downloaded concurrent-queue v1.2.2 [INFO] [stderr] Downloaded atomic-waker v1.0.0 [INFO] [stderr] Downloaded parking v2.0.0 [INFO] [stderr] Downloaded waker-fn v1.1.0 [INFO] [stderr] Downloaded async-channel v1.5.1 [INFO] [stderr] Downloaded blocking v1.0.2 [INFO] [stderr] Downloaded fastrand v1.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 285f0920e09eb34d2f80768beedb6a8f9fe2c186af604446942826475da95fa4 [INFO] running `Command { std: "docker" "start" "-a" "285f0920e09eb34d2f80768beedb6a8f9fe2c186af604446942826475da95fa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "285f0920e09eb34d2f80768beedb6a8f9fe2c186af604446942826475da95fa4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "285f0920e09eb34d2f80768beedb6a8f9fe2c186af604446942826475da95fa4", kill_on_drop: false }` [INFO] [stdout] 285f0920e09eb34d2f80768beedb6a8f9fe2c186af604446942826475da95fa4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a305f14b04797d06b14badef2c2bd5c3103bdf8c065776632a6c7102f5e4deb1 [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" "a305f14b04797d06b14badef2c2bd5c3103bdf8c065776632a6c7102f5e4deb1", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling libc v0.2.79 [INFO] [stderr] Checking futures-core v0.3.6 [INFO] [stderr] Checking fastrand v1.4.0 [INFO] [stderr] Checking pin-project-lite v0.1.10 [INFO] [stderr] Checking futures-io v0.3.6 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Compiling anyhow v1.0.33 [INFO] [stderr] Checking async-lock v2.3.0 [INFO] [stderr] Checking log v0.4.11 [INFO] [stderr] Checking async-channel v1.5.1 [INFO] [stderr] Checking futures-lite v1.11.1 [INFO] [stderr] Checking polling v2.0.1 [INFO] [stderr] Checking nb-connect v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.2.1 [INFO] [stderr] Checking signal-hook v0.1.16 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking async-io v1.1.10 [INFO] [stderr] Checking async-executor v1.3.0 [INFO] [stderr] Checking async-fs v1.5.0 [INFO] [stderr] Checking async-net v1.4.7 [INFO] [stderr] Checking async-process v1.0.1 [INFO] [stderr] Checking smol v1.2.4 [INFO] [stderr] Checking socks5 v0.2.2 (https://github.com/vincascm/socks5.git#69a14690) [INFO] [stderr] Checking socks5-server v1.1.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:38:71 [INFO] [stdout] | [INFO] [stdout] 38 | let authentication_request = AuthenticationRequest::read_from(&mut self.0).await?; [INFO] [stdout] | ^^^^^^^^^^^ expected struct `Async`, found struct `smol::async_net::TcpStream` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Async` [INFO] [stdout] found mutable reference `&mut smol::async_net::TcpStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:38:71 [INFO] [stdout] | [INFO] [stdout] 38 | let authentication_request = AuthenticationRequest::read_from(&mut self.0).await?; [INFO] [stdout] | ^^^^^^^^^^^ expected struct `Async`, found struct `smol::async_net::TcpStream` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Async` [INFO] [stdout] found mutable reference `&mut smol::async_net::TcpStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:48:56 [INFO] [stdout] | [INFO] [stdout] 48 | let header = match TcpRequestHeader::read_from(&mut self.0).await { [INFO] [stdout] | ^^^^^^^^^^^ expected struct `Async`, found struct `smol::async_net::TcpStream` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Async` [INFO] [stdout] found mutable reference `&mut smol::async_net::TcpStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&smol::async_net::TcpStream: AsyncRead` is not satisfied [INFO] [stdout] --> src/server.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | let left = copy(&self.0, &dest_tcp).or(async { Self::timeout().await }); [INFO] [stdout] | ^^^^ the trait `AsyncRead` is not implemented for `&smol::async_net::TcpStream` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-lite-1.11.1/src/io.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | R: AsyncRead + Unpin, [INFO] [stdout] | --------- required by this bound in `smol::io::copy` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] [INFO] [stdout] = note: `AsyncRead` is implemented for `&mut smol::async_net::TcpStream`, but not for `&smol::async_net::TcpStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:48:56 [INFO] [stdout] | [INFO] [stdout] 48 | let header = match TcpRequestHeader::read_from(&mut self.0).await { [INFO] [stdout] | ^^^^^^^^^^^ expected struct `Async`, found struct `smol::async_net::TcpStream` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut Async` [INFO] [stdout] found mutable reference `&mut smol::async_net::TcpStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&smol::async_net::TcpStream: AsyncRead` is not satisfied [INFO] [stdout] --> src/server.rs:75:28 [INFO] [stdout] | [INFO] [stdout] 75 | let left = copy(&self.0, &dest_tcp).or(async { Self::timeout().await }); [INFO] [stdout] | ^^^^ the trait `AsyncRead` is not implemented for `&smol::async_net::TcpStream` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-lite-1.11.1/src/io.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | R: AsyncRead + Unpin, [INFO] [stdout] | --------- required by this bound in `smol::io::copy` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] [INFO] [stdout] = note: `AsyncRead` is implemented for `&mut smol::async_net::TcpStream`, but not for `&smol::async_net::TcpStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&smol::async_net::TcpStream: AsyncWrite` is not satisfied [INFO] [stdout] --> src/server.rs:75:42 [INFO] [stdout] | [INFO] [stdout] 75 | let left = copy(&self.0, &dest_tcp).or(async { Self::timeout().await }); [INFO] [stdout] | ^^^^^^^^^ the trait `AsyncWrite` is not implemented for `&smol::async_net::TcpStream` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-lite-1.11.1/src/io.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | W: AsyncWrite + Unpin, [INFO] [stdout] | ---------- required by this bound in `smol::io::copy` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 75 | let left = copy(&self.0, dest_tcp).or(async { Self::timeout().await }); [INFO] [stdout] | -- [INFO] [stdout] help: consider changing this borrow's mutability [INFO] [stdout] | [INFO] [stdout] 75 | let left = copy(&self.0, &mut dest_tcp).or(async { Self::timeout().await }); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&smol::async_net::TcpStream: AsyncRead` is not satisfied [INFO] [stdout] --> src/server.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 76 | let right = copy(&dest_tcp, &self.0).or(async { Self::timeout().await }); [INFO] [stdout] | ^^^^ the trait `AsyncRead` is not implemented for `&smol::async_net::TcpStream` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-lite-1.11.1/src/io.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | R: AsyncRead + Unpin, [INFO] [stdout] | --------- required by this bound in `smol::io::copy` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] [INFO] [stdout] = note: `AsyncRead` is implemented for `&mut smol::async_net::TcpStream`, but not for `&smol::async_net::TcpStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&smol::async_net::TcpStream: AsyncWrite` is not satisfied [INFO] [stdout] --> src/server.rs:76:45 [INFO] [stdout] | [INFO] [stdout] 76 | let right = copy(&dest_tcp, &self.0).or(async { Self::timeout().await }); [INFO] [stdout] | ^^^^^^^ the trait `AsyncWrite` is not implemented for `&smol::async_net::TcpStream` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-lite-1.11.1/src/io.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | W: AsyncWrite + Unpin, [INFO] [stdout] | ---------- required by this bound in `smol::io::copy` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 76 | let right = copy(&dest_tcp, self.0).or(async { Self::timeout().await }); [INFO] [stdout] | -- [INFO] [stdout] help: consider changing this borrow's mutability [INFO] [stdout] | [INFO] [stdout] 76 | let right = copy(&dest_tcp, &mut self.0).or(async { Self::timeout().await }); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&smol::async_net::TcpStream: AsyncWrite` is not satisfied [INFO] [stdout] --> src/server.rs:75:42 [INFO] [stdout] | [INFO] [stdout] 75 | let left = copy(&self.0, &dest_tcp).or(async { Self::timeout().await }); [INFO] [stdout] | ^^^^^^^^^ the trait `AsyncWrite` is not implemented for `&smol::async_net::TcpStream` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-lite-1.11.1/src/io.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | W: AsyncWrite + Unpin, [INFO] [stdout] | ---------- required by this bound in `smol::io::copy` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 75 | let left = copy(&self.0, dest_tcp).or(async { Self::timeout().await }); [INFO] [stdout] | -- [INFO] [stdout] help: consider changing this borrow's mutability [INFO] [stdout] | [INFO] [stdout] 75 | let left = copy(&self.0, &mut dest_tcp).or(async { Self::timeout().await }); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&smol::async_net::TcpStream: AsyncRead` is not satisfied [INFO] [stdout] --> src/server.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 76 | let right = copy(&dest_tcp, &self.0).or(async { Self::timeout().await }); [INFO] [stdout] | ^^^^ the trait `AsyncRead` is not implemented for `&smol::async_net::TcpStream` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-lite-1.11.1/src/io.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 64 | R: AsyncRead + Unpin, [INFO] [stdout] | --------- required by this bound in `smol::io::copy` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] [INFO] [stdout] = note: `AsyncRead` is implemented for `&mut smol::async_net::TcpStream`, but not for `&smol::async_net::TcpStream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `&smol::async_net::TcpStream: AsyncWrite` is not satisfied [INFO] [stdout] --> src/server.rs:76:45 [INFO] [stdout] | [INFO] [stdout] 76 | let right = copy(&dest_tcp, &self.0).or(async { Self::timeout().await }); [INFO] [stdout] | ^^^^^^^ the trait `AsyncWrite` is not implemented for `&smol::async_net::TcpStream` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/futures-lite-1.11.1/src/io.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | W: AsyncWrite + Unpin, [INFO] [stdout] | ---------- required by this bound in `smol::io::copy` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] [INFO] [stdout] help: consider removing the leading `&`-reference [INFO] [stdout] | [INFO] [stdout] 76 | let right = copy(&dest_tcp, self.0).or(async { Self::timeout().await }); [INFO] [stdout] | -- [INFO] [stdout] help: consider changing this borrow's mutability [INFO] [stdout] | [INFO] [stdout] 76 | let right = copy(&dest_tcp, &mut self.0).or(async { Self::timeout().await }); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `socks5-server` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "a305f14b04797d06b14badef2c2bd5c3103bdf8c065776632a6c7102f5e4deb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a305f14b04797d06b14badef2c2bd5c3103bdf8c065776632a6c7102f5e4deb1", kill_on_drop: false }` [INFO] [stdout] a305f14b04797d06b14badef2c2bd5c3103bdf8c065776632a6c7102f5e4deb1