[INFO] cloning repository https://github.com/zlubsen/sim-gateway [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zlubsen/sim-gateway" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzlubsen%2Fsim-gateway", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzlubsen%2Fsim-gateway'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 45110adaa91c12fbd834cd8fb47aeb582076a9ee [INFO] checking zlubsen/sim-gateway against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzlubsen%2Fsim-gateway" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zlubsen/sim-gateway on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zlubsen/sim-gateway [INFO] finished tweaking git repo https://github.com/zlubsen/sim-gateway [INFO] tweaked toml for git repo https://github.com/zlubsen/sim-gateway written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/zlubsen/sim-gateway already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 922299866e089a06ebb7b9de370b004ca9e98f1aabf1de3e7cf025499867ab08 [INFO] running `Command { std: "docker" "start" "-a" "922299866e089a06ebb7b9de370b004ca9e98f1aabf1de3e7cf025499867ab08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "922299866e089a06ebb7b9de370b004ca9e98f1aabf1de3e7cf025499867ab08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "922299866e089a06ebb7b9de370b004ca9e98f1aabf1de3e7cf025499867ab08", kill_on_drop: false }` [INFO] [stdout] 922299866e089a06ebb7b9de370b004ca9e98f1aabf1de3e7cf025499867ab08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2b9704e719570c6ccff3ea415ea64dbf6b0e985487f04648b87db985d82d2bc3 [INFO] running `Command { std: "docker" "start" "-a" "2b9704e719570c6ccff3ea415ea64dbf6b0e985487f04648b87db985d82d2bc3", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.87 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking pin-project-lite v0.2.5 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking mio v0.7.9 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking signal-hook v0.1.17 [INFO] [stderr] Checking crossterm v0.18.2 [INFO] [stderr] Checking crossterm v0.19.0 [INFO] [stderr] Checking regex v1.4.6 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking tui v0.14.0 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Checking strum v0.21.0 [INFO] [stderr] Checking sim-gateway v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `dst_addr` in this scope [INFO] [stdout] --> src/runtime/runtime.rs:102:47 [INFO] [stdout] | [INFO] [stdout] 102 | match out_socket.send_to(&buf[..len], dst_addr).await { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `dst_addr` in this scope [INFO] [stdout] --> src/runtime/runtime.rs:102:47 [INFO] [stdout] | [INFO] [stdout] 102 | match out_socket.send_to(&buf[..len], dst_addr).await { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event as CEvent`, `KeyCode`, `KeyEvent`, `enable_raw_mode`, `self` [INFO] [stdout] --> src/gui/gui.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | event::{self, Event as CEvent, KeyCode, KeyEvent}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] 9 | terminal::{disable_raw_mode, enable_raw_mode}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cell`, `ListState`, `Row`, `Span`, `Spans`, `Table`, `Tabs` [INFO] [stdout] --> src/gui/gui.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | text::{Span, Spans}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] 17 | widgets::{ [INFO] [stdout] 18 | Block, BorderType, Borders, Cell, List, ListItem, ListState, Paragraph, Row, Table, Tabs, [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info`, `trace` [INFO] [stdout] --> src/runtime/runtime.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{debug, error, info, trace}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::runtime::Runtime` [INFO] [stdout] --> src/runtime/runtime.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::runtime::Runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `info`, `trace`, `warn` [INFO] [stdout] --> src/model/config.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | use log::{error, warn, info, debug, trace}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `warn` [INFO] [stdout] --> src/main.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{error, warn, info, debug, trace}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Settings` [INFO] [stdout] --> src/main.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::gui::{start_gui, Settings}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Event as CEvent`, `KeyCode`, `KeyEvent`, `enable_raw_mode`, `self` [INFO] [stdout] --> src/gui/gui.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | event::{self, Event as CEvent, KeyCode, KeyEvent}, [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] 9 | terminal::{disable_raw_mode, enable_raw_mode}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Cell`, `ListState`, `Row`, `Span`, `Spans`, `Table`, `Tabs` [INFO] [stdout] --> src/gui/gui.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | text::{Span, Spans}, [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] 17 | widgets::{ [INFO] [stdout] 18 | Block, BorderType, Borders, Cell, List, ListItem, ListState, Paragraph, Row, Table, Tabs, [INFO] [stdout] | ^^^^ ^^^^^^^^^ ^^^ ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `info`, `trace` [INFO] [stdout] --> src/runtime/runtime.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use log::{debug, error, info, trace}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::runtime::Runtime` [INFO] [stdout] --> src/runtime/runtime.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use tokio::runtime::Runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `info`, `trace`, `warn` [INFO] [stdout] --> src/model/config.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | use log::{error, warn, info, debug, trace}; [INFO] [stdout] | ^^^^ ^^^^ ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `debug`, `error`, `warn` [INFO] [stdout] --> src/main.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{error, warn, info, debug, trace}; [INFO] [stdout] | ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Settings` [INFO] [stdout] --> src/main.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::gui::{start_gui, Settings}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/runtime/runtime.rs:141:38 [INFO] [stdout] | [INFO] [stdout] 141 | socket.join_multicast_v4(endpoint.socket.ip(), Ipv4Addr::UNSPECIFIED); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected struct `Ipv4Addr`, found enum `IpAddr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/runtime/runtime.rs:141:38 [INFO] [stdout] | [INFO] [stdout] 141 | socket.join_multicast_v4(endpoint.socket.ip(), Ipv4Addr::UNSPECIFIED); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected struct `Ipv4Addr`, found enum `IpAddr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/runtime/runtime.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | Ok(num_bytes) => Ok(num_bytes), [INFO] [stdout] | ^^^^^^^^^^^^^ expected opaque type, found enum `Result` [INFO] [stdout] | [INFO] [stdout] note: while checking the return type of the `async fn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.4.0/src/net/udp.rs:901:77 [INFO] [stdout] | [INFO] [stdout] 901 | pub async fn send_to(&self, buf: &[u8], target: A) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ checked the `Output` of this `async fn`, expected opaque type [INFO] [stdout] = note: expected opaque type `impl Future` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/runtime/runtime.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | Err(err) => SendError(format!("Send error: {}", err)), [INFO] [stdout] | ^^^^^^^^ expected opaque type, found enum `Result` [INFO] [stdout] | [INFO] [stdout] note: while checking the return type of the `async fn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.4.0/src/net/udp.rs:901:77 [INFO] [stdout] | [INFO] [stdout] 901 | pub async fn send_to(&self, buf: &[u8], target: A) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ checked the `Output` of this `async fn`, expected opaque type [INFO] [stdout] = note: expected opaque type `impl Future` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/runtime/runtime.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | Ok(num_bytes) => Ok(num_bytes), [INFO] [stdout] | ^^^^^^^^^^^^^ expected opaque type, found enum `Result` [INFO] [stdout] | [INFO] [stdout] note: while checking the return type of the `async fn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.4.0/src/net/udp.rs:901:77 [INFO] [stdout] | [INFO] [stdout] 901 | pub async fn send_to(&self, buf: &[u8], target: A) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ checked the `Output` of this `async fn`, expected opaque type [INFO] [stdout] = note: expected opaque type `impl Future` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/runtime/runtime.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | Err(err) => SendError(format!("Send error: {}", err)), [INFO] [stdout] | ^^^^^^^^ expected opaque type, found enum `Result` [INFO] [stdout] | [INFO] [stdout] note: while checking the return type of the `async fn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.4.0/src/net/udp.rs:901:77 [INFO] [stdout] | [INFO] [stdout] 901 | pub async fn send_to(&self, buf: &[u8], target: A) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ checked the `Output` of this `async fn`, expected opaque type [INFO] [stdout] = note: expected opaque type `impl Future` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/runtime/runtime.rs:165:25 [INFO] [stdout] | [INFO] [stdout] 163 | / match self.socket.send_to(buf, self.destination) { [INFO] [stdout] 164 | | Ok(num_bytes) => Ok(num_bytes), [INFO] [stdout] | | ------------- this is found to be of type `Result` [INFO] [stdout] 165 | | Err(err) => SendError(format!("Send error: {}", err)), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | expected enum `Result`, found enum `runtime::runtime::RuntimeError` [INFO] [stdout] | | help: try using a variant of the expected enum: `model::arguments::_::_serde::__private::Err(SendError(format!("Send error: {}", err)))` [INFO] [stdout] 166 | | } [INFO] [stdout] | |_________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `runtime::runtime::RuntimeError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/runtime/runtime.rs:165:25 [INFO] [stdout] | [INFO] [stdout] 163 | / match self.socket.send_to(buf, self.destination) { [INFO] [stdout] 164 | | Ok(num_bytes) => Ok(num_bytes), [INFO] [stdout] | | ------------- this is found to be of type `Result` [INFO] [stdout] 165 | | Err(err) => SendError(format!("Send error: {}", err)), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | expected enum `Result`, found enum `runtime::runtime::RuntimeError` [INFO] [stdout] | | help: try using a variant of the expected enum: `model::arguments::_::_serde::__private::Err(SendError(format!("Send error: {}", err)))` [INFO] [stdout] 166 | | } [INFO] [stdout] | |_________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `runtime::runtime::RuntimeError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/runtime/runtime.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | Ok((num_bytes, _)) => Ok(num_bytes), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected opaque type, found enum `Result` [INFO] [stdout] | [INFO] [stdout] note: while checking the return type of the `async fn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.4.0/src/net/udp.rs:1026:54 [INFO] [stdout] | [INFO] [stdout] 1026 | pub async fn recv_from(&self, buf: &mut [u8]) -> io::Result<(usize, SocketAddr)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ checked the `Output` of this `async fn`, expected opaque type [INFO] [stdout] = note: expected opaque type `impl Future` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/runtime/runtime.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | Err(err) => ReceiveError(format!("Receive error: {}", err)), [INFO] [stdout] | ^^^^^^^^ expected opaque type, found enum `Result` [INFO] [stdout] | [INFO] [stdout] note: while checking the return type of the `async fn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.4.0/src/net/udp.rs:1026:54 [INFO] [stdout] | [INFO] [stdout] 1026 | pub async fn recv_from(&self, buf: &mut [u8]) -> io::Result<(usize, SocketAddr)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ checked the `Output` of this `async fn`, expected opaque type [INFO] [stdout] = note: expected opaque type `impl Future` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/runtime/runtime.rs:177:13 [INFO] [stdout] | [INFO] [stdout] 177 | Ok((num_bytes, _)) => Ok(num_bytes), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected opaque type, found enum `Result` [INFO] [stdout] | [INFO] [stdout] note: while checking the return type of the `async fn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.4.0/src/net/udp.rs:1026:54 [INFO] [stdout] | [INFO] [stdout] 1026 | pub async fn recv_from(&self, buf: &mut [u8]) -> io::Result<(usize, SocketAddr)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ checked the `Output` of this `async fn`, expected opaque type [INFO] [stdout] = note: expected opaque type `impl Future` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/runtime/runtime.rs:178:13 [INFO] [stdout] | [INFO] [stdout] 178 | Err(err) => ReceiveError(format!("Receive error: {}", err)), [INFO] [stdout] | ^^^^^^^^ expected opaque type, found enum `Result` [INFO] [stdout] | [INFO] [stdout] note: while checking the return type of the `async fn` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/tokio-1.4.0/src/net/udp.rs:1026:54 [INFO] [stdout] | [INFO] [stdout] 1026 | pub async fn recv_from(&self, buf: &mut [u8]) -> io::Result<(usize, SocketAddr)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ checked the `Output` of this `async fn`, expected opaque type [INFO] [stdout] = note: expected opaque type `impl Future` [INFO] [stdout] found enum `Result<_, _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/runtime/runtime.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 176 | / match self.socket.recv_from(buf) { [INFO] [stdout] 177 | | Ok((num_bytes, _)) => Ok(num_bytes), [INFO] [stdout] | | ------------- this is found to be of type `Result` [INFO] [stdout] 178 | | Err(err) => ReceiveError(format!("Receive error: {}", err)), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | expected enum `Result`, found enum `runtime::runtime::RuntimeError` [INFO] [stdout] | | help: try using a variant of the expected enum: `model::arguments::_::_serde::__private::Err(ReceiveError(format!("Receive error: {}", err)))` [INFO] [stdout] 179 | | } [INFO] [stdout] | |_________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `runtime::runtime::RuntimeError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/runtime/runtime.rs:178:25 [INFO] [stdout] | [INFO] [stdout] 176 | / match self.socket.recv_from(buf) { [INFO] [stdout] 177 | | Ok((num_bytes, _)) => Ok(num_bytes), [INFO] [stdout] | | ------------- this is found to be of type `Result` [INFO] [stdout] 178 | | Err(err) => ReceiveError(format!("Receive error: {}", err)), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | [INFO] [stdout] | | expected enum `Result`, found enum `runtime::runtime::RuntimeError` [INFO] [stdout] | | help: try using a variant of the expected enum: `model::arguments::_::_serde::__private::Err(ReceiveError(format!("Receive error: {}", err)))` [INFO] [stdout] 179 | | } [INFO] [stdout] | |_________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `runtime::runtime::RuntimeError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `if` and `else` have incompatible types [INFO] [stdout] --> src/model/config.rs:202:18 [INFO] [stdout] | [INFO] [stdout] 200 | let ttl = if let Some(ttl_val) = spec.ttl { [INFO] [stdout] | ___________________- [INFO] [stdout] 201 | | ttl_val [INFO] [stdout] | | ------- expected because of this [INFO] [stdout] 202 | | } else { DEFAULT_TTL }; [INFO] [stdout] | |__________________^^^^^^^^^^^_- `if` and `else` have incompatible types [INFO] [stdout] | | [INFO] [stdout] | expected `u32`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `if` and `else` have incompatible types [INFO] [stdout] --> src/model/config.rs:202:18 [INFO] [stdout] | [INFO] [stdout] 200 | let ttl = if let Some(ttl_val) = spec.ttl { [INFO] [stdout] | ___________________- [INFO] [stdout] 201 | | ttl_val [INFO] [stdout] | | ------- expected because of this [INFO] [stdout] 202 | | } else { DEFAULT_TTL }; [INFO] [stdout] | |__________________^^^^^^^^^^^_- `if` and `else` have incompatible types [INFO] [stdout] | | [INFO] [stdout] | expected `u32`, found `u8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sim-gateway` due to 10 previous errors; 7 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "2b9704e719570c6ccff3ea415ea64dbf6b0e985487f04648b87db985d82d2bc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b9704e719570c6ccff3ea415ea64dbf6b0e985487f04648b87db985d82d2bc3", kill_on_drop: false }` [INFO] [stdout] 2b9704e719570c6ccff3ea415ea64dbf6b0e985487f04648b87db985d82d2bc3