【问题标题】:Cargo test does not work anymore because of Libsodium failing on: pwhash_argon2i and pwhash_argon2id由于 Libsodium 失败,货物测试不再起作用:pwhash_argon2i 和 pwhash_argon2id
【发布时间】:2020-03-01 19:37:01
【问题描述】:

我刚刚更新了我的近绑定版本,并在尝试使用以下命令运行测试时: cargo test --package my-package

我收到以下由 Libsodium 引起的错误:

make[4]: *** [test-suite.log] Error 1
make[3]: *** [check-TESTS] Error 2
make[2]: *** [check-am] Error 2
make[1]: *** [check-recursive] Error 1
make: *** [check-recursive] Error 1 

在 Libsodium 测试套件摘要中,您会看到以下步骤失败。

FAIL: pwhash_argon2i
FAIL: pwhash_argon2id

这发生在 MacOS Catalina V10.15v10.15.1rustup 1.20.2 上,并且仅在尝试运行 cargo test 命令时发生。部署和构建工作非常好。

更新:看起来像常见问题:

【问题讨论】:

    标签: rust libsodium nearprotocol


    【解决方案1】:

    这是 Xcode 11 中的一个错误:https://github.com/jedisct1/libsodium/issues/881

    但稳定版的 libsodium 自 8 月以来(就在第一个带有该错误的 Xcode 测试版发布之后)有一个解决方法。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-11-14
      • 1970-01-01
      • 2022-06-14
      • 1970-01-01
      • 1970-01-01
      • 2020-01-16
      相关资源
      最近更新 更多