trezor-client 0.1.4

Client library for interfacing with Trezor hardware wallet devices
Documentation
Build #1289381 2024-07-12T08:14:07.730676+00:00
# rustc version
rustc 1.81.0-nightly (5315cbe15 2024-07-11)# docs.rs version
docsrs 0.6.0 (7ad8c626 2024-07-11)# build log
[INFO] running `Command { std: "docker" "create" "-v" "/home/cratesfyi/workspace-builder/builds/trezor-client-0.1.4/target:/opt/rustwide/target:rw,Z" "-v" "/home/cratesfyi/workspace-builder/builds/trezor-client-0.1.4/source:/opt/rustwide/workdir:ro,Z" "-v" "/home/cratesfyi/workspace-builder/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/home/cratesfyi/workspace-builder/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "6442450944" "--cpus" "6" "--user" "1001:1001" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--all-features" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20240711-1.81.0-nightly-5315cbe15\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-apple-darwin\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-apple-darwin", kill_on_drop: false }`
[INFO] [stdout] ac5fde4fd06602f4a9735185b0be7abae757ca40ddb887ae972b31ed5464ee70
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "ac5fde4fd06602f4a9735185b0be7abae757ca40ddb887ae972b31ed5464ee70", kill_on_drop: false }`
[INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op
[INFO] [stderr]    Compiling secp256k1-sys v0.9.2
[INFO] [stderr]    Compiling libusb1-sys v0.7.0
[INFO] [stderr]     Checking bitcoin_hashes v0.13.0
[INFO] [stderr]    Compiling hex_lit v0.1.1
[INFO] [stderr]     Checking libc v0.2.155
[INFO] [stderr]     Checking thiserror v1.0.62
[INFO] [stderr]     Checking tinyvec_macros v0.1.1
[INFO] [stderr] The following warnings were emitted during compilation:
[INFO] [stderr] 
[INFO] [stderr] warning: libusb1-sys@0.7.0: cc: error: unrecognized command-line option '-arch'
[INFO] [stderr] warning: libusb1-sys@0.7.0: cc: error: unrecognized command-line option '-mmacosx-version-min=10.7'
[INFO] [stderr] 
[INFO] [stderr] error: failed to run custom build command for `libusb1-sys v0.7.0`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/libusb1-sys-5022488a860e1c6b/build-script-build` (exit status: 1)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   cargo:rerun-if-env-changed=LIBUSB_STATIC
[INFO] [stderr]   cargo:rerun-if-env-changed=LIBUSB_1.0_NO_PKG_CONFIG
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_x86_64-apple-darwin
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_x86_64_apple_darwin
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_ALLOW_CROSS
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-apple-darwin
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_apple_darwin
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_PKG_CONFIG
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-apple-darwin
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_apple_darwin
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
[INFO] [stderr]   Can't find libusb pkg: pkg-config has not been configured to support cross-compilation.
[INFO] [stderr] 
[INFO] [stderr]   Install a sysroot for the target platform and configure it via
[INFO] [stderr]   PKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_PATH, or install a
[INFO] [stderr]   cross-compiling wrapper for pkg-config and set it via
[INFO] [stderr]   PKG_CONFIG environment variable.
[INFO] [stderr]   cargo:vendored=1
[INFO] [stderr]   cargo:static=1
[INFO] [stderr]   cargo:include=/opt/rustwide/target/x86_64-apple-darwin/debug/build/libusb1-sys-3f965402b3de9869/out/include
[INFO] [stderr]   cargo:rustc-link-lib=framework=CoreFoundation
[INFO] [stderr]   cargo:rustc-link-lib=framework=IOKit
[INFO] [stderr]   cargo:rustc-link-lib=framework=Security
[INFO] [stderr]   cargo:rerun-if-env-changed=LIBUDEV_NO_PKG_CONFIG
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_x86_64-apple-darwin
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_x86_64_apple_darwin
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_ALLOW_CROSS
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-apple-darwin
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_apple_darwin
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_PKG_CONFIG
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-apple-darwin
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_apple_darwin
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR
[INFO] [stderr]   cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
[INFO] [stderr]   Including posix!
[INFO] [stderr]   OUT_DIR = Some(/opt/rustwide/target/x86_64-apple-darwin/debug/build/libusb1-sys-3f965402b3de9869/out)
[INFO] [stderr]   TARGET = Some(x86_64-apple-darwin)
[INFO] [stderr]   OPT_LEVEL = Some(0)
[INFO] [stderr]   HOST = Some(x86_64-unknown-linux-gnu)
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_x86_64-apple-darwin
[INFO] [stderr]   CC_x86_64-apple-darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_x86_64_apple_darwin
[INFO] [stderr]   CC_x86_64_apple_darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CC
[INFO] [stderr]   TARGET_CC = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC
[INFO] [stderr]   CC = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CROSS_COMPILE
[INFO] [stderr]   CROSS_COMPILE = None
[INFO] [stderr]   RUSTC_LINKER = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[INFO] [stderr]   RUSTC_WRAPPER = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[INFO] [stderr]   CRATE_CC_NO_DEFAULTS = None
[INFO] [stderr]   DEBUG = Some(true)
[INFO] [stderr]   CARGO_CFG_TARGET_FEATURE = Some(cmpxchg16b,fxsr,lahfsahf,sse,sse2,sse3,sse4.1,ssse3)
[INFO] [stderr]   cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
[INFO] [stderr]   MACOSX_DEPLOYMENT_TARGET = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64-apple-darwin
[INFO] [stderr]   CFLAGS_x86_64-apple-darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64_apple_darwin
[INFO] [stderr]   CFLAGS_x86_64_apple_darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CFLAGS
[INFO] [stderr]   TARGET_CFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS
[INFO] [stderr]   CFLAGS = None
[INFO] [stderr]   cargo:warning=cc: error: unrecognized command-line option '-arch'
[INFO] [stderr]   cargo:warning=cc: error: unrecognized command-line option '-mmacosx-version-min=10.7'
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr]   error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-mmacosx-version-min=10.7" "-I" "/opt/rustwide/target/x86_64-apple-darwin/debug/build/libusb1-sys-3f965402b3de9869/out/include" "-I" "libusb/libusb" "-Wall" "-Wextra" "-DPRINTF_FORMAT(a, b)=" "-DENABLE_LOGGING=1" "-DOS_DARWIN=1" "-DTARGET_OS_OSX=1" "-DHAVE_SYS_TIME_H=1" "-DHAVE_NFDS_T=1" "-DPLATFORM_POSIX=1" "-DHAVE_CLOCK_GETTIME=1" "-DDEFAULT_VISIBILITY=__attribute__((visibility(\"default\")))" "-o" "/opt/rustwide/target/x86_64-apple-darwin/debug/build/libusb1-sys-3f965402b3de9869/out/0e3aad1164bcc6fc-darwin_usb.o" "-c" "libusb/libusb/os/darwin_usb.c" with args cc did not execute successfully (status code exit status: 1).
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] The following warnings were emitted during compilation:
[INFO] [stderr] 
[INFO] [stderr] warning: secp256k1-sys@0.9.2: cc: error: unrecognized command-line option '-arch'
[INFO] [stderr] warning: secp256k1-sys@0.9.2: cc: error: unrecognized command-line option '-mmacosx-version-min=10.7'
[INFO] [stderr] warning: secp256k1-sys@0.9.2: cc: error: unrecognized command-line option '-arch'
[INFO] [stderr] warning: secp256k1-sys@0.9.2: cc: error: unrecognized command-line option '-mmacosx-version-min=10.7'
[INFO] [stderr] 
[INFO] [stderr] error: failed to run custom build command for `secp256k1-sys v0.9.2`
[INFO] [stderr] 
[INFO] [stderr] Caused by:
[INFO] [stderr]   process didn't exit successfully: `/opt/rustwide/target/debug/build/secp256k1-sys-9b8ef24cb0930215/build-script-build` (exit status: 1)
[INFO] [stderr]   --- stdout
[INFO] [stderr]   OUT_DIR = Some(/opt/rustwide/target/x86_64-apple-darwin/debug/build/secp256k1-sys-59b852b81293e279/out)
[INFO] [stderr]   TARGET = Some(x86_64-apple-darwin)
[INFO] [stderr]   OPT_LEVEL = Some(0)
[INFO] [stderr]   HOST = Some(x86_64-unknown-linux-gnu)
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_x86_64-apple-darwin
[INFO] [stderr]   CC_x86_64-apple-darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_x86_64_apple_darwin
[INFO] [stderr]   CC_x86_64_apple_darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CC
[INFO] [stderr]   TARGET_CC = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC
[INFO] [stderr]   CC = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CROSS_COMPILE
[INFO] [stderr]   CROSS_COMPILE = None
[INFO] [stderr]   RUSTC_LINKER = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[INFO] [stderr]   RUSTC_WRAPPER = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[INFO] [stderr]   CRATE_CC_NO_DEFAULTS = None
[INFO] [stderr]   DEBUG = Some(true)
[INFO] [stderr]   CARGO_CFG_TARGET_FEATURE = Some(cmpxchg16b,fxsr,lahfsahf,sse,sse2,sse3,sse4.1,ssse3)
[INFO] [stderr]   cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
[INFO] [stderr]   MACOSX_DEPLOYMENT_TARGET = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64-apple-darwin
[INFO] [stderr]   CFLAGS_x86_64-apple-darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64_apple_darwin
[INFO] [stderr]   CFLAGS_x86_64_apple_darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CFLAGS
[INFO] [stderr]   TARGET_CFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS
[INFO] [stderr]   CFLAGS = None
[INFO] [stderr]   OUT_DIR = Some(/opt/rustwide/target/x86_64-apple-darwin/debug/build/secp256k1-sys-59b852b81293e279/out)
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[INFO] [stderr]   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[INFO] [stderr]   CRATE_CC_NO_DEFAULTS = None
[INFO] [stderr]   CARGO_CFG_TARGET_FEATURE = Some(cmpxchg16b,fxsr,lahfsahf,sse,sse2,sse3,sse4.1,ssse3)
[INFO] [stderr]   cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
[INFO] [stderr]   MACOSX_DEPLOYMENT_TARGET = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64-apple-darwin
[INFO] [stderr]   CFLAGS_x86_64-apple-darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64_apple_darwin
[INFO] [stderr]   CFLAGS_x86_64_apple_darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CFLAGS
[INFO] [stderr]   TARGET_CFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS
[INFO] [stderr]   CFLAGS = None
[INFO] [stderr]   OUT_DIR = Some(/opt/rustwide/target/x86_64-apple-darwin/debug/build/secp256k1-sys-59b852b81293e279/out)
[INFO] [stderr]   cargo:rerun-if-env-changed=CC_ENABLE_DEBUG_OUTPUT
[INFO] [stderr]   cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
[INFO] [stderr]   CRATE_CC_NO_DEFAULTS = None
[INFO] [stderr]   CARGO_CFG_TARGET_FEATURE = Some(cmpxchg16b,fxsr,lahfsahf,sse,sse2,sse3,sse4.1,ssse3)
[INFO] [stderr]   cargo:rerun-if-env-changed=MACOSX_DEPLOYMENT_TARGET
[INFO] [stderr]   MACOSX_DEPLOYMENT_TARGET = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64-apple-darwin
[INFO] [stderr]   CFLAGS_x86_64-apple-darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS_x86_64_apple_darwin
[INFO] [stderr]   CFLAGS_x86_64_apple_darwin = None
[INFO] [stderr]   cargo:rerun-if-env-changed=TARGET_CFLAGS
[INFO] [stderr]   TARGET_CFLAGS = None
[INFO] [stderr]   cargo:rerun-if-env-changed=CFLAGS
[INFO] [stderr]   CFLAGS = None
[INFO] [stderr]   cargo:warning=cc: error: unrecognized command-line option '-arch'
[INFO] [stderr]   cargo:warning=cc: error: unrecognized command-line option '-mmacosx-version-min=10.7'
[INFO] [stderr]   cargo:warning=cc: error: unrecognized command-line option '-arch'
[INFO] [stderr]   cargo:warning=cc: error: unrecognized command-line option '-mmacosx-version-min=10.7'
[INFO] [stderr] 
[INFO] [stderr]   --- stderr
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] [stderr]   error occurred: Command "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-gdwarf-2" "-fno-omit-frame-pointer" "-m64" "-arch" "x86_64" "-mmacosx-version-min=10.7" "-I" "depend/secp256k1/" "-I" "depend/secp256k1/include" "-I" "depend/secp256k1/src" "-I" "wasm/wasm-sysroot" "-Wall" "-Wextra" "-DSECP256K1_API=" "-DENABLE_MODULE_ECDH=1" "-DENABLE_MODULE_SCHNORRSIG=1" "-DENABLE_MODULE_EXTRAKEYS=1" "-DENABLE_MODULE_ELLSWIFT=1" "-Dprintf(...)=" "-DECMULT_GEN_PREC_BITS=4" "-DECMULT_WINDOW_SIZE=15" "-DUSE_EXTERNAL_DEFAULT_CALLBACKS=1" "-DENABLE_MODULE_RECOVERY=1" "-o" "/opt/rustwide/target/x86_64-apple-darwin/debug/build/secp256k1-sys-59b852b81293e279/out/84f2453a56d059fc-lax_der_parsing.o" "-c" "depend/secp256k1/contrib/lax_der_parsing.c" with args cc did not execute successfully (status code exit status: 1).
[INFO] [stderr] 
[INFO] [stderr] 
[INFO] running `Command { std: "docker" "inspect" "ac5fde4fd06602f4a9735185b0be7abae757ca40ddb887ae972b31ed5464ee70", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ac5fde4fd06602f4a9735185b0be7abae757ca40ddb887ae972b31ed5464ee70", kill_on_drop: false }`
[INFO] [stdout] ac5fde4fd06602f4a9735185b0be7abae757ca40ddb887ae972b31ed5464ee70