[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] testing zlubsen/sim-gateway against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzlubsen%2Fsim-gateway" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zlubsen/sim-gateway on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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-0/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" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.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] c82bee51a1a01898a6cadf08bf560eae5435df40b211377c84634fd016b79e94 [INFO] running `Command { std: "docker" "start" "-a" "c82bee51a1a01898a6cadf08bf560eae5435df40b211377c84634fd016b79e94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c82bee51a1a01898a6cadf08bf560eae5435df40b211377c84634fd016b79e94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c82bee51a1a01898a6cadf08bf560eae5435df40b211377c84634fd016b79e94", kill_on_drop: false }` [INFO] [stdout] c82bee51a1a01898a6cadf08bf560eae5435df40b211377c84634fd016b79e94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aae942504b72e2a7be5bda505337d78f6eace67466341b060f47bd85e4a07f9a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "aae942504b72e2a7be5bda505337d78f6eace67466341b060f47bd85e4a07f9a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.87 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling cassowary v0.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.5 [INFO] [stderr] Compiling tokio v1.4.0 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling mio v0.7.9 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling signal-hook v0.1.17 [INFO] [stderr] Compiling crossterm v0.18.2 [INFO] [stderr] Compiling crossterm v0.19.0 [INFO] [stderr] Compiling tui v0.14.0 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling strum_macros v0.21.1 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling strum v0.21.0 [INFO] [stderr] Compiling 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] 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: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] ::: /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] | [INFO] [stdout] = note: while checking the return type of the `async fn` [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] ::: /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] | [INFO] [stdout] = note: while checking the return type of the `async fn` [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]: 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] ::: /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] | [INFO] [stdout] = note: while checking the return type of the `async fn` [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] ::: /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] | [INFO] [stdout] = note: while checking the return type of the `async fn` [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]: `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] [stderr] error: could not compile `sim-gateway` due to 10 previous errors; 7 warnings emitted [INFO] running `Command { std: "docker" "inspect" "aae942504b72e2a7be5bda505337d78f6eace67466341b060f47bd85e4a07f9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aae942504b72e2a7be5bda505337d78f6eace67466341b060f47bd85e4a07f9a", kill_on_drop: false }` [INFO] [stdout] aae942504b72e2a7be5bda505337d78f6eace67466341b060f47bd85e4a07f9a