[INFO] cloning repository https://github.com/fourbs-net/wg-maestro [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/fourbs-net/wg-maestro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffourbs-net%2Fwg-maestro", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffourbs-net%2Fwg-maestro'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6d926761dc961356d92c3f5b5e769dbb88ca342f [INFO] testing fourbs-net/wg-maestro against master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffourbs-net%2Fwg-maestro" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/fourbs-net/wg-maestro on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/fourbs-net/wg-maestro [INFO] removed path dependency wireguard-uapi from git repo https://github.com/fourbs-net/wg-maestro [INFO] finished tweaking git repo https://github.com/fourbs-net/wg-maestro [INFO] tweaked toml for git repo https://github.com/fourbs-net/wg-maestro written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/fourbs-net/wg-maestro already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (wireguard-uapi) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-13/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (wireguard-uapi) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d22cc4cf085aaebcb7905bf1135bdb3b6a1c0c5c8179ea69d8a26e2123a5af1f [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" "d22cc4cf085aaebcb7905bf1135bdb3b6a1c0c5c8179ea69d8a26e2123a5af1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d22cc4cf085aaebcb7905bf1135bdb3b6a1c0c5c8179ea69d8a26e2123a5af1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d22cc4cf085aaebcb7905bf1135bdb3b6a1c0c5c8179ea69d8a26e2123a5af1f", kill_on_drop: false }` [INFO] [stdout] d22cc4cf085aaebcb7905bf1135bdb3b6a1c0c5c8179ea69d8a26e2123a5af1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9c956a0f5ac6ba2d436b3783d429c9693b49a853994bbc39fd91f5743a7c658 [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" "a9c956a0f5ac6ba2d436b3783d429c9693b49a853994bbc39fd91f5743a7c658", kill_on_drop: false }` [INFO] [stderr] warning: dependency (wireguard-uapi) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.53 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-sink v0.3.8 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling derive_builder v0.7.2 [INFO] [stderr] Compiling futures-io v0.3.8 [INFO] [stderr] Compiling buffering v0.3.4 [INFO] [stderr] Compiling os_str_bytes v2.4.0 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling textwrap v0.12.1 [INFO] [stderr] Compiling yaml-rust v0.4.4 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.8 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling net2 v0.2.36 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling neli v0.4.3 [INFO] [stderr] Compiling signal-hook-registry v1.2.2 [INFO] [stderr] Compiling neli v0.5.0 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling darling_core v0.9.0 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Compiling tokio-macros v0.2.6 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling tokio v0.2.23 [INFO] [stderr] Compiling thiserror v1.0.22 [INFO] [stderr] Compiling pin-project v1.0.2 [INFO] [stderr] Compiling futures-util v0.3.8 [INFO] [stderr] Compiling darling_macro v0.9.0 [INFO] [stderr] Compiling clap v3.0.0-beta.2 [INFO] [stderr] Compiling darling v0.9.0 [INFO] [stderr] Compiling derive_builder_core v0.5.0 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling wireguard-uapi v1.0.5 [INFO] [stderr] Compiling futures-executor v0.3.8 [INFO] [stderr] Compiling futures v0.3.8 [INFO] [stderr] Compiling serde_yaml v0.8.14 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling wg-maestro v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `wireguard_uapi::WireGuardDeviceAddrScope` [INFO] [stdout] --> src/client/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use wireguard_uapi::WireGuardDeviceAddrScope; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `WireGuardDeviceAddrScope` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wireguard_uapi::WireGuardDeviceAddrScope` [INFO] [stdout] --> src/common.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use wireguard_uapi::WireGuardDeviceAddrScope; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `WireGuardDeviceAddrScope` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `wireguard_uapi::WireGuardDeviceAddrScope` [INFO] [stdout] --> src/server/mod.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use wireguard_uapi::WireGuardDeviceAddrScope; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `WireGuardDeviceAddrScope` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::Ipv6Addr` [INFO] [stdout] --> src/server/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::net::Ipv6Addr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/client/mod.rs:75:9 [INFO] [stdout] | [INFO] [stdout] 60 | / loop { [INFO] [stdout] 61 | | match signal_receiver.recv() { [INFO] [stdout] 62 | | Ok(signal) => { [INFO] [stdout] 63 | | info!("Received signal: {:?}", signal); [INFO] [stdout] ... | [INFO] [stdout] 72 | | self.do_loop()?; [INFO] [stdout] 73 | | } [INFO] [stdout] | |_________- any code following this expression is unreachable [INFO] [stdout] 74 | [INFO] [stdout] 75 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::prelude` [INFO] [stdout] --> src/server/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wg-maestro` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "a9c956a0f5ac6ba2d436b3783d429c9693b49a853994bbc39fd91f5743a7c658", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9c956a0f5ac6ba2d436b3783d429c9693b49a853994bbc39fd91f5743a7c658", kill_on_drop: false }` [INFO] [stdout] a9c956a0f5ac6ba2d436b3783d429c9693b49a853994bbc39fd91f5743a7c658