[INFO] cloning repository https://github.com/tumevoiz/kubevpn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tumevoiz/kubevpn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftumevoiz%2Fkubevpn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftumevoiz%2Fkubevpn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2790dd00994915c7d209c654fccd1b1a444c2736 [INFO] checking tumevoiz/kubevpn against master#426a60abc213b28a7c7198e475476b6e650d871f for pr-129199 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftumevoiz%2Fkubevpn" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tumevoiz/kubevpn on toolchain 426a60abc213b28a7c7198e475476b6e650d871f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+426a60abc213b28a7c7198e475476b6e650d871f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tumevoiz/kubevpn [INFO] finished tweaking git repo https://github.com/tumevoiz/kubevpn [INFO] tweaked toml for git repo https://github.com/tumevoiz/kubevpn written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/tumevoiz/kubevpn 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" "+426a60abc213b28a7c7198e475476b6e650d871f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking tumevoiz/kubevpn against try#2c70eb47850052381670935f807d41647a7dc992 for pr-129199 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftumevoiz%2Fkubevpn" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tumevoiz/kubevpn on toolchain 2c70eb47850052381670935f807d41647a7dc992 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tumevoiz/kubevpn [INFO] finished tweaking git repo https://github.com/tumevoiz/kubevpn [INFO] tweaked toml for git repo https://github.com/tumevoiz/kubevpn written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tumevoiz/kubevpn 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" "+2c70eb47850052381670935f807d41647a7dc992" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/cloudflare/boringtun.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking tumevoiz/kubevpn against try#2c70eb47850052381670935f807d41647a7dc992 for pr-129199 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftumevoiz%2Fkubevpn" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tumevoiz/kubevpn on toolchain 2c70eb47850052381670935f807d41647a7dc992 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tumevoiz/kubevpn [INFO] finished tweaking git repo https://github.com/tumevoiz/kubevpn [INFO] tweaked toml for git repo https://github.com/tumevoiz/kubevpn written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/tumevoiz/kubevpn 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" "+2c70eb47850052381670935f807d41647a7dc992" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded daemonize v0.4.1 [INFO] [stderr] Downloaded boxfnonce v0.1.1 [INFO] [stderr] Downloaded backtrace v0.3.63 [INFO] [stderr] Downloaded jni v0.10.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4a45d422dd22193e840a73d3532b2176ff08e14147eeeb0af30dafe1aeae4fc [INFO] running `Command { std: "docker" "start" "-a" "d4a45d422dd22193e840a73d3532b2176ff08e14147eeeb0af30dafe1aeae4fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4a45d422dd22193e840a73d3532b2176ff08e14147eeeb0af30dafe1aeae4fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4a45d422dd22193e840a73d3532b2176ff08e14147eeeb0af30dafe1aeae4fc", kill_on_drop: false }` [INFO] [stdout] d4a45d422dd22193e840a73d3532b2176ff08e14147eeeb0af30dafe1aeae4fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+2c70eb47850052381670935f807d41647a7dc992" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 54d32f5dee2e9d019ef0b486f82ded84309025b76d71386b075af2a4257bc646 [INFO] running `Command { std: "docker" "start" "-a" "54d32f5dee2e9d019ef0b486f82ded84309025b76d71386b075af2a4257bc646", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Checking boxfnonce v0.1.1 [INFO] [stderr] Checking untrusted v0.7.1 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Checking spin v0.5.2 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking daemonize v0.4.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking kubectl-vpn v0.1.0 (/opt/rustwide/workdir/crates/kubectl-vpn) [INFO] [stderr] Checking kubevpnd v0.1.0 (/opt/rustwide/workdir/crates/kubevpnd) [INFO] [stdout] warning: unused variable: `matches` [INFO] [stdout] --> crates/kubectl-vpn/src/main.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let matches = clap_app!(vpn => [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matches` [INFO] [stdout] --> crates/kubectl-vpn/src/main.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let matches = clap_app!(vpn => [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking boringtun v0.3.0 (https://github.com/cloudflare/boringtun.git?rev=f824287#f8242878) [INFO] [stderr] Checking shared v0.1.0 (/opt/rustwide/workdir/crates/shared) [INFO] [stdout] error[E0412]: cannot find type `Linux` in this scope [INFO] [stdout] --> crates/shared/src/device.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | impl Device for Linux { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `darwin` [INFO] [stdout] --> crates/shared/src/device.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(target_os = "darwin")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, `wasi`, and `watchos` and 3 more [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] warning: unused import: `Device` [INFO] [stdout] --> crates/shared/src/tunnel.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use boringtun::device::{Device, DeviceConfig, DeviceHandle}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `use_connected_socket` and `use_multi_queue` in initializer of `DeviceConfig` [INFO] [stdout] --> crates/shared/src/tunnel.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | let device_cfg = DeviceConfig { [INFO] [stdout] | ^^^^^^^^^^^^ missing `use_connected_socket` and `use_multi_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> crates/shared/src/tunnel.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | device_handle: DeviceHandle::new(interface_name.as_str()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------- argument #2 of type `DeviceConfig` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/boringtun-379ccad4d4acd372/f824287/src/device/mod.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn new(name: &str, config: DeviceConfig) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 23 | device_handle: DeviceHandle::new(interface_name.as_str(), /* DeviceConfig */) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/shared/src/tunnel.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | device_handle: DeviceHandle::new(interface_name.as_str()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `DeviceHandle`, found `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `DeviceHandle` [INFO] [stdout] found enum `Result` [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 23 | device_handle: DeviceHandle::new(interface_name.as_str()).expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0063, E0308, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shared` (lib test) due to 5 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `Linux` in this scope [INFO] [stdout] --> crates/shared/src/device.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | impl Device for Linux { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `darwin` [INFO] [stdout] --> crates/shared/src/device.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | #[cfg(target_os = "darwin")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, `wasi`, and `watchos` and 3 more [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] warning: unused import: `Device` [INFO] [stdout] --> crates/shared/src/tunnel.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use boringtun::device::{Device, DeviceConfig, DeviceHandle}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `use_connected_socket` and `use_multi_queue` in initializer of `DeviceConfig` [INFO] [stdout] --> crates/shared/src/tunnel.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | let device_cfg = DeviceConfig { [INFO] [stdout] | ^^^^^^^^^^^^ missing `use_connected_socket` and `use_multi_queue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> crates/shared/src/tunnel.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | device_handle: DeviceHandle::new(interface_name.as_str()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^------------------------- argument #2 of type `DeviceConfig` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/boringtun-379ccad4d4acd372/f824287/src/device/mod.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn new(name: &str, config: DeviceConfig) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 23 | device_handle: DeviceHandle::new(interface_name.as_str(), /* DeviceConfig */) [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/shared/src/tunnel.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | device_handle: DeviceHandle::new(interface_name.as_str()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `DeviceHandle`, found `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `DeviceHandle` [INFO] [stdout] found enum `Result` [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 23 | device_handle: DeviceHandle::new(interface_name.as_str()).expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0063, E0308, E0412. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `shared` (lib) due to 5 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "54d32f5dee2e9d019ef0b486f82ded84309025b76d71386b075af2a4257bc646", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54d32f5dee2e9d019ef0b486f82ded84309025b76d71386b075af2a4257bc646", kill_on_drop: false }` [INFO] [stdout] 54d32f5dee2e9d019ef0b486f82ded84309025b76d71386b075af2a4257bc646