[INFO] cloning repository https://github.com/jonerrr/docker-pia-wireguard [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jonerrr/docker-pia-wireguard" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonerrr%2Fdocker-pia-wireguard", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonerrr%2Fdocker-pia-wireguard'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 12718049f42ac473f467f78b194aaf52f8feee42 [INFO] checking jonerrr/docker-pia-wireguard against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjonerrr%2Fdocker-pia-wireguard" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/jonerrr/docker-pia-wireguard [INFO] finished tweaking git repo https://github.com/jonerrr/docker-pia-wireguard [INFO] tweaked toml for git repo https://github.com/jonerrr/docker-pia-wireguard written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jonerrr/docker-pia-wireguard on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jonerrr/docker-pia-wireguard 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 60a84e859f3be131271f34627d71bd7200effcc7ec8259b8f4a4c4eacad215b5 [INFO] running `Command { std: "docker" "start" "-a" "60a84e859f3be131271f34627d71bd7200effcc7ec8259b8f4a4c4eacad215b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "60a84e859f3be131271f34627d71bd7200effcc7ec8259b8f4a4c4eacad215b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60a84e859f3be131271f34627d71bd7200effcc7ec8259b8f4a4c4eacad215b5", kill_on_drop: false }` [INFO] [stdout] 60a84e859f3be131271f34627d71bd7200effcc7ec8259b8f4a4c4eacad215b5 [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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8ce3da06d9c4a272be1a9c79017da4a554b1b01c67d715e5836410661a062c7a [INFO] running `Command { std: "docker" "start" "-a" "8ce3da06d9c4a272be1a9c79017da4a554b1b01c67d715e5836410661a062c7a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.107 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling proc-macro2 v1.0.82 [INFO] [stderr] Compiling cc v1.0.78 [INFO] [stderr] Compiling thiserror v1.0.38 [INFO] [stderr] Checking once_cell v1.16.0 [INFO] [stderr] Compiling tokio v1.23.0 [INFO] [stderr] Compiling serde_json v1.0.91 [INFO] [stderr] Checking tracing-core v0.1.30 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling futures-util v0.3.25 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking futures-task v0.3.25 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling serde v1.0.152 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Compiling syn v2.0.63 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling openssl-sys v0.9.80 [INFO] [stderr] Compiling futures-channel v0.3.25 [INFO] [stderr] Checking percent-encoding v2.2.0 [INFO] [stderr] Compiling openssl v0.10.45 [INFO] [stderr] Checking futures-sink v0.3.25 [INFO] [stderr] Checking http-body v1.0.0 [INFO] [stderr] Compiling ryu v1.0.12 [INFO] [stderr] Checking parking_lot_core v0.9.5 [INFO] [stderr] Checking num_cpus v1.15.0 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking mio v0.8.5 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling itoa v1.0.5 [INFO] [stderr] Checking unicode-bidi v0.3.8 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling time-macros v0.2.6 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking getrandom v0.2.8 [INFO] [stderr] Checking form_urlencoded v1.1.0 [INFO] [stderr] Compiling cookie v0.17.0 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking time v0.3.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling paste v1.0.11 [INFO] [stderr] Checking subtle v2.4.1 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Compiling encoding_rs v0.8.31 [INFO] [stderr] Checking publicsuffix v2.2.3 [INFO] [stderr] Checking url v2.3.1 [INFO] [stderr] Checking http-body-util v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.68 [INFO] [stderr] Checking regex v1.7.0 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking nix v0.23.2 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking iana-time-zone v0.1.53 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking ipnet v2.7.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling thiserror-impl v1.0.38 [INFO] [stderr] Compiling serde_derive v1.0.152 [INFO] [stderr] Compiling tokio-macros v1.8.2 [INFO] [stderr] Compiling openssl-macros v0.1.0 [INFO] [stderr] Compiling zeroize_derive v1.3.3 [INFO] [stderr] Checking zeroize v1.5.7 [INFO] [stderr] Checking curve25519-dalek-fiat v0.1.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Compiling enum-as-inner v0.5.1 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Checking sysctl v0.5.4 [INFO] [stderr] Checking x25519-dalek-fiat v0.1.0 [INFO] [stderr] Checking iptables v0.5.0 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Checking tokio-util v0.7.4 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Compiling handlebars v3.5.5 [INFO] [stderr] Checking h2 v0.4.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking wireguard-keys v0.1.1 [INFO] [stderr] Checking chrono v0.4.23 [INFO] [stderr] Compiling interfaces v0.0.9 [INFO] [stderr] Checking cookie_store v0.20.0 [INFO] [stderr] Checking hyper v1.3.1 [INFO] [stderr] Checking hyper-util v0.1.3 [INFO] [stderr] Checking hyper-tls v0.6.0 [INFO] [stderr] Checking reqwest v0.12.4 [INFO] [stderr] Checking pia-wireguard v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/main.rs:434:63 [INFO] [stdout] | [INFO] [stdout] 434 | serde_json::from_str(std::str::from_utf8(&base64::decode(&sig.payload)?).unwrap())?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> src/main.rs:434:63 [INFO] [stdout] | [INFO] [stdout] 434 | serde_json::from_str(std::str::from_utf8(&base64::decode(&sig.payload)?).unwrap())?; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:575:5 [INFO] [stdout] | [INFO] [stdout] 571 | / loop { [INFO] [stdout] 572 | | sleep(Duration::from_secs(10000)).await; [INFO] [stdout] 573 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 574 | [INFO] [stdout] 575 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:575:5 [INFO] [stdout] | [INFO] [stdout] 571 | / loop { [INFO] [stdout] 572 | | sleep(Duration::from_secs(10000)).await; [INFO] [stdout] 573 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 574 | [INFO] [stdout] 575 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: ControlFlow, PathBuf> [INFO] [stdout] --> src/main.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 187 | conf.write(format!("{}/wg0.conf", CONFIG_PATH).parse()?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 187 | conf.write(format!("{}/wg0.conf", CONFIG_PATH).parse()?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `exec` that must be used [INFO] [stdout] --> src/main.rs:551:17 [INFO] [stdout] | [INFO] [stdout] 551 | Command::new("/proc/self/exe").exec(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 551 | let _ = Command::new("/proc/self/exe").exec(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pia-wireguard` (bin "pia-wireguard" test) due to 2 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: ControlFlow, PathBuf> [INFO] [stdout] --> src/main.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 187 | conf.write(format!("{}/wg0.conf", CONFIG_PATH).parse()?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 187 | conf.write(format!("{}/wg0.conf", CONFIG_PATH).parse()?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `exec` that must be used [INFO] [stdout] --> src/main.rs:551:17 [INFO] [stdout] | [INFO] [stdout] 551 | Command::new("/proc/self/exe").exec(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 551 | let _ = Command::new("/proc/self/exe").exec(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `pia-wireguard` (bin "pia-wireguard") due to 2 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8ce3da06d9c4a272be1a9c79017da4a554b1b01c67d715e5836410661a062c7a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ce3da06d9c4a272be1a9c79017da4a554b1b01c67d715e5836410661a062c7a", kill_on_drop: false }` [INFO] [stdout] 8ce3da06d9c4a272be1a9c79017da4a554b1b01c67d715e5836410661a062c7a