[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 master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frbmzeum%2Fwelsib-httpd" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rbmzeum/welsib-httpd on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.2.7 [INFO] [stderr] Downloaded syn v2.0.95 [INFO] [stderr] Downloaded openssl v0.10.68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6ec89273f891e750b7a9e8aa1d43b086d37df7a8deb14037b13819d5fa3ed752 [INFO] running `Command { std: "docker" "start" "-a" "6ec89273f891e750b7a9e8aa1d43b086d37df7a8deb14037b13819d5fa3ed752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6ec89273f891e750b7a9e8aa1d43b086d37df7a8deb14037b13819d5fa3ed752", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ec89273f891e750b7a9e8aa1d43b086d37df7a8deb14037b13819d5fa3ed752", kill_on_drop: false }` [INFO] [stdout] 6ec89273f891e750b7a9e8aa1d43b086d37df7a8deb14037b13819d5fa3ed752 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1a91ff8d507eba8c5e17efb78b5a47a3920d0db220d6babc398ede180967906 [INFO] running `Command { std: "docker" "start" "-a" "b1a91ff8d507eba8c5e17efb78b5a47a3920d0db220d6babc398ede180967906", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling cc v1.2.7 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling openssl v0.10.68 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling miniz_oxide v0.8.2 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling crc v3.2.1 [INFO] [stderr] Compiling syn v2.0.95 [INFO] [stderr] Compiling flate2 v1.0.35 [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/rustci2VRXr/symbols.o" "<17 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-lverify" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{libserde_json-404e7f7b36293a79,libmemchr-4f0714dc45d95749,libitoa-d34da3363977f6fb,libryu-f8ba606093049f91,libcrc-dad355042bb8f721,libcrc_catalog-bb32f52851f13aa4,libnum_bigint-e640165e287017cc,libnum_integer-6eaa271e6fae0b6a,libnum_traits-4b6535e4c8a3a7b0,libflate2-b7d1e3004c16af06,libminiz_oxide-e502227085177f21,libadler2-b931b79841890bad,libcrc32fast-ec6b1847c42b19ed,libserde-1931038d47767297,libopenssl-9bb1b96c8603c558,libonce_cell-debe7c411cf97340,libbitflags-ce446ee600bbaa5e,libforeign_types-0d5385f641bbbadd,libforeign_types_shared-1d09a6084921ca40,libcfg_if-33ef6c02a07f9fec,libopenssl_sys-30a9fe508536512e,liblibc-2ac1cb2f7679afc6}.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/rustci2VRXr/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-be34a71ac34781ae" "-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" "b1a91ff8d507eba8c5e17efb78b5a47a3920d0db220d6babc398ede180967906", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1a91ff8d507eba8c5e17efb78b5a47a3920d0db220d6babc398ede180967906", kill_on_drop: false }` [INFO] [stdout] b1a91ff8d507eba8c5e17efb78b5a47a3920d0db220d6babc398ede180967906