[INFO] cloning repository https://github.com/paril-01/Quantum-Security-Architecture [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/paril-01/Quantum-Security-Architecture" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparil-01%2FQuantum-Security-Architecture", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparil-01%2FQuantum-Security-Architecture'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a9d142d2ff2b22aad741defe4228f0485d6e6976 [INFO] checking paril-01/Quantum-Security-Architecture/a9d142d2ff2b22aad741defe4228f0485d6e6976 against master#ab1d2444533d829e2d5cff6634cd3c70de6d7103 for pr-147841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparil-01%2FQuantum-Security-Architecture" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] [stderr] Updating files: 55% (4016/7247) Updating files: 56% (4059/7247) Updating files: 57% (4131/7247) Updating files: 58% (4204/7247) Updating files: 59% (4276/7247) Updating files: 60% (4349/7247) Updating files: 61% (4421/7247) Updating files: 62% (4494/7247) Updating files: 63% (4566/7247) Updating files: 64% (4639/7247) Updating files: 65% (4711/7247) Updating files: 66% (4784/7247) Updating files: 67% (4856/7247) Updating files: 68% (4928/7247) Updating files: 69% (5001/7247) Updating files: 70% (5073/7247) Updating files: 71% (5146/7247) Updating files: 72% (5218/7247) Updating files: 73% (5291/7247) Updating files: 74% (5363/7247) Updating files: 75% (5436/7247) Updating files: 76% (5508/7247) Updating files: 77% (5581/7247) Updating files: 78% (5653/7247) Updating files: 79% (5726/7247) Updating files: 80% (5798/7247) Updating files: 81% (5871/7247) Updating files: 82% (5943/7247) Updating files: 83% (6016/7247) Updating files: 84% (6088/7247) Updating files: 85% (6160/7247) Updating files: 86% (6233/7247) Updating files: 87% (6305/7247) Updating files: 88% (6378/7247) Updating files: 89% (6450/7247) Updating files: 90% (6523/7247) Updating files: 91% (6595/7247) Updating files: 91% (6610/7247) Updating files: 92% (6668/7247) Updating files: 93% (6740/7247) Updating files: 94% (6813/7247) Updating files: 94% (6833/7247) Updating files: 95% (6885/7247) Updating files: 95% (6939/7247) Updating files: 96% (6958/7247) Updating files: 96% (7013/7247) Updating files: 97% (7030/7247) Updating files: 98% (7103/7247) Updating files: 99% (7175/7247) Updating files: 100% (7247/7247) Updating files: 100% (7247/7247), done. [INFO] started tweaking git repo https://github.com/paril-01/Quantum-Security-Architecture [INFO] finished tweaking git repo https://github.com/paril-01/Quantum-Security-Architecture [INFO] tweaked toml for git repo https://github.com/paril-01/Quantum-Security-Architecture written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/paril-01/Quantum-Security-Architecture on toolchain ab1d2444533d829e2d5cff6634cd3c70de6d7103 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab1d2444533d829e2d5cff6634cd3c70de6d7103" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/paril-01/Quantum-Security-Architecture already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab1d2444533d829e2d5cff6634cd3c70de6d7103" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-3-tc1/source/rust_core/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded webauthn-rs v0.4.8 [INFO] [stderr] Downloaded asn1-rs-derive v0.1.0 [INFO] [stderr] Downloaded asn1-rs v0.3.1 [INFO] [stderr] Downloaded aws-smithy-http v0.60.12 [INFO] [stderr] Downloaded opentelemetry-http v0.9.0 [INFO] [stderr] Downloaded webauthn-rs-proto v0.4.9 [INFO] [stderr] Downloaded aws-http v0.60.6 [INFO] [stderr] Downloaded aws-smithy-eventstream v0.60.10 [INFO] [stderr] Downloaded aws-sigv4 v1.3.3 [INFO] [stderr] Downloaded aws-runtime v1.5.9 [INFO] [stderr] Downloaded aws-smithy-runtime-api v1.8.5 [INFO] [stderr] Downloaded aws-smithy-runtime v1.8.5 [INFO] [stderr] Downloaded opentelemetry_sdk v0.20.0 [INFO] [stderr] Downloaded tracing-opentelemetry v0.20.0 [INFO] [stderr] Downloaded opentelemetry-proto v0.3.0 [INFO] [stderr] Downloaded opentelemetry_api v0.20.0 [INFO] [stderr] Downloaded aws-smithy-http-client v1.0.6 [INFO] [stderr] Downloaded chacha20poly1305 v0.10.1 [INFO] [stderr] Downloaded itertools v0.6.5 [INFO] [stderr] Downloaded compact_jwt v0.2.10 [INFO] [stderr] Downloaded x509-parser v0.13.2 [INFO] [stderr] Downloaded webauthn-rs-core v0.4.9 [INFO] [stderr] Downloaded azure_core v0.19.0 [INFO] [stderr] Downloaded opentelemetry-otlp v0.13.0 [INFO] [stderr] Downloaded der-parser v7.0.0 [INFO] [stderr] Downloaded aws-smithy-http v0.62.2 [INFO] [stderr] Downloaded google-cloud-auth v0.13.2 [INFO] [stderr] Downloaded google-cloud-storage v0.15.0 [INFO] [stderr] Downloaded opentelemetry-semantic-conventions v0.12.0 [INFO] [stderr] Downloaded sgx_tcrypto v1.1.1 [INFO] [stderr] Downloaded sgx_types v1.1.1 [INFO] [stderr] Downloaded redox_syscall v0.5.16 [INFO] [stderr] Downloaded serde_cbor_2 v0.12.0-dev [INFO] [stderr] Downloaded aws-smithy-checksums v0.60.13 [INFO] [stderr] Downloaded aws-credential-types v1.2.4 [INFO] [stderr] Downloaded RustyXML v0.3.0 [INFO] [stderr] Downloaded azure_storage v0.19.0 [INFO] [stderr] Downloaded sp800-185 v0.1.2 [INFO] [stderr] Downloaded kyber v0.1.1+deprecated [INFO] [stderr] Downloaded cstr_core v0.2.6 [INFO] [stderr] Downloaded ordered-float v3.9.2 [INFO] [stderr] Downloaded opentelemetry v0.20.0 [INFO] [stderr] Downloaded oid-registry v0.4.0 [INFO] [stderr] Downloaded google-cloud-metadata v0.4.0 [INFO] [stderr] Downloaded google-cloud-token v0.1.2 [INFO] [stderr] Downloaded oqs v0.9.0 [INFO] [stderr] Downloaded sgx_urts v1.1.1 [INFO] [stderr] Downloaded aws-sdk-s3 v0.39.1 [INFO] [stderr] Downloaded oqs-sys v0.9.1+liboqs-0.9.0 [INFO] [stderr] Downloaded build-deps v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ab1d2444533d829e2d5cff6634cd3c70de6d7103" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 75e810c63c6a080b9b5d7b493ebbec20c8596885ba8d2f396bf79edde24bcfc9 [INFO] running `Command { std: "docker" "start" "-a" "75e810c63c6a080b9b5d7b493ebbec20c8596885ba8d2f396bf79edde24bcfc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75e810c63c6a080b9b5d7b493ebbec20c8596885ba8d2f396bf79edde24bcfc9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75e810c63c6a080b9b5d7b493ebbec20c8596885ba8d2f396bf79edde24bcfc9", kill_on_drop: false }` [INFO] [stdout] 75e810c63c6a080b9b5d7b493ebbec20c8596885ba8d2f396bf79edde24bcfc9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ab1d2444533d829e2d5cff6634cd3c70de6d7103" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 965669138fc6989e390e5de058097fb7dd724d7037317d085dddfa378722170e [INFO] running `Command { std: "docker" "start" "-a" "965669138fc6989e390e5de058097fb7dd724d7037317d085dddfa378722170e", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/rust_core/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Compiling cc v1.2.30 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking socket2 v0.6.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.141 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ahash v0.7.8 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking tokio v1.47.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Checking hmac v0.12.1 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling prettyplease v0.2.36 [INFO] [stderr] Compiling openssl-src v300.5.1+3.5.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking crypto-bigint v0.4.9 [INFO] [stderr] Checking ff v0.12.1 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling libloading v0.8.8 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Checking group v0.12.1 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Compiling bindgen v0.68.1 [INFO] [stderr] Checking elliptic-curve v0.12.3 [INFO] [stderr] Checking rfc6979 v0.3.1 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking opentelemetry_api v0.20.0 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking signature v1.6.4 [INFO] [stderr] Checking crossbeam-channel v0.5.15 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking inout v0.1.4 [INFO] [stderr] Checking ordered-float v3.9.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Checking pin-project v1.1.10 [INFO] [stderr] Checking ecdsa v0.14.8 [INFO] [stderr] Checking cipher v0.4.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling anyhow v1.0.98 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [INFO] [stderr] Checking deranged v0.4.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking uuid v1.17.0 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling asn1-rs-derive v0.1.0 [INFO] [stderr] Compiling build-deps v0.1.4 [INFO] [stderr] Checking universal-hash v0.5.1 [INFO] [stderr] Compiling aws-types v1.3.8 [INFO] [stderr] Compiling oid-registry v0.4.0 [INFO] [stderr] Checking p256 v0.11.1 [INFO] [stderr] Checking tokio-util v0.7.15 [INFO] [stderr] Checking aws-smithy-async v1.2.5 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking base64urlsafedata v0.1.3 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Checking tokio-io-timeout v1.2.1 [INFO] [stderr] Checking time v0.3.41 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking crypto-bigint v0.5.5 [INFO] [stderr] Compiling crc32c v0.6.8 [INFO] [stderr] Checking pem-rfc7468 v0.7.0 [INFO] [stderr] Checking waker-fn v1.2.0 [INFO] [stderr] Compiling http-types v2.12.0 [INFO] [stderr] Checking pem v3.0.5 [INFO] [stderr] Checking futures-lite v1.13.0 [INFO] [stderr] Checking opentelemetry_sdk v0.20.0 [INFO] [stderr] Compiling prost-derive v0.11.9 [INFO] [stderr] Checking der v0.7.10 [INFO] [stderr] Checking async-channel v1.9.0 [INFO] [stderr] Checking h2 v0.3.27 [INFO] [stderr] Checking h2 v0.4.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Checking serde_qs v0.8.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking aws-smithy-types v1.3.2 [INFO] [stderr] Checking asn1-rs v0.3.1 [INFO] [stderr] Checking simple_asn1 v0.6.3 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Checking opentelemetry v0.20.0 [INFO] [stderr] Compiling azure_core v0.19.0 [INFO] [stderr] Checking infer v0.2.3 [INFO] [stderr] Checking dlv-list v0.3.0 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking ordered-multimap v0.4.3 [INFO] [stderr] Checking aws-smithy-runtime-api v1.8.5 [INFO] [stderr] Checking aws-smithy-eventstream v0.60.10 [INFO] [stderr] Checking serde_cbor_2 v0.12.0-dev [INFO] [stderr] Checking prost v0.11.9 [INFO] [stderr] Checking jsonwebtoken v9.3.1 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Checking der-parser v7.0.0 [INFO] [stderr] Checking tiny-keccak v1.5.0 [INFO] [stderr] Checking spki v0.7.3 [INFO] [stderr] Checking webauthn-rs-proto v0.4.9 [INFO] [stderr] Checking polyval v0.6.2 [INFO] [stderr] Checking quick-xml v0.31.0 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking google-cloud-token v0.1.2 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking hyper v0.14.32 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking aead v0.5.2 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking x509-parser v0.13.2 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking aws-smithy-http v0.62.2 [INFO] [stderr] Checking aws-credential-types v1.2.4 [INFO] [stderr] Checking aws-smithy-observability v0.1.3 [INFO] [stderr] Checking aws-smithy-http v0.60.12 [INFO] [stderr] Compiling oqs v0.9.0 [INFO] [stderr] Checking home v0.5.11 [INFO] [stderr] Checking aws-sigv4 v1.3.3 [INFO] [stderr] Checking sgx_types v1.1.1 [INFO] [stderr] Checking dyn-clone v1.0.19 [INFO] [stderr] Checking sp800-185 v0.1.2 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking cstr_core v0.2.6 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking ghash v0.5.1 [INFO] [stderr] Checking pkcs8 v0.10.2 [INFO] [stderr] Checking aws-smithy-checksums v0.60.13 [INFO] [stderr] Checking rust-ini v0.18.0 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking aws-smithy-json v0.60.7 [INFO] [stderr] Checking opentelemetry-semantic-conventions v0.12.0 [INFO] [stderr] Checking poly1305 v0.8.0 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking ron v0.7.1 [INFO] [stderr] Checking chacha20 v0.9.1 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking ctr v0.9.2 [INFO] [stderr] Checking aes v0.8.4 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking tracing-log v0.1.4 [INFO] [stderr] Checking itertools v0.6.5 [INFO] [stderr] Checking RustyXML v0.3.0 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking chacha20poly1305 v0.10.1 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking sgx_tcrypto v1.1.1 [INFO] [stderr] Checking sgx_urts v1.1.1 [INFO] [stderr] Checking memmap2 v0.9.7 [INFO] [stderr] Checking secrecy v0.8.0 [INFO] [stderr] Checking aes-gcm v0.10.3 [INFO] [stderr] Checking tracing-opentelemetry v0.20.0 [INFO] [stderr] Checking kyber v0.1.1+deprecated [INFO] [stderr] Checking config v0.13.4 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking aws-smithy-http-client v1.0.6 [INFO] [stderr] Checking aws-smithy-runtime v1.8.5 [INFO] [stderr] Compiling oqs-sys v0.9.1+liboqs-0.9.0 [INFO] [stderr] Checking aws-runtime v1.5.9 [INFO] [stderr] Checking aws-http v0.60.6 [INFO] [stderr] Checking aws-sdk-s3 v0.39.1 [INFO] [stderr] Checking tonic v0.9.2 [INFO] [stderr] Checking opentelemetry-proto v0.3.0 [INFO] [stderr] Checking compact_jwt v0.2.10 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking webauthn-rs-core v0.4.9 [INFO] [stderr] Checking google-cloud-metadata v0.4.0 [INFO] [stderr] Checking opentelemetry-http v0.9.0 [INFO] [stderr] Checking google-cloud-auth v0.13.2 [INFO] [stderr] Checking opentelemetry-otlp v0.13.0 [INFO] [stderr] Checking azure_storage v0.19.0 [INFO] [stderr] Checking google-cloud-storage v0.15.0 [INFO] [stderr] Checking webauthn-rs v0.4.8 [INFO] [stderr] Checking quantum_security_core v0.1.0 (/opt/rustwide/workdir/rust_core) [INFO] [stdout] error[E0432]: unresolved import `tracing_subscriber::EnvFilter` [INFO] [stdout] --> rust_core/src/telemetry.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use tracing_subscriber::EnvFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `EnvFilter` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-subscriber-0.3.19/src/lib.rs:234:21 [INFO] [stdout] | [INFO] [stdout] 233 | #![all(feature = "env-filter", feature = "std")] [INFO] [stdout] | ---------------------- the item is gated behind the `env-filter` feature [INFO] [stdout] 234 | pub use filter::EnvFilter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tracing_subscriber::EnvFilter` [INFO] [stdout] --> rust_core/src/telemetry.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use tracing_subscriber::EnvFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `EnvFilter` in the root [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-subscriber-0.3.19/src/lib.rs:234:21 [INFO] [stdout] | [INFO] [stdout] 233 | #![all(feature = "env-filter", feature = "std")] [INFO] [stdout] | ---------------------- the item is gated behind the `env-filter` feature [INFO] [stdout] 234 | pub use filter::EnvFilter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `quantum_crypto::KeyPair`, `quantum_crypto::EncryptedData`, `quantum_crypto::Signature` [INFO] [stdout] --> rust_core/src/lib.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 22 | use quantum_crypto::{QuantumCrypto, KeyPair, EncryptedData, Signature}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ no `Signature` in `quantum_crypto` [INFO] [stdout] | | | [INFO] [stdout] | | no `EncryptedData` in `quantum_crypto` [INFO] [stdout] | no `KeyPair` in `quantum_crypto` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] ring::rsa::KeyPair [INFO] [stdout] ring::signature::KeyPair [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] oqs::sig::Signature [INFO] [stdout] ring::signature::Signature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `quantum_crypto::KeyPair`, `quantum_crypto::EncryptedData`, `quantum_crypto::Signature` [INFO] [stdout] --> rust_core/src/lib.rs:22:37 [INFO] [stdout] | [INFO] [stdout] 22 | use quantum_crypto::{QuantumCrypto, KeyPair, EncryptedData, Signature}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^ no `Signature` in `quantum_crypto` [INFO] [stdout] | | | [INFO] [stdout] | | no `EncryptedData` in `quantum_crypto` [INFO] [stdout] | no `KeyPair` in `quantum_crypto` [INFO] [stdout] | [INFO] [stdout] = help: consider importing one of these items instead: [INFO] [stdout] ring::rsa::KeyPair [INFO] [stdout] ring::signature::KeyPair [INFO] [stdout] = help: consider importing one of these structs instead: [INFO] [stdout] oqs::sig::Signature [INFO] [stdout] ring::signature::Signature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `fido2_auth::Fido2Manager`, `fido2_auth::RegistrationResult` [INFO] [stdout] --> rust_core/src/lib.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | use fido2_auth::{Fido2Manager, AuthenticationResult, RegistrationResult}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `RegistrationResult` in `fido2_auth` [INFO] [stdout] | | [INFO] [stdout] | no `Fido2Manager` in `fido2_auth` [INFO] [stdout] | help: a similar name exists in the module: `Fido2AuthManager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `fido2_auth::Fido2Manager`, `fido2_auth::RegistrationResult` [INFO] [stdout] --> rust_core/src/lib.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | use fido2_auth::{Fido2Manager, AuthenticationResult, RegistrationResult}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ no `RegistrationResult` in `fido2_auth` [INFO] [stdout] | | [INFO] [stdout] | no `Fido2Manager` in `fido2_auth` [INFO] [stdout] | help: a similar name exists in the module: `Fido2AuthManager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Zeroize` in this scope [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:44:48 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, Clone, Serialize, Deserialize, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Zeroize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | use zeroize::{Zeroize, ZeroizeOnDrop}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Zeroize` in this scope [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:44:48 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, Clone, Serialize, Deserialize, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Zeroize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | use zeroize::{Zeroize, ZeroizeOnDrop}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ZeroizeOnDrop` in this scope [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:44:57 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, Clone, Serialize, Deserialize, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ZeroizeOnDrop` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | use zeroize::{Zeroize, ZeroizeOnDrop}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ZeroizeOnDrop` in this scope [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:44:57 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(Debug, Clone, Serialize, Deserialize, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ZeroizeOnDrop` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | use zeroize::{Zeroize, ZeroizeOnDrop}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Zeroize` in this scope [INFO] [stdout] --> rust_core/src/hardware_security.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug, Clone, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Zeroize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> rust_core/src/hardware_security.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | use zeroize::{Zeroize, ZeroizeOnDrop}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Zeroize` in this scope [INFO] [stdout] --> rust_core/src/hardware_security.rs:37:24 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug, Clone, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Zeroize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> rust_core/src/hardware_security.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | use zeroize::{Zeroize, ZeroizeOnDrop}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ZeroizeOnDrop` in this scope [INFO] [stdout] --> rust_core/src/hardware_security.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug, Clone, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ZeroizeOnDrop` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> rust_core/src/hardware_security.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | use zeroize::{Zeroize, ZeroizeOnDrop}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ZeroizeOnDrop` in this scope [INFO] [stdout] --> rust_core/src/hardware_security.rs:37:33 [INFO] [stdout] | [INFO] [stdout] 37 | #[derive(Debug, Clone, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ZeroizeOnDrop` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> rust_core/src/hardware_security.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | use zeroize::{Zeroize, ZeroizeOnDrop}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Zeroize` in this scope [INFO] [stdout] --> rust_core/src/fido2_auth.rs:49:48 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug, Clone, Serialize, Deserialize, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Zeroize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> rust_core/src/fido2_auth.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | use zeroize::{Zeroize, ZeroizeOnDrop}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Zeroize` in this scope [INFO] [stdout] --> rust_core/src/fido2_auth.rs:49:48 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug, Clone, Serialize, Deserialize, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Zeroize` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> rust_core/src/fido2_auth.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | use zeroize::{Zeroize, ZeroizeOnDrop}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ZeroizeOnDrop` in this scope [INFO] [stdout] --> rust_core/src/fido2_auth.rs:49:57 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug, Clone, Serialize, Deserialize, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ZeroizeOnDrop` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> rust_core/src/fido2_auth.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | use zeroize::{Zeroize, ZeroizeOnDrop}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `ZeroizeOnDrop` in this scope [INFO] [stdout] --> rust_core/src/fido2_auth.rs:49:57 [INFO] [stdout] | [INFO] [stdout] 49 | #[derive(Debug, Clone, Serialize, Deserialize, Zeroize, ZeroizeOnDrop)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `ZeroizeOnDrop` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> rust_core/src/fido2_auth.rs:15:24 [INFO] [stdout] | [INFO] [stdout] 15 | use zeroize::{Zeroize, ZeroizeOnDrop}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct import `AuthenticationResult` is private [INFO] [stdout] --> rust_core/src/lib.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | use fido2_auth::{Fido2Manager, AuthenticationResult, RegistrationResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ private struct import [INFO] [stdout] | [INFO] [stdout] note: the struct import `AuthenticationResult` is defined here... [INFO] [stdout] --> rust_core/src/fido2_auth.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use webauthn_rs::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...and refers to the struct `AuthenticationResult` which is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/webauthn-rs-0.4.8/src/lib.rs:152:30 [INFO] [stdout] | [INFO] [stdout] 152 | AttestationMetadata, AuthenticationResult, AuthenticationState, CreationChallengeResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ you could import this directly [INFO] [stdout] help: import `AuthenticationResult` through the re-export [INFO] [stdout] | [INFO] [stdout] 24 | use fido2_auth::{Fido2Manager, prelude::AuthenticationResult, RegistrationResult}; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct import `AuthenticationResult` is private [INFO] [stdout] --> rust_core/src/lib.rs:24:32 [INFO] [stdout] | [INFO] [stdout] 24 | use fido2_auth::{Fido2Manager, AuthenticationResult, RegistrationResult}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ private struct import [INFO] [stdout] | [INFO] [stdout] note: the struct import `AuthenticationResult` is defined here... [INFO] [stdout] --> rust_core/src/fido2_auth.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use webauthn_rs::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: ...and refers to the struct `AuthenticationResult` which is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/webauthn-rs-0.4.8/src/lib.rs:152:30 [INFO] [stdout] | [INFO] [stdout] 152 | AttestationMetadata, AuthenticationResult, AuthenticationState, CreationChallengeResponse, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ you could import this directly [INFO] [stdout] help: import `AuthenticationResult` through the re-export [INFO] [stdout] | [INFO] [stdout] 24 | use fido2_auth::{Fido2Manager, prelude::AuthenticationResult, RegistrationResult}; [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UNIX_EPOCH` [INFO] [stdout] --> rust_core/src/lib.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::{Duration, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UNIX_EPOCH` [INFO] [stdout] --> rust_core/src/lib.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::{Duration, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> rust_core/src/hardware_security.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> rust_core/src/hardware_security.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `_xgetbv` [INFO] [stdout] --> rust_core/src/hardware_security.rs:280:46 [INFO] [stdout] | [INFO] [stdout] 280 | use std::arch::x86_64::{__cpuid, _xgetbv}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `_xgetbv` [INFO] [stdout] --> rust_core/src/hardware_security.rs:280:46 [INFO] [stdout] | [INFO] [stdout] 280 | use std::arch::x86_64::{__cpuid, _xgetbv}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Engine as _` and `engine::general_purpose` [INFO] [stdout] --> rust_core/src/fido2_auth.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use base64::{engine::general_purpose, Engine as _}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Engine as _` and `engine::general_purpose` [INFO] [stdout] --> rust_core/src/fido2_auth.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use base64::{engine::general_purpose, Engine as _}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UNIX_EPOCH` [INFO] [stdout] --> rust_core/src/fido2_auth.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::{Duration, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UNIX_EPOCH` [INFO] [stdout] --> rust_core/src/fido2_auth.rs:10:39 [INFO] [stdout] | [INFO] [stdout] 10 | use std::time::{Duration, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::sleep` [INFO] [stdout] --> rust_core/src/fido2_auth.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio::time::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::time::sleep` [INFO] [stdout] --> rust_core/src/fido2_auth.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tokio::time::sleep; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> rust_core/src/fido2_auth.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use tracing::{error, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> rust_core/src/fido2_auth.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use tracing::{error, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> rust_core/src/telemetry.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | use opentelemetry::sdk::trace::{self, RandomIdGenerator, Sampler}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> rust_core/src/telemetry.rs:7:33 [INFO] [stdout] | [INFO] [stdout] 7 | use opentelemetry::sdk::trace::{self, RandomIdGenerator, Sampler}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rust_core/src/hardware_security.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 102 | let enclave = SgxEnclave::create( [INFO] [stdout] | ------------------ arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 107 | &mut 0, [INFO] [stdout] | ^^^^^^ expected `&mut sgx_misc_attribute_t`, found `&mut {integer}` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut sgx_misc_attribute_t` [INFO] [stdout] found mutable reference `&mut {integer}` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sgx_urts-1.1.1/src/enclave.rs:548:12 [INFO] [stdout] | [INFO] [stdout] 548 | pub fn create>(file_name: P, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rust_core/src/hardware_security.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 102 | let enclave = SgxEnclave::create( [INFO] [stdout] | ------------------ arguments to this function are incorrect [INFO] [stdout] ... [INFO] [stdout] 107 | &mut 0, [INFO] [stdout] | ^^^^^^ expected `&mut sgx_misc_attribute_t`, found `&mut {integer}` [INFO] [stdout] | [INFO] [stdout] = note: expected mutable reference `&mut sgx_misc_attribute_t` [INFO] [stdout] found mutable reference `&mut {integer}` [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sgx_urts-1.1.1/src/enclave.rs:548:12 [INFO] [stdout] | [INFO] [stdout] 548 | pub fn create>(file_name: P, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `F` may not live long enough [INFO] [stdout] --> rust_core/src/hardware_security.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | let result = tokio::task::spawn_blocking(operation) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `F` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `F` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 160 | F: FnOnce() -> Result + Send + 'static, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `F` may not live long enough [INFO] [stdout] --> rust_core/src/hardware_security.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | let result = tokio::task::spawn_blocking(operation) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `F` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `F` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 160 | F: FnOnce() -> Result + Send + 'static, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `F` may not live long enough [INFO] [stdout] --> rust_core/src/hardware_security.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 158 | pub async fn execute_trusted(&self, operation: F) -> Result [INFO] [stdout] | ----- the parameter type `F` must be valid for the anonymous lifetime defined here... [INFO] [stdout] ... [INFO] [stdout] 174 | let result = tokio::task::spawn_blocking(operation) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `F` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 158 ~ pub async fn execute_trusted<'a, T, F>(&'a self, operation: F) -> Result [INFO] [stdout] 159 | where [INFO] [stdout] 160 ~ F: FnOnce() -> Result + Send + 'a, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `F` may not live long enough [INFO] [stdout] --> rust_core/src/hardware_security.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 158 | pub async fn execute_trusted(&self, operation: F) -> Result [INFO] [stdout] | ----- the parameter type `F` must be valid for the anonymous lifetime defined here... [INFO] [stdout] ... [INFO] [stdout] 174 | let result = tokio::task::spawn_blocking(operation) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `F` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 158 ~ pub async fn execute_trusted<'a, T, F>(&'a self, operation: F) -> Result [INFO] [stdout] 159 | where [INFO] [stdout] 160 ~ F: FnOnce() -> Result + Send + 'a, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> rust_core/src/hardware_security.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | let result = tokio::task::spawn_blocking(operation) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 161 | T: Send + 'static, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> rust_core/src/hardware_security.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | let result = tokio::task::spawn_blocking(operation) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 161 | T: Send + 'static, [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `T` may not live long enough [INFO] [stdout] --> rust_core/src/hardware_security.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 158 | pub async fn execute_trusted(&self, operation: F) -> Result [INFO] [stdout] | ----- the parameter type `T` must be valid for the anonymous lifetime defined here... [INFO] [stdout] ... [INFO] [stdout] 174 | let result = tokio::task::spawn_blocking(operation) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 158 ~ pub async fn execute_trusted<'a, T, F>(&'a self, operation: F) -> Result [INFO] [stdout] 159 | where [INFO] [stdout] 160 | F: FnOnce() -> Result + Send, [INFO] [stdout] 161 ~ T: Send + 'a, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0311]: the parameter type `T` may not live long enough [INFO] [stdout] --> rust_core/src/hardware_security.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 158 | pub async fn execute_trusted(&self, operation: F) -> Result [INFO] [stdout] | ----- the parameter type `T` must be valid for the anonymous lifetime defined here... [INFO] [stdout] ... [INFO] [stdout] 174 | let result = tokio::task::spawn_blocking(operation) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...so that the type `T` will meet its required lifetime bounds [INFO] [stdout] | [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 158 ~ pub async fn execute_trusted<'a, T, F>(&'a self, operation: F) -> Result [INFO] [stdout] 159 | where [INFO] [stdout] 160 | F: FnOnce() -> Result + Send, [INFO] [stdout] 161 ~ T: Send + 'a, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rust_core/src/fido2_auth.rs:202:43 [INFO] [stdout] | [INFO] [stdout] 202 | .start_passkey_authentication(&cred_ids) [INFO] [stdout] | ---------------------------- ^^^^^^^^^ expected `&[Passkey]`, found `&Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Passkey]` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/webauthn-rs-0.4.8/src/lib.rs:491:12 [INFO] [stdout] | [INFO] [stdout] 491 | pub fn start_passkey_authentication( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `last_used` on type `&mut AuthSession` [INFO] [stdout] --> rust_core/src/fido2_auth.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | session.last_used = Some(SystemTime::now()); [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `session_id`, `user_id`, `fido2_completed`, `key_shares_completed`, `quantum_signature_verified` ... and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rust_core/src/fido2_auth.rs:202:43 [INFO] [stdout] | [INFO] [stdout] 202 | .start_passkey_authentication(&cred_ids) [INFO] [stdout] | ---------------------------- ^^^^^^^^^ expected `&[Passkey]`, found `&Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Passkey]` [INFO] [stdout] found reference `&Vec` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/webauthn-rs-0.4.8/src/lib.rs:491:12 [INFO] [stdout] | [INFO] [stdout] 491 | pub fn start_passkey_authentication( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `last_used` on type `&mut AuthSession` [INFO] [stdout] --> rust_core/src/fido2_auth.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | session.last_used = Some(SystemTime::now()); [INFO] [stdout] | ^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `session_id`, `user_id`, `fido2_completed`, `key_shares_completed`, `quantum_signature_verified` ... and 2 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable [INFO] [stdout] --> rust_core/src/fido2_auth.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 272 | let challenge = self [INFO] [stdout] | _________________________- [INFO] [stdout] 273 | | .active_challenges [INFO] [stdout] | |______________________________- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 283 | if !self.validate_key_share(&key_share) { [INFO] [stdout] | ^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 288 | challenge.collected_shares.push(key_share); [INFO] [stdout] | -------------------------- mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `*self` as immutable because it is also borrowed as mutable [INFO] [stdout] --> rust_core/src/fido2_auth.rs:283:13 [INFO] [stdout] | [INFO] [stdout] 272 | let challenge = self [INFO] [stdout] | _________________________- [INFO] [stdout] 273 | | .active_challenges [INFO] [stdout] | |______________________________- mutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 283 | if !self.validate_key_share(&key_share) { [INFO] [stdout] | ^^^^ immutable borrow occurs here [INFO] [stdout] ... [INFO] [stdout] 288 | challenge.collected_shares.push(key_share); [INFO] [stdout] | -------------------------- mutable borrow later used here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `BoxedTracer: PreSampledTracer` is not satisfied [INFO] [stdout] --> rust_core/src/telemetry.rs:120:51 [INFO] [stdout] | [INFO] [stdout] 120 | let telemetry_layer = OpenTelemetryLayer::new(tracer); [INFO] [stdout] | ----------------------- ^^^^^^ the trait `PreSampledTracer` is not implemented for `BoxedTracer` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `PreSampledTracer`: [INFO] [stdout] NoopTracer [INFO] [stdout] opentelemetry::sdk::trace::Tracer [INFO] [stdout] note: required by a bound in `OpenTelemetryLayer::::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-opentelemetry-0.20.0/src/layer.rs:397:23 [INFO] [stdout] | [INFO] [stdout] 397 | T: otel::Tracer + PreSampledTracer + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `OpenTelemetryLayer::::new` [INFO] [stdout] ... [INFO] [stdout] 426 | pub fn new(tracer: T) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `BoxedTracer: PreSampledTracer` is not satisfied [INFO] [stdout] --> rust_core/src/telemetry.rs:120:51 [INFO] [stdout] | [INFO] [stdout] 120 | let telemetry_layer = OpenTelemetryLayer::new(tracer); [INFO] [stdout] | ----------------------- ^^^^^^ the trait `PreSampledTracer` is not implemented for `BoxedTracer` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `PreSampledTracer`: [INFO] [stdout] NoopTracer [INFO] [stdout] opentelemetry::sdk::trace::Tracer [INFO] [stdout] note: required by a bound in `OpenTelemetryLayer::::new` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tracing-opentelemetry-0.20.0/src/layer.rs:397:23 [INFO] [stdout] | [INFO] [stdout] 397 | T: otel::Tracer + PreSampledTracer + 'static, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ required by this bound in `OpenTelemetryLayer::::new` [INFO] [stdout] ... [INFO] [stdout] 426 | pub fn new(tracer: T) -> Self { [INFO] [stdout] | --- required by a bound in this associated function [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> rust_core/src/lib.rs:149:60 [INFO] [stdout] | [INFO] [stdout] 149 | let quantum_crypto = Arc::new(QuantumCrypto::new().await?); [INFO] [stdout] | -------------------- ^^^^^ `Result` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 149 - let quantum_crypto = Arc::new(QuantumCrypto::new().await?); [INFO] [stdout] 149 + let quantum_crypto = Arc::new(QuantumCrypto::new()?); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `hardware_security::EnclaveConfig` has no field named `enclave_path` [INFO] [stdout] --> rust_core/src/lib.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | enclave_path: "quantum_enclave.signed.so".to_string(), [INFO] [stdout] | ^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 154 - enclave_path: "quantum_enclave.signed.so".to_string(), [INFO] [stdout] 154 + enclave_file: "quantum_enclave.signed.so".to_string(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> rust_core/src/lib.rs:149:60 [INFO] [stdout] | [INFO] [stdout] 149 | let quantum_crypto = Arc::new(QuantumCrypto::new().await?); [INFO] [stdout] | -------------------- ^^^^^ `Result` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 149 - let quantum_crypto = Arc::new(QuantumCrypto::new().await?); [INFO] [stdout] 149 + let quantum_crypto = Arc::new(QuantumCrypto::new()?); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `EnclaveConfig` has no field named `enclave_path` [INFO] [stdout] --> rust_core/src/lib.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | enclave_path: "quantum_enclave.signed.so".to_string(), [INFO] [stdout] | ^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] help: a field with a similar name exists [INFO] [stdout] | [INFO] [stdout] 154 - enclave_path: "quantum_enclave.signed.so".to_string(), [INFO] [stdout] 154 + enclave_file: "quantum_enclave.signed.so".to_string(), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `hardware_security::EnclaveConfig` has no field named `production_mode` [INFO] [stdout] --> rust_core/src/lib.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | production_mode: true, [INFO] [stdout] | ^^^^^^^^^^^^^^^ `hardware_security::EnclaveConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `enclave_file`, `attestation_required` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `hardware_security::KillSwitchConfig` has no field named `ram_wipe_enabled` [INFO] [stdout] --> rust_core/src/lib.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | ram_wipe_enabled: true, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `hardware_security::KillSwitchConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `ram_wipe_timeout_ms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `EnclaveConfig` has no field named `production_mode` [INFO] [stdout] --> rust_core/src/lib.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | production_mode: true, [INFO] [stdout] | ^^^^^^^^^^^^^^^ `EnclaveConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `enclave_file`, `attestation_required` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `KillSwitchConfig` has no field named `ram_wipe_enabled` [INFO] [stdout] --> rust_core/src/lib.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | ram_wipe_enabled: true, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `KillSwitchConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `ram_wipe_timeout_ms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rust_core/src/lib.rs:165:37 [INFO] [stdout] | [INFO] [stdout] 165 | auto_trigger_threshold: 0.9, [INFO] [stdout] | ^^^ expected `u32`, found floating-point number [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `hardware_security::KillSwitchConfig` has no field named `manual_trigger_key` [INFO] [stdout] --> rust_core/src/lib.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | manual_trigger_key: "EMERGENCY_KILL_SWITCH".to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `hardware_security::KillSwitchConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `ram_wipe_timeout_ms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rust_core/src/lib.rs:165:37 [INFO] [stdout] | [INFO] [stdout] 165 | auto_trigger_threshold: 0.9, [INFO] [stdout] | ^^^ expected `u32`, found floating-point number [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0560]: struct `KillSwitchConfig` has no field named `manual_trigger_key` [INFO] [stdout] --> rust_core/src/lib.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | manual_trigger_key: "EMERGENCY_KILL_SWITCH".to_string(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ `KillSwitchConfig` does not have this field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `ram_wipe_timeout_ms` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> rust_core/src/lib.rs:170:78 [INFO] [stdout] | [INFO] [stdout] 170 | HardwareSecurityManager::new(enclave_config, kill_switch_config).await? [INFO] [stdout] | ---------------------------------------------------------------- ^^^^^ `Result` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 170 - HardwareSecurityManager::new(enclave_config, kill_switch_config).await? [INFO] [stdout] 170 + HardwareSecurityManager::new(enclave_config, kill_switch_config)? [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> rust_core/src/lib.rs:170:78 [INFO] [stdout] | [INFO] [stdout] 170 | HardwareSecurityManager::new(enclave_config, kill_switch_config).await? [INFO] [stdout] | ---------------------------------------------------------------- ^^^^^ `Result` is not a future [INFO] [stdout] | | [INFO] [stdout] | this call returns `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 170 - HardwareSecurityManager::new(enclave_config, kill_switch_config).await? [INFO] [stdout] 170 + HardwareSecurityManager::new(enclave_config, kill_switch_config)? [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `generate_keypair` found for struct `Arc` in the current scope [INFO] [stdout] --> rust_core/src/lib.rs:195:33 [INFO] [stdout] | [INFO] [stdout] 195 | self.quantum_crypto.generate_keypair() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `generate_key_shares` with a similar name, but with different arguments [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn generate_key_shares(&mut self, master_key: &[u8]) -> Result, QuantumCryptoError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `generate_keypair` found for struct `Arc` in the current scope [INFO] [stdout] --> rust_core/src/lib.rs:195:33 [INFO] [stdout] | [INFO] [stdout] 195 | self.quantum_crypto.generate_keypair() [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `generate_key_shares` with a similar name, but with different arguments [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn generate_key_shares(&mut self, master_key: &[u8]) -> Result, QuantumCryptoError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> rust_core/src/lib.rs:235:33 [INFO] [stdout] | [INFO] [stdout] 235 | self.quantum_crypto.encrypt(data, public_key) [INFO] [stdout] | ^^^^^^^ ---------- unexpected argument #2 of type `&[u8]` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn encrypt(&self, plaintext: &[u8]) -> Result, QuantumCryptoError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 235 - self.quantum_crypto.encrypt(data, public_key) [INFO] [stdout] 235 + self.quantum_crypto.encrypt(data) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result, QuantumCryptoError>` is not a future [INFO] [stdout] --> rust_core/src/lib.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 233 | let result = timeout( [INFO] [stdout] | ------- required by a bound introduced by this call [INFO] [stdout] 234 | Duration::from_millis(50), // 50ms timeout for encryption [INFO] [stdout] 235 | self.quantum_crypto.encrypt(data, public_key) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Result, QuantumCryptoError>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, QuantumCryptoError>` [INFO] [stdout] = note: Result, QuantumCryptoError> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result, QuantumCryptoError>` to implement `IntoFuture` [INFO] [stdout] note: required by a bound in `timeout` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/time/timeout.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn timeout(duration: Duration, future: F) -> Timeout [INFO] [stdout] | ------- required by a bound in this function [INFO] [stdout] 87 | where [INFO] [stdout] 88 | F: IntoFuture, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> rust_core/src/lib.rs:235:33 [INFO] [stdout] | [INFO] [stdout] 235 | self.quantum_crypto.encrypt(data, public_key) [INFO] [stdout] | ^^^^^^^ ---------- unexpected argument #2 of type `&[u8]` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn encrypt(&self, plaintext: &[u8]) -> Result, QuantumCryptoError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 235 - self.quantum_crypto.encrypt(data, public_key) [INFO] [stdout] 235 + self.quantum_crypto.encrypt(data) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result, QuantumCryptoError>` is not a future [INFO] [stdout] --> rust_core/src/lib.rs:236:11 [INFO] [stdout] | [INFO] [stdout] 233 | let result = timeout( [INFO] [stdout] | ______________________- [INFO] [stdout] 234 | | Duration::from_millis(50), // 50ms timeout for encryption [INFO] [stdout] 235 | | self.quantum_crypto.encrypt(data, public_key) [INFO] [stdout] 236 | | ).await; [INFO] [stdout] | | - ^^^^^ `Result, QuantumCryptoError>` is not a future [INFO] [stdout] | |_________| [INFO] [stdout] | this call returns `Result, QuantumCryptoError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, QuantumCryptoError>` [INFO] [stdout] = note: required for `tokio::time::Timeout, QuantumCryptoError>>` to implement `futures::Future` [INFO] [stdout] = note: required for `tokio::time::Timeout, QuantumCryptoError>>` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 236 - ).await; [INFO] [stdout] 236 + ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result, QuantumCryptoError>` is not a future [INFO] [stdout] --> rust_core/src/lib.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 233 | let result = timeout( [INFO] [stdout] | ------- required by a bound introduced by this call [INFO] [stdout] 234 | Duration::from_millis(50), // 50ms timeout for encryption [INFO] [stdout] 235 | self.quantum_crypto.encrypt(data, public_key) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Result, QuantumCryptoError>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, QuantumCryptoError>` [INFO] [stdout] = note: Result, QuantumCryptoError> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result, QuantumCryptoError>` to implement `IntoFuture` [INFO] [stdout] note: required by a bound in `timeout` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/time/timeout.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn timeout(duration: Duration, future: F) -> Timeout [INFO] [stdout] | ------- required by a bound in this function [INFO] [stdout] 87 | where [INFO] [stdout] 88 | F: IntoFuture, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result, QuantumCryptoError>` is not a future [INFO] [stdout] --> rust_core/src/lib.rs:233:22 [INFO] [stdout] | [INFO] [stdout] 233 | let result = timeout( [INFO] [stdout] | ______________________^ [INFO] [stdout] 234 | | Duration::from_millis(50), // 50ms timeout for encryption [INFO] [stdout] 235 | | self.quantum_crypto.encrypt(data, public_key) [INFO] [stdout] 236 | | ).await; [INFO] [stdout] | |_________^ `Result, QuantumCryptoError>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, QuantumCryptoError>` [INFO] [stdout] = note: required for `Result, QuantumCryptoError>` to implement `IntoFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result, QuantumCryptoError>` is not a future [INFO] [stdout] --> rust_core/src/lib.rs:236:11 [INFO] [stdout] | [INFO] [stdout] 233 | let result = timeout( [INFO] [stdout] | ______________________- [INFO] [stdout] 234 | | Duration::from_millis(50), // 50ms timeout for encryption [INFO] [stdout] 235 | | self.quantum_crypto.encrypt(data, public_key) [INFO] [stdout] 236 | | ).await; [INFO] [stdout] | | - ^^^^^ `Result, QuantumCryptoError>` is not a future [INFO] [stdout] | |_________| [INFO] [stdout] | this call returns `Result, QuantumCryptoError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, QuantumCryptoError>` [INFO] [stdout] = note: required for `tokio::time::Timeout, QuantumCryptoError>>` to implement `futures::Future` [INFO] [stdout] = note: required for `tokio::time::Timeout, QuantumCryptoError>>` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 236 - ).await; [INFO] [stdout] 236 + ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result, QuantumCryptoError>` is not a future [INFO] [stdout] --> rust_core/src/lib.rs:233:22 [INFO] [stdout] | [INFO] [stdout] 233 | let result = timeout( [INFO] [stdout] | ______________________^ [INFO] [stdout] 234 | | Duration::from_millis(50), // 50ms timeout for encryption [INFO] [stdout] 235 | | self.quantum_crypto.encrypt(data, public_key) [INFO] [stdout] 236 | | ).await; [INFO] [stdout] | |_________^ `Result, QuantumCryptoError>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, QuantumCryptoError>` [INFO] [stdout] = note: required for `Result, QuantumCryptoError>` to implement `IntoFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> rust_core/src/lib.rs:284:33 [INFO] [stdout] | [INFO] [stdout] 284 | self.quantum_crypto.decrypt(encrypted_data, private_key) [INFO] [stdout] | ^^^^^^^ -------------- unexpected argument #1 [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn decrypt(&self, ciphertext: &[u8]) -> Result, QuantumCryptoError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 284 - self.quantum_crypto.decrypt(encrypted_data, private_key) [INFO] [stdout] 284 + self.quantum_crypto.decrypt(private_key) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result, QuantumCryptoError>` is not a future [INFO] [stdout] --> rust_core/src/lib.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 282 | let result = timeout( [INFO] [stdout] | ------- required by a bound introduced by this call [INFO] [stdout] 283 | Duration::from_millis(50), // 50ms timeout for decryption [INFO] [stdout] 284 | self.quantum_crypto.decrypt(encrypted_data, private_key) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Result, QuantumCryptoError>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, QuantumCryptoError>` [INFO] [stdout] = note: Result, QuantumCryptoError> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result, QuantumCryptoError>` to implement `IntoFuture` [INFO] [stdout] note: required by a bound in `timeout` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/time/timeout.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn timeout(duration: Duration, future: F) -> Timeout [INFO] [stdout] | ------- required by a bound in this function [INFO] [stdout] 87 | where [INFO] [stdout] 88 | F: IntoFuture, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result, QuantumCryptoError>` is not a future [INFO] [stdout] --> rust_core/src/lib.rs:285:11 [INFO] [stdout] | [INFO] [stdout] 282 | let result = timeout( [INFO] [stdout] | ______________________- [INFO] [stdout] 283 | | Duration::from_millis(50), // 50ms timeout for decryption [INFO] [stdout] 284 | | self.quantum_crypto.decrypt(encrypted_data, private_key) [INFO] [stdout] 285 | | ).await; [INFO] [stdout] | | - ^^^^^ `Result, QuantumCryptoError>` is not a future [INFO] [stdout] | |_________| [INFO] [stdout] | this call returns `Result, QuantumCryptoError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, QuantumCryptoError>` [INFO] [stdout] = note: required for `tokio::time::Timeout, QuantumCryptoError>>` to implement `futures::Future` [INFO] [stdout] = note: required for `tokio::time::Timeout, QuantumCryptoError>>` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 285 - ).await; [INFO] [stdout] 285 + ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> rust_core/src/lib.rs:284:33 [INFO] [stdout] | [INFO] [stdout] 284 | self.quantum_crypto.decrypt(encrypted_data, private_key) [INFO] [stdout] | ^^^^^^^ -------------- unexpected argument #1 [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:197:12 [INFO] [stdout] | [INFO] [stdout] 197 | pub fn decrypt(&self, ciphertext: &[u8]) -> Result, QuantumCryptoError> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 284 - self.quantum_crypto.decrypt(encrypted_data, private_key) [INFO] [stdout] 284 + self.quantum_crypto.decrypt(private_key) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result, QuantumCryptoError>` is not a future [INFO] [stdout] --> rust_core/src/lib.rs:284:13 [INFO] [stdout] | [INFO] [stdout] 282 | let result = timeout( [INFO] [stdout] | ------- required by a bound introduced by this call [INFO] [stdout] 283 | Duration::from_millis(50), // 50ms timeout for decryption [INFO] [stdout] 284 | self.quantum_crypto.decrypt(encrypted_data, private_key) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Result, QuantumCryptoError>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, QuantumCryptoError>` [INFO] [stdout] = note: Result, QuantumCryptoError> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result, QuantumCryptoError>` to implement `IntoFuture` [INFO] [stdout] note: required by a bound in `timeout` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/time/timeout.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn timeout(duration: Duration, future: F) -> Timeout [INFO] [stdout] | ------- required by a bound in this function [INFO] [stdout] 87 | where [INFO] [stdout] 88 | F: IntoFuture, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result, QuantumCryptoError>` is not a future [INFO] [stdout] --> rust_core/src/lib.rs:282:22 [INFO] [stdout] | [INFO] [stdout] 282 | let result = timeout( [INFO] [stdout] | ______________________^ [INFO] [stdout] 283 | | Duration::from_millis(50), // 50ms timeout for decryption [INFO] [stdout] 284 | | self.quantum_crypto.decrypt(encrypted_data, private_key) [INFO] [stdout] 285 | | ).await; [INFO] [stdout] | |_________^ `Result, QuantumCryptoError>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, QuantumCryptoError>` [INFO] [stdout] = note: required for `Result, QuantumCryptoError>` to implement `IntoFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result, QuantumCryptoError>` is not a future [INFO] [stdout] --> rust_core/src/lib.rs:285:11 [INFO] [stdout] | [INFO] [stdout] 282 | let result = timeout( [INFO] [stdout] | ______________________- [INFO] [stdout] 283 | | Duration::from_millis(50), // 50ms timeout for decryption [INFO] [stdout] 284 | | self.quantum_crypto.decrypt(encrypted_data, private_key) [INFO] [stdout] 285 | | ).await; [INFO] [stdout] | | - ^^^^^ `Result, QuantumCryptoError>` is not a future [INFO] [stdout] | |_________| [INFO] [stdout] | this call returns `Result, QuantumCryptoError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, QuantumCryptoError>` [INFO] [stdout] = note: required for `tokio::time::Timeout, QuantumCryptoError>>` to implement `futures::Future` [INFO] [stdout] = note: required for `tokio::time::Timeout, QuantumCryptoError>>` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 285 - ).await; [INFO] [stdout] 285 + ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result, QuantumCryptoError>` is not a future [INFO] [stdout] --> rust_core/src/lib.rs:282:22 [INFO] [stdout] | [INFO] [stdout] 282 | let result = timeout( [INFO] [stdout] | ______________________^ [INFO] [stdout] 283 | | Duration::from_millis(50), // 50ms timeout for decryption [INFO] [stdout] 284 | | self.quantum_crypto.decrypt(encrypted_data, private_key) [INFO] [stdout] 285 | | ).await; [INFO] [stdout] | |_________^ `Result, QuantumCryptoError>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, QuantumCryptoError>` [INFO] [stdout] = note: required for `Result, QuantumCryptoError>` to implement `IntoFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> rust_core/src/lib.rs:331:33 [INFO] [stdout] | [INFO] [stdout] 331 | self.quantum_crypto.sign(data, private_key) [INFO] [stdout] | ^^^^ ----------- unexpected argument #2 of type `&[u8]` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn sign(&self, message: &[u8]) -> Result, QuantumCryptoError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 331 - self.quantum_crypto.sign(data, private_key) [INFO] [stdout] 331 + self.quantum_crypto.sign(data) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result, QuantumCryptoError>` is not a future [INFO] [stdout] --> rust_core/src/lib.rs:331:13 [INFO] [stdout] | [INFO] [stdout] 329 | let result = timeout( [INFO] [stdout] | ------- required by a bound introduced by this call [INFO] [stdout] 330 | Duration::from_millis(30), // 30ms timeout for signing [INFO] [stdout] 331 | self.quantum_crypto.sign(data, private_key) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Result, QuantumCryptoError>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, QuantumCryptoError>` [INFO] [stdout] = note: Result, QuantumCryptoError> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result, QuantumCryptoError>` to implement `IntoFuture` [INFO] [stdout] note: required by a bound in `timeout` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/time/timeout.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn timeout(duration: Duration, future: F) -> Timeout [INFO] [stdout] | ------- required by a bound in this function [INFO] [stdout] 87 | where [INFO] [stdout] 88 | F: IntoFuture, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result, QuantumCryptoError>` is not a future [INFO] [stdout] --> rust_core/src/lib.rs:332:11 [INFO] [stdout] | [INFO] [stdout] 329 | let result = timeout( [INFO] [stdout] | ______________________- [INFO] [stdout] 330 | | Duration::from_millis(30), // 30ms timeout for signing [INFO] [stdout] 331 | | self.quantum_crypto.sign(data, private_key) [INFO] [stdout] 332 | | ).await; [INFO] [stdout] | | - ^^^^^ `Result, QuantumCryptoError>` is not a future [INFO] [stdout] | |_________| [INFO] [stdout] | this call returns `Result, QuantumCryptoError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, QuantumCryptoError>` [INFO] [stdout] = note: required for `tokio::time::Timeout, QuantumCryptoError>>` to implement `futures::Future` [INFO] [stdout] = note: required for `tokio::time::Timeout, QuantumCryptoError>>` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 332 - ).await; [INFO] [stdout] 332 + ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 2 arguments were supplied [INFO] [stdout] --> rust_core/src/lib.rs:331:33 [INFO] [stdout] | [INFO] [stdout] 331 | self.quantum_crypto.sign(data, private_key) [INFO] [stdout] | ^^^^ ----------- unexpected argument #2 of type `&[u8]` [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:238:12 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn sign(&self, message: &[u8]) -> Result, QuantumCryptoError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 331 - self.quantum_crypto.sign(data, private_key) [INFO] [stdout] 331 + self.quantum_crypto.sign(data) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result, QuantumCryptoError>` is not a future [INFO] [stdout] --> rust_core/src/lib.rs:329:22 [INFO] [stdout] | [INFO] [stdout] 329 | let result = timeout( [INFO] [stdout] | ______________________^ [INFO] [stdout] 330 | | Duration::from_millis(30), // 30ms timeout for signing [INFO] [stdout] 331 | | self.quantum_crypto.sign(data, private_key) [INFO] [stdout] 332 | | ).await; [INFO] [stdout] | |_________^ `Result, QuantumCryptoError>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, QuantumCryptoError>` [INFO] [stdout] = note: required for `Result, QuantumCryptoError>` to implement `IntoFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result, QuantumCryptoError>` is not a future [INFO] [stdout] --> rust_core/src/lib.rs:331:13 [INFO] [stdout] | [INFO] [stdout] 329 | let result = timeout( [INFO] [stdout] | ------- required by a bound introduced by this call [INFO] [stdout] 330 | Duration::from_millis(30), // 30ms timeout for signing [INFO] [stdout] 331 | self.quantum_crypto.sign(data, private_key) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Result, QuantumCryptoError>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, QuantumCryptoError>` [INFO] [stdout] = note: Result, QuantumCryptoError> must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result, QuantumCryptoError>` to implement `IntoFuture` [INFO] [stdout] note: required by a bound in `timeout` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/time/timeout.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn timeout(duration: Duration, future: F) -> Timeout [INFO] [stdout] | ------- required by a bound in this function [INFO] [stdout] 87 | where [INFO] [stdout] 88 | F: IntoFuture, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result, QuantumCryptoError>` is not a future [INFO] [stdout] --> rust_core/src/lib.rs:332:11 [INFO] [stdout] | [INFO] [stdout] 329 | let result = timeout( [INFO] [stdout] | ______________________- [INFO] [stdout] 330 | | Duration::from_millis(30), // 30ms timeout for signing [INFO] [stdout] 331 | | self.quantum_crypto.sign(data, private_key) [INFO] [stdout] 332 | | ).await; [INFO] [stdout] | | - ^^^^^ `Result, QuantumCryptoError>` is not a future [INFO] [stdout] | |_________| [INFO] [stdout] | this call returns `Result, QuantumCryptoError>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, QuantumCryptoError>` [INFO] [stdout] = note: required for `tokio::time::Timeout, QuantumCryptoError>>` to implement `futures::Future` [INFO] [stdout] = note: required for `tokio::time::Timeout, QuantumCryptoError>>` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 332 - ).await; [INFO] [stdout] 332 + ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result, QuantumCryptoError>` is not a future [INFO] [stdout] --> rust_core/src/lib.rs:329:22 [INFO] [stdout] | [INFO] [stdout] 329 | let result = timeout( [INFO] [stdout] | ______________________^ [INFO] [stdout] 330 | | Duration::from_millis(30), // 30ms timeout for signing [INFO] [stdout] 331 | | self.quantum_crypto.sign(data, private_key) [INFO] [stdout] 332 | | ).await; [INFO] [stdout] | |_________^ `Result, QuantumCryptoError>` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result, QuantumCryptoError>` [INFO] [stdout] = note: required for `Result, QuantumCryptoError>` to implement `IntoFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> rust_core/src/lib.rs:375:33 [INFO] [stdout] | [INFO] [stdout] 375 | self.quantum_crypto.verify(data, signature, public_key) [INFO] [stdout] | ^^^^^^ --------- unexpected argument #2 [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn verify(&self, message: &[u8], signature: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 375 - self.quantum_crypto.verify(data, signature, public_key) [INFO] [stdout] 375 + self.quantum_crypto.verify(data, public_key) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> rust_core/src/lib.rs:375:13 [INFO] [stdout] | [INFO] [stdout] 373 | let result = timeout( [INFO] [stdout] | ------- required by a bound introduced by this call [INFO] [stdout] 374 | Duration::from_millis(30), // 30ms timeout for verification [INFO] [stdout] 375 | self.quantum_crypto.verify(data, signature, public_key) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result` to implement `IntoFuture` [INFO] [stdout] note: required by a bound in `timeout` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/time/timeout.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn timeout(duration: Duration, future: F) -> Timeout [INFO] [stdout] | ------- required by a bound in this function [INFO] [stdout] 87 | where [INFO] [stdout] 88 | F: IntoFuture, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> rust_core/src/lib.rs:376:11 [INFO] [stdout] | [INFO] [stdout] 373 | let result = timeout( [INFO] [stdout] | ______________________- [INFO] [stdout] 374 | | Duration::from_millis(30), // 30ms timeout for verification [INFO] [stdout] 375 | | self.quantum_crypto.verify(data, signature, public_key) [INFO] [stdout] 376 | | ).await; [INFO] [stdout] | | - ^^^^^ `Result` is not a future [INFO] [stdout] | |_________| [INFO] [stdout] | this call returns `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] = note: required for `tokio::time::Timeout>` to implement `futures::Future` [INFO] [stdout] = note: required for `tokio::time::Timeout>` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 376 - ).await; [INFO] [stdout] 376 + ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> rust_core/src/lib.rs:373:22 [INFO] [stdout] | [INFO] [stdout] 373 | let result = timeout( [INFO] [stdout] | ______________________^ [INFO] [stdout] 374 | | Duration::from_millis(30), // 30ms timeout for verification [INFO] [stdout] 375 | | self.quantum_crypto.verify(data, signature, public_key) [INFO] [stdout] 376 | | ).await; [INFO] [stdout] | |_________^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] = note: required for `Result` to implement `IntoFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> rust_core/src/lib.rs:375:33 [INFO] [stdout] | [INFO] [stdout] 375 | self.quantum_crypto.verify(data, signature, public_key) [INFO] [stdout] | ^^^^^^ --------- unexpected argument #2 [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:246:12 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn verify(&self, message: &[u8], signature: &[u8]) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 375 - self.quantum_crypto.verify(data, signature, public_key) [INFO] [stdout] 375 + self.quantum_crypto.verify(data, public_key) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> rust_core/src/lib.rs:375:13 [INFO] [stdout] | [INFO] [stdout] 373 | let result = timeout( [INFO] [stdout] | ------- required by a bound introduced by this call [INFO] [stdout] 374 | Duration::from_millis(30), // 30ms timeout for verification [INFO] [stdout] 375 | self.quantum_crypto.verify(data, signature, public_key) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] = note: Result must be a future or must implement `IntoFuture` to be awaited [INFO] [stdout] = note: required for `Result` to implement `IntoFuture` [INFO] [stdout] note: required by a bound in `timeout` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/tokio-1.47.0/src/time/timeout.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn timeout(duration: Duration, future: F) -> Timeout [INFO] [stdout] | ------- required by a bound in this function [INFO] [stdout] 87 | where [INFO] [stdout] 88 | F: IntoFuture, [INFO] [stdout] | ^^^^^^^^^^ required by this bound in `timeout` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> rust_core/src/lib.rs:376:11 [INFO] [stdout] | [INFO] [stdout] 373 | let result = timeout( [INFO] [stdout] | ______________________- [INFO] [stdout] 374 | | Duration::from_millis(30), // 30ms timeout for verification [INFO] [stdout] 375 | | self.quantum_crypto.verify(data, signature, public_key) [INFO] [stdout] 376 | | ).await; [INFO] [stdout] | | - ^^^^^ `Result` is not a future [INFO] [stdout] | |_________| [INFO] [stdout] | this call returns `Result` [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] = note: required for `tokio::time::Timeout>` to implement `futures::Future` [INFO] [stdout] = note: required for `tokio::time::Timeout>` to implement `IntoFuture` [INFO] [stdout] help: remove the `.await` [INFO] [stdout] | [INFO] [stdout] 376 - ).await; [INFO] [stdout] 376 + ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Result` is not a future [INFO] [stdout] --> rust_core/src/lib.rs:373:22 [INFO] [stdout] | [INFO] [stdout] 373 | let result = timeout( [INFO] [stdout] | ______________________^ [INFO] [stdout] 374 | | Duration::from_millis(30), // 30ms timeout for verification [INFO] [stdout] 375 | | self.quantum_crypto.verify(data, signature, public_key) [INFO] [stdout] 376 | | ).await; [INFO] [stdout] | |_________^ `Result` is not a future [INFO] [stdout] | [INFO] [stdout] = help: the trait `futures::Future` is not implemented for `Result` [INFO] [stdout] = note: required for `Result` to implement `IntoFuture` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `hardware_security::HardwareSecurityError: StdError` is not satisfied [INFO] [stdout] --> rust_core/src/lib.rs:493:61 [INFO] [stdout] | [INFO] [stdout] 493 | hw_manager.trigger_kill_switch(reason).await?; [INFO] [stdout] | --------------------------------------------^ the trait `StdError` is not implemented for `hardware_security::HardwareSecurityError` [INFO] [stdout] | | [INFO] [stdout] | this has type `Result<_, hardware_security::HardwareSecurityError>` [INFO] [stdout] | [INFO] [stdout] note: `hardware_security::HardwareSecurityError` needs to implement `StdError` [INFO] [stdout] --> rust_core/src/hardware_security.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum HardwareSecurityError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `Box` to implement `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error: `hardware_security::HardwareSecurityError: StdError` is not satisfied [INFO] [stdout] --> rust_core/src/lib.rs:493:61 [INFO] [stdout] | [INFO] [stdout] 493 | hw_manager.trigger_kill_switch(reason).await?; [INFO] [stdout] | --------------------------------------------^ the trait `StdError` is not implemented for `hardware_security::HardwareSecurityError` [INFO] [stdout] | | [INFO] [stdout] | this has type `Result<_, hardware_security::HardwareSecurityError>` [INFO] [stdout] | [INFO] [stdout] note: `hardware_security::HardwareSecurityError` needs to implement `StdError` [INFO] [stdout] --> rust_core/src/hardware_security.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum HardwareSecurityError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = note: required for `Box` to implement `From` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Kem` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 54 | pub struct QuantumKEM { [INFO] [stdout] 55 | algorithm: kem::Kem, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `std::fmt::Debug` is not implemented for `Kem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Sig` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 62 | pub struct QuantumSignature { [INFO] [stdout] 63 | algorithm: sig::Sig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `std::fmt::Debug` is not implemented for `Sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 100 | public_key: kem_pk, [INFO] [stdout] | ^^^^^^ expected `Vec`, found `PublicKey` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `oqs::kem::PublicKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | secret_key: kem_sk, [INFO] [stdout] | ^^^^^^ expected `Vec`, found `SecretKey` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `oqs::kem::SecretKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Kem` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 54 | pub struct QuantumKEM { [INFO] [stdout] 55 | algorithm: kem::Kem, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `std::fmt::Debug` is not implemented for `Kem` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 105 | public_key: sig_pk, [INFO] [stdout] | ^^^^^^ expected `Vec`, found `PublicKey` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `oqs::sig::PublicKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | secret_key: sig_sk, [INFO] [stdout] | ^^^^^^ expected `Vec`, found `SecretKey` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `oqs::sig::SecretKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Sig` doesn't implement `std::fmt::Debug` [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 61 | #[derive(Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 62 | pub struct QuantumSignature { [INFO] [stdout] 63 | algorithm: sig::Sig, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `std::fmt::Debug` is not implemented for `Sig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `oqs::kem::PublicKeyRef<'_>: From<&Vec>` is not satisfied [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:168:26 [INFO] [stdout] | [INFO] [stdout] 168 | .encapsulate(&self.kem.public_key) [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^ the trait `From<&Vec>` is not implemented for `oqs::kem::PublicKeyRef<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `oqs::kem::PublicKeyRef<'_>` implements `From<&oqs::kem::PublicKey>` [INFO] [stdout] `oqs::kem::PublicKeyRef<'_>` implements `From<&oqs::kem::PublicKeyRef<'_>>` [INFO] [stdout] = note: required for `&Vec` to implement `Into>` [INFO] [stdout] note: required by a bound in `Kem::encapsulate` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oqs-0.9.0/src/kem.rs:336:31 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn encapsulate<'a, P: Into>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Kem::encapsulate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:100:29 [INFO] [stdout] | [INFO] [stdout] 100 | public_key: kem_pk, [INFO] [stdout] | ^^^^^^ expected `Vec`, found `PublicKey` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `oqs::kem::PublicKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `SharedSecret` [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:172:63 [INFO] [stdout] | [INFO] [stdout] 172 | let key = UnboundKey::new(&AES_256_GCM, &shared_secret[..32]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:101:29 [INFO] [stdout] | [INFO] [stdout] 101 | secret_key: kem_sk, [INFO] [stdout] | ^^^^^^ expected `Vec`, found `SecretKey` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `oqs::kem::SecretKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:105:29 [INFO] [stdout] | [INFO] [stdout] 105 | public_key: sig_pk, [INFO] [stdout] | ^^^^^^ expected `Vec`, found `PublicKey` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `oqs::sig::PublicKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | secret_key: sig_sk, [INFO] [stdout] | ^^^^^^ expected `Vec`, found `SecretKey` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found struct `oqs::sig::SecretKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `oqs::kem::PublicKeyRef<'_>: From<&Vec>` is not satisfied [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:168:26 [INFO] [stdout] | [INFO] [stdout] 168 | .encapsulate(&self.kem.public_key) [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^ the trait `From<&Vec>` is not implemented for `oqs::kem::PublicKeyRef<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `oqs::kem::PublicKeyRef<'_>` implements `From<&oqs::kem::PublicKey>` [INFO] [stdout] `oqs::kem::PublicKeyRef<'_>` implements `From<&oqs::kem::PublicKeyRef<'_>>` [INFO] [stdout] = note: required for `&Vec` to implement `Into>` [INFO] [stdout] note: required by a bound in `Kem::encapsulate` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oqs-0.9.0/src/kem.rs:336:31 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn encapsulate<'a, P: Into>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Kem::encapsulate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `SharedSecret` [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:172:63 [INFO] [stdout] | [INFO] [stdout] 172 | let key = UnboundKey::new(&AES_256_GCM, &shared_secret[..32]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:189:34 [INFO] [stdout] | [INFO] [stdout] 189 | result.extend_from_slice(&ciphertext); [INFO] [stdout] | ----------------- ^^^^^^^^^^^ expected `&[u8]`, found `&Ciphertext` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&Ciphertext` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/ab1d2444533d829e2d5cff6634cd3c70de6d7103/library/alloc/src/vec/mod.rs:3324:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `oqs::kem::SecretKeyRef<'_>: From<&Vec>` is not satisfied [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:218:26 [INFO] [stdout] | [INFO] [stdout] 218 | .decapsulate(&self.kem.secret_key, kem_ciphertext) [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^ the trait `From<&Vec>` is not implemented for `oqs::kem::SecretKeyRef<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `oqs::kem::SecretKeyRef<'_>` implements `From<&oqs::kem::SecretKey>` [INFO] [stdout] `oqs::kem::SecretKeyRef<'_>` implements `From<&oqs::kem::SecretKeyRef<'_>>` [INFO] [stdout] = note: required for `&Vec` to implement `Into>` [INFO] [stdout] note: required by a bound in `Kem::decapsulate` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oqs-0.9.0/src/kem.rs:371:35 [INFO] [stdout] | [INFO] [stdout] 371 | pub fn decapsulate<'a, 'b, S: Into>, C: Into>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Kem::decapsulate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CiphertextRef<'_>: From<&[u8]>` is not satisfied [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:218:48 [INFO] [stdout] | [INFO] [stdout] 218 | .decapsulate(&self.kem.secret_key, kem_ciphertext) [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^ the trait `From<&[u8]>` is not implemented for `CiphertextRef<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `CiphertextRef<'_>` implements `From<&Ciphertext>` [INFO] [stdout] `CiphertextRef<'_>` implements `From<&CiphertextRef<'_>>` [INFO] [stdout] = note: required for `&[u8]` to implement `Into>` [INFO] [stdout] note: required by a bound in `Kem::decapsulate` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oqs-0.9.0/src/kem.rs:371:62 [INFO] [stdout] | [INFO] [stdout] 371 | pub fn decapsulate<'a, 'b, S: Into>, C: Into>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Kem::decapsulate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `SharedSecret` [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:222:63 [INFO] [stdout] | [INFO] [stdout] 222 | let key = UnboundKey::new(&AES_256_GCM, &shared_secret[..32]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `oqs::sig::SecretKeyRef<'_>: From<&[u8]>` is not satisfied [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:241:47 [INFO] [stdout] | [INFO] [stdout] 241 | .sign(&self.signature.secret_key, message) [INFO] [stdout] | ---- ^^^^^^^ the trait `From<&[u8]>` is not implemented for `oqs::sig::SecretKeyRef<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `oqs::sig::SecretKeyRef<'_>` implements `From<&oqs::sig::SecretKey>` [INFO] [stdout] `oqs::sig::SecretKeyRef<'_>` implements `From<&oqs::sig::SecretKeyRef<'_>>` [INFO] [stdout] = note: required for `&[u8]` to implement `Into>` [INFO] [stdout] note: required by a bound in `Sig::sign` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oqs-0.9.0/src/sig.rs:305:24 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn sign<'a, S: Into>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Sig::sign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:189:34 [INFO] [stdout] | [INFO] [stdout] 189 | result.extend_from_slice(&ciphertext); [INFO] [stdout] | ----------------- ^^^^^^^^^^^ expected `&[u8]`, found `&Ciphertext` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[u8]` [INFO] [stdout] found reference `&Ciphertext` [INFO] [stdout] note: method defined here [INFO] [stdout] --> /rustc/ab1d2444533d829e2d5cff6634cd3c70de6d7103/library/alloc/src/vec/mod.rs:3324:12 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn sign(&self, message: &[u8]) -> Result, QuantumCryptoError> { [INFO] [stdout] | ----------------------------------- expected `Result, QuantumCryptoError>` because of return type [INFO] [stdout] 239 | / self.signature [INFO] [stdout] 240 | | .algorithm [INFO] [stdout] 241 | | .sign(&self.signature.secret_key, message) [INFO] [stdout] 242 | | .map_err(|e| QuantumCryptoError::QuantumAlgorithmError(e.to_string())) [INFO] [stdout] | |__________________________________________________________________________________^ expected `Result, QuantumCryptoError>`, found `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result, _>` [INFO] [stdout] found enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SignatureRef<'_>: From<&[u8]>` is not satisfied [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:249:49 [INFO] [stdout] | [INFO] [stdout] 249 | .verify(&self.signature.public_key, message, signature) [INFO] [stdout] | ------ ^^^^^^^ the trait `From<&[u8]>` is not implemented for `SignatureRef<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `SignatureRef<'_>` implements `From<&SignatureRef<'_>>` [INFO] [stdout] `SignatureRef<'_>` implements `From<&oqs::sig::Signature>` [INFO] [stdout] = note: required for `&[u8]` to implement `Into>` [INFO] [stdout] note: required by a bound in `Sig::verify` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oqs-0.9.0/src/sig.rs:338:25 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn verify<'a, 'b>( [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 338 | signature: impl Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Sig::verify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `oqs::kem::SecretKeyRef<'_>: From<&Vec>` is not satisfied [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:218:26 [INFO] [stdout] | [INFO] [stdout] 218 | .decapsulate(&self.kem.secret_key, kem_ciphertext) [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^^^^^^^ the trait `From<&Vec>` is not implemented for `oqs::kem::SecretKeyRef<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `oqs::kem::SecretKeyRef<'_>` implements `From<&oqs::kem::SecretKey>` [INFO] [stdout] `oqs::kem::SecretKeyRef<'_>` implements `From<&oqs::kem::SecretKeyRef<'_>>` [INFO] [stdout] = note: required for `&Vec` to implement `Into>` [INFO] [stdout] note: required by a bound in `Kem::decapsulate` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oqs-0.9.0/src/kem.rs:371:35 [INFO] [stdout] | [INFO] [stdout] 371 | pub fn decapsulate<'a, 'b, S: Into>, C: Into>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Kem::decapsulate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `oqs::sig::PublicKeyRef<'_>: From<&[u8]>` is not satisfied [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:249:58 [INFO] [stdout] | [INFO] [stdout] 249 | .verify(&self.signature.public_key, message, signature) [INFO] [stdout] | ------ ^^^^^^^^^ the trait `From<&[u8]>` is not implemented for `oqs::sig::PublicKeyRef<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `oqs::sig::PublicKeyRef<'_>` implements `From<&oqs::sig::PublicKey>` [INFO] [stdout] `oqs::sig::PublicKeyRef<'_>` implements `From<&oqs::sig::PublicKeyRef<'_>>` [INFO] [stdout] = note: required for `&[u8]` to implement `Into>` [INFO] [stdout] note: required by a bound in `Sig::verify` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oqs-0.9.0/src/sig.rs:339:18 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn verify<'a, 'b>( [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 339 | pk: impl Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Sig::verify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `CiphertextRef<'_>: From<&[u8]>` is not satisfied [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:218:48 [INFO] [stdout] | [INFO] [stdout] 218 | .decapsulate(&self.kem.secret_key, kem_ciphertext) [INFO] [stdout] | ----------- ^^^^^^^^^^^^^^ the trait `From<&[u8]>` is not implemented for `CiphertextRef<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `CiphertextRef<'_>` implements `From<&Ciphertext>` [INFO] [stdout] `CiphertextRef<'_>` implements `From<&CiphertextRef<'_>>` [INFO] [stdout] = note: required for `&[u8]` to implement `Into>` [INFO] [stdout] note: required by a bound in `Kem::decapsulate` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oqs-0.9.0/src/kem.rs:371:62 [INFO] [stdout] | [INFO] [stdout] 371 | pub fn decapsulate<'a, 'b, S: Into>, C: Into>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Kem::decapsulate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `SharedSecret` [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:222:63 [INFO] [stdout] | [INFO] [stdout] 222 | let key = UnboundKey::new(&AES_256_GCM, &shared_secret[..32]) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn verify(&self, message: &[u8], signature: &[u8]) -> Result { [INFO] [stdout] | -------------------------------- expected `Result` because of return type [INFO] [stdout] 247 | / self.signature [INFO] [stdout] 248 | | .algorithm [INFO] [stdout] 249 | | .verify(&self.signature.public_key, message, signature) [INFO] [stdout] 250 | | .map_err(|e| QuantumCryptoError::QuantumAlgorithmError(e.to_string())) [INFO] [stdout] | |__________________________________________________________________________________^ expected `Result`, found `Result<(), QuantumCryptoError>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `Result<(), _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `oqs::sig::SecretKeyRef<'_>: From<&[u8]>` is not satisfied [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:241:47 [INFO] [stdout] | [INFO] [stdout] 241 | .sign(&self.signature.secret_key, message) [INFO] [stdout] | ---- ^^^^^^^ the trait `From<&[u8]>` is not implemented for `oqs::sig::SecretKeyRef<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `oqs::sig::SecretKeyRef<'_>` implements `From<&oqs::sig::SecretKey>` [INFO] [stdout] `oqs::sig::SecretKeyRef<'_>` implements `From<&oqs::sig::SecretKeyRef<'_>>` [INFO] [stdout] = note: required for `&[u8]` to implement `Into>` [INFO] [stdout] note: required by a bound in `Sig::sign` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oqs-0.9.0/src/sig.rs:305:24 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn sign<'a, S: Into>>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Sig::sign` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 238 | pub fn sign(&self, message: &[u8]) -> Result, QuantumCryptoError> { [INFO] [stdout] | ----------------------------------- expected `Result, QuantumCryptoError>` because of return type [INFO] [stdout] 239 | / self.signature [INFO] [stdout] 240 | | .algorithm [INFO] [stdout] 241 | | .sign(&self.signature.secret_key, message) [INFO] [stdout] 242 | | .map_err(|e| QuantumCryptoError::QuantumAlgorithmError(e.to_string())) [INFO] [stdout] | |__________________________________________________________________________________^ expected `Result, QuantumCryptoError>`, found `Result` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result, _>` [INFO] [stdout] found enum `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `SignatureRef<'_>: From<&[u8]>` is not satisfied [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:249:49 [INFO] [stdout] | [INFO] [stdout] 249 | .verify(&self.signature.public_key, message, signature) [INFO] [stdout] | ------ ^^^^^^^ the trait `From<&[u8]>` is not implemented for `SignatureRef<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `SignatureRef<'_>` implements `From<&SignatureRef<'_>>` [INFO] [stdout] `SignatureRef<'_>` implements `From<&oqs::sig::Signature>` [INFO] [stdout] = note: required for `&[u8]` to implement `Into>` [INFO] [stdout] note: required by a bound in `Sig::verify` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oqs-0.9.0/src/sig.rs:338:25 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn verify<'a, 'b>( [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 338 | signature: impl Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Sig::verify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `oqs::sig::PublicKeyRef<'_>: From<&[u8]>` is not satisfied [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:249:58 [INFO] [stdout] | [INFO] [stdout] 249 | .verify(&self.signature.public_key, message, signature) [INFO] [stdout] | ------ ^^^^^^^^^ the trait `From<&[u8]>` is not implemented for `oqs::sig::PublicKeyRef<'_>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `oqs::sig::PublicKeyRef<'_>` implements `From<&oqs::sig::PublicKey>` [INFO] [stdout] `oqs::sig::PublicKeyRef<'_>` implements `From<&oqs::sig::PublicKeyRef<'_>>` [INFO] [stdout] = note: required for `&[u8]` to implement `Into>` [INFO] [stdout] note: required by a bound in `Sig::verify` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/oqs-0.9.0/src/sig.rs:339:18 [INFO] [stdout] | [INFO] [stdout] 335 | pub fn verify<'a, 'b>( [INFO] [stdout] | ------ required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 339 | pk: impl Into>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Sig::verify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:247:9 [INFO] [stdout] | [INFO] [stdout] 246 | pub fn verify(&self, message: &[u8], signature: &[u8]) -> Result { [INFO] [stdout] | -------------------------------- expected `Result` because of return type [INFO] [stdout] 247 | / self.signature [INFO] [stdout] 248 | | .algorithm [INFO] [stdout] 249 | | .verify(&self.signature.public_key, message, signature) [INFO] [stdout] 250 | | .map_err(|e| QuantumCryptoError::QuantumAlgorithmError(e.to_string())) [INFO] [stdout] | |__________________________________________________________________________________^ expected `Result`, found `Result<(), QuantumCryptoError>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `Result<(), _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> rust_core/src/telemetry.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | let resource = Resource::from_detectors( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | resource_attributes, [INFO] [stdout] | ------------------- unexpected argument #3 of type `Vec` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/opentelemetry_sdk-0.20.0/src/resource/mod.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn from_detectors(timeout: Duration, detectors: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 83 - resource_detectors, [INFO] [stdout] 84 - resource_attributes, [INFO] [stdout] 83 + resource_detectors, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TonicExporterBuilder: opentelemetry::sdk::export::trace::SpanExporter` is not satisfied [INFO] [stdout] --> rust_core/src/telemetry.rs:94:30 [INFO] [stdout] | [INFO] [stdout] 94 | .with_batch_exporter(otlp_exporter) [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^ the trait `opentelemetry::sdk::export::trace::SpanExporter` is not implemented for `TonicExporterBuilder` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `opentelemetry::sdk::export::trace::SpanExporter` is implemented for `opentelemetry_otlp::SpanExporter` [INFO] [stdout] note: required by a bound in `opentelemetry::sdk::trace::Builder::with_batch_exporter` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/opentelemetry_sdk-0.20.0/src/trace/provider.rs:169:35 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn with_batch_exporter>( [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Builder::with_batch_exporter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 3 arguments were supplied [INFO] [stdout] --> rust_core/src/telemetry.rs:81:20 [INFO] [stdout] | [INFO] [stdout] 81 | let resource = Resource::from_detectors( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | resource_attributes, [INFO] [stdout] | ------------------- unexpected argument #3 of type `Vec` [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/opentelemetry_sdk-0.20.0/src/resource/mod.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn from_detectors(timeout: Duration, detectors: Vec>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 83 - resource_detectors, [INFO] [stdout] 84 - resource_attributes, [INFO] [stdout] 83 + resource_detectors, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TonicExporterBuilder: opentelemetry::sdk::export::trace::SpanExporter` is not satisfied [INFO] [stdout] --> rust_core/src/telemetry.rs:94:30 [INFO] [stdout] | [INFO] [stdout] 94 | .with_batch_exporter(otlp_exporter) [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^ the trait `opentelemetry::sdk::export::trace::SpanExporter` is not implemented for `TonicExporterBuilder` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `opentelemetry::sdk::export::trace::SpanExporter` is implemented for `opentelemetry_otlp::SpanExporter` [INFO] [stdout] note: required by a bound in `opentelemetry::sdk::trace::Builder::with_batch_exporter` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/opentelemetry_sdk-0.20.0/src/trace/provider.rs:169:35 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn with_batch_exporter>( [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `Builder::with_batch_exporter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> rust_core/src/telemetry.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | .with_batch_exporter(otlp_exporter) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^--------------- argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/opentelemetry_sdk-0.20.0/src/trace/provider.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn with_batch_exporter>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 94 | .with_batch_exporter(otlp_exporter, /* runtime */) [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> rust_core/src/telemetry.rs:94:10 [INFO] [stdout] | [INFO] [stdout] 94 | .with_batch_exporter(otlp_exporter) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^--------------- argument #2 is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/opentelemetry_sdk-0.20.0/src/trace/provider.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn with_batch_exporter>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 94 | .with_batch_exporter(otlp_exporter, /* runtime */) [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_resource` found for struct `opentelemetry::sdk::trace::Builder` in the current scope [INFO] [stdout] --> rust_core/src/telemetry.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 93 | let tracer_provider = opentelemetry::sdk::trace::TracerProvider::builder() [INFO] [stdout] | ___________________________- [INFO] [stdout] 94 | | .with_batch_exporter(otlp_exporter) [INFO] [stdout] 95 | | .with_resource(resource) [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `opentelemetry::sdk::trace::Builder` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_resource` found for struct `opentelemetry::sdk::trace::Builder` in the current scope [INFO] [stdout] --> rust_core/src/telemetry.rs:95:10 [INFO] [stdout] | [INFO] [stdout] 93 | let tracer_provider = opentelemetry::sdk::trace::TracerProvider::builder() [INFO] [stdout] | ___________________________- [INFO] [stdout] 94 | | .with_batch_exporter(otlp_exporter) [INFO] [stdout] 95 | | .with_resource(resource) [INFO] [stdout] | | -^^^^^^^^^^^^^ method not found in `opentelemetry::sdk::trace::Builder` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | for k in 1..threshold { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enclave` [INFO] [stdout] --> rust_core/src/hardware_security.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let enclave = self.enclave.as_ref() [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enclave` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `k` [INFO] [stdout] --> rust_core/src/quantum_crypto.rs:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | for k in 1..threshold { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_k` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `enclave` [INFO] [stdout] --> rust_core/src/hardware_security.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let enclave = self.enclave.as_ref() [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_enclave` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `*enclave` which is behind a shared reference [INFO] [stdout] --> rust_core/src/hardware_security.rs:368:13 [INFO] [stdout] | [INFO] [stdout] 368 | enclave.destroy(); [INFO] [stdout] | ^^^^^^^ --------- `*enclave` moved due to this method call [INFO] [stdout] | | [INFO] [stdout] | move occurs because `*enclave` has type `SgxEnclave`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: `SgxEnclave::destroy` takes ownership of the receiver `self`, which moves `*enclave` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sgx_urts-1.1.1/src/enclave.rs:646:20 [INFO] [stdout] | [INFO] [stdout] 646 | pub fn destroy(self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: you can `clone` the value and consume it, but this might not be your desired behavior [INFO] [stdout] | [INFO] [stdout] 368 | ::clone(&enclave).destroy(); [INFO] [stdout] | ++++++++++++++++++++++++++++++ + [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 368 | enclave.clone().destroy(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `*enclave` which is behind a shared reference [INFO] [stdout] --> rust_core/src/hardware_security.rs:368:13 [INFO] [stdout] | [INFO] [stdout] 368 | enclave.destroy(); [INFO] [stdout] | ^^^^^^^ --------- `*enclave` moved due to this method call [INFO] [stdout] | | [INFO] [stdout] | move occurs because `*enclave` has type `SgxEnclave`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] note: `SgxEnclave::destroy` takes ownership of the receiver `self`, which moves `*enclave` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/sgx_urts-1.1.1/src/enclave.rs:646:20 [INFO] [stdout] | [INFO] [stdout] 646 | pub fn destroy(self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] help: you can `clone` the value and consume it, but this might not be your desired behavior [INFO] [stdout] | [INFO] [stdout] 368 | ::clone(&enclave).destroy(); [INFO] [stdout] | ++++++++++++++++++++++++++++++ + [INFO] [stdout] help: consider cloning the value if the performance cost is acceptable [INFO] [stdout] | [INFO] [stdout] 368 | enclave.clone().destroy(); [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reg_state` [INFO] [stdout] --> rust_core/src/fido2_auth.rs:129:19 [INFO] [stdout] | [INFO] [stdout] 129 | let (ccr, reg_state) = self [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reg_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reg_state` [INFO] [stdout] --> rust_core/src/fido2_auth.rs:129:19 [INFO] [stdout] | [INFO] [stdout] 129 | let (ccr, reg_state) = self [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reg_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hw_manager` [INFO] [stdout] --> rust_core/src/lib.rs:478:19 [INFO] [stdout] | [INFO] [stdout] 478 | if let Ok(hw_manager) = self.hardware_security.lock() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hw_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0310, E0311, E0432, E0502, E0507, E0560... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `hw_manager` [INFO] [stdout] --> rust_core/src/lib.rs:478:19 [INFO] [stdout] | [INFO] [stdout] 478 | if let Ok(hw_manager) = self.hardware_security.lock() { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hw_manager` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `quantum_security_core` (lib) due to 66 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0310, E0311, E0432, E0502, E0507, E0560... [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `quantum_security_core` (lib test) due to 66 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "965669138fc6989e390e5de058097fb7dd724d7037317d085dddfa378722170e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "965669138fc6989e390e5de058097fb7dd724d7037317d085dddfa378722170e", kill_on_drop: false }` [INFO] [stdout] 965669138fc6989e390e5de058097fb7dd724d7037317d085dddfa378722170e