[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] testing lucaszanella/async_smoltcp against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flucaszanella%2Fasync_smoltcp" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lucaszanella/async_smoltcp on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5b443459109aea4fd0031a4e93739c5ba061ea0dc0c8a8376a455d97de320f38 [INFO] running `Command { std: "docker" "start" "-a" "5b443459109aea4fd0031a4e93739c5ba061ea0dc0c8a8376a455d97de320f38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5b443459109aea4fd0031a4e93739c5ba061ea0dc0c8a8376a455d97de320f38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5b443459109aea4fd0031a4e93739c5ba061ea0dc0c8a8376a455d97de320f38", kill_on_drop: false }` [INFO] [stdout] 5b443459109aea4fd0031a4e93739c5ba061ea0dc0c8a8376a455d97de320f38 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 091d495e08131002291dc89dfe7185cdaa2808d9104650b8350b33b81bf3fb36 [INFO] running `Command { std: "docker" "start" "-a" "091d495e08131002291dc89dfe7185cdaa2808d9104650b8350b33b81bf3fb36", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling tokio v1.6.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling managed v0.8.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling smoltcp v0.8.0 (https://github.com/smoltcp-rs/smoltcp?rev=007f8dd2e2d0a770609428aa4b0efb63f5dbb708#007f8dd2) [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling simple_socket v0.1.0 (https://github.com/lattice0/simple_socket#14a846f3) [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling 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] Finished `dev` profile [unoptimized + debuginfo] target(s) in 26.05s [INFO] running `Command { std: "docker" "inspect" "091d495e08131002291dc89dfe7185cdaa2808d9104650b8350b33b81bf3fb36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "091d495e08131002291dc89dfe7185cdaa2808d9104650b8350b33b81bf3fb36", kill_on_drop: false }` [INFO] [stdout] 091d495e08131002291dc89dfe7185cdaa2808d9104650b8350b33b81bf3fb36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fff68c5dc51b1943e249f34b9ee32181252a34e01b4c8cb02281cf9bb2b4dac8 [INFO] running `Command { std: "docker" "start" "-a" "fff68c5dc51b1943e249f34b9ee32181252a34e01b4c8cb02281cf9bb2b4dac8", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling tokio v1.6.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling smoltcp v0.8.0 (https://github.com/smoltcp-rs/smoltcp?rev=007f8dd2e2d0a770609428aa4b0efb63f5dbb708#007f8dd2) [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling simple_socket v0.1.0 (https://github.com/lattice0/simple_socket#14a846f3) [INFO] [stderr] Compiling 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] Compiling h2 v0.3.3 [INFO] [stderr] Compiling 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] 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[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] = 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] 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] 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] [stdout] Some errors have detailed explanations: E0061, E0277, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [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] 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] [stderr] error: could not compile `async_smoltcp` (example "utils") due to 15 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "fff68c5dc51b1943e249f34b9ee32181252a34e01b4c8cb02281cf9bb2b4dac8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fff68c5dc51b1943e249f34b9ee32181252a34e01b4c8cb02281cf9bb2b4dac8", kill_on_drop: false }` [INFO] [stdout] fff68c5dc51b1943e249f34b9ee32181252a34e01b4c8cb02281cf9bb2b4dac8