I am trying to use GSL in Rust https://docs.rs/GSL/6.0.0/rgsl/ but am having trouble as I am very new to Rust. Every other crate I have tried to use just works by including the dependency in the Cargo.toml file. However, it doesn't seem to be this simple for this crate.
I have GSL installed and in Visual Studio 2022 I can successfully include it and I successfully built a program which uses functions from the library in C++.
#include <iostream>
#include <gsl/gsl_specfunc.h>
int main()
{
double k = 0.5;
double k_prime = sqrt(1 - k * k);
double K = gsl_sf_ellint_Kcomp(k, GSL_PREC_DOUBLE);
double K_prime = gsl_sf_ellint_Kcomp(k_prime, GSL_PREC_DOUBLE);
std::cout << K/K_prime << "\n";
}
I use IntelliJ as my Rust IDE, and I have a project with a Cargo.toml
[package]
name = "rust-gsl-test"
version = "0.1.0"
edition = "2021"
[dependencies]
GSL = "4.0"
In IntelliJ's terminal, when I type cargo build, I get
error: linking with `link.exe` failed: exit code: 1181
|
= note: "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.33.31629\\bin\\HostX64\\x64\\link.exe" "/DEF:C:\\Users\\etcto\\AppData\\Local\\Temp\\rustckB
WI9y\\lib.def" "/NOLOGO" "C:\\Users\\etcto\\AppData\\Local\\Temp\\rustckBWI9y\\symbols.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.0
.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.1.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.
gsl_sys.59103b07-cgu.10.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.11.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\g
sl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.12.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.2.rcgu.o" "D:\\GitHub\\rust-ellint\
\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.3.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.4.rcgu.o" "D:
\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.5.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.5910
3b07-cgu.6.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.7.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd76
4caa3b2be.gsl_sys.59103b07-cgu.8.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.9.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\
\deps\\gsl_sys-0d1cd764caa3b2be.3ehg95o16e12j0cb.rcgu.rmeta" "/LIBPATH:D:\\GitHub\\rust-ellint\\target\\debug\\deps" "/LIBPATH:C:\\Users\\etcto\\.rustup\\toolchains\\stable-x86_64-pc-w
indows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "gsl.lib" "gslcblas.lib" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\liblibc-33d50219ec2d56d1.rlib" "/LIBPATH:C:\\Users\\etct
o\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "std-fdaa63d6970be740.dll.lib" "C:\\Users\\etcto\\.rustup\\toolchains\\stable-x86_64-p
c-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcompiler_builtins-3f507ba7adac1c2a.rlib" "legacy_stdio_definitions.lib" "kernel32.lib" "advapi32.lib" "userenv.lib" "kerne
l32.lib" "ws2_32.lib" "bcrypt.lib" "msvcrt.lib" "legacy_stdio_definitions.lib" "/NXCOMPAT" "/LIBPATH:C:\\Users\\etcto\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\
\x86_64-pc-windows-msvc\\lib" "/OUT:D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.dll" "/OPT:REF,NOICF" "/DLL" "/IMPLIB:D:\\GitHub\\rust-ellint\\target\\debug\
\deps\\gsl_sys-0d1cd764caa3b2be.dll.lib" "/DEBUG" "/NATVIS:C:\\Users\\etcto\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\intrinsic.natvis" "/NATVIS:C:\\Users
\\etcto\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\liballoc.natvis" "/NATVIS:C:\\Users\\etcto\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libcore.natvis" "/NATVIS:C:\\Users\\etcto\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libstd.natvis"
= note: LINK : fatal error LNK1181: cannot open input file 'gsl.lib'
error: could not compile `GSL-sys` due to previous error
and when I try to run a very basic "main.rs", I get
Compiling GSL-sys v2.0.2
error: linking with `link.exe` failed: exit code: 1181
|
= note: "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.33.31629\\bin\\HostX64\\x64\\link.exe" "/DEF:C:\\Users\\etcto\\AppData\\Local\\Temp\\rustcFvqjHf\\lib.def" "/NOLOGO" "C:\\Users\\etcto\\AppData\\Local\\Temp\\rustcFvqjHf\\symbols.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.0.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.1.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.10.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.11.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.12.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.2.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.3.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.4.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.5.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.6.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.7.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.8.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.gsl_sys.59103b07-cgu.9.rcgu.o" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.3ehg95o16e12j0cb.rcgu.rmeta" "/LIBPATH:D:\\GitHub\\rust-ellint\\target\\debug\\deps" "/LIBPATH:C:\\Users\\etcto\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "gsl.lib" "gslcblas.lib" "D:\\GitHub\\rust-ellint\\target\\debug\\deps\\liblibc-33d50219ec2d56d1.rlib" "/LIBPATH:C:\\Users\\etcto\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "std-fdaa63d6970be740.dll.lib" "C:\\Users\\etcto\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcompiler_builtins-3f507ba7adac1c2a.rlib" "legacy_stdio_definitions.lib" "kernel32.lib" "advapi32.lib" "userenv.lib" "kernel32.lib" "ws2_32.lib" "bcrypt.lib" "msvcrt.lib" "legacy_stdio_definitions.lib" "/NXCOMPAT" "/LIBPATH:C:\\Users\\etcto\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib" "/OUT:D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.dll" "/OPT:REF,NOICF" "/DLL" "/IMPLIB:D:\\GitHub\\rust-ellint\\target\\debug\\deps\\gsl_sys-0d1cd764caa3b2be.dll.lib" "/DEBUG" "/NATVIS:C:\\Users\\etcto\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\intrinsic.natvis" "/NATVIS:C:\\Users\\etcto\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\liballoc.natvis" "/NATVIS:C:\\Users\\etcto\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libcore.natvis" "/NATVIS:C:\\Users\\etcto\\.rustup\\toolchains\\stable-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libstd.natvis"
= note: LINK : fatal error LNK1181: cannot open input file 'gsl.lib'
error: aborting due to previous error
error: could not compile `GSL-sys` due to 2 previous errors
Process finished with exit code 101
where main.rs is
use rgsl;
fn main() {
k = 2;
K = rgsl::pow::Pow::pow_2(&k);
println!("{K}")
}
Related
My Cargo.toml contains this:
[package]
name = "p2pvpn"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
rand = "0.8.5"
tuntap = "0.2.0"
When I run cargo check I've got this error:
Checking tokio-async-await v0.1.7
Checking tokio-threadpool v0.1.18
error[E0557]: feature has been removed
--> /home/tom/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-async-await-0.1.7/src/lib.rs:2:44
|
2 | #![feature(rust_2018_preview, async_await, await_macro, futures_api)]
| ^^^^^^^^^^^ feature has been removed
|
= note: subsumed by `.await` syntax
error[E0432]: unresolved import `std::await`
--> /home/tom/.cargo/registry/src/github.com-1ecc6299db9ec823/tokio-async-await-0.1.7/src/lib.rs:35:9
|
35 | pub use std::await as std_await;
| ^^^^^^^^^^^^^^^^^^^^^^^ no `await` in the root
Some errors have detailed explanations: E0432, E0557.
For more information about an error, try `rustc --explain E0432`.
error: could not compile `tokio-async-await` due to 2 previous errors
warning: build failed, waiting for other jobs to finish...
Should I rather select different version of tuntap crate or is there some different crate for managing tun/tap devices?
I am trying to create a statically linked executable for a rust project that uses Cursive (with ncurses as backend). I installed the libraries for ncurses-devel, ncurses-static, ncurses-lib as well as did
rustup target add x86_64-unknown-linux-musl
When I try to compile the project using:
RUSTFLAGS='-C link-arg=-s' cargo build --release --target x86_64-unknown-linux-musl
cargo fails with the error:
error: failed to run custom build command for `ncurses v5.101.0`
Caused by:
process didn't exit successfully: `/vagrant_data/rust-cli-example/target/release/build/ncurses-9d002170cebb3401/build-script-build` (exit status: 101)
--- stdout
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=NCURSESW5_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_x86_64-unknown-linux-musl
cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_x86_64_unknown_linux_musl
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_ALLOW_CROSS
cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-musl
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_musl
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-musl
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_musl
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=NCURSESW_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_x86_64-unknown-linux-musl
cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_x86_64_unknown_linux_musl
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_ALLOW_CROSS
cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-musl
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_musl
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-musl
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_musl
cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
cargo:rustc-link-lib=ncursesw
OPT_LEVEL = Some("3")
TARGET = Some("x86_64-unknown-linux-musl")
HOST = Some("x86_64-unknown-linux-gnu")
CC_x86_64-unknown-linux-musl = None
CC_x86_64_unknown_linux_musl = None
TARGET_CC = None
CC = None
CROSS_COMPILE = None
CFLAGS_x86_64-unknown-linux-musl = None
CFLAGS_x86_64_unknown_linux_musl = None
TARGET_CFLAGS = None
CFLAGS = None
CRATE_CC_NO_DEFAULTS = None
DEBUG = Some("false")
CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
--- stderr
/vagrant_data/rust-cli-example/target/x86_64-unknown-linux-musl/release/build/ncurses-7d3468c31a087559/out/chtype_size.c:6:10: fatal error: ncurses.h: No such file or directory
6 | #include <ncurses.h>
| ^~~~~~~~~~~
compilation terminated.
thread 'main' panicked at 'assertion failed: command.status().expect(\"compilation failed\").success()', /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/ncurses-5.101.0/build.rs:105:5
Can someone please guide me in what needs to be done to get this to compile?
I'm attempting to get a working prototype of the following scenario:
Language: Rust (rustc 1.45.0-nightly (ad4bc3323 2020-06-01))
Framework: Rocket v0.4.4
Build Tool: Bazel
Platform: Mac OS X / Darwin x64
Running bazel build //web-api yields the below error. I believe, based on looking at the Cargo.lock file it is because Rocket's dependency on the hyper library specifies a dependency on the log 0.3.9 library. For whatever reason it is not using the more recent log=0.4.x. That said, I don't know why it's pulling this library since, if I build it manually, it works fine.
ERROR: /private/var/tmp/_bazel_nathanielford/2a39169ea9f6eb02fe788b12f9eae88f/external/raze__log__0_3_9/BUILD.bazel:27:1: error executing shell command: '/bin/bash -c CARGO_MANIFEST_DIR=$(pwd)/external/raze__log__0_3_9 external/rust_darwin_x86_64/bin/rustc "$#" --remap-path-prefix="$(pwd)"=__bazel_redacted_pwd external/raze__log__0_3_9/src/lib.rs -...' failed (Exit 1) bash failed: error executing command /bin/bash -c 'CARGO_MANIFEST_DIR=$(pwd)/external/raze__log__0_3_9 external/rust_darwin_x86_64/bin/rustc "$#" --remap-path-prefix="$(pwd)"=__bazel_redacted_pwd' '' external/raze__log__0_3_9/src/lib.rs ... (remaining 24 argument(s) skipped)
Use --sandbox_debug to see verbose messages from the sandbox
error[E0425]: cannot find function `set_logger` in crate `log`
--> external/raze__log__0_3_9/src/lib.rs:731:16
|
731 | match log::set_logger(&ADAPTOR) {
| ^^^^^^^^^^ not found in `log`
|
help: consider importing this function
|
204 | use set_logger;
|
The following is my directory structure:
/
|-WORKSPACE
|-BUILD # Empty
|-web-api/
| |-BUILD
| |-src/
| | |-main.rs
| |-cargo/
| |-Cargo.toml
| |-Cargo.lock
| |-BUILD.bazel
| |-remote/
| |-... (Cargo-raze files)
In order to set up the cargo-raze I did the following, following instructions from the github page.:
$ cd web-api/cargo
$ cargo generate-lockfile
$ cargo vendor --versioned-dirs --locked
$ cargo raze
(The generate-lockfile is what creates the Cargo.lock file, and the cargo raze is what creates the BUILD.bazel file and all the contents of the remote sub directory.)
And then to execute the bazel build I go back to the root and run bazel build //web-api, which produces the above error.
This is my WORKSPACE file:
workspace(name = "rocket-bazel")
load("#bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
name = "io_bazel_rules_rust",
sha256 = "f21c67fc2fef9d57fa3c81fde1defd9e57d451883388c0a469ec1c470fd30dcb",
strip_prefix = "rules_rust-master",
urls = [
"https://github.com/bazelbuild/rules_rust/archive/master.tar.gz"
],
)
http_archive(
name = "bazel_skylib",
sha256 = "9a737999532daca978a158f94e77e9af6a6a169709c0cee274f0a4c3359519bd",
strip_prefix = "bazel-skylib-1.0.0",
url = "https://github.com/bazelbuild/bazel-skylib/archive/1.0.0.tar.gz",
)
load("#io_bazel_rules_rust//rust:repositories.bzl", "rust_repositories")
rust_repositories(version="nightly", iso_date="2020-06-02")
load("#io_bazel_rules_rust//:workspace.bzl", "bazel_version")
bazel_version(name = "bazel_version")
load("//web-api/cargo:crates.bzl", "raze_fetch_remote_crates")
raze_fetch_remote_crates()
This is my web-api/BUILD file:
load("#io_bazel_rules_rust//rust:rust.bzl", "rust_binary")
rust_binary(
name = "web-api",
srcs = ["src/main.rs"],
deps = [
"//web-api/cargo:rocket",
],
)
And my web-api/cargo/Cargo.toml file:
load("#io_bazel_rules_rust//rust:rust.bzl", "rust_binary")
rust_binary(
name = "web-api",
srcs = ["src/main.rs"],
deps = [
"//web-api/cargo:rocket",
],
)
I've run out of ideas as to what to try. I can get this to compile without Bazel, just using rust (though obviously the files are in slightly different places). I can get it to compile inside a Docker container. I just can't get Bazel (necessarily with cargo raze, either in vendor or remote mode) to run successfully: I assume that there is some mismatch in compile target or the nightly build that is not being properly set - but I'm not sure how to diagnose or get past that.
Here is a link to a repository with the files/structure I tried.
I had a similar issue when I made a minimal Bazel workspace with rust and the log crate together with env_logger crate. I found a similar issue when you try to compile without features = ["std"]. I then tried to enable that in Cargo.toml on the log dependency without success.
My solution is that in Cargo.toml under [raze] I added:
default_gen_buildrs = true
I could trace it down to that when default_gen_buildrs flag is not set in the generated log crate the BUILD.bazel file did not have a cargo_build_script definition or this:
crate_features = [
"std",
],
I'm trying to setup the muiltiparty threshold ECDSA with the the command "cargo build --release --examples“ (following the readme.md's instruction). And the error occurs.
error: linking with `link.exe` failed: exit code: 1181
= note: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\Professional\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX64\\x64\\link.exe" "/NOLOGO" "/NXCOMPAT" "/LIBPATH:C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_
64-pc-windows-msvc\\lib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\examples\\sm_manager.sm_manager.240f29m0-cgu.0.rcgu.o" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\examples\\sm_manager.sm_manager.240f29m0-cgu.1.rcgu.o" "F:\\rustcode\
\multi-party-ecdsa-master\\target\\release\\examples\\sm_manager.sm_manager.240f29m0-cgu.10.rcgu.o" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\examples\\sm_manager.sm_manager.240f29m0-cgu.11.rcgu.o" "F:\\rustcode\\multi-party-ecdsa-master\\target\\re
lease\\examples\\sm_manager.sm_manager.240f29m0-cgu.12.rcgu.o" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\examples\\sm_manager.sm_manager.240f29m0-cgu.13.rcgu.o" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\examples\\sm_manager.sm_manage
r.240f29m0-cgu.14.rcgu.o" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\examples\\sm_manager.sm_manager.240f29m0-cgu.15.rcgu.o" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\examples\\sm_manager.sm_manager.240f29m0-cgu.2.rcgu.o" "F:\\rustcod
e\\multi-party-ecdsa-master\\target\\release\\examples\\sm_manager.sm_manager.240f29m0-cgu.3.rcgu.o" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\examples\\sm_manager.sm_manager.240f29m0-cgu.4.rcgu.o" "F:\\rustcode\\multi-party-ecdsa-master\\target\\re
lease\\examples\\sm_manager.sm_manager.240f29m0-cgu.5.rcgu.o" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\examples\\sm_manager.sm_manager.240f29m0-cgu.6.rcgu.o" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\examples\\sm_manager.sm_manager.
240f29m0-cgu.7.rcgu.o" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\examples\\sm_manager.sm_manager.240f29m0-cgu.8.rcgu.o" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\examples\\sm_manager.sm_manager.240f29m0-cgu.9.rcgu.o" "/OUT:F:\\rustco
de\\multi-party-ecdsa-master\\target\\release\\examples\\sm_manager.exe" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\examples\\sm_manager.8p2ouoz6ndal2d.rcgu.o" "/OPT:REF,ICF" "/DEBUG" "/NATVIS:C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64
-pc-windows-msvc\\lib\\rustlib\\etc\\intrinsic.natvis" "/NATVIS:C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\liballoc.natvis" "/NATVIS:C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\r
ustlib\\etc\\libcore.natvis" "/NATVIS:C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\etc\\libstd.natvis" "/LIBPATH:F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps" "/LIBPATH:F:\\rustcode\\multi-party-ecdsa-mas
ter\\target\\release\\build\\secp256k1-1be602a1be1c6b00\\out" "/LIBPATH:F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\build\\rust-crypto-c62eada8941b8567\\out" "/LIBPATH:C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rust
lib\\x86_64-pc-windows-msvc\\lib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libsecp256k1-5aff06d8c00a6316.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libhmac_drbg-f091fbbb7d279562.rlib" "F:\\rustcode\\multi-party-ecds
a-master\\target\\release\\deps\\libcrunchy-d13d013e6995cc21.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libsubtle-890c2a171eb84060.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libreqwest-a6ff5e3f532c1479.rlib" "F:
\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libwinreg-937d82d573dcf9ed.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libuuid-ce0357aa89aba093.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libserde_url
encoded-beedab6f00219257.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libdtoa-7ac9db45ef55aca5.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libmime_guess-f5c354e6b50e4077.rlib" "F:\\rustcode\\multi-party-ecdsa-maste
r\\target\\release\\deps\\libunicase-9cac21d1a5c1dec6.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libmime-8373f626b2ee65cf.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libflate2-52a15a8d97992de9.rlib" "F:\\rustcode
\\multi-party-ecdsa-master\\target\\release\\deps\\libminiz_oxide-69eccb52a1565152.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libadler32-6369951ed0f93397.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libcrc32fast-6
c597eb860b0c5a0.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libhyper-5fe44c52da6e4189.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libwant-3ceb661b2b40894b.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\rel
ease\\deps\\libtry_lock-0107bb6b9f3163a1.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libtokio-413da5b08cfa6ee4.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libtokio_timer-2d4f6360e8da7bb4.rlib" "F:\\rustcode\\multi
-party-ecdsa-master\\target\\release\\deps\\libtokio_threadpool-41cdd56635169a60.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libcrossbeam_queue-7957d04bf7221979.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libcross
beam_deque-e6c8d232a3e0724d.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libcrossbeam_epoch-ef6b41d73ce4f361.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libmemoffset-ca0539aa13d671d0.rlib" "F:\\rustcode\\multi-part
y-ecdsa-master\\target\\release\\deps\\libtokio_tcp-44d76419c422159f.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libtokio_reactor-1b693f10e1287169.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libtokio_sync-c683c01d
fe7222c2.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libparking_lot-b1c9a8e18489f267.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libparking_lot_core-36de122f113aedb0.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\
target\\release\\deps\\libsmallvec-7f7456013fe8fd77.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libmaybe_uninit-6441a5977ae0a1cf.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\liblock_api-0cf97a0bc5225333.rlib" "F:\\
rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libscopeguard-7a3eb969329f6a44.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libtokio_current_thread-0a6db2451725f4ef.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\
deps\\libtokio_executor-5df001a1b86b51f0.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libcrossbeam_utils-c5dc190f95fd578f.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libmio-1f8c1eec22686f6c.rlib" "F:\\rustcode\\mul
ti-party-ecdsa-master\\target\\release\\deps\\libmiow-8968b8fbfb81f0e6.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libws2_32-7299a572329aadf7.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libkernel32-7d5e7071ca743f4
7.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libwinapi-339901690fbef76a.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libnet2-c5d9645590e862e1.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\l
ibhttp_body-c23449f632528f78.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libtokio_buf-8e9d5fcdb900a3fc.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libh2-d5324feb129ed8e3.rlib" "F:\\rustcode\\multi-party-ecdsa-mast
er\\target\\release\\deps\\libstring-aeaa0fcdbb0febc2.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libslab-a52ec2eb4c1c50fe.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libtokio_io-51dd14d9ed9456e1.rlib" "F:\\rustco
de\\multi-party-ecdsa-master\\target\\release\\deps\\libfutures_cpupool-72f1dc8605f9d8d0.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libhttp-84f77248592eac88.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libfnv-203c
2058730c2b10.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libfutures-5574d475975657e4.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libencoding_rs-a9068aae1b8da1ef.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\targe
t\\release\\deps\\libcookie_store-c1f9909d9bfc03e2.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libpublicsuffix-a13accc6b66c0897.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\liburl-1ac1cca4398d2feb.rlib" "F:\\rustco
de\\multi-party-ecdsa-master\\target\\release\\deps\\libpercent_encoding-2931a4346acb2f17.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libidna-80e02a989d5c51a4.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libregex-7
80a8640cf18aee1.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libregex_syntax-8a0767d1c1252efa.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\liblazy_static-f87bece2c4bf1a5e.rlib" "F:\\rustcode\\multi-party-ecdsa-maste
r\\target\\release\\deps\\liberror_chain-e03f672a0bb633ce.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libtry_from-408ccf0a7145d285.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libfailure-e61f3c5145cbd1fe.rlib" "F:\
\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libbacktrace-46983df57a9d81a6.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\librustc_demangle-30ec7aaae01831d0.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\
libcookie-3241869e8cb2d610.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libbytes-8af7810dfd10a5fb.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libeither-a998067f777735bc.rlib" "F:\\rustcode\\multi-party-ecdsa-master
\\target\\release\\deps\\libiovec-5142677e4c1ec571.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libcurv-4be9c439b3d52648.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libhmac-e46cb8143f624613.rlib" "F:\\rustcode\\mul
ti-party-ecdsa-master\\target\\release\\deps\\libcrypto_mac-925d9ef6ae4b5193.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libsubtle-c37bc2b00e97ff00.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libsha2-ace2dd5b19784
3bf.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libfake_simd-aa133cc27fa22141.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libblake2b_simd-aee6a663d36c0d08.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\rel
ease\\deps\\libconstant_time_eq-c658cc94fbe6b50e.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libarrayvec-88f3bf78f4321bc1.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libarrayref-cbaa68cdbc305db2.rlib" "F:\\rustcod
e\\multi-party-ecdsa-master\\target\\release\\deps\\libsha3-437c0c5ef06e8fba.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libdigest-a839084f5f006a9d.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libopaque_debug-05ce5
882de270436.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libblock_buffer-cd917cc4be06fa9f.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libgeneric_array-aa73cbf095bd2f34.rlib" "F:\\rustcode\\multi-party-ecdsa-master\
\target\\release\\deps\\libtypenum-034803bac2f7aa61.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libblock_padding-1db94b794db05c08.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libbyte_tools-d333598573c712dd.rlib" "F
:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libkeccak-19ad87f1eabe79f0.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libgmp-8ee5d53cabfe3ff8.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libnum_trait
s-aa7fdd97888c52ea.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libzeroize-b684541bb3596f9a.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libsecp256k1-0cedecaf313f64ea.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\t
arget\\release\\deps\\librand-d6d637451260a871.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\librand_xorshift-34b8c722fa652ad9.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\librand_pcg-dd4e77a80a3a2ec0.rlib" "F:\\rust
code\\multi-party-ecdsa-master\\target\\release\\deps\\librand_hc-79c6b6647ed951da.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\librand_chacha-3e3897938b67a796.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\librand_is
aac-379297b4f2a7cb4c.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\librand_core-ba87b9cb07336320.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\librand_os-c90c6958c250e37c.rlib" "F:\\rustcode\\multi-party-ecdsa-master\
\target\\release\\deps\\librand_jitter-43228d7e23d1bb76.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\librand_core-9bf81d9c0af68447.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libcrypto-641881688c468d15.rlib" "F:\\r
ustcode\\multi-party-ecdsa-master\\target\\release\\deps\\liblibc-1a337355faef191a.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\librustc_serialize-0c23f6d081fe1cfa.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libran
d-66e2bf1bb2b4a20e.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\librand-4fd1997ade6b8dc8.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libuuid-57e83e9bf94a27bc.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\r
elease\\deps\\librand-64fe7d1ff12dc3c2.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\librand_chacha-a7f59c094346e00c.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libppv_lite86-ecb78556a3f267ec.rlib" "F:\\rustcode\\mu
lti-party-ecdsa-master\\target\\release\\deps\\librand_core-29b09990d895d2e1.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libgetrandom-9c8e2d6122b970a6.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\librocket_contrib-
ff74b4536216e331.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libserde_json-90eda275630547eb.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libryu-823c6f1a53741a46.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target
\\release\\deps\\libitoa-396ad9c01424f31b.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\librocket-5a6333b84d5b047c.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libatty-a2c3f8b0fa13d6ad.rlib" "F:\\rustcode\\multi-part
y-ecdsa-master\\target\\release\\deps\\libbase64-afe07ed64e3fb8c3.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libmemchr-093e47af9f4022f5.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libtoml-7b68f70c86206613.rlib" "
F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libserde-e9aecfadc5a6818b.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libyansi-d662373364dbf861.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\librocket_
http-1e6241d31858fd10.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libhyper-4eb88fdc51ebb4ae.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libmime-bc1ea3f86720264b.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\targe
t\\release\\deps\\liblog-56f5f03cbd755dcf.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\liblog-284f943c4ce0c13d.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libcfg_if-31eaf206bdb44090.rlib" "F:\\rustcode\\multi-party
-ecdsa-master\\target\\release\\deps\\liblanguage_tags-5ec0ea271bd9256e.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libtypeable-fd12ba52a9065402.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libtraitobject-34f20bed1
efe02d4.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libnum_cpus-1c958f0f1f35a51e.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libhttparse-af2068facb006bb2.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\rele
ase\\deps\\libunicase-13824eaef16a2911.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libbase64-b5e4d1d5122daabf.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libsafemem-5521c56c5d451119.rlib" "F:\\rustcode\\multi-part
y-ecdsa-master\\target\\release\\deps\\libbyteorder-f5e63805e80f1b61.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libunicode_xid-15c30b6e8ef23867.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libstate-77406789ff851d1
0.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libindexmap-795b00fca348ae6f.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libcookie-77b77d7c8f6f3cf4.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\dep
s\\libtime-c3175b3c508c8bcf.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libwinapi-0f51a43659f90c6a.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\liburl-958d2791b3b93a75.rlib" "F:\\rustcode\\multi-party-ecdsa-master\
\target\\release\\deps\\libidna-7f9af993a6b87201.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libunicode_normalization-62ab15e926b00f04.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libunicode_bidi-4128539ae13d11ef.r
lib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libmatches-d072fd4019b81012.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libsmallvec-eddc8aac5b7d2830.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\
\libpercent_encoding-916e82758745343c.rlib" "F:\\rustcode\\multi-party-ecdsa-master\\target\\release\\deps\\libpear-2132d500a4843c9d.rlib" "C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libstd-
04d5009d5730db24.rlib" "C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libpanic_unwind-ba7e278c3a13e389.rlib" "C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rus
tlib\\x86_64-pc-windows-msvc\\lib\\libhashbrown-a64d8502b8eb1601.rlib" "C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_std_workspace_alloc-9a5c8ec03ac52eab.rlib" "C:\\Users\\VictorXie\\
.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libbacktrace-17de743b12ad001c.rlib" "C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_deman
gle-34b741028331e100.rlib" "C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libunwind-f40156ef32076ee5.rlib" "C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustl
ib\\x86_64-pc-windows-msvc\\lib\\libcfg_if-08d8f158086bc959.rlib" "C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\liblibc-022ac961886c5a64.rlib" "C:\\Users\\VictorXie\\.rustup\\toolchains\\night
ly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\liballoc-69474e7b1d414eba.rlib" "C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\librustc_std_workspace_core-ebb93cf09fb9da35
.rlib" "C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-msvc\\lib\\libcore-242b1b8b2e396484.rlib" "C:\\Users\\VictorXie\\.rustup\\toolchains\\nightly-x86_64-pc-windows-msvc\\lib\\rustlib\\x86_64-pc-windows-
msvc\\lib\\libcompiler_builtins-3fccde95dc36895e.rlib" "ws2_32.lib" "kernel32.lib" "gmp.lib" "gmp.lib" "gmp.lib" "gmp.lib" "gmp.lib" "advapi32.lib" "advapi32.lib" "cfgmgr32.lib" "credui.lib" "fwpuclnt.lib" "gdi32.lib" "kernel32.lib" "msimg32.lib" "ntdll.lib" "openg
l32.lib" "secur32.lib" "synchronization.lib" "user32.lib" "winspool.lib" "ws2_32.lib" "advapi32.lib" "ws2_32.lib" "userenv.lib" "msvcrt.lib"
= note: Non-UTF-8 output: LINK : fatal error LNK1181: \xce\xde\xb7\xa8\xb4\xf2\xbf\xaa\xca\xe4\xc8\xeb\xce\xc4\xbc\xfe\xa1\xb0gmp.lib\xa1\xb1\r\n
It seems like that the link.exe cannot find the gmp.lib, I tried to install mingw32-gmp with mingw-get and it didn't help. I don't know where the problem is, and how to fix it.
I'm unable to compile a basic example using Actix. I suspect I might be missing some libraries but I have no clue of what it could be. I also upgraded to Mojave a few days ago, but I'm not sure if this is related.
It seems to complain about ar crs and about an internal error happening in ranlib when running this command.
main.rs:
extern crate actix_web;
use actix_web::{server, App, HttpRequest};
fn index(_req: &HttpRequest) -> &'static str {
"Hello world!"
}
fn main() {
server::new(|| App::new().resource("/", |r| r.f(index)))
.bind("127.0.0.1:8088")
.unwrap()
.run();
}
Cargo.toml:
actix-web = "0.7.8"
Backtrace I obtain:
mbp-de-matthieu:hello-world matthieu$ RUST_BACKTRACE=1 cargo build
Compiling backtrace-sys v0.1.24
Compiling miniz-sys v0.1.10
Compiling brotli-sys v0.3.2
Compiling ring v0.13.2
Compiling tokio-current-thread v0.1.3
error: failed to run custom build command for `miniz-sys v0.1.10`
process didn't exit successfully: `/Users/matthieu/Documents/Rust/actix/hello-world/target/debug/build/miniz-sys-dc81523acb01e9e7/build-script-build` (exit code: 101)
--- stdout
TARGET = Some("x86_64-apple-darwin")
OPT_LEVEL = Some("0")
HOST = Some("x86_64-apple-darwin")
CC_x86_64-apple-darwin = None
CC_x86_64_apple_darwin = None
HOST_CC = None
CC = None
CFLAGS_x86_64-apple-darwin = None
CFLAGS_x86_64_apple_darwin = None
HOST_CFLAGS = None
CFLAGS = None
DEBUG = Some("true")
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-o" "/Users/matthieu/Documents/Rust/actix/hello-world/target/debug/build/miniz-sys-d59b36acd5b3db67/out/miniz.o" "-c" "miniz.c"
exit code: 0
AR_x86_64-apple-darwin = None
AR_x86_64_apple_darwin = None
HOST_AR = None
AR = None
running: "ar" "crs" "/Users/matthieu/Documents/Rust/actix/hello-world/target/debug/build/miniz-sys-d59b36acd5b3db67/out/libminiz.a" "/Users/matthieu/Documents/Rust/actix/hello-world/target/debug/build/miniz-sys-d59b36acd5b3db67/out/miniz.o"
cargo:warning=/usr/local/Cellar/cctools/855/bin/ranlib: object: /Users/matthieu/Documents/Rust/actix/hello-world/target/debug/build/miniz-sys-d59b36acd5b3db67/out/libminiz.a(miniz.o) malformed object (unknown load command 1)
cargo:warning=ar: internal ranlib command failed
exit code: 1
--- stderr
thread 'main' panicked at '
Internal error occurred: Command "ar" "crs" "/Users/matthieu/Documents/Rust/actix/hello-world/target/debug/build/miniz-sys-d59b36acd5b3db67/out/libminiz.a" "/Users/matthieu/Documents/Rust/actix/hello-world/target/debug/build/miniz-sys-d59b36acd5b3db67/out/miniz.o" with args "ar" did not execute successfully (status code exit code: 1).
The complete backtrace is too large to include on Stack Overflow.
It seems to work after installing cctools through MacPorts.
For some reason, installing it through brew didn't seem to work.
I had the same error.
When I replaced cctools 855 with 921 from this tap then cargo build worked: https://github.com/dgsga/homebrew-cctools
brew unlink cctools
brew tap dgsga/cctools
brew install dgsga/cctools/mtoc
Mojave 10.14.3, Rust 1.33.0, actix-web 0.7.18