[INFO] cloning repository https://github.com/HarounAhmad/ovpn-admin
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HarounAhmad/ovpn-admin" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarounAhmad%2Fovpn-admin", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarounAhmad%2Fovpn-admin'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7ae57a42db9ef3d18a53dbd5a67d4d53e2618e86
[INFO] checking HarounAhmad/ovpn-admin/7ae57a42db9ef3d18a53dbd5a67d4d53e2618e86 against 22950ab9e29e11620a10905f027f141ea126966e for pr-160581
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHarounAhmad%2Fovpn-admin" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-2-tc1/source/rust-toolchain.toml
[INFO] started tweaking git repo https://github.com/HarounAhmad/ovpn-admin
[INFO] finished tweaking git repo https://github.com/HarounAhmad/ovpn-admin
[INFO] tweaked toml for git repo https://github.com/HarounAhmad/ovpn-admin written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/HarounAhmad/ovpn-admin on toolchain 22950ab9e29e11620a10905f027f141ea126966e
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22950ab9e29e11620a10905f027f141ea126966e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/HarounAhmad/ovpn-admin 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" "+22950ab9e29e11620a10905f027f141ea126966e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded ulid v1.2.1
[INFO] [stderr]   Downloaded bitflags v2.9.2
[INFO] [stderr]   Downloaded cc v1.2.33
[INFO] [stderr]   Downloaded rust-embed-utils v8.7.2
[INFO] [stderr]   Downloaded rust-embed-impl v8.7.2
[INFO] [stderr]   Downloaded thiserror-impl v2.0.15
[INFO] [stderr]   Downloaded thiserror v2.0.15
[INFO] [stderr]   Downloaded clap v4.5.45
[INFO] [stderr]   Downloaded clap_derive v4.5.45
[INFO] [stderr]   Downloaded winnow v0.7.12
[INFO] [stderr]   Downloaded clap_builder v4.5.44
[INFO] [stderr]   Downloaded rust-embed v8.7.2
[INFO] [stderr]   Downloaded openssl-src v300.5.2+3.5.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 8d25760c1d5bb9527f26a7ee43c272dd96dbefda687aac7d56c1f317f4615b5c
[INFO] running `Command { std: "docker" "start" "8d25760c1d5bb9527f26a7ee43c272dd96dbefda687aac7d56c1f317f4615b5c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8d25760c1d5bb9527f26a7ee43c272dd96dbefda687aac7d56c1f317f4615b5c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8d25760c1d5bb9527f26a7ee43c272dd96dbefda687aac7d56c1f317f4615b5c" "/opt/rustwide/cargo-home/bin/cargo" "+22950ab9e29e11620a10905f027f141ea126966e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8d25760c1d5bb9527f26a7ee43c272dd96dbefda687aac7d56c1f317f4615b5c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "8d25760c1d5bb9527f26a7ee43c272dd96dbefda687aac7d56c1f317f4615b5c" "/opt/rustwide/cargo-home/bin/cargo" "+22950ab9e29e11620a10905f027f141ea126966e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking cfg-if v1.0.1
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling cc v1.2.33
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling zerocopy v0.8.26
[INFO] [stderr]    Compiling libc v0.2.175
[INFO] [stderr]     Checking memchr v2.7.5
[INFO] [stderr]    Compiling lock_api v0.4.13
[INFO] [stderr]    Compiling stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling icu_normalizer_data v2.0.0
[INFO] [stderr]    Compiling icu_properties_data v2.0.1
[INFO] [stderr]    Compiling getrandom v0.3.3
[INFO] [stderr]    Compiling parking_lot_core v0.9.11
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling serde_json v1.0.142
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling litemap v0.8.0
[INFO] [stderr]    Compiling writeable v0.6.1
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]     Checking mio v1.0.4
[INFO] [stderr]     Checking socket2 v0.6.0
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling pin-project-lite v0.2.16
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]    Compiling thiserror v2.0.15
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]     Checking tracing-core v0.1.34
[INFO] [stderr]    Compiling untrusted v0.9.0
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling libsqlite3-sys v0.27.0
[INFO] [stderr]     Checking ahash v0.8.12
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]    Compiling rustix v1.0.8
[INFO] [stderr]     Checking hashbrown v0.14.5
[INFO] [stderr]    Compiling tiny-keccak v2.0.2
[INFO] [stderr]    Compiling percent-encoding v2.3.1
[INFO] [stderr]    Compiling futures-io v0.3.31
[INFO] [stderr]     Checking hashbrown v0.15.5
[INFO] [stderr]    Compiling futures-task v0.3.31
[INFO] [stderr]    Compiling slab v0.4.11
[INFO] [stderr]    Compiling bytes v1.10.1
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]     Checking indexmap v2.10.0
[INFO] [stderr]    Compiling tokio v1.47.1
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling form_urlencoded v1.2.1
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling parking_lot v0.12.4
[INFO] [stderr]    Compiling sct v0.7.1
[INFO] [stderr]    Compiling rustls-webpki v0.101.7
[INFO] [stderr]    Compiling base64 v0.21.7
[INFO] [stderr]    Compiling crc-catalog v2.4.0
[INFO] [stderr]    Compiling unicode_categories v0.1.1
[INFO] [stderr]    Compiling ucd-trie v0.1.7
[INFO] [stderr]    Compiling sqlformat v0.2.6
[INFO] [stderr]    Compiling rustls-pemfile v1.0.4
[INFO] [stderr]    Compiling crc v3.3.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.8.0
[INFO] [stderr]    Compiling zerovec-derive v0.11.1
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling zerofrom v0.1.6
[INFO] [stderr]    Compiling yoke v0.8.0
[INFO] [stderr]    Compiling zerovec v0.11.4
[INFO] [stderr]    Compiling zerotrie v0.2.2
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]     Checking tinystr v0.8.1
[INFO] [stderr]     Checking icu_locale_core v2.0.0
[INFO] [stderr]    Compiling potential_utf v0.1.2
[INFO] [stderr]    Compiling icu_collections v2.0.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling thiserror-impl v2.0.15
[INFO] [stderr]     Checking icu_provider v2.0.0
[INFO] [stderr]    Compiling icu_properties v2.0.1
[INFO] [stderr]    Compiling icu_normalizer v2.0.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]    Compiling pest v2.8.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tokio-stream v0.1.17
[INFO] [stderr]    Compiling idna_adapter v1.2.1
[INFO] [stderr]    Compiling idna v1.0.3
[INFO] [stderr]     Checking http v0.2.12
[INFO] [stderr]     Checking bitflags v2.9.2
[INFO] [stderr]    Compiling const-random-macro v0.1.16
[INFO] [stderr]    Compiling url v2.5.4
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling hashlink v0.8.4
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling futures-channel v0.3.31
[INFO] [stderr]    Compiling spin v0.9.8
[INFO] [stderr]    Compiling openssl-src v300.5.2+3.5.2
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling webpki-roots v0.25.4
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling openssl-sys v0.9.109
[INFO] [stderr]    Compiling flume v0.11.1
[INFO] [stderr]     Checking http-body v0.4.6
[INFO] [stderr]    Compiling pest_meta v2.8.1
[INFO] [stderr]     Checking const-random v0.1.18
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]    Compiling same-file v1.0.6
[INFO] [stderr]    Compiling urlencoding v2.1.3
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]    Compiling heck v0.4.1
[INFO] [stderr]    Compiling pest_generator v2.8.1
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]    Compiling walkdir v2.5.0
[INFO] [stderr]    Compiling sqlx-core v0.7.4
[INFO] [stderr]     Checking dlv-list v0.5.2
[INFO] [stderr]     Checking crc32fast v1.5.0
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]    Compiling tempfile v3.20.0
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling axum-core v0.3.4
[INFO] [stderr]     Checking rand_core v0.9.3
[INFO] [stderr]    Compiling time-core v0.1.4
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]     Checking winnow v0.7.12
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling time-macros v0.2.22
[INFO] [stderr]     Checking pin-project v1.1.10
[INFO] [stderr]     Checking rand_chacha v0.9.0
[INFO] [stderr]     Checking deranged v0.4.0
[INFO] [stderr]    Compiling sqlx-sqlite v0.7.4
[INFO] [stderr]     Checking flate2 v1.1.2
[INFO] [stderr]    Compiling pest_derive v2.8.1
[INFO] [stderr]     Checking ordered-multimap v0.7.3
[INFO] [stderr]    Compiling rust-embed-utils v8.7.2
[INFO] [stderr]    Compiling axum v0.6.20
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking socket2 v0.5.10
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]     Checking base64ct v1.8.0
[INFO] [stderr]     Checking arraydeque v0.5.1
[INFO] [stderr]    Compiling openssl v0.10.73
[INFO] [stderr]     Checking regex-syntax v0.8.5
[INFO] [stderr]    Compiling anyhow v1.0.99
[INFO] [stderr]     Checking clap_builder v4.5.44
[INFO] [stderr]     Checking yaml-rust2 v0.8.1
[INFO] [stderr]     Checking convert_case v0.6.0
[INFO] [stderr]    Compiling clap_derive v4.5.45
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]    Compiling sqlx-macros-core v0.7.4
[INFO] [stderr]     Checking time v0.3.41
[INFO] [stderr]     Checking regex-automata v0.4.9
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]     Checking rust-ini v0.20.0
[INFO] [stderr]    Compiling rust-embed-impl v8.7.2
[INFO] [stderr]     Checking async-compression v0.4.27
[INFO] [stderr]     Checking json5 v0.4.1
[INFO] [stderr]     Checking rand v0.9.2
[INFO] [stderr]     Checking tower v0.4.13
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking tokio-util v0.7.16
[INFO] [stderr]     Checking ron v0.8.1
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling sqlx-macros v0.7.4
[INFO] [stderr]     Checking serde_path_to_error v0.1.17
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking thread_local v1.1.9
[INFO] [stderr]     Checking rtoolbox v0.0.3
[INFO] [stderr]     Checking http-range-header v0.3.1
[INFO] [stderr]     Checking argon2 v0.5.3
[INFO] [stderr]     Checking tower-http v0.4.4
[INFO] [stderr]     Checking rpassword v7.4.0
[INFO] [stderr]     Checking config v0.14.1
[INFO] [stderr]     Checking tracing-subscriber v0.3.19
[INFO] [stderr]     Checking ulid v1.2.1
[INFO] [stderr]     Checking regex v1.11.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking rust-embed v8.7.2
[INFO] [stderr]     Checking clap v4.5.45
[INFO] [stderr]     Checking sqlx v0.7.4
[INFO] [stderr]     Checking ovpn-admin v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: #[derive(RustEmbed)] folder '/opt/rustwide/workdir/webui-dist' does not exist. cwd: '/opt/rustwide/workdir'
[INFO] [stdout]   --> src/web.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | / #[folder = "webui-dist"]
[INFO] [stdout] 14 | | struct Assets;
[INFO] [stdout]    | |______________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: #[derive(RustEmbed)] folder '/opt/rustwide/workdir/webui-dist' does not exist. cwd: '/opt/rustwide/workdir'
[INFO] [stdout]   --> src/web.rs:13:1
[INFO] [stdout]    |
[INFO] [stdout] 13 | / #[folder = "webui-dist"]
[INFO] [stdout] 14 | | struct Assets;
[INFO] [stdout]    | |______________^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `post`
[INFO] [stdout]  --> src/http/mod.rs:1:39
[INFO] [stdout]   |
[INFO] [stdout] 1 | use axum::{middleware, routing::{get, post}, Json, Router};
[INFO] [stdout]   |                                       ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StatusCode`
[INFO] [stdout]  --> src/http/mod.rs:4:31
[INFO] [stdout]   |
[INFO] [stdout] 4 | use axum::http::{HeaderValue, StatusCode};
[INFO] [stdout]   |                               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `openvpn`
[INFO] [stdout]  --> src/http/mod.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::{openvpn, AppState};
[INFO] [stdout]   |             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Body`, `HeaderMap`, `boxed`, and `put`
[INFO] [stdout]  --> src/http/admin.rs:3:20
[INFO] [stdout]   |
[INFO] [stdout] 3 |     http::{header, HeaderMap, StatusCode, HeaderValue},
[INFO] [stdout]   |                    ^^^^^^^^^
[INFO] [stdout] 4 |     response::Response,
[INFO] [stdout] 5 |     routing::{get, post, put},
[INFO] [stdout]   |                          ^^^
[INFO] [stdout] 6 |     body::{Body, boxed},
[INFO] [stdout]   |            ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vpncertd`
[INFO] [stdout]   --> src/http/admin.rs:13:40
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::{db, http::guards, openvpn, vpncertd, AppState, openvpn::mgmt};
[INFO] [stdout]    |                                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]  --> src/vpncertd.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::{anyhow, Context, Result};
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]  --> src/openvpn/mod.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | use anyhow::{anyhow, Context, Result};
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/openvpn/mod.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ulid::Ulid`
[INFO] [stdout]   --> src/openvpn/mod.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use ulid::Ulid;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::Router`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use axum::Router;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::SocketAddr`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::net::SocketAddr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::net::TcpListener`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use tokio::net::TcpListener;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::RwLock`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use tokio::sync::RwLock;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `post`
[INFO] [stdout]  --> src/http/mod.rs:1:39
[INFO] [stdout]   |
[INFO] [stdout] 1 | use axum::{middleware, routing::{get, post}, Json, Router};
[INFO] [stdout]   |                                       ^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `StatusCode`
[INFO] [stdout]  --> src/http/mod.rs:4:31
[INFO] [stdout]   |
[INFO] [stdout] 4 | use axum::http::{HeaderValue, StatusCode};
[INFO] [stdout]   |                               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `openvpn`
[INFO] [stdout]  --> src/http/mod.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use crate::{openvpn, AppState};
[INFO] [stdout]   |             ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Body`, `HeaderMap`, `boxed`, and `put`
[INFO] [stdout]  --> src/http/admin.rs:3:20
[INFO] [stdout]   |
[INFO] [stdout] 3 |     http::{header, HeaderMap, StatusCode, HeaderValue},
[INFO] [stdout]   |                    ^^^^^^^^^
[INFO] [stdout] 4 |     response::Response,
[INFO] [stdout] 5 |     routing::{get, post, put},
[INFO] [stdout]   |                          ^^^
[INFO] [stdout] 6 |     body::{Body, boxed},
[INFO] [stdout]   |            ^^^^  ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vpncertd`
[INFO] [stdout]   --> src/http/admin.rs:13:40
[INFO] [stdout]    |
[INFO] [stdout] 13 | use crate::{db, http::guards, openvpn, vpncertd, AppState, openvpn::mgmt};
[INFO] [stdout]    |                                        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]  --> src/vpncertd.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use anyhow::{anyhow, Context, Result};
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Context`
[INFO] [stdout]  --> src/openvpn/mod.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | use anyhow::{anyhow, Context, Result};
[INFO] [stdout]   |                      ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/openvpn/mod.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use serde::{Deserialize, Serialize};
[INFO] [stdout]   |             ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ulid::Ulid`
[INFO] [stdout]   --> src/openvpn/mod.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use ulid::Ulid;
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `axum::Router`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use axum::Router;
[INFO] [stdout]    |     ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::net::SocketAddr`
[INFO] [stdout]   --> src/main.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 | use std::net::SocketAddr;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::net::TcpListener`
[INFO] [stdout]   --> src/main.rs:15:5
[INFO] [stdout]    |
[INFO] [stdout] 15 | use tokio::net::TcpListener;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `tokio::sync::RwLock`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use tokio::sync::RwLock;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/http/csrf.rs:33:25
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub async fn protect<B>(mut req: Request<B>, next: Next<B>) -> Result<Response, StatusCode> {
[INFO] [stdout]    |                         ----^^^
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/http/csrf.rs:33:25
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub async fn protect<B>(mut req: Request<B>, next: Next<B>) -> Result<Response, StatusCode> {
[INFO] [stdout]    |                         ----^^^
[INFO] [stdout]    |                         |
[INFO] [stdout]    |                         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `get` found for struct `Assets` in the current scope
[INFO] [stdout]   --> src/web.rs:33:19
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Assets;
[INFO] [stdout]    | ------------- associated function or constant `get` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 33 |     match Assets::get("index.html") {
[INFO] [stdout]    |                   ^^^ associated function or constant not found in `Assets`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `get`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `Embed`
[INFO] [stdout]            candidate #2: `Row`
[INFO] [stdout]            candidate #3: `SliceIndex`
[INFO] [stdout]            candidate #4: `icu_properties::names::PropertyEnumToValueNameLookup`
[INFO] [stdout]            candidate #5: `icu_provider::baked::DataStore`
[INFO] [stdout]            candidate #6: `rustls::server::server_conn::StoresServerSessions`
[INFO] [stdout]            candidate #7: `toml_edit::table::TableLike`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `get` found for struct `Assets` in the current scope
[INFO] [stdout]   --> src/web.rs:41:30
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Assets;
[INFO] [stdout]    | ------------- associated function or constant `get` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 41 |     if let Some(f) = Assets::get(&p) {
[INFO] [stdout]    |                              ^^^ associated function or constant not found in `Assets`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `get`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `Embed`
[INFO] [stdout]            candidate #2: `Row`
[INFO] [stdout]            candidate #3: `SliceIndex`
[INFO] [stdout]            candidate #4: `icu_properties::names::PropertyEnumToValueNameLookup`
[INFO] [stdout]            candidate #5: `icu_provider::baked::DataStore`
[INFO] [stdout]            candidate #6: `rustls::server::server_conn::StoresServerSessions`
[INFO] [stdout]            candidate #7: `toml_edit::table::TableLike`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `get` found for struct `Assets` in the current scope
[INFO] [stdout]   --> src/web.rs:44:19
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Assets;
[INFO] [stdout]    | ------------- associated function or constant `get` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 44 |     match Assets::get("index.html") {
[INFO] [stdout]    |                   ^^^ associated function or constant not found in `Assets`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `get`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `Embed`
[INFO] [stdout]            candidate #2: `Row`
[INFO] [stdout]            candidate #3: `SliceIndex`
[INFO] [stdout]            candidate #4: `icu_properties::names::PropertyEnumToValueNameLookup`
[INFO] [stdout]            candidate #5: `icu_provider::baked::DataStore`
[INFO] [stdout]            candidate #6: `rustls::server::server_conn::StoresServerSessions`
[INFO] [stdout]            candidate #7: `toml_edit::table::TableLike`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `get` found for struct `Assets` in the current scope
[INFO] [stdout]   --> src/web.rs:33:19
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Assets;
[INFO] [stdout]    | ------------- associated function or constant `get` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 33 |     match Assets::get("index.html") {
[INFO] [stdout]    |                   ^^^ associated function or constant not found in `Assets`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `get`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `Embed`
[INFO] [stdout]            candidate #2: `Row`
[INFO] [stdout]            candidate #3: `SliceIndex`
[INFO] [stdout]            candidate #4: `icu_properties::names::PropertyEnumToValueNameLookup`
[INFO] [stdout]            candidate #5: `icu_provider::baked::DataStore`
[INFO] [stdout]            candidate #6: `rustls::server::server_conn::StoresServerSessions`
[INFO] [stdout]            candidate #7: `toml_edit::table::TableLike`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `get` found for struct `Assets` in the current scope
[INFO] [stdout]   --> src/web.rs:41:30
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Assets;
[INFO] [stdout]    | ------------- associated function or constant `get` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 41 |     if let Some(f) = Assets::get(&p) {
[INFO] [stdout]    |                              ^^^ associated function or constant not found in `Assets`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `get`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `Embed`
[INFO] [stdout]            candidate #2: `Row`
[INFO] [stdout]            candidate #3: `SliceIndex`
[INFO] [stdout]            candidate #4: `icu_properties::names::PropertyEnumToValueNameLookup`
[INFO] [stdout]            candidate #5: `icu_provider::baked::DataStore`
[INFO] [stdout]            candidate #6: `rustls::server::server_conn::StoresServerSessions`
[INFO] [stdout]            candidate #7: `toml_edit::table::TableLike`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no associated function or constant named `get` found for struct `Assets` in the current scope
[INFO] [stdout]   --> src/web.rs:44:19
[INFO] [stdout]    |
[INFO] [stdout] 14 | struct Assets;
[INFO] [stdout]    | ------------- associated function or constant `get` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 44 |     match Assets::get("index.html") {
[INFO] [stdout]    |                   ^^^ associated function or constant not found in `Assets`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is implemented and in scope
[INFO] [stdout]    = note: the following traits define an item `get`, perhaps you need to implement one of them:
[INFO] [stdout]            candidate #1: `Embed`
[INFO] [stdout]            candidate #2: `Row`
[INFO] [stdout]            candidate #3: `SliceIndex`
[INFO] [stdout]            candidate #4: `icu_properties::names::PropertyEnumToValueNameLookup`
[INFO] [stdout]            candidate #5: `icu_provider::baked::DataStore`
[INFO] [stdout]            candidate #6: `rustls::server::server_conn::StoresServerSessions`
[INFO] [stdout]            candidate #7: `toml_edit::table::TableLike`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io::AsyncWriteExt`
[INFO] [stdout]   --> src/openvpn/mod.rs:13:17
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tokio::{fs, io::AsyncWriteExt};
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `io::AsyncWriteExt`
[INFO] [stdout]   --> src/openvpn/mod.rs:13:17
[INFO] [stdout]    |
[INFO] [stdout] 13 | use tokio::{fs, io::AsyncWriteExt};
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/config.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let mut c = config::Config::builder()
[INFO] [stdout]    |             ----^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/config.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |         let mut c = config::Config::builder()
[INFO] [stdout]    |             ----^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `has_header` is assigned to, but never used
[INFO] [stdout]    --> src/openvpn/mgmt.rs:119:9
[INFO] [stdout]     |
[INFO] [stdout] 119 |     let mut has_header = false;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_has_header` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `has_header` is never read
[INFO] [stdout]    --> src/openvpn/mgmt.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             has_header = true;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `has_header` is assigned to, but never used
[INFO] [stdout]    --> src/openvpn/mgmt.rs:119:9
[INFO] [stdout]     |
[INFO] [stdout] 119 |     let mut has_header = false;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_has_header` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `has_header` is never read
[INFO] [stdout]    --> src/openvpn/mgmt.rs:123:13
[INFO] [stdout]     |
[INFO] [stdout] 123 |             has_header = true;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `ovpn-admin` (bin "ovpn-admin" test) due to 4 previous errors; 18 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `ovpn-admin` (bin "ovpn-admin") due to 4 previous errors; 18 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8d25760c1d5bb9527f26a7ee43c272dd96dbefda687aac7d56c1f317f4615b5c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8d25760c1d5bb9527f26a7ee43c272dd96dbefda687aac7d56c1f317f4615b5c", kill_on_drop: false }`
[INFO] [stdout] 8d25760c1d5bb9527f26a7ee43c272dd96dbefda687aac7d56c1f317f4615b5c
