[INFO] fetching crate tun-tap-new 0.1.0... [INFO] testing tun-tap-new-0.1.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate tun-tap-new 0.1.0 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate tun-tap-new 0.1.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tun-tap-new 0.1.0 [INFO] finished tweaking crates.io crate tun-tap-new 0.1.0 [INFO] tweaked toml for crates.io crate tun-tap-new 0.1.0 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded version-sync v0.5.0 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "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] 16b233d10503a0dd351cfde96174fec3ff49154e51fddcf153417d9ce94397ac [INFO] running `Command { std: "docker" "start" "-a" "16b233d10503a0dd351cfde96174fec3ff49154e51fddcf153417d9ce94397ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16b233d10503a0dd351cfde96174fec3ff49154e51fddcf153417d9ce94397ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16b233d10503a0dd351cfde96174fec3ff49154e51fddcf153417d9ce94397ac", kill_on_drop: false }` [INFO] [stdout] 16b233d10503a0dd351cfde96174fec3ff49154e51fddcf153417d9ce94397ac [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=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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", 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] 9226bf8122173f734157c4eb044c96bccdc771f5f58ec3f3c23f0fae78eb3382 [INFO] running `Command { std: "docker" "start" "-a" "9226bf8122173f734157c4eb044c96bccdc771f5f58ec3f3c23f0fae78eb3382", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling tun-tap-new v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling crossbeam-deque v0.7.4 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stdout] warning: unused import: `Handle` [INFO] [stdout] --> src/async.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use self::tokio::reactor::{Handle, PollEvented2}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/lib.rs:143:85 [INFO] [stdout] | [INFO] [stdout] 143 | let result = unsafe { tuntap_setup(fd.as_raw_fd(), name_ptr, mode as c_int, { if packet_info { 1 } else { 0 } }) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 143 - let result = unsafe { tuntap_setup(fd.as_raw_fd(), name_ptr, mode as c_int, { if packet_info { 1 } else { 0 } }) }; [INFO] [stdout] 143 + let result = unsafe { tuntap_setup(fd.as_raw_fd(), name_ptr, mode as c_int, if packet_info { 1 } else { 0 }) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 32.34s [INFO] running `Command { std: "docker" "inspect" "9226bf8122173f734157c4eb044c96bccdc771f5f58ec3f3c23f0fae78eb3382", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9226bf8122173f734157c4eb044c96bccdc771f5f58ec3f3c23f0fae78eb3382", kill_on_drop: false }` [INFO] [stdout] 9226bf8122173f734157c4eb044c96bccdc771f5f58ec3f3c23f0fae78eb3382 [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=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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", 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] cb9801e78c59e8d60a4546ec799a546ca4c99ae01b7f9b1e548406d3ab62dd3d [INFO] running `Command { std: "docker" "start" "-a" "cb9801e78c59e8d60a4546ec799a546ca4c99ae01b7f9b1e548406d3ab62dd3d", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling pulldown-cmark v0.1.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stdout] warning: unused import: `Handle` [INFO] [stdout] --> src/async.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use self::tokio::reactor::{Handle, PollEvented2}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/lib.rs:143:85 [INFO] [stdout] | [INFO] [stdout] 143 | let result = unsafe { tuntap_setup(fd.as_raw_fd(), name_ptr, mode as c_int, { if packet_info { 1 } else { 0 } }) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 143 - let result = unsafe { tuntap_setup(fd.as_raw_fd(), name_ptr, mode as c_int, { if packet_info { 1 } else { 0 } }) }; [INFO] [stdout] 143 + let result = unsafe { tuntap_setup(fd.as_raw_fd(), name_ptr, mode as c_int, if packet_info { 1 } else { 0 }) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling itertools v0.7.11 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling version-sync v0.5.0 [INFO] [stderr] Compiling tun-tap-new v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0463]: can't find crate for `tokio_core` [INFO] [stdout] --> examples/tokio.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | extern crate tokio_core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `tun_tap` [INFO] [stdout] --> examples/tokio.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | extern crate tun_tap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Iface` [INFO] [stdout] --> examples/tokio.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let iface = Iface::new("testtun%d", Mode::Tun).unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Iface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> examples/tokio.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | let iface = Iface::new("testtun%d", Mode::Tun).unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Core` [INFO] [stdout] --> examples/tokio.rs:48:20 [INFO] [stdout] | [INFO] [stdout] 48 | let mut core = Core::new().unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `Core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Interval` [INFO] [stdout] --> examples/tokio.rs:51:18 [INFO] [stdout] | [INFO] [stdout] 51 | let writer = Interval::new(Duration::from_secs(1), &core.handle()) [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Async` [INFO] [stdout] --> examples/tokio.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | let iface = Async::new(iface, &core.handle()).unwrap(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 15 | use futures::Async; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `tokio_core` [INFO] [stdout] --> examples/vpn.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | extern crate tokio_core; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `tun_tap` [INFO] [stdout] --> examples/vpn.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | extern crate tun_tap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Future` [INFO] [stdout] --> examples/tokio.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | use futures::{Future, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stream` [INFO] [stdout] --> examples/tokio.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | use futures::{Future, Stream}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tun-tap-new` due to 8 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Core` [INFO] [stdout] --> examples/vpn.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | let mut core = Core::new().unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `Core` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Iface` [INFO] [stdout] --> examples/vpn.rs:60:15 [INFO] [stdout] | [INFO] [stdout] 60 | let tun = Iface::new("vpn%d", Mode::Tun) [INFO] [stdout] | ^^^^^ use of undeclared type `Iface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> examples/vpn.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 60 | let tun = Iface::new("vpn%d", Mode::Tun) [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `UdpCodec` in this scope [INFO] [stdout] --> examples/vpn.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | impl UdpCodec for VecCodec { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UdpSocket` [INFO] [stdout] --> examples/vpn.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | let socket = UdpSocket::bind(&loc_address, &core.handle()) [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 19 | use std::net::UdpSocket; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Async` [INFO] [stdout] --> examples/vpn.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | let (sink, stream) = Async::new(tun, &core.handle()) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 19 | use futures::Async; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `Handle` [INFO] [stdout] --> src/async.rs:13:28 [INFO] [stdout] | [INFO] [stdout] 13 | use self::tokio::reactor::{Handle, PollEvented2}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around function argument [INFO] [stdout] --> src/lib.rs:143:85 [INFO] [stdout] | [INFO] [stdout] 143 | let result = unsafe { tuntap_setup(fd.as_raw_fd(), name_ptr, mode as c_int, { if packet_info { 1 } else { 0 } }) }; [INFO] [stdout] | ^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 143 - let result = unsafe { tuntap_setup(fd.as_raw_fd(), name_ptr, mode as c_int, { if packet_info { 1 } else { 0 } }) }; [INFO] [stdout] 143 + let result = unsafe { tuntap_setup(fd.as_raw_fd(), name_ptr, mode as c_int, if packet_info { 1 } else { 0 }) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `tun_tap` [INFO] [stdout] --> examples/dump_iface.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate tun_tap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `tun_tap` [INFO] [stdout] --> examples/pingpong.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | extern crate tun_tap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Iface` [INFO] [stdout] --> examples/dump_iface.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | let iface = Iface::new("testtun%d", Mode::Tun).unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Iface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> examples/dump_iface.rs:26:41 [INFO] [stdout] | [INFO] [stdout] 26 | let iface = Iface::new("testtun%d", Mode::Tun).unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Iface` [INFO] [stdout] --> examples/pingpong.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | let iface = Iface::new("testtun%d", Mode::Tun).unwrap(); [INFO] [stdout] | ^^^^^ use of undeclared type `Iface` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mode` [INFO] [stdout] --> examples/pingpong.rs:40:41 [INFO] [stdout] | [INFO] [stdout] 40 | let iface = Iface::new("testtun%d", Mode::Tun).unwrap(); [INFO] [stdout] | ^^^^ use of undeclared type `Mode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `send` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> examples/pingpong.rs:54:39 [INFO] [stdout] | [INFO] [stdout] 54 | let amount = iface_writer.send(PING).unwrap(); [INFO] [stdout] | ^^^^ method not found in `Arc<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `recv` found for struct `Arc<_>` in the current scope [INFO] [stdout] --> examples/pingpong.rs:62:37 [INFO] [stdout] | [INFO] [stdout] 62 | let size = iface_reader.recv(&mut buffer).unwrap(); [INFO] [stdout] | ^^^^ method not found in `Arc<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0463, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "cb9801e78c59e8d60a4546ec799a546ca4c99ae01b7f9b1e548406d3ab62dd3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb9801e78c59e8d60a4546ec799a546ca4c99ae01b7f9b1e548406d3ab62dd3d", kill_on_drop: false }` [INFO] [stdout] cb9801e78c59e8d60a4546ec799a546ca4c99ae01b7f9b1e548406d3ab62dd3d