[INFO] cloning repository https://github.com/osiris-game/net [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/osiris-game/net" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosiris-game%2Fnet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosiris-game%2Fnet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 130318338e9a64f49a599874c93de95219cf60c9 [INFO] checking osiris-game/net against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fosiris-game%2Fnet" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/osiris-game/net on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/osiris-game/net [INFO] finished tweaking git repo https://github.com/osiris-game/net [INFO] tweaked toml for git repo https://github.com/osiris-game/net written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/osiris-game/net already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-5/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Updating git repository `https://github.com/dwrensha/capnproto-rust.git` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1bfbd81b4009e924b36ac2918f9de9b5e5baf2a01afc82014fbdc9cd2175b5e5 [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" "1bfbd81b4009e924b36ac2918f9de9b5e5baf2a01afc82014fbdc9cd2175b5e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1bfbd81b4009e924b36ac2918f9de9b5e5baf2a01afc82014fbdc9cd2175b5e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1bfbd81b4009e924b36ac2918f9de9b5e5baf2a01afc82014fbdc9cd2175b5e5", kill_on_drop: false }` [INFO] [stdout] 1bfbd81b4009e924b36ac2918f9de9b5e5baf2a01afc82014fbdc9cd2175b5e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 412fbbe1efb6fc33d74e3eee16669f62e8cc6a26c5fdae549ccf396682626954 [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" "412fbbe1efb6fc33d74e3eee16669f62e8cc6a26c5fdae549ccf396682626954", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking capnp v0.14.0 (https://github.com/dwrensha/capnproto-rust.git#0f1e9016) [INFO] [stderr] Checking net v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/lib.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::net::ip::{SocketAddr,Ipv4Addr}; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/lib.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::net::udp::{UdpStream, UdpSocket}; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `capnp::MessageBuilder`, `capnp::MessageReader`, `capnp::MallocMessageBuilder`, `capnp::ReaderOptions` [INFO] [stdout] --> src/lib.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use capnp::{MessageBuilder, MessageReader, MallocMessageBuilder, ReaderOptions, serialize_packed}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `ReaderOptions` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `MallocMessageBuilder` in the root [INFO] [stdout] | | no `MessageReader` in the root [INFO] [stdout] | no `MessageBuilder` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `capnp::layout` [INFO] [stdout] --> src/proto_capnp.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | use capnp::layout; [INFO] [stdout] | ^^^^^^^^^^^^^ no `layout` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `capnp::layout` [INFO] [stdout] --> src/proto_capnp.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use capnp::layout::{FromStructBuilder, FromStructReader, ToStructReader}; [INFO] [stdout] | ^^^^^^ could not find `layout` in `capnp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `capnp::list` [INFO] [stdout] --> src/proto_capnp.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use capnp::list::ToU16; [INFO] [stdout] | ^^^^ could not find `list` in `capnp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `capnp::layout` [INFO] [stdout] --> src/proto_capnp.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | use capnp::layout; [INFO] [stdout] | ^^^^^^^^^^^^^ no `layout` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `capnp::layout` [INFO] [stdout] --> src/proto_capnp.rs:143:16 [INFO] [stdout] | [INFO] [stdout] 143 | use capnp::layout::{FromStructBuilder, FromStructReader, ToStructReader}; [INFO] [stdout] | ^^^^^^ could not find `layout` in `capnp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `capnp::list` [INFO] [stdout] --> src/proto_capnp.rs:145:16 [INFO] [stdout] | [INFO] [stdout] 145 | use capnp::list::ToU16; [INFO] [stdout] | ^^^^ could not find `list` in `capnp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `capnp::layout` [INFO] [stdout] --> src/proto_capnp.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | use capnp::layout; [INFO] [stdout] | ^^^^^^^^^^^^^ no `layout` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `capnp::layout` [INFO] [stdout] --> src/proto_capnp.rs:225:16 [INFO] [stdout] | [INFO] [stdout] 225 | use capnp::layout::{FromStructBuilder, FromStructReader, ToStructReader}; [INFO] [stdout] | ^^^^^^ could not find `layout` in `capnp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `capnp::list` [INFO] [stdout] --> src/proto_capnp.rs:227:16 [INFO] [stdout] | [INFO] [stdout] 227 | use capnp::list::ToU16; [INFO] [stdout] | ^^^^ could not find `list` in `capnp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `capnp::layout` [INFO] [stdout] --> src/proto_capnp.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | use capnp::layout; [INFO] [stdout] | ^^^^^^^^^^^^^ no `layout` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `capnp::layout` [INFO] [stdout] --> src/proto_capnp.rs:282:16 [INFO] [stdout] | [INFO] [stdout] 282 | use capnp::layout::{FromStructBuilder, FromStructReader, ToStructReader}; [INFO] [stdout] | ^^^^^^ could not find `layout` in `capnp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `capnp::list` [INFO] [stdout] --> src/proto_capnp.rs:284:16 [INFO] [stdout] | [INFO] [stdout] 284 | use capnp::list::ToU16; [INFO] [stdout] | ^^^^ could not find `list` in `capnp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Some` in module `std::option` [INFO] [stdout] --> src/proto_capnp.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | return ::std::option::Some(MoveCube( [INFO] [stdout] | ^^^^ not found in `std::option` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 9 | use std::option::Option::Some; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MoveCube` in this scope [INFO] [stdout] --> src/proto_capnp.rs:40:38 [INFO] [stdout] | [INFO] [stdout] 40 | return ::std::option::Some(MoveCube( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 9 | use command::Which::MoveCube; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Some` in module `std::option` [INFO] [stdout] --> src/proto_capnp.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | return ::std::option::Some(Connect( [INFO] [stdout] | ^^^^ not found in `std::option` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 9 | use std::option::Option::Some; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Connect` in this scope [INFO] [stdout] --> src/proto_capnp.rs:45:38 [INFO] [stdout] | [INFO] [stdout] 45 | return ::std::option::Some(Connect( [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 9 | use command::Which::Connect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Some` in module `std::option` [INFO] [stdout] --> src/proto_capnp.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | return ::std::option::Some(Disconnect( [INFO] [stdout] | ^^^^ not found in `std::option` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 9 | use std::option::Option::Some; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Disconnect` in this scope [INFO] [stdout] --> src/proto_capnp.rs:50:38 [INFO] [stdout] | [INFO] [stdout] 50 | return ::std::option::Some(Disconnect( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 9 | use command::Which::Disconnect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `None` in module `std::option` [INFO] [stdout] --> src/proto_capnp.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | _ => return ::std::option::None [INFO] [stdout] | ^^^^ not found in `std::option` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 9 | use std::option::Option::None; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Some` in module `std::option` [INFO] [stdout] --> src/proto_capnp.rs:103:33 [INFO] [stdout] | [INFO] [stdout] 103 | return ::std::option::Some(MoveCube( [INFO] [stdout] | ^^^^ not found in `std::option` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 9 | use std::option::Option::Some; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MoveCube` in this scope [INFO] [stdout] --> src/proto_capnp.rs:103:38 [INFO] [stdout] | [INFO] [stdout] 103 | return ::std::option::Some(MoveCube( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 9 | use command::Which::MoveCube; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Some` in module `std::option` [INFO] [stdout] --> src/proto_capnp.rs:108:33 [INFO] [stdout] | [INFO] [stdout] 108 | return ::std::option::Some(Connect( [INFO] [stdout] | ^^^^ not found in `std::option` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 9 | use std::option::Option::Some; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Connect` in this scope [INFO] [stdout] --> src/proto_capnp.rs:108:38 [INFO] [stdout] | [INFO] [stdout] 108 | return ::std::option::Some(Connect( [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 9 | use command::Which::Connect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Some` in module `std::option` [INFO] [stdout] --> src/proto_capnp.rs:113:33 [INFO] [stdout] | [INFO] [stdout] 113 | return ::std::option::Some(Disconnect( [INFO] [stdout] | ^^^^ not found in `std::option` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 9 | use std::option::Option::Some; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Disconnect` in this scope [INFO] [stdout] --> src/proto_capnp.rs:113:38 [INFO] [stdout] | [INFO] [stdout] 113 | return ::std::option::Some(Disconnect( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 9 | use command::Which::Disconnect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `None` in module `std::option` [INFO] [stdout] --> src/proto_capnp.rs:117:36 [INFO] [stdout] | [INFO] [stdout] 117 | _ => return ::std::option::None [INFO] [stdout] | ^^^^ not found in `std::option` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 9 | use std::option::Option::None; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `net` [INFO] [stdout] error[E0412]: cannot find type `UdpSocket` in this scope [INFO] [stdout] --> src/lib.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | socket: UdpSocket, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::UdpSocket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/lib.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | addr_to_send_to: Option, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/lib.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new_client(addr: SocketAddr) -> Conn { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UdpSocket` [INFO] [stdout] --> src/lib.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | socket: UdpSocket::bind(SocketAddr {ip: Ipv4Addr(0,0,0,0), port: 0} ).ok().expect("Bind failure"), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::UdpSocket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SocketAddr` in this scope [INFO] [stdout] --> src/lib.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | socket: UdpSocket::bind(SocketAddr {ip: Ipv4Addr(0,0,0,0), port: 0} ).ok().expect("Bind failure"), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ipv4Addr` in this scope [INFO] [stdout] --> src/lib.rs:20:53 [INFO] [stdout] | [INFO] [stdout] 20 | socket: UdpSocket::bind(SocketAddr {ip: Ipv4Addr(0,0,0,0), port: 0} ).ok().expect("Bind failure"), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/lib.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new_server(addr: SocketAddr) -> Conn { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UdpSocket` [INFO] [stdout] --> src/lib.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | socket: UdpSocket::bind(addr).ok().expect("Bind failure"), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::UdpSocket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `write_packed_message_unbuffered` in module `serialize_packed` [INFO] [stdout] --> src/lib.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | serialize_packed::write_packed_message_unbuffered(&mut self.socket.clone().connect(addr), &msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `serialize_packed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_reader_unbuffered` in module `serialize_packed` [INFO] [stdout] --> src/lib.rs:56:41 [INFO] [stdout] | [INFO] [stdout] 56 | let mut msg = serialize_packed::new_reader_unbuffered(&mut buf, ReaderOptions::new()).ok().expect("Reader creation failed"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `serialize_packed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `MoveCube` in module `command` [INFO] [stdout] --> src/lib.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | Some(command::MoveCube(cube)) => { [INFO] [stdout] | ^^^^^^^^ not found in `command` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 4 | use command::Which::MoveCube; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/lib.rs:4:14 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::net::ip::{SocketAddr,Ipv4Addr}; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `net` in `io` [INFO] [stdout] --> src/lib.rs:5:14 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::net::udp::{UdpStream, UdpSocket}; [INFO] [stdout] | ^^^ could not find `net` in `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `capnp::MessageBuilder`, `capnp::MessageReader`, `capnp::MallocMessageBuilder`, `capnp::ReaderOptions` [INFO] [stdout] --> src/lib.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use capnp::{MessageBuilder, MessageReader, MallocMessageBuilder, ReaderOptions, serialize_packed}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ no `ReaderOptions` in the root [INFO] [stdout] | | | | [INFO] [stdout] | | | no `MallocMessageBuilder` in the root [INFO] [stdout] | | no `MessageReader` in the root [INFO] [stdout] | no `MessageBuilder` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `capnp::layout` [INFO] [stdout] --> src/proto_capnp.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | use capnp::layout; [INFO] [stdout] | ^^^^^^^^^^^^^ no `layout` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `capnp::layout` [INFO] [stdout] --> src/proto_capnp.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use capnp::layout::{FromStructBuilder, FromStructReader, ToStructReader}; [INFO] [stdout] | ^^^^^^ could not find `layout` in `capnp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `capnp::list` [INFO] [stdout] --> src/proto_capnp.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use capnp::list::ToU16; [INFO] [stdout] | ^^^^ could not find `list` in `capnp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `capnp::layout` [INFO] [stdout] --> src/proto_capnp.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | use capnp::layout; [INFO] [stdout] | ^^^^^^^^^^^^^ no `layout` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `capnp::layout` [INFO] [stdout] --> src/proto_capnp.rs:143:16 [INFO] [stdout] | [INFO] [stdout] 143 | use capnp::layout::{FromStructBuilder, FromStructReader, ToStructReader}; [INFO] [stdout] | ^^^^^^ could not find `layout` in `capnp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `capnp::list` [INFO] [stdout] --> src/proto_capnp.rs:145:16 [INFO] [stdout] | [INFO] [stdout] 145 | use capnp::list::ToU16; [INFO] [stdout] | ^^^^ could not find `list` in `capnp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `capnp::layout` [INFO] [stdout] --> src/proto_capnp.rs:224:9 [INFO] [stdout] | [INFO] [stdout] 224 | use capnp::layout; [INFO] [stdout] | ^^^^^^^^^^^^^ no `layout` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `capnp::layout` [INFO] [stdout] --> src/proto_capnp.rs:225:16 [INFO] [stdout] | [INFO] [stdout] 225 | use capnp::layout::{FromStructBuilder, FromStructReader, ToStructReader}; [INFO] [stdout] | ^^^^^^ could not find `layout` in `capnp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `capnp::list` [INFO] [stdout] --> src/proto_capnp.rs:227:16 [INFO] [stdout] | [INFO] [stdout] 227 | use capnp::list::ToU16; [INFO] [stdout] | ^^^^ could not find `list` in `capnp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `capnp::layout` [INFO] [stdout] --> src/proto_capnp.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | use capnp::layout; [INFO] [stdout] | ^^^^^^^^^^^^^ no `layout` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `capnp::layout` [INFO] [stdout] --> src/proto_capnp.rs:282:16 [INFO] [stdout] | [INFO] [stdout] 282 | use capnp::layout::{FromStructBuilder, FromStructReader, ToStructReader}; [INFO] [stdout] | ^^^^^^ could not find `layout` in `capnp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `capnp::list` [INFO] [stdout] --> src/proto_capnp.rs:284:16 [INFO] [stdout] | [INFO] [stdout] 284 | use capnp::list::ToU16; [INFO] [stdout] | ^^^^ could not find `list` in `capnp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 40 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0531. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Some` in module `std::option` [INFO] [stdout] --> src/proto_capnp.rs:40:33 [INFO] [stdout] | [INFO] [stdout] 40 | return ::std::option::Some(MoveCube( [INFO] [stdout] | ^^^^ not found in `std::option` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 9 | use std::option::Option::Some; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MoveCube` in this scope [INFO] [stdout] --> src/proto_capnp.rs:40:38 [INFO] [stdout] | [INFO] [stdout] 40 | return ::std::option::Some(MoveCube( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 9 | use command::Which::MoveCube; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Some` in module `std::option` [INFO] [stdout] --> src/proto_capnp.rs:45:33 [INFO] [stdout] | [INFO] [stdout] 45 | return ::std::option::Some(Connect( [INFO] [stdout] | ^^^^ not found in `std::option` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 9 | use std::option::Option::Some; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Connect` in this scope [INFO] [stdout] --> src/proto_capnp.rs:45:38 [INFO] [stdout] | [INFO] [stdout] 45 | return ::std::option::Some(Connect( [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 9 | use command::Which::Connect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Some` in module `std::option` [INFO] [stdout] --> src/proto_capnp.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | return ::std::option::Some(Disconnect( [INFO] [stdout] | ^^^^ not found in `std::option` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 9 | use std::option::Option::Some; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Disconnect` in this scope [INFO] [stdout] --> src/proto_capnp.rs:50:38 [INFO] [stdout] | [INFO] [stdout] 50 | return ::std::option::Some(Disconnect( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 9 | use command::Which::Disconnect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `None` in module `std::option` [INFO] [stdout] --> src/proto_capnp.rs:54:36 [INFO] [stdout] | [INFO] [stdout] 54 | _ => return ::std::option::None [INFO] [stdout] | ^^^^ not found in `std::option` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 9 | use std::option::Option::None; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Some` in module `std::option` [INFO] [stdout] --> src/proto_capnp.rs:103:33 [INFO] [stdout] | [INFO] [stdout] 103 | return ::std::option::Some(MoveCube( [INFO] [stdout] | ^^^^ not found in `std::option` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 9 | use std::option::Option::Some; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MoveCube` in this scope [INFO] [stdout] --> src/proto_capnp.rs:103:38 [INFO] [stdout] | [INFO] [stdout] 103 | return ::std::option::Some(MoveCube( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 9 | use command::Which::MoveCube; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Some` in module `std::option` [INFO] [stdout] --> src/proto_capnp.rs:108:33 [INFO] [stdout] | [INFO] [stdout] 108 | return ::std::option::Some(Connect( [INFO] [stdout] | ^^^^ not found in `std::option` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 9 | use std::option::Option::Some; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Connect` in this scope [INFO] [stdout] --> src/proto_capnp.rs:108:38 [INFO] [stdout] | [INFO] [stdout] 108 | return ::std::option::Some(Connect( [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 9 | use command::Which::Connect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Some` in module `std::option` [INFO] [stdout] --> src/proto_capnp.rs:113:33 [INFO] [stdout] | [INFO] [stdout] 113 | return ::std::option::Some(Disconnect( [INFO] [stdout] | ^^^^ not found in `std::option` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 9 | use std::option::Option::Some; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Disconnect` in this scope [INFO] [stdout] --> src/proto_capnp.rs:113:38 [INFO] [stdout] | [INFO] [stdout] 113 | return ::std::option::Some(Disconnect( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 9 | use command::Which::Disconnect; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `None` in module `std::option` [INFO] [stdout] --> src/proto_capnp.rs:117:36 [INFO] [stdout] | [INFO] [stdout] 117 | _ => return ::std::option::None [INFO] [stdout] | ^^^^ not found in `std::option` [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 9 | use std::option::Option::None; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UdpSocket` in this scope [INFO] [stdout] --> src/lib.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | socket: UdpSocket, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::UdpSocket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/lib.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | addr_to_send_to: Option, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/lib.rs:18:29 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new_client(addr: SocketAddr) -> Conn { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UdpSocket` [INFO] [stdout] --> src/lib.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | socket: UdpSocket::bind(SocketAddr {ip: Ipv4Addr(0,0,0,0), port: 0} ).ok().expect("Bind failure"), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::UdpSocket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SocketAddr` in this scope [INFO] [stdout] --> src/lib.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | socket: UdpSocket::bind(SocketAddr {ip: Ipv4Addr(0,0,0,0), port: 0} ).ok().expect("Bind failure"), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ipv4Addr` in this scope [INFO] [stdout] --> src/lib.rs:20:53 [INFO] [stdout] | [INFO] [stdout] 20 | socket: UdpSocket::bind(SocketAddr {ip: Ipv4Addr(0,0,0,0), port: 0} ).ok().expect("Bind failure"), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SocketAddr` in this scope [INFO] [stdout] --> src/lib.rs:25:29 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn new_server(addr: SocketAddr) -> Conn { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UdpSocket` [INFO] [stdout] --> src/lib.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | socket: UdpSocket::bind(addr).ok().expect("Bind failure"), [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::net::UdpSocket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `write_packed_message_unbuffered` in module `serialize_packed` [INFO] [stdout] --> src/lib.rs:46:35 [INFO] [stdout] | [INFO] [stdout] 46 | serialize_packed::write_packed_message_unbuffered(&mut self.socket.clone().connect(addr), &msg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `serialize_packed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_reader_unbuffered` in module `serialize_packed` [INFO] [stdout] --> src/lib.rs:56:41 [INFO] [stdout] | [INFO] [stdout] 56 | let mut msg = serialize_packed::new_reader_unbuffered(&mut buf, ReaderOptions::new()).ok().expect("Reader creation failed"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in `serialize_packed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `MoveCube` in module `command` [INFO] [stdout] --> src/lib.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | Some(command::MoveCube(cube)) => { [INFO] [stdout] | ^^^^^^^^ not found in `command` [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 4 | use command::Which::MoveCube; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SocketAddr` in this scope [INFO] [stdout] --> src/lib.rs:70:30 [INFO] [stdout] | [INFO] [stdout] 70 | let mut conn = Conn::new(SocketAddr{ip: Ipv4Addr(127, 0, 0, 1), port: 34000}); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 | use std::os::unix::net::SocketAddr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Ipv4Addr` in this scope [INFO] [stdout] --> src/lib.rs:70:45 [INFO] [stdout] | [INFO] [stdout] 70 | let mut conn = Conn::new(SocketAddr{ip: Ipv4Addr(127, 0, 0, 1), port: 34000}); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 42 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433, E0531. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "412fbbe1efb6fc33d74e3eee16669f62e8cc6a26c5fdae549ccf396682626954", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "412fbbe1efb6fc33d74e3eee16669f62e8cc6a26c5fdae549ccf396682626954", kill_on_drop: false }` [INFO] [stdout] 412fbbe1efb6fc33d74e3eee16669f62e8cc6a26c5fdae549ccf396682626954