parallaxsecond / parsec

Platform AbstRaction for SECurity service
https://parsec.community/
Apache License 2.0
472 stars 68 forks source link

Cannot Run e2e tests for pkcs11 provider #774

Closed arv1ndh closed 2 months ago

arv1ndh commented 3 months ago

Getting the following error when running e2e tests,

achandran@devserver24:~/parsec_poc/parsec/e2e_tests$ RUSTFLAGS="--cap-lints allow" cargo test --features pkcs11-provider normal_tests
   Compiling time v0.3.23
   Compiling base64 v0.13.1
   Compiling minimal-lexical v0.2.1
   Compiling futures-task v0.3.28
   Compiling nom v7.1.3
   Compiling bindgen v0.57.0
   Compiling synstructure v0.12.6
   Compiling libz-sys v1.1.12
error[E0282]: type annotations needed for `Box<_>`
  --> /home/achandran/.cargo/registry/src/index.crates.io-6f17d22bba15001f/time-0.3.23/src/format_description/parse/mod.rs:83:9
   |
83 |     let items = format_items
   |         ^^^^^
...
86 |     Ok(items.into())
   |              ---- type must be known at this point
   |
help: consider giving `items` an explicit type, where the placeholders `_` are specified
   |
83 |     let items: Box<_> = format_items
   |              ++++++++

   Compiling futures-channel v0.3.28
   Compiling generic-array v0.14.7
   Compiling cexpr v0.4.0
For more information about this error, try `rustc --explain E0282`.
error: could not compile `time` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...

I believe this is an issue with time crate (0.3.23)

Getting failures when trying to run e2e tests with rust version (1.66.0) and (1.75.0). The errors seem to be with the following package

   Compiling num_cpus v1.16.0
error: failed to run custom build command for `grpcio-sys v0.12.1+1.46.5-patched`
Caused by:
  process didn't exit successfully: `/home/achandran/parsec_poc/parsec/e2e_tests/target/debug/build/grpcio-sys-ed9bb46ec1936132/build-script-build` (exit status: 101)
  --- stdout
  cargo:rerun-if-changed=grpc_wrap.cc
  cargo:rerun-if-changed=grpc
  cargo:rerun-if-env-changed=CARGO_CFG_TARGET_OS
  cargo:rerun-if-env-changed=GRPCIO_SYS_USE_PKG_CONFIG