[INFO] fetching crate kms-aead 0.22.0... [INFO] testing kms-aead-0.22.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate kms-aead 0.22.0 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate kms-aead 0.22.0 [INFO] finished tweaking crates.io crate kms-aead 0.22.0 [INFO] tweaked toml for crates.io crate kms-aead 0.22.0 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kms-aead 0.22.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate kms-aead 0.22.0 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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 145c9ed494328191f2f2f7c9caf36411b46951add55c03084af2d3c0f1633a3a [INFO] running `Command { std: "docker" "start" "-a" "145c9ed494328191f2f2f7c9caf36411b46951add55c03084af2d3c0f1633a3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "145c9ed494328191f2f2f7c9caf36411b46951add55c03084af2d3c0f1633a3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "145c9ed494328191f2f2f7c9caf36411b46951add55c03084af2d3c0f1633a3a", kill_on_drop: false }` [INFO] [stdout] 145c9ed494328191f2f2f7c9caf36411b46951add55c03084af2d3c0f1633a3a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97fd99a1560040f2deb7c5d2da4789f20ba83ee8578a457257a6c091c57172b2 [INFO] running `Command { std: "docker" "start" "-a" "97fd99a1560040f2deb7c5d2da4789f20ba83ee8578a457257a6c091c57172b2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.96 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling rvs_derive v0.3.2 [INFO] [stderr] Compiling rsb_derive v0.5.1 [INFO] [stderr] Compiling rvstruct v0.3.2 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling secret-vault-value v1.0.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling kms-aead v0.22.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.29s [INFO] running `Command { std: "docker" "inspect" "97fd99a1560040f2deb7c5d2da4789f20ba83ee8578a457257a6c091c57172b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97fd99a1560040f2deb7c5d2da4789f20ba83ee8578a457257a6c091c57172b2", kill_on_drop: false }` [INFO] [stdout] 97fd99a1560040f2deb7c5d2da4789f20ba83ee8578a457257a6c091c57172b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12c7a808f120d649ade168e2a27f846031211985a950b1ad3ad9750f11b57a74 [INFO] running `Command { std: "docker" "start" "-a" "12c7a808f120d649ade168e2a27f846031211985a950b1ad3ad9750f11b57a74", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling dunce v1.0.5 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling aws-lc-rs v1.13.3 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling clap_builder v4.5.43 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rustls-pki-types v1.12.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling cargo-husky v1.5.0 [INFO] [stderr] Compiling rustls v0.23.31 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling kms-aead v0.22.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling cc v1.2.32 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling clap v4.5.43 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling tracing-subscriber v0.3.19 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Compiling proptest v1.7.0 [INFO] [stderr] Compiling aws-lc-sys v0.30.0 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling rustls-webpki v0.103.4 [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 32.89s [INFO] running `Command { std: "docker" "inspect" "12c7a808f120d649ade168e2a27f846031211985a950b1ad3ad9750f11b57a74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12c7a808f120d649ade168e2a27f846031211985a950b1ad3ad9750f11b57a74", kill_on_drop: false }` [INFO] [stdout] 12c7a808f120d649ade168e2a27f846031211985a950b1ad3ad9750f11b57a74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] bd057f65dae653482ab3ccf915786091e6f4405b0329c77df3b6feb611246036 [INFO] running `Command { std: "docker" "start" "-a" "bd057f65dae653482ab3ccf915786091e6f4405b0329c77df3b6feb611246036", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/kms_aead-7c8cabc6f58b2672) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test types::tests::cipher_text_with_key_encoding_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s [INFO] [stdout] [INFO] [stderr] Doc-tests kms_aead [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 15) - compile ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 15) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `kms_aead::providers::AwsKmsProvider` [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use kms_aead::providers::AwsKmsProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `AwsKmsProvider` in `providers` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `AwsKmsKeyRef` in `providers` [INFO] [stdout] --> src/lib.rs:26:40 [INFO] [stdout] | [INFO] [stdout] 26 | let kms_ref = kms_aead::providers::AwsKmsKeyRef::new(aws_account_id, aws_key_id); [INFO] [stdout] | ^^^^^^^^^^^^ could not find `AwsKmsKeyRef` in `providers` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `KmsAeadRingEnvelopeEncryption` in `kms_aead` [INFO] [stdout] --> src/lib.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | kms_aead::KmsAeadRingEnvelopeEncryption::new(providers::AwsKmsProvider::new(&kms_ref).await?) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | could not find `KmsAeadRingEnvelopeEncryption` in `kms_aead` [INFO] [stdout] | help: a trait with a similar name exists: `KmsAeadEnvelopeEncryption` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `AwsKmsProvider` in `providers` [INFO] [stdout] --> src/lib.rs:29:65 [INFO] [stdout] | [INFO] [stdout] 29 | kms_aead::KmsAeadRingEnvelopeEncryption::new(providers::AwsKmsProvider::new(&kms_ref).await?) [INFO] [stdout] | ^^^^^^^^^^^^^^ could not find `AwsKmsProvider` in `providers` [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `KmsAeadRingEnvelopeEncryption` in this scope [INFO] [stdout] --> src/lib.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | let encryption: KmsAeadRingEnvelopeEncryption = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a trait with a similar name exists: `KmsAeadEnvelopeEncryption` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/api.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub trait KmsAeadEnvelopeEncryption { [INFO] [stdout] | ---------------------------------------- similarly named trait `KmsAeadEnvelopeEncryption` defined here [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | let secret_value = encryption [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | secret_value.sensitive_value_to_str().unwrap() == "test-secret" [INFO] [stdout] | ------------ type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving `secret_value` an explicit type [INFO] [stdout] | [INFO] [stdout] 37 | let secret_value: /* Type */ = encryption [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 15) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.26s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "bd057f65dae653482ab3ccf915786091e6f4405b0329c77df3b6feb611246036", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd057f65dae653482ab3ccf915786091e6f4405b0329c77df3b6feb611246036", kill_on_drop: false }` [INFO] [stdout] bd057f65dae653482ab3ccf915786091e6f4405b0329c77df3b6feb611246036