INFO: Analyzed target @@rules_rust~~crate~crates//:thrussh (0 packages loaded, 1 target configured). ERROR: /home/vscode/.cache/bazel/_bazel_vscode/d9fd8dd9485b3d1d1994c3846baefa35/external/rules_rust~~crate~crates__libsodium-sys-0.0.10/BUILD.bazel:93:19: Running Cargo build script libsodium-sys failed: (Exit 1): cargo_build_script_runner failed: error executing CargoBuildScriptRun command (from target @@rules_rust~~crate~crates__libsodium-sys-0.0.10//:_bs) bazel-out/k8-opt-exec-ST-ff2b6a5febf8/bin/external/rules_rust~/cargo/cargo_build_script_runner/cargo_build_script_runner ... (remaining 10 arguments skipped) Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging Build script process failed with exit code 101 --stdout: cargo:rerun-if-env-changed=LIBSODIUM_NO_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=LIBSODIUM_STATIC cargo:rerun-if-env-changed=LIBSODIUM_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_PATH cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR --stderr: thread 'main' panicked at external/rules_rust~~crate~crates__libsodium-sys-0.0.10/build.rs:18:47: called `Result::unwrap()` on an `Err` value: "\npkg-config exited with status code 1\n> PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags libsodium\n\nThe system library `libsodium` required by crate `libsodium-sys` was not found.\nThe file `libsodium.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.\nThe PKG_CONFIG_PATH environment variable is not set.\n\nHINT: if you have installed the library, try setting PKG_CONFIG_PATH to the directory containing `libsodium.pc`.\n" stack backtrace: 0: 0x59cc416e767a - ::fmt::h304520fd6a30aa07 1: 0x59cc417362bb - core::fmt::write::hf5713710ce10ff22 2: 0x59cc416db303 - std::io::Write::write_fmt::hda708db57927dacf 3: 0x59cc416e9e72 - std::panicking::default_hook::{{closure}}::he1ad87607d0c11c5 4: 0x59cc416e9ade - std::panicking::default_hook::h81c8cd2e7c59ee33 5: 0x59cc416ea82f - std::panicking::rust_panic_with_hook::had2118629c312a4a 6: 0x59cc416ea517 - std::panicking::begin_panic_handler::{{closure}}::h7fa5985d111bafa2 7: 0x59cc416e7b59 - std::sys::backtrace::__rust_end_short_backtrace::h704d151dbefa09c5 8: 0x59cc416ea1a4 - rust_begin_unwind 9: 0x59cc41732603 - core::panicking::panic_fmt::h3eea515d05f7a35e 10: 0x59cc41732c56 - core::result::unwrap_failed::h7c8d8bbbcf45dc13 11: 0x59cc4169af34 - build_script_build::main::hb40b5b63f6ea92a9 12: 0x59cc4169a673 - std::sys::backtrace::__rust_begin_short_backtrace::h71d1ef5e1b527ae9 13: 0x59cc4169a669 - std::rt::lang_start::{{closure}}::h8278b53d7d61d3d0 14: 0x59cc416cb810 - std::rt::lang_start_internal::h4d90db0530245041 15: 0x59cc4169afb5 - main 16: 0x73dc814d9d90 - __libc_start_call_main at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16 17: 0x73dc814d9e40 - __libc_start_main_impl at ./csu/../csu/libc-start.c:392:3 18: 0x59cc4169a595 - _start 19: 0x0 - Target @@rules_rust~~crate~crates__thrussh-0.2.0//:thrussh failed to build Use --verbose_failures to see the command lines of failed build steps. ERROR: /home/vscode/.cache/bazel/_bazel_vscode/d9fd8dd9485b3d1d1994c3846baefa35/external/rules_rust~~crate~crates__libsodium-sys-0.0.10/BUILD.bazel:18:13 Compiling Rust rlib libsodium_sys v0.0.10 (39 files) failed: (Exit 1): cargo_build_script_runner failed: error executing CargoBuildScriptRun command (from target @@rules_rust~~crate~crates__libsodium-sys-0.0.10//:_bs) bazel-out/k8-opt-exec-ST-ff2b6a5febf8/bin/external/rules_rust~/cargo/cargo_build_script_runner/cargo_build_script_runner ... (remaining 10 arguments skipped) Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging INFO: Elapsed time: 1.395s, Critical Path: 0.73s INFO: 3 processes: 3 internal. ERROR: Build did NOT complete successfully