[INFO] fetching crate utp2 0.1.0... [INFO] building utp2-0.1.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate utp2 0.1.0 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate utp2 0.1.0 [INFO] finished tweaking crates.io crate utp2 0.1.0 [INFO] tweaked toml for crates.io crate utp2 0.1.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate utp2 0.1.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 36 packages to latest compatible versions [INFO] [stderr] Adding bytes v0.4.12 (available: v1.10.1) [INFO] [stderr] Adding env_logger v0.4.3 (available: v0.11.8) [INFO] [stderr] Adding log v0.3.9 (available: v0.4.28) [INFO] [stderr] Adding mio v0.6.23 (available: v1.0.4) [INFO] [stderr] Adding rand v0.3.23 (available: v0.9.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3989da1a71b84b1b222fb33a28ebe3ccef6ebcfeacb3580dd52226a70692dfb5 [INFO] running `Command { std: "docker" "start" "-a" "3989da1a71b84b1b222fb33a28ebe3ccef6ebcfeacb3580dd52226a70692dfb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3989da1a71b84b1b222fb33a28ebe3ccef6ebcfeacb3580dd52226a70692dfb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3989da1a71b84b1b222fb33a28ebe3ccef6ebcfeacb3580dd52226a70692dfb5", kill_on_drop: false }` [INFO] [stdout] 3989da1a71b84b1b222fb33a28ebe3ccef6ebcfeacb3580dd52226a70692dfb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6dcf1e885e764061a11a30be5f68616e6dd8e359239380588adba26f3ca6bcd [INFO] running `Command { std: "docker" "start" "-a" "a6dcf1e885e764061a11a30be5f68616e6dd8e359239380588adba26f3ca6bcd", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling utp2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/in_queue.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | let n = try!(buf.read(dst)); [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/socket.rs:294:21 [INFO] [stdout] | [INFO] [stdout] 294 | try!(connection.update_readiness()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:372:17 [INFO] [stdout] | [INFO] [stdout] 372 | try!(conn.update_readiness()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:378:17 [INFO] [stdout] | [INFO] [stdout] 378 | try!(self.listener.set_readiness(Ready::empty())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:398:17 [INFO] [stdout] | [INFO] [stdout] 398 | try!(conn.update_readiness()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:403:17 [INFO] [stdout] | [INFO] [stdout] 403 | try!(conn.update_readiness()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:533:13 [INFO] [stdout] | [INFO] [stdout] 533 | try!(self.connections[idx].tick(&mut self.shared)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:559:29 [INFO] [stdout] | [INFO] [stdout] 559 | ... try!(conn.process(packet, &mut self.shared)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:654:9 [INFO] [stdout] | [INFO] [stdout] 654 | try!(self.listener.set_readiness(Ready::readable())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:665:29 [INFO] [stdout] | [INFO] [stdout] 665 | let (n, addr) = try!(self.shared.socket.recv_from(self.in_buf.bytes_mut())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:671:22 [INFO] [stdout] | [INFO] [stdout] 671 | let packet = try!(Packet::parse(self.in_buf.take())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:800:9 [INFO] [stdout] | [INFO] [stdout] 800 | try!(self.update_readiness()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:728:13 [INFO] [stdout] | [INFO] [stdout] 728 | try!(self.update_readiness()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/out_queue.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn next(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 260 | pub fn next(&mut self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.21s [INFO] running `Command { std: "docker" "inspect" "a6dcf1e885e764061a11a30be5f68616e6dd8e359239380588adba26f3ca6bcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6dcf1e885e764061a11a30be5f68616e6dd8e359239380588adba26f3ca6bcd", kill_on_drop: false }` [INFO] [stdout] a6dcf1e885e764061a11a30be5f68616e6dd8e359239380588adba26f3ca6bcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 300d7f36b93f5c6feeb4fd087509b5d94f5db42f5cedd27a468ea2cc4d463e09 [INFO] running `Command { std: "docker" "start" "-a" "300d7f36b93f5c6feeb4fd087509b5d94f5db42f5cedd27a468ea2cc4d463e09", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/in_queue.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | let n = try!(buf.read(dst)); [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/socket.rs:294:21 [INFO] [stdout] | [INFO] [stdout] 294 | try!(connection.update_readiness()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:372:17 [INFO] [stdout] | [INFO] [stdout] 372 | try!(conn.update_readiness()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:378:17 [INFO] [stdout] | [INFO] [stdout] 378 | try!(self.listener.set_readiness(Ready::empty())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:398:17 [INFO] [stdout] | [INFO] [stdout] 398 | try!(conn.update_readiness()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:403:17 [INFO] [stdout] | [INFO] [stdout] 403 | try!(conn.update_readiness()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:533:13 [INFO] [stdout] | [INFO] [stdout] 533 | try!(self.connections[idx].tick(&mut self.shared)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:559:29 [INFO] [stdout] | [INFO] [stdout] 559 | ... try!(conn.process(packet, &mut self.shared)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:654:9 [INFO] [stdout] | [INFO] [stdout] 654 | try!(self.listener.set_readiness(Ready::readable())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:665:29 [INFO] [stdout] | [INFO] [stdout] 665 | let (n, addr) = try!(self.shared.socket.recv_from(self.in_buf.bytes_mut())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:671:22 [INFO] [stdout] | [INFO] [stdout] 671 | let packet = try!(Packet::parse(self.in_buf.take())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:800:9 [INFO] [stdout] | [INFO] [stdout] 800 | try!(self.update_readiness()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:728:13 [INFO] [stdout] | [INFO] [stdout] 728 | try!(self.update_readiness()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/out_queue.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn next(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 260 | pub fn next(&mut self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling utp2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `utp` [INFO] [stdout] --> examples/client.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate utp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `utp2` (example "client") due to 3 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UtpSocket` [INFO] [stdout] --> examples/client.rs:16:23 [INFO] [stdout] | [INFO] [stdout] 16 | let (socket, _) = UtpSocket::bind(&local_addr).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `UtpSocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/client.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | let stream = socket.connect(&remote_addr).unwrap(); [INFO] [stdout] | ^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `utp` [INFO] [stdout] --> examples/server.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate utp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UtpSocket` [INFO] [stdout] --> examples/server.rs:30:30 [INFO] [stdout] | [INFO] [stdout] 30 | let (socket, listener) = UtpSocket::bind(&addr).unwrap(); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `UtpSocket` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/server.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | poll.register(&socket, Token(0), Ready::readable() | Ready::writable(), PollOpt::edge()).unwrap(); [INFO] [stdout] | ^^^^^^^^ cannot infer type of the type parameter `E` declared on the method `register` [INFO] [stdout] ... [INFO] [stdout] 52 | socket.ready(event.readiness()).unwrap(); [INFO] [stdout] | ----- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 39 | poll.register::(&socket, Token(0), Ready::readable() | Ready::writable(), PollOpt::edge()).unwrap(); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/server.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | poll.register(&listener, Token(1), Ready::readable(), PollOpt::edge()).unwrap(); [INFO] [stdout] | ^^^^^^^^ cannot infer type of the type parameter `E` declared on the method `register` [INFO] [stdout] ... [INFO] [stdout] 56 | let sock = unwrap_nb!(listener.accept()); [INFO] [stdout] | ------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider specifying the generic argument [INFO] [stdout] | [INFO] [stdout] 40 | poll.register::(&listener, Token(1), Ready::readable(), PollOpt::edge()).unwrap(); [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/server.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 56 | let sock = unwrap_nb!(listener.accept()); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `unwrap_nb` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/server.rs:56:29 [INFO] [stdout] | [INFO] [stdout] 56 | let sock = unwrap_nb!(listener.accept()); [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | let n = unwrap_nb!(connections[&token].read(&mut buf)); [INFO] [stdout] | ---- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `sock` an explicit type [INFO] [stdout] | [INFO] [stdout] 56 | let sock: /* Type */ = unwrap_nb!(listener.accept()); [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> examples/server.rs:16:29 [INFO] [stdout] | [INFO] [stdout] 16 | Err(ref e) if e.kind() == io::ErrorKind::WouldBlock => { [INFO] [stdout] | ^^^^ cannot infer type [INFO] [stdout] ... [INFO] [stdout] 71 | let n = unwrap_nb!(connections[&token].read(&mut buf)); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `unwrap_nb` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/in_queue.rs:124:25 [INFO] [stdout] | [INFO] [stdout] 124 | let n = try!(buf.read(dst)); [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/socket.rs:294:21 [INFO] [stdout] | [INFO] [stdout] 294 | try!(connection.update_readiness()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:372:17 [INFO] [stdout] | [INFO] [stdout] 372 | try!(conn.update_readiness()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:378:17 [INFO] [stdout] | [INFO] [stdout] 378 | try!(self.listener.set_readiness(Ready::empty())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:398:17 [INFO] [stdout] | [INFO] [stdout] 398 | try!(conn.update_readiness()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:403:17 [INFO] [stdout] | [INFO] [stdout] 403 | try!(conn.update_readiness()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:533:13 [INFO] [stdout] | [INFO] [stdout] 533 | try!(self.connections[idx].tick(&mut self.shared)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:559:29 [INFO] [stdout] | [INFO] [stdout] 559 | ... try!(conn.process(packet, &mut self.shared)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:654:9 [INFO] [stdout] | [INFO] [stdout] 654 | try!(self.listener.set_readiness(Ready::readable())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:665:29 [INFO] [stdout] | [INFO] [stdout] 665 | let (n, addr) = try!(self.shared.socket.recv_from(self.in_buf.bytes_mut())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:671:22 [INFO] [stdout] | [INFO] [stdout] 671 | let packet = try!(Packet::parse(self.in_buf.take())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:800:9 [INFO] [stdout] | [INFO] [stdout] 800 | try!(self.update_readiness()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/socket.rs:728:13 [INFO] [stdout] | [INFO] [stdout] 728 | try!(self.update_readiness()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `utp2` (example "server") due to 7 previous errors [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/out_queue.rs:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn next(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ ^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 260 | pub fn next(&mut self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "300d7f36b93f5c6feeb4fd087509b5d94f5db42f5cedd27a468ea2cc4d463e09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "300d7f36b93f5c6feeb4fd087509b5d94f5db42f5cedd27a468ea2cc4d463e09", kill_on_drop: false }` [INFO] [stdout] 300d7f36b93f5c6feeb4fd087509b5d94f5db42f5cedd27a468ea2cc4d463e09