[INFO] cloning repository https://github.com/EmisonLu/trusted-kms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EmisonLu/trusted-kms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmisonLu%2Ftrusted-kms", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmisonLu%2Ftrusted-kms'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 217935ace4ccfecb03c6a1822d8158cc0cbc1f64 [INFO] checking EmisonLu/trusted-kms/217935ace4ccfecb03c6a1822d8158cc0cbc1f64 against master#021fc25b7a48f6051bee1e1f06c7a277e4de1cc9 for pr-151510 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEmisonLu%2Ftrusted-kms" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/EmisonLu/trusted-kms [INFO] finished tweaking git repo https://github.com/EmisonLu/trusted-kms [INFO] tweaked toml for git repo https://github.com/EmisonLu/trusted-kms written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/EmisonLu/trusted-kms on toolchain 021fc25b7a48f6051bee1e1f06c7a277e4de1cc9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+021fc25b7a48f6051bee1e1f06c7a277e4de1cc9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/EmisonLu/trusted-kms 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" "+021fc25b7a48f6051bee1e1f06c7a277e4de1cc9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rstest v0.19.0 [INFO] [stderr] Downloaded prost-types v0.12.4 [INFO] [stderr] Downloaded rustversion v1.0.16 [INFO] [stderr] Downloaded asn1-rs-derive v0.5.0 [INFO] [stderr] Downloaded ordered-multimap v0.6.0 [INFO] [stderr] Downloaded rust-ini v0.19.0 [INFO] [stderr] Downloaded actix-tls v3.3.0 [INFO] [stderr] Downloaded config v0.14.0 [INFO] [stderr] Downloaded asn1-rs v0.6.1 [INFO] [stderr] Downloaded rcgen v0.12.1 [INFO] [stderr] Downloaded rstest_macros v0.19.0 [INFO] [stderr] Downloaded prost v0.12.4 [INFO] [stderr] Downloaded prost-build v0.12.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+021fc25b7a48f6051bee1e1f06c7a277e4de1cc9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1db8de28218ed8c8beaa93c2c11ab7806d57ded8a43228d2496c695a33f68188 [INFO] running `Command { std: "docker" "start" "-a" "1db8de28218ed8c8beaa93c2c11ab7806d57ded8a43228d2496c695a33f68188", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1db8de28218ed8c8beaa93c2c11ab7806d57ded8a43228d2496c695a33f68188", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1db8de28218ed8c8beaa93c2c11ab7806d57ded8a43228d2496c695a33f68188", kill_on_drop: false }` [INFO] [stdout] 1db8de28218ed8c8beaa93c2c11ab7806d57ded8a43228d2496c695a33f68188 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+021fc25b7a48f6051bee1e1f06c7a277e4de1cc9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cff577c2801404d5d825a274d0e2ae4807efa93ca8a59f208384456407320fdc [INFO] running `Command { std: "docker" "start" "-a" "cff577c2801404d5d825a274d0e2ae4807efa93ca8a59f208384456407320fdc", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.201 [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling syn v2.0.61 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling anyhow v1.0.83 [INFO] [stderr] Compiling rustversion v1.0.16 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling bytes v1.6.0 [INFO] [stderr] Compiling regex-automata v0.4.6 [INFO] [stderr] Compiling either v1.11.0 [INFO] [stderr] Checking parking_lot v0.12.2 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling bitflags v2.5.0 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling linux-raw-sys v0.4.13 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking num-bigint v0.4.5 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling zstd-safe v7.1.0 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Checking actix-service v2.0.2 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Compiling axum-core v0.3.4 [INFO] [stderr] Checking actix-utils v3.0.1 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling oid-registry v0.6.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Checking indexmap v1.9.3 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Compiling axum v0.6.20 [INFO] [stderr] Compiling bytestring v1.3.1 [INFO] [stderr] Checking winnow v0.6.8 [INFO] [stderr] Compiling oid-registry v0.7.0 [INFO] [stderr] Checking hashbrown v0.13.2 [INFO] [stderr] Checking impl-more v0.1.6 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking ahash v0.8.11 [INFO] [stderr] Checking ordered-multimap v0.6.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking brotli v3.5.0 [INFO] [stderr] Checking flate2 v1.0.30 [INFO] [stderr] Checking local-channel v0.1.5 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking cookie v0.16.2 [INFO] [stderr] Checking yasna v0.5.2 [INFO] [stderr] Checking env_filter v0.1.0 [INFO] [stderr] Checking rusticata-macros v4.1.0 [INFO] [stderr] Checking rust-ini v0.19.0 [INFO] [stderr] Compiling rstest_macros v0.19.0 [INFO] [stderr] Checking env_logger v0.11.3 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling zstd-sys v2.0.10+zstd.1.5.6 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling regex v1.10.4 [INFO] [stderr] Compiling rustls v0.21.12 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [INFO] [stderr] Compiling asn1-rs-derive v0.4.0 [INFO] [stderr] Compiling derive_more v0.99.17 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Checking rustls-webpki v0.101.7 [INFO] [stderr] Checking sct v0.7.1 [INFO] [stderr] Compiling actix-router v0.5.2 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.201 [INFO] [stderr] Compiling thiserror-impl v1.0.60 [INFO] [stderr] Compiling futures-macro v0.3.30 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling displaydoc v0.2.4 [INFO] [stderr] Compiling prost-derive v0.12.5 [INFO] [stderr] Compiling asn1-rs-impl v0.2.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling async-trait v0.1.80 [INFO] [stderr] Compiling asn1-rs-derive v0.5.0 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling actix-web-codegen v4.2.2 [INFO] [stderr] Compiling strum_macros v0.26.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Checking thiserror v1.0.60 [INFO] [stderr] Checking asn1-rs v0.5.2 [INFO] [stderr] Checking asn1-rs v0.6.1 [INFO] [stderr] Compiling pest v2.7.10 [INFO] [stderr] Checking zstd v0.13.1 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling prost v0.12.4 [INFO] [stderr] Checking der-parser v8.2.0 [INFO] [stderr] Compiling prost-types v0.12.4 [INFO] [stderr] Checking der-parser v9.0.0 [INFO] [stderr] Checking strum v0.26.2 [INFO] [stderr] Checking clap v4.5.4 [INFO] [stderr] Compiling pest_meta v2.7.10 [INFO] [stderr] Checking x509-parser v0.15.1 [INFO] [stderr] Checking x509-parser v0.16.0 [INFO] [stderr] Compiling prost-build v0.12.4 [INFO] [stderr] Compiling pest_generator v2.7.10 [INFO] [stderr] Checking futures-executor v0.3.30 [INFO] [stderr] Checking rcgen v0.12.1 [INFO] [stderr] Checking futures v0.3.30 [INFO] [stderr] Checking rstest v0.19.0 [INFO] [stderr] Compiling pest_derive v2.7.10 [INFO] [stderr] Compiling tonic-build v0.11.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-rustls v0.24.1 [INFO] [stderr] Checking actix-rt v2.9.0 [INFO] [stderr] Checking tokio-io-timeout v1.2.0 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking actix-server v2.3.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking actix-tls v3.3.0 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_json v1.0.117 [INFO] [stderr] Checking json5 v0.4.1 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking actix-codec v0.5.2 [INFO] [stderr] Checking ron v0.8.1 [INFO] [stderr] Checking toml_edit v0.22.12 [INFO] [stderr] Compiling trusted-kms v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking toml v0.8.12 [INFO] [stderr] Checking config v0.14.0 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking actix-http v3.6.0 [INFO] [stderr] Checking actix-web v4.5.1 [INFO] [stderr] Checking hyper-rustls v0.24.2 [INFO] [stderr] Checking hyper-timeout v0.4.1 [INFO] [stderr] Checking reqwest v0.11.27 [INFO] [stderr] Checking tonic v0.11.0 [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tee_kms` [INFO] [stdout] --> src/bin/kms_api/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tee_kms::kms::{Kms, KmsApi}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tee_kms` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tee_kms`, use `cargo add tee_kms` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tee_kms` [INFO] [stdout] --> src/bin/sync/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tee_kms::kms::Kms; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tee_kms` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tee_kms`, use `cargo add tee_kms` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tee_kms` [INFO] [stdout] --> src/bin/tee-kms.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tee_kms::{config::Config, new_instance}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tee_kms` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tee_kms`, use `cargo add tee_kms` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tee_kms` [INFO] [stdout] --> src/bin/tee-kms.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tee_kms::{config::Config, new_instance}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tee_kms` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tee_kms`, use `cargo add tee_kms` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tee_kms` [INFO] [stdout] --> src/bin/kms_api/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tee_kms::kms::{Kms, KmsApi}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tee_kms` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tee_kms`, use `cargo add tee_kms` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tee_kms` [INFO] [stdout] --> src/bin/kms_api/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tee_kms::kms::{Kms, KmsApi}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tee_kms` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tee_kms`, use `cargo add tee_kms` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tee_kms` [INFO] [stdout] --> src/bin/sync/mod.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use tee_kms::kms::Kms; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tee_kms` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tee_kms`, use `cargo add tee_kms` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tee_kms` [INFO] [stdout] --> src/bin/tee-kms.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tee_kms::{config::Config, new_instance}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tee_kms` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tee_kms`, use `cargo add tee_kms` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `tee_kms` [INFO] [stdout] --> src/bin/tee-kms.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use tee_kms::{config::Config, new_instance}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tee_kms` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tee_kms`, use `cargo add tee_kms` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/kms_api/mod.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | let client_cert = kms.read().await.register(&request_json.crt).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/kms_api/mod.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | let client_cert = kms.read().await.register(&request_json.crt).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/bin/kms_api/mod.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / pub async fn register( [INFO] [stdout] 69 | | request_json: web::Json, [INFO] [stdout] 70 | | kms: web::Data>>>, [INFO] [stdout] 71 | | ) -> Result { [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: MessageBody` will fail [INFO] [stdout] --> src/bin/kms_api/mod.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 75 | Ok(HttpResponse::Ok().body(client_cert)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 74 | let client_cert: () = kms.read().await.register(&request_json.crt).await?; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/bin/kms_api/mod.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / pub async fn register( [INFO] [stdout] 69 | | request_json: web::Json, [INFO] [stdout] 70 | | kms: web::Data>>>, [INFO] [stdout] 71 | | ) -> Result { [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: MessageBody` will fail [INFO] [stdout] --> src/bin/kms_api/mod.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 75 | Ok(HttpResponse::Ok().body(client_cert)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 74 | let client_cert: () = kms.read().await.register(&request_json.crt).await?; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tee_kms` [INFO] [stdout] --> src/bin/kms_api/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use tee_kms::kms::{Kms, KmsApi}; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `tee_kms` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `tee_kms`, use `cargo add tee_kms` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/kms_api/mod.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | let cmk_id = kms.read().await.generate_cmk(uid).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/bin/kms_api/mod.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / pub async fn generate_cmk( [INFO] [stdout] 79 | | request: HttpRequest, [INFO] [stdout] 80 | | kms: web::Data>>>, [INFO] [stdout] 81 | | ) -> Result { [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: MessageBody` will fail [INFO] [stdout] --> src/bin/kms_api/mod.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | Ok(HttpResponse::Ok().body(cmk_id)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 88 | let cmk_id: () = kms.read().await.generate_cmk(uid).await?; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/kms_api/mod.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | let cmk_id = kms.read().await.generate_cmk(uid).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/bin/kms_api/mod.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / pub async fn generate_cmk( [INFO] [stdout] 79 | | request: HttpRequest, [INFO] [stdout] 80 | | kms: web::Data>>>, [INFO] [stdout] 81 | | ) -> Result { [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: MessageBody` will fail [INFO] [stdout] --> src/bin/kms_api/mod.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | Ok(HttpResponse::Ok().body(cmk_id)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 88 | let cmk_id: () = kms.read().await.generate_cmk(uid).await?; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/kms_api/mod.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | let datakey = kms [INFO] [stdout] | ___________________^ [INFO] [stdout] 109 | | .read() [INFO] [stdout] 110 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/kms_api/mod.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | let datakey = kms [INFO] [stdout] | ___________________^ [INFO] [stdout] 109 | | .read() [INFO] [stdout] 110 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/bin/kms_api/mod.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | / pub async fn generate_datakey( [INFO] [stdout] 98 | | request_json: web::Json, [INFO] [stdout] 99 | | request: HttpRequest, [INFO] [stdout] 100 | | kms: web::Data>>>, [INFO] [stdout] 101 | | ) -> Result { [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: MessageBody` will fail [INFO] [stdout] --> src/bin/kms_api/mod.rs:113:32 [INFO] [stdout] | [INFO] [stdout] 113 | Ok(HttpResponse::Ok().body(datakey)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 108 | let datakey: () = kms [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/kms_api/mod.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | let ciphertext = kms [INFO] [stdout] | ______________________^ [INFO] [stdout] 137 | | .read() [INFO] [stdout] 138 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/bin/kms_api/mod.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | / pub async fn generate_datakey( [INFO] [stdout] 98 | | request_json: web::Json, [INFO] [stdout] 99 | | request: HttpRequest, [INFO] [stdout] 100 | | kms: web::Data>>>, [INFO] [stdout] 101 | | ) -> Result { [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: MessageBody` will fail [INFO] [stdout] --> src/bin/kms_api/mod.rs:113:32 [INFO] [stdout] | [INFO] [stdout] 113 | Ok(HttpResponse::Ok().body(datakey)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 108 | let datakey: () = kms [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/kms_api/mod.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | let ciphertext = kms [INFO] [stdout] | ______________________^ [INFO] [stdout] 137 | | .read() [INFO] [stdout] 138 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/kms_api/mod.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | let plaintext = kms [INFO] [stdout] | _____________________^ [INFO] [stdout] 169 | | .read() [INFO] [stdout] 170 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/kms_api/mod.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | let plaintext = kms [INFO] [stdout] | _____________________^ [INFO] [stdout] 169 | | .read() [INFO] [stdout] 170 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/bin/kms_api/mod.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | / pub async fn decrypt( [INFO] [stdout] 154 | | request_json: web::Json, [INFO] [stdout] 155 | | request: HttpRequest, [INFO] [stdout] 156 | | kms: web::Data>>>, [INFO] [stdout] 157 | | ) -> Result { [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: MessageBody` will fail [INFO] [stdout] --> src/bin/kms_api/mod.rs:178:32 [INFO] [stdout] | [INFO] [stdout] 178 | Ok(HttpResponse::Ok().body(plaintext)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 168 | let plaintext: () = kms [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/bin/kms_api/mod.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | / pub async fn decrypt( [INFO] [stdout] 154 | | request_json: web::Json, [INFO] [stdout] 155 | | request: HttpRequest, [INFO] [stdout] 156 | | kms: web::Data>>>, [INFO] [stdout] 157 | | ) -> Result { [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: MessageBody` will fail [INFO] [stdout] --> src/bin/kms_api/mod.rs:178:32 [INFO] [stdout] | [INFO] [stdout] 178 | Ok(HttpResponse::Ok().body(plaintext)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 168 | let plaintext: () = kms [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/kms_api/mod.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | let client_cert = kms.read().await.register(&request_json.crt).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/bin/kms_api/mod.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / pub async fn register( [INFO] [stdout] 69 | | request_json: web::Json, [INFO] [stdout] 70 | | kms: web::Data>>>, [INFO] [stdout] 71 | | ) -> Result { [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: MessageBody` will fail [INFO] [stdout] --> src/bin/kms_api/mod.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 75 | Ok(HttpResponse::Ok().body(client_cert)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 74 | let client_cert: () = kms.read().await.register(&request_json.crt).await?; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/kms_api/mod.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | let cmk_id = kms.read().await.generate_cmk(uid).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/bin/kms_api/mod.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / pub async fn generate_cmk( [INFO] [stdout] 79 | | request: HttpRequest, [INFO] [stdout] 80 | | kms: web::Data>>>, [INFO] [stdout] 81 | | ) -> Result { [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: MessageBody` will fail [INFO] [stdout] --> src/bin/kms_api/mod.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | Ok(HttpResponse::Ok().body(cmk_id)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 88 | let cmk_id: () = kms.read().await.generate_cmk(uid).await?; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/kms_api/mod.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | let datakey = kms [INFO] [stdout] | ___________________^ [INFO] [stdout] 109 | | .read() [INFO] [stdout] 110 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/bin/kms_api/mod.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | / pub async fn generate_datakey( [INFO] [stdout] 98 | | request_json: web::Json, [INFO] [stdout] 99 | | request: HttpRequest, [INFO] [stdout] 100 | | kms: web::Data>>>, [INFO] [stdout] 101 | | ) -> Result { [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: MessageBody` will fail [INFO] [stdout] --> src/bin/kms_api/mod.rs:113:32 [INFO] [stdout] | [INFO] [stdout] 113 | Ok(HttpResponse::Ok().body(datakey)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 108 | let datakey: () = kms [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/kms_api/mod.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | let ciphertext = kms [INFO] [stdout] | ______________________^ [INFO] [stdout] 137 | | .read() [INFO] [stdout] 138 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/kms_api/mod.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | let plaintext = kms [INFO] [stdout] | _____________________^ [INFO] [stdout] 169 | | .read() [INFO] [stdout] 170 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/bin/kms_api/mod.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | / pub async fn decrypt( [INFO] [stdout] 154 | | request_json: web::Json, [INFO] [stdout] 155 | | request: HttpRequest, [INFO] [stdout] 156 | | kms: web::Data>>>, [INFO] [stdout] 157 | | ) -> Result { [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: MessageBody` will fail [INFO] [stdout] --> src/bin/kms_api/mod.rs:178:32 [INFO] [stdout] | [INFO] [stdout] 178 | Ok(HttpResponse::Ok().body(plaintext)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 168 | let plaintext: () = kms [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/sync/mod.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | let cmk = kms.storage.get(&request.cmk_id).await.map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/sync/mod.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | let cmk = kms.storage.get(&request.cmk_id).await.map_err(|e| { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/kms_api/mod.rs:74:23 [INFO] [stdout] | [INFO] [stdout] 74 | let client_cert = kms.read().await.register(&request_json.crt).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `trusted-kms` (bin "client") due to 14 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/bin/kms_api/mod.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | / pub async fn register( [INFO] [stdout] 69 | | request_json: web::Json, [INFO] [stdout] 70 | | kms: web::Data>>>, [INFO] [stdout] 71 | | ) -> Result { [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: MessageBody` will fail [INFO] [stdout] --> src/bin/kms_api/mod.rs:75:32 [INFO] [stdout] | [INFO] [stdout] 75 | Ok(HttpResponse::Ok().body(client_cert)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dependency_on_unit_never_type_fallback)]` (part of `#[deny(rust_2024_compatibility)]`) on by default [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 74 | let client_cert: () = kms.read().await.register(&request_json.crt).await?; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/kms_api/mod.rs:88:18 [INFO] [stdout] | [INFO] [stdout] 88 | let cmk_id = kms.read().await.generate_cmk(uid).await?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/bin/kms_api/mod.rs:78:1 [INFO] [stdout] | [INFO] [stdout] 78 | / pub async fn generate_cmk( [INFO] [stdout] 79 | | request: HttpRequest, [INFO] [stdout] 80 | | kms: web::Data>>>, [INFO] [stdout] 81 | | ) -> Result { [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: MessageBody` will fail [INFO] [stdout] --> src/bin/kms_api/mod.rs:89:32 [INFO] [stdout] | [INFO] [stdout] 89 | Ok(HttpResponse::Ok().body(cmk_id)) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 88 | let cmk_id: () = kms.read().await.generate_cmk(uid).await?; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/kms_api/mod.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | let datakey = kms [INFO] [stdout] | ___________________^ [INFO] [stdout] 109 | | .read() [INFO] [stdout] 110 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/bin/kms_api/mod.rs:97:1 [INFO] [stdout] | [INFO] [stdout] 97 | / pub async fn generate_datakey( [INFO] [stdout] 98 | | request_json: web::Json, [INFO] [stdout] 99 | | request: HttpRequest, [INFO] [stdout] 100 | | kms: web::Data>>>, [INFO] [stdout] 101 | | ) -> Result { [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: MessageBody` will fail [INFO] [stdout] --> src/bin/kms_api/mod.rs:113:32 [INFO] [stdout] | [INFO] [stdout] 113 | Ok(HttpResponse::Ok().body(datakey)) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 108 | let datakey: () = kms [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/kms_api/mod.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | let ciphertext = kms [INFO] [stdout] | ______________________^ [INFO] [stdout] 137 | | .read() [INFO] [stdout] 138 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/bin/kms_api/mod.rs:168:21 [INFO] [stdout] | [INFO] [stdout] 168 | let plaintext = kms [INFO] [stdout] | _____________________^ [INFO] [stdout] 169 | | .read() [INFO] [stdout] 170 | | .await [INFO] [stdout] | |______________^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this function depends on never type fallback being `()` [INFO] [stdout] --> src/bin/kms_api/mod.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | / pub async fn decrypt( [INFO] [stdout] 154 | | request_json: web::Json, [INFO] [stdout] 155 | | request: HttpRequest, [INFO] [stdout] 156 | | kms: web::Data>>>, [INFO] [stdout] 157 | | ) -> Result { [INFO] [stdout] | |_________________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in Rust 2024 and in a future release in all editions! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = help: specify the types explicitly [INFO] [stdout] note: in edition 2024, the requirement `!: MessageBody` will fail [INFO] [stdout] --> src/bin/kms_api/mod.rs:178:32 [INFO] [stdout] | [INFO] [stdout] 178 | Ok(HttpResponse::Ok().body(plaintext)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] help: use `()` annotations to avoid fallback changes [INFO] [stdout] | [INFO] [stdout] 168 | let plaintext: () = kms [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trusted-kms` (bin "tee-kms" test) due to 18 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trusted-kms` (bin "tee-kms") due to 18 previous errors [INFO] [stdout] Some errors have detailed explanations: E0282, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trusted-kms` (bin "client" test) due to 14 previous errors [INFO] running `Command { std: "docker" "inspect" "cff577c2801404d5d825a274d0e2ae4807efa93ca8a59f208384456407320fdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cff577c2801404d5d825a274d0e2ae4807efa93ca8a59f208384456407320fdc", kill_on_drop: false }` [INFO] [stdout] cff577c2801404d5d825a274d0e2ae4807efa93ca8a59f208384456407320fdc