[INFO] cloning repository https://github.com/rbmzeum/welsib-httpd [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rbmzeum/welsib-httpd" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frbmzeum%2Fwelsib-httpd", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frbmzeum%2Fwelsib-httpd'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 09815a207da739f77a4948ef7db1fe9464029cb7 [INFO] testing rbmzeum/welsib-httpd against 1.91.0 for beta-1.92-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frbmzeum%2Fwelsib-httpd" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rbmzeum/welsib-httpd [INFO] finished tweaking git repo https://github.com/rbmzeum/welsib-httpd [INFO] tweaked toml for git repo https://github.com/rbmzeum/welsib-httpd written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rbmzeum/welsib-httpd on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rbmzeum/welsib-httpd 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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unicode-ident v1.0.14 [INFO] [stderr] Downloaded pkg-config v0.3.31 [INFO] [stderr] Downloaded crc v3.2.1 [INFO] [stderr] Downloaded quote v1.0.38 [INFO] [stderr] Downloaded serde_derive v1.0.217 [INFO] [stderr] Downloaded miniz_oxide v0.8.2 [INFO] [stderr] Downloaded serde v1.0.217 [INFO] [stderr] Downloaded serde_json v1.0.135 [INFO] [stderr] Downloaded once_cell v1.20.2 [INFO] [stderr] Downloaded openssl v0.10.68 [INFO] [stderr] Downloaded flate2 v1.0.35 [INFO] [stderr] Downloaded syn v2.0.95 [INFO] [stderr] Downloaded proc-macro2 v1.0.92 [INFO] [stderr] Downloaded cc v1.2.7 [INFO] [stderr] Downloaded openssl-sys v0.9.104 [INFO] [stderr] Downloaded libc v0.2.169 [INFO] [stderr] Downloaded itoa v1.0.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f573c13f22b05ef124a5283354588a05157d32fba77d1570bf761946e6f47062 [INFO] running `Command { std: "docker" "start" "-a" "f573c13f22b05ef124a5283354588a05157d32fba77d1570bf761946e6f47062", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f573c13f22b05ef124a5283354588a05157d32fba77d1570bf761946e6f47062", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f573c13f22b05ef124a5283354588a05157d32fba77d1570bf761946e6f47062", kill_on_drop: false }` [INFO] [stdout] f573c13f22b05ef124a5283354588a05157d32fba77d1570bf761946e6f47062 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e039af8cd296901566c7eb45f666ae9e199525e20464c369571c96c932cf559 [INFO] running `Command { std: "docker" "start" "-a" "1e039af8cd296901566c7eb45f666ae9e199525e20464c369571c96c932cf559", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling crc-catalog v2.4.0 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling itoa v1.0.14 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling miniz_oxide v0.8.2 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling cc v1.2.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling flate2 v1.0.35 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.95 [INFO] [stderr] Compiling openssl-sys v0.9.104 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling welsib-httpd v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::path::PathBuf` [INFO] [stdout] --> src/server/ssl_manager.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::PathBuf; [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: `ssl_manager::SSLManager` [INFO] [stdout] --> src/server.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use ssl_manager::SSLManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `help::Help` [INFO] [stdout] --> src/server.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use help::Help; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RequestType` [INFO] [stdout] --> src/context.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | pub use welsib_state::{RequestType, WelsibState}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `handlers::*` [INFO] [stdout] --> src/context.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub use handlers::*; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `bigint2vec::bigint2vec` [INFO] [stdout] --> src/conv.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use bigint2vec::bigint2vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> src/welsib.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | unsafe extern { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/net/welsib_http_request.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | _ => "", [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/net/welsib_http_request.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 67 | Self::CacheControl => "Cache-Control", [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 68 | Self::Connection => "Connection", [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 69 | Self::Date => "Date", [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 70 | Self::Pragma => "Pragma", [INFO] [stdout] | ------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 76 | _ => "", [INFO] [stdout] | ^ ...and 5 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/net/welsib_http_request.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 133 | _ => "", [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/net/welsib_http_request.rs:133:13 [INFO] [stdout] | [INFO] [stdout] 123 | Self::Allow => "Allow", [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] 124 | Self::ContentEncoding => "Content-Encoding", [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 125 | Self::ContentLanguage => "Content-Language", [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 126 | Self::ContentLength => "Content-Length", [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 133 | _ => "", [INFO] [stdout] | ^ ...and 6 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/net/welsib_http_response.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | _ => "", [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/net/welsib_http_response.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 20 | Self::AcceptRanges => "Accept-Ranges", [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 21 | Self::Age => "Age", [INFO] [stdout] | --------- matches some of the same values [INFO] [stdout] 22 | Self::ETag => "ETag", [INFO] [stdout] | ---------- matches some of the same values [INFO] [stdout] 23 | Self::Location => "Location", [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 29 | _ => "", [INFO] [stdout] | ^ ...and 5 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/net/welsib_http_response.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | _ => "", [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/net/welsib_http_response.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 44 | Self::XSignature => "X-Welsib-Signature", [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 45 | Self::XPublicKey => "X-Welsib-Public-Key", [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 46 | Self::XCurveParameters => "X-Welsib-Curve-Parameters", [INFO] [stdout] | ---------------------- matches some of the same values [INFO] [stdout] 47 | _ => "", [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/net/welsib_http_response.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | _ => "Internal Server Error", [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/net/welsib_http_response.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 66 | Self::SwitchingProtocols => "Switching Protocols", [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] 67 | Self::Ok => "OK", [INFO] [stdout] | -------- matches some of the same values [INFO] [stdout] 68 | Self::BadRequest => "Bad Request", [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 69 | Self::NotFound => "Not Found", [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] 70 | Self::InternalServerError => "Internal Server Error", [INFO] [stdout] 71 | _ => "Internal Server Error", [INFO] [stdout] | ^ ...and 1 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `threads` is never used [INFO] [stdout] --> src/dispatcher/dispatcher.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Dispatcher { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn threads(&self) -> &Arc>> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `dispatcher` is never read [INFO] [stdout] --> src/context/welsib_context.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct WelsibContext { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 27 | dispatcher: Arc>, // доступ к диспетчеру из контекста [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `dispatcher` and `input_bytes` are never used [INFO] [stdout] --> src/context/welsib_context.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl WelsibContext { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn dispatcher(&self) -> &Arc> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn input_bytes(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `AwaitPaymentNotification` is never constructed [INFO] [stdout] --> src/context/welsib_state.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum WelsibState { [INFO] [stdout] | ----------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 11 | AwaitPaymentNotification, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WelsibState` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RequestType` is never used [INFO] [stdout] --> src/context/welsib_state.rs:21:10 [INFO] [stdout] | [INFO] [stdout] 21 | pub enum RequestType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/net/welsib_http_response.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum ResponseHeader { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 6 | AcceptRanges, // Accept-Ranges [INFO] [stdout] 7 | Age, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | ETag, [INFO] [stdout] | ^^^^ [INFO] [stdout] 9 | Location, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | ProxyAuthenticate, // Proxy-Authenticate [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | RetryAfter, // Retry-After [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 12 | Server, [INFO] [stdout] 13 | Vary, [INFO] [stdout] | ^^^^ [INFO] [stdout] 14 | WWWAuthenticate, // WWW-Authenticate [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ResponseHeader` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_be_bytes` is never used [INFO] [stdout] --> src/point.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Point { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 10 | pub fn from_be_bytes(bytes: &Vec) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bigint2vec` is never used [INFO] [stdout] --> src/conv/bigint2vec.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn bigint2vec(x: BigInt) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vec2bigint` is never used [INFO] [stdout] --> src/conv/vec2bigint.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn vec2bigint(data: Vec) -> BigInt { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_frame` is never used [INFO] [stdout] --> src/api.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl ApiRequest { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn from_frame(frame: &Vec) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `verify` is never used [INFO] [stdout] --> src/api.rs:114:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl ApiResponse { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 114 | pub fn verify(&self, bytes: &Vec, verify_key: &Point) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `digest_init` is never used [INFO] [stdout] --> src/welsib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn digest_init(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `digest_update` is never used [INFO] [stdout] --> src/welsib.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn digest_update(bytes: &[u8]); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `digest_finalize` is never used [INFO] [stdout] --> src/welsib.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn digest_finalize() -> Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_not_test_signature_proof` is never used [INFO] [stdout] --> src/welsib.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn is_not_test_signature_proof(signature_bytes: &Vec) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `activation_proof` is never used [INFO] [stdout] --> src/welsib.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn activation_proof(request_init_json: &Vec, multi_signature_bytes: &Vec) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `[u8]`, which is not FFI-safe [INFO] [stdout] --> src/welsib.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn digest(data: &[u8]) -> Vec; [INFO] [stdout] | ^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/welsib.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn digest(data: &[u8]) -> Vec; [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `[u8]`, which is not FFI-safe [INFO] [stdout] --> src/welsib.rs:5:33 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn digest_update(bytes: &[u8]); [INFO] [stdout] | ^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using a raw pointer instead [INFO] [stdout] = note: slices have no C equivalent [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/welsib.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn digest_finalize() -> Vec; [INFO] [stdout] | ^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/welsib.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn verify(hash: &Vec, signature: &Vec, verifying_key: &Vec) -> bool; [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/welsib.rs:7:46 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn verify(hash: &Vec, signature: &Vec, verifying_key: &Vec) -> bool; [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/welsib.rs:7:71 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn verify(hash: &Vec, signature: &Vec, verifying_key: &Vec) -> bool; [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/welsib.rs:8:57 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn is_not_test_signature_proof(signature_bytes: &Vec) -> bool; [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/welsib.rs:9:48 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn activation_proof(request_init_json: &Vec, multi_signature_bytes: &Vec) -> bool; [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `Vec`, which is not FFI-safe [INFO] [stdout] --> src/welsib.rs:9:81 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn activation_proof(request_init_json: &Vec, multi_signature_bytes: &Vec) -> bool; [INFO] [stdout] | ^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]` or `#[repr(transparent)]` attribute to this struct [INFO] [stdout] = note: this struct has unspecified layout [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcXy6224/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-lverify" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libserde_json-f17f6ca02066ed37,libmemchr-8f8c2da6522ed262,libitoa-c39dfbbb97975c4c,libryu-5e2da3a6212ae627,libcrc-38854c2b24159871,libcrc_catalog-14bed5924e74fb5f,libnum_bigint-132fbe6862eced76,libnum_integer-a9abe5cfe72ae13f,libnum_traits-fe3f234ee2bf0d87,libflate2-e0d8a4e6ae62bec3,libminiz_oxide-7931627bbb478779,libadler2-a9238058aa84ce1e,libcrc32fast-7fea2126e47072e0,libserde-b30a6d7b6126b168,libopenssl-205dbfbdb6e92b4b,libonce_cell-0e56737512c95ce4,libbitflags-de93f0c0734f35bf,libforeign_types-e670df775a782d7c,libforeign_types_shared-752b91f79ab70125,libcfg_if-6a7eff3bb9b3cc11,libopenssl_sys-44c843919c2a2ab8,liblibc-3058b951bb257cc2}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lssl" "-lcrypto" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcXy6224/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/welsib_httpd-532ad12ab06be900" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lverify [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `welsib-httpd` (bin "welsib-httpd") due to 1 previous error; 38 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1e039af8cd296901566c7eb45f666ae9e199525e20464c369571c96c932cf559", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e039af8cd296901566c7eb45f666ae9e199525e20464c369571c96c932cf559", kill_on_drop: false }` [INFO] [stdout] 1e039af8cd296901566c7eb45f666ae9e199525e20464c369571c96c932cf559