[INFO] cloning repository https://github.com/alexcrichton/socks5-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alexcrichton/socks5-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexcrichton%2Fsocks5-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexcrichton%2Fsocks5-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 72ff0c265b87a1d4b3cdd47cf060537c1d72ebb0 [INFO] testing alexcrichton/socks5-rs against 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falexcrichton%2Fsocks5-rs" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alexcrichton/socks5-rs on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alexcrichton/socks5-rs [INFO] removed 0 missing tests [INFO] finished tweaking git repo https://github.com/alexcrichton/socks5-rs [INFO] tweaked toml for git repo https://github.com/alexcrichton/socks5-rs written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/alexcrichton/socks5-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22d1b777e80392b6febb6c81aa9dc726161b2c08b63f8ba5f45e628936179dfe [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" "22d1b777e80392b6febb6c81aa9dc726161b2c08b63f8ba5f45e628936179dfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22d1b777e80392b6febb6c81aa9dc726161b2c08b63f8ba5f45e628936179dfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22d1b777e80392b6febb6c81aa9dc726161b2c08b63f8ba5f45e628936179dfe", kill_on_drop: false }` [INFO] [stdout] 22d1b777e80392b6febb6c81aa9dc726161b2c08b63f8ba5f45e628936179dfe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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=warn" "-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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cab57deb8174149bb3d2647f7a95e2aa9d50be261ef361c5ce4e5410dab768eb [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" "cab57deb8174149bb3d2647f7a95e2aa9d50be261ef361c5ce4e5410dab768eb", kill_on_drop: false }` [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling miow v0.1.5 [INFO] [stderr] Compiling mio v0.5.1 [INFO] [stderr] Compiling socks5 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `lookup_host` in module `net` [INFO] [stdout] --> src/main.rs:315:38 [INFO] [stdout] | [INFO] [stdout] 315 | let addr = try!(net::lookup_host(name)).filter_map(|addr| { [INFO] [stdout] | ^^^^^^^^^^^ not found in `net` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/main.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(lookup_host)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:138:37 [INFO] [stdout] | [INFO] [stdout] 138 | while let Some((conn, _)) = try!(self.server.accept()) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:141:13 [INFO] [stdout] | [INFO] [stdout] 141 | try!(event_loop.register(&conn, new_token, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | try!(self.transition(event_loop)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:165:23 [INFO] [stdout] | [INFO] [stdout] 165 | match try!(read_byte(&mut self.stream)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:175:27 [INFO] [stdout] | [INFO] [stdout] 175 | let amt = try!(read_byte(&mut self.stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:180:28 [INFO] [stdout] | [INFO] [stdout] 180 | let read = try!(read_nonzero(&mut self.stream, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:191:17 [INFO] [stdout] | [INFO] [stdout] 191 | try!(write_byte(&mut self.stream, v5::VERSION)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:195:17 [INFO] [stdout] | [INFO] [stdout] 195 | try!(write_byte(&mut self.stream, v5::METH_NO_AUTH)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:199:20 [INFO] [stdout] | [INFO] [stdout] 199 | if try!(read_byte(&mut self.stream)) != v5::VERSION { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:206:27 [INFO] [stdout] | [INFO] [stdout] 206 | let cmd = try!(read_byte(&mut self.stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | try!(read_byte(&mut self.stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:218:23 [INFO] [stdout] | [INFO] [stdout] 218 | match try!(read_byte(&mut self.stream)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:228:29 [INFO] [stdout] | [INFO] [stdout] 228 | *amt += try!(read_nonzero(&mut self.stream, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:276:27 [INFO] [stdout] | [INFO] [stdout] 276 | let cmd = try!(read_byte(&mut self.stream)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:285:29 [INFO] [stdout] | [INFO] [stdout] 285 | *len += try!(read_nonzero(&mut self.stream, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:294:27 [INFO] [stdout] | [INFO] [stdout] 294 | match try!(read_byte(&mut self.stream)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:309:27 [INFO] [stdout] | [INFO] [stdout] 309 | match try!(read_byte(&mut self.stream)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:314:28 [INFO] [stdout] | [INFO] [stdout] 314 | let name = try!(str::from_utf8(bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:315:28 [INFO] [stdout] | [INFO] [stdout] 315 | let addr = try!(net::lookup_host(name)).filter_map(|addr| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:323:28 [INFO] [stdout] | [INFO] [stdout] 323 | let addr = try!(addr.ok_or_else(|| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:343:32 [INFO] [stdout] | [INFO] [stdout] 343 | *nbytes += try!(write_nonzero(&mut self.stream, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:347:30 [INFO] [stdout] | [INFO] [stdout] 347 | let stream = try!(mem::replace(stream, Err(err))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:348:17 [INFO] [stdout] | [INFO] [stdout] 348 | try!(event_loop.register(&stream, self.token, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:363:27 [INFO] [stdout] | [INFO] [stdout] 363 | match try!(stream.try_write(&a[*a_pos..])) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:380:27 [INFO] [stdout] | [INFO] [stdout] 380 | match try!(self.stream.try_write(&b[*b_pos..])) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 410 | try!(read_nonzero(stream, &mut vers)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:415:11 [INFO] [stdout] | [INFO] [stdout] 415 | match try!(stream.try_read(bytes)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:423:5 [INFO] [stdout] | [INFO] [stdout] 423 | try!(write_nonzero(stream, &[byte])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:428:11 [INFO] [stdout] | [INFO] [stdout] 428 | match try!(stream.try_write(bytes)) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:408:27 [INFO] [stdout] | [INFO] [stdout] 408 | fn read_byte(stream: &mut Read) -> MyResult { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:414:34 [INFO] [stdout] | [INFO] [stdout] 414 | fn read_nonzero(mut stream: &mut Read, bytes: &mut [u8]) -> MyResult { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:422:28 [INFO] [stdout] | [INFO] [stdout] 422 | fn write_byte(stream: &mut Write, byte: u8) -> MyResult<()> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:427:35 [INFO] [stdout] | [INFO] [stdout] 427 | fn write_nonzero(mut stream: &mut Write, bytes: &[u8]) -> MyResult { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0554. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `socks5` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "cab57deb8174149bb3d2647f7a95e2aa9d50be261ef361c5ce4e5410dab768eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cab57deb8174149bb3d2647f7a95e2aa9d50be261ef361c5ce4e5410dab768eb", kill_on_drop: false }` [INFO] [stdout] cab57deb8174149bb3d2647f7a95e2aa9d50be261ef361c5ce4e5410dab768eb