[INFO] cloning repository https://github.com/lucaszanella/async_smoltcp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lucaszanella/async_smoltcp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucaszanella%2Fasync_smoltcp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucaszanella%2Fasync_smoltcp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 40eb57b25e9a3727654325b8eeeb377a609b15ae [INFO] checking lucaszanella/async_smoltcp/40eb57b25e9a3727654325b8eeeb377a609b15ae against 1.94.0 for beta-1.95-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucaszanella%2Fasync_smoltcp" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lucaszanella/async_smoltcp [INFO] removed 0 missing examples [INFO] finished tweaking git repo https://github.com/lucaszanella/async_smoltcp [INFO] tweaked toml for git repo https://github.com/lucaszanella/async_smoltcp written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lucaszanella/async_smoltcp on toolchain 1.94.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/lucaszanella/async_smoltcp already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.94.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/lattice0/simple_socket` [INFO] [stderr] Updating git repository `https://github.com/lattice0/simple_vpn` [INFO] [stderr] Updating git repository `https://github.com/smoltcp-rs/smoltcp` [INFO] [stderr] Locking 3 packages to latest compatible versions [INFO] [stderr] Adding simple_socket v0.1.0 (https://github.com/lattice0/simple_socket#14a846f3) [INFO] [stderr] Adding simple_vpn v0.1.0 (https://github.com/lattice0/simple_vpn#234d53eb) [INFO] [stderr] Adding smoltcp v0.8.0 (https://github.com/smoltcp-rs/smoltcp?rev=007f8dd2e2d0a770609428aa4b0efb63f5dbb708#007f8dd2) [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded etherparse v0.9.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75dd5c49b4bbec647c2b0545542dd53b3c93b9e4808a7e38cf3c5242184ab28b [INFO] running `Command { std: "docker" "start" "-a" "75dd5c49b4bbec647c2b0545542dd53b3c93b9e4808a7e38cf3c5242184ab28b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75dd5c49b4bbec647c2b0545542dd53b3c93b9e4808a7e38cf3c5242184ab28b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75dd5c49b4bbec647c2b0545542dd53b3c93b9e4808a7e38cf3c5242184ab28b", kill_on_drop: false }` [INFO] [stdout] 75dd5c49b4bbec647c2b0545542dd53b3c93b9e4808a7e38cf3c5242184ab28b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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=warn" "-e" "RUSTDOCFLAGS=--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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1.94.0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8ba4a9ebd56bded2dfd3c55ab76f93364b1ebeaeaacd38d1ad01ac2a75463ae [INFO] running `Command { std: "docker" "start" "-a" "f8ba4a9ebd56bded2dfd3c55ab76f93364b1ebeaeaacd38d1ad01ac2a75463ae", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Compiling tokio v1.6.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking managed v0.8.0 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking smoltcp v0.8.0 (https://github.com/smoltcp-rs/smoltcp?rev=007f8dd2e2d0a770609428aa4b0efb63f5dbb708#007f8dd2) [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking futures-executor v0.3.15 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking simple_socket v0.1.0 (https://github.com/lattice0/simple_socket#14a846f3) [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking async_smoltcp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `trace` [INFO] [stdout] --> src/async_smoltcp.rs:519:19 [INFO] [stdout] | [INFO] [stdout] 519 | #[cfg(feature = "trace")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async`, `default`, `etherparse`, `log`, `packet_log`, `simple_socket`, `simple_vpn`, `tap`, `tcp`, `tokio`, `tun`, `udp`, and `vpn` [INFO] [stdout] = help: consider adding `trace` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking hyper v0.14.9 [INFO] [stdout] warning: unused import: `Write` [INFO] [stdout] --> examples/utils.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{self, Write}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> examples/utils.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | use smoltcp::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Rc<(dyn PcapSink + 'static)>: std::io::Write` is not satisfied [INFO] [stdout] --> examples/utils.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 114 | -> FaultInjector>>> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `Rc<(dyn PcapSink + 'static)>` [INFO] [stdout] | [INFO] [stdout] = note: required for `Rc<(dyn PcapSink + 'static)>` to implement `PcapSink` [INFO] [stdout] note: required by a bound in `PcapWriter` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/smoltcp-7b3a641a4bfd5193/007f8dd/src/phy/pcap_writer.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct PcapWriter [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 122 | S: PcapSink, [INFO] [stdout] | ^^^^^^^^ required by this bound in `PcapWriter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> examples/utils.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 98 | RawSocket::new(&interface).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^------------ argument #2 of type `Medium` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/smoltcp-7b3a641a4bfd5193/007f8dd/src/phy/raw_socket.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn new(name: &str, medium: Medium) -> io::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 98 | RawSocket::new(&interface, /* Medium */).unwrap() [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Rc: std::io::Write` is not satisfied [INFO] [stdout] --> examples/utils.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | let device = PcapWriter::new( [INFO] [stdout] | ^^^^^^^^^^ the trait `std::io::Write` is not implemented for `Rc` [INFO] [stdout] | [INFO] [stdout] = note: required for `Rc` to implement `PcapSink` [INFO] [stdout] note: required by a bound in `PcapWriter` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/smoltcp-7b3a641a4bfd5193/007f8dd/src/phy/pcap_writer.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct PcapWriter [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 122 | S: PcapSink, [INFO] [stdout] | ^^^^^^^^ required by this bound in `PcapWriter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Rc: std::io::Write` is not satisfied [INFO] [stdout] --> examples/utils.rs:139:18 [INFO] [stdout] | [INFO] [stdout] 139 | let device = PcapWriter::new( [INFO] [stdout] | __________________^ [INFO] [stdout] 140 | | device, [INFO] [stdout] 141 | | Rc::new(RefCell::new(pcap_writer)) as Rc, [INFO] [stdout] 142 | | if loopback { PcapMode::TxOnly } else { PcapMode::Both }, [INFO] [stdout] 143 | | ); [INFO] [stdout] | |_____^ the trait `std::io::Write` is not implemented for `Rc` [INFO] [stdout] | [INFO] [stdout] = note: required for `Rc` to implement `PcapSink` [INFO] [stdout] note: required by a bound in `PcapWriter` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/smoltcp-7b3a641a4bfd5193/007f8dd/src/phy/pcap_writer.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct PcapWriter [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 122 | S: PcapSink, [INFO] [stdout] | ^^^^^^^^ required by this bound in `PcapWriter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Rc: std::io::Write` is not satisfied [INFO] [stdout] --> examples/utils.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 145 | let device = Tracer::new(device, |_timestamp, _printer| { [INFO] [stdout] | ^^^^^^ the trait `std::io::Write` is not implemented for `Rc` [INFO] [stdout] | [INFO] [stdout] help: the trait `Device<'_>` is implemented for `PcapWriter` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/smoltcp-7b3a641a4bfd5193/007f8dd/src/phy/pcap_writer.rs:165:1 [INFO] [stdout] | [INFO] [stdout] 165 | / impl<'a, D, S> Device<'a> for PcapWriter [INFO] [stdout] 166 | | where [INFO] [stdout] 167 | | D: for<'b> Device<'b>, [INFO] [stdout] 168 | | S: PcapSink + 'a, [INFO] [stdout] | |_____________________^ [INFO] [stdout] = note: required for `Rc` to implement `PcapSink` [INFO] [stdout] = note: required for `PcapWriter>` to implement `for<'a> Device<'a>` [INFO] [stdout] note: required by a bound in `Tracer` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/smoltcp-7b3a641a4bfd5193/007f8dd/src/phy/tracer.rs:15:22 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Tracer Device<'a>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ required by this bound in `Tracer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Rc: std::io::Write` is not satisfied [INFO] [stdout] --> examples/utils.rs:145:18 [INFO] [stdout] | [INFO] [stdout] 145 | let device = Tracer::new(device, |_timestamp, _printer| { [INFO] [stdout] | __________________^ [INFO] [stdout] 146 | | #[cfg(feature = "log")] [INFO] [stdout] 147 | | trace!("{}", _printer); [INFO] [stdout] 148 | | }); [INFO] [stdout] | |______^ the trait `std::io::Write` is not implemented for `Rc` [INFO] [stdout] | [INFO] [stdout] = note: required for `Rc` to implement `PcapSink` [INFO] [stdout] note: required by a bound in `PcapWriter` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/smoltcp-7b3a641a4bfd5193/007f8dd/src/phy/pcap_writer.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct PcapWriter [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 122 | S: PcapSink, [INFO] [stdout] | ^^^^^^^^ required by this bound in `PcapWriter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Rc: std::io::Write` is not satisfied [INFO] [stdout] --> examples/utils.rs:150:22 [INFO] [stdout] | [INFO] [stdout] 150 | let mut device = FaultInjector::new(device, seed); [INFO] [stdout] | ^^^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `Rc` [INFO] [stdout] | [INFO] [stdout] = note: required for `Rc` to implement `PcapSink` [INFO] [stdout] note: required by a bound in `PcapWriter` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/smoltcp-7b3a641a4bfd5193/007f8dd/src/phy/pcap_writer.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct PcapWriter [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 122 | S: PcapSink, [INFO] [stdout] | ^^^^^^^^ required by this bound in `PcapWriter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Rc: std::io::Write` is not satisfied [INFO] [stdout] --> examples/utils.rs:150:22 [INFO] [stdout] | [INFO] [stdout] 150 | let mut device = FaultInjector::new(device, seed); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `Rc` [INFO] [stdout] | [INFO] [stdout] = note: required for `Rc` to implement `PcapSink` [INFO] [stdout] note: required by a bound in `PcapWriter` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/smoltcp-7b3a641a4bfd5193/007f8dd/src/phy/pcap_writer.rs:122:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub struct PcapWriter [INFO] [stdout] | ---------- required by a bound in this struct [INFO] [stdout] ... [INFO] [stdout] 122 | S: PcapSink, [INFO] [stdout] | ^^^^^^^^ required by this bound in `PcapWriter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cx` [INFO] [stdout] --> examples/async_tun_utils.rs:21:30 [INFO] [stdout] | [INFO] [stdout] 21 | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll> { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `set_drop_chance` exists for struct `FaultInjector>>>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/utils.rs:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | device.set_drop_chance(drop_chance); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/smoltcp-7b3a641a4bfd5193/007f8dd/src/phy/tracer.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Tracer Device<'a>> { [INFO] [stdout] | ---------------------------------------- doesn't satisfy `_: Device<'a>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Rc: std::io::Write` [INFO] [stdout] which is required by `Tracer>>: Device<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `req` [INFO] [stdout] --> examples/async_tun_utils.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | fn call(&mut self, req: hyper::Uri) -> Self::Future { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_req` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `trace` [INFO] [stdout] --> src/async_smoltcp.rs:519:19 [INFO] [stdout] | [INFO] [stdout] 519 | #[cfg(feature = "trace")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `async`, `default`, `etherparse`, `log`, `packet_log`, `simple_socket`, `simple_vpn`, `tap`, `tcp`, `tokio`, `tun`, `udp`, and `vpn` [INFO] [stdout] = help: consider adding `trace` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `set_corrupt_chance` exists for struct `FaultInjector>>>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/utils.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | device.set_corrupt_chance(corrupt_chance); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/smoltcp-7b3a641a4bfd5193/007f8dd/src/phy/tracer.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Tracer Device<'a>> { [INFO] [stdout] | ---------------------------------------- doesn't satisfy `_: Device<'a>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Rc: std::io::Write` [INFO] [stdout] which is required by `Tracer>>: Device<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `set_max_packet_size` exists for struct `FaultInjector>>>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/utils.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 153 | device.set_max_packet_size(size_limit); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/smoltcp-7b3a641a4bfd5193/007f8dd/src/phy/tracer.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Tracer Device<'a>> { [INFO] [stdout] | ---------------------------------------- doesn't satisfy `_: Device<'a>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Rc: std::io::Write` [INFO] [stdout] which is required by `Tracer>>: Device<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `set_max_tx_rate` exists for struct `FaultInjector>>>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/utils.rs:154:12 [INFO] [stdout] | [INFO] [stdout] 154 | device.set_max_tx_rate(tx_rate_limit); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/smoltcp-7b3a641a4bfd5193/007f8dd/src/phy/tracer.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Tracer Device<'a>> { [INFO] [stdout] | ---------------------------------------- doesn't satisfy `_: Device<'a>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Rc: std::io::Write` [INFO] [stdout] which is required by `Tracer>>: Device<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `set_max_rx_rate` exists for struct `FaultInjector>>>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/utils.rs:155:12 [INFO] [stdout] | [INFO] [stdout] 155 | device.set_max_rx_rate(rx_rate_limit); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/smoltcp-7b3a641a4bfd5193/007f8dd/src/phy/tracer.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Tracer Device<'a>> { [INFO] [stdout] | ---------------------------------------- doesn't satisfy `_: Device<'a>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Rc: std::io::Write` [INFO] [stdout] which is required by `Tracer>>: Device<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `set_bucket_interval` exists for struct `FaultInjector>>>`, but its trait bounds were not satisfied [INFO] [stdout] --> examples/utils.rs:156:12 [INFO] [stdout] | [INFO] [stdout] 156 | device.set_bucket_interval(Duration::from_millis(shaping_interval)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ method cannot be called due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/git/checkouts/smoltcp-7b3a641a4bfd5193/007f8dd/src/phy/tracer.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Tracer Device<'a>> { [INFO] [stdout] | ---------------------------------------- doesn't satisfy `_: Device<'a>` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Rc: std::io::Write` [INFO] [stdout] which is required by `Tracer>>: Device<'a>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `RefCell>: PcapSink` is not satisfied [INFO] [stdout] --> examples/utils.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | Rc::new(RefCell::new(pcap_writer)) as Rc, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::io::Write` is not implemented for `RefCell>` [INFO] [stdout] | [INFO] [stdout] = note: required for `RefCell>` to implement `PcapSink` [INFO] [stdout] = note: required for the cast from `Rc>>` to `Rc` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `async_smoltcp` (example "utils") due to 15 previous errors; 2 warnings emitted [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0599. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f8ba4a9ebd56bded2dfd3c55ab76f93364b1ebeaeaacd38d1ad01ac2a75463ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8ba4a9ebd56bded2dfd3c55ab76f93364b1ebeaeaacd38d1ad01ac2a75463ae", kill_on_drop: false }` [INFO] [stdout] f8ba4a9ebd56bded2dfd3c55ab76f93364b1ebeaeaacd38d1ad01ac2a75463ae