[INFO] fetching crate cmail-rpgp 0.1.0... [INFO] testing cmail-rpgp-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate cmail-rpgp 0.1.0 into /workspace/builds/worker-6-tc1/source [INFO] removed /workspace/builds/worker-6-tc1/source/rust-toolchain [INFO] started tweaking crates.io crate cmail-rpgp 0.1.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cmail-rpgp 0.1.0 [INFO] tweaked toml for crates.io crate cmail-rpgp 0.1.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cmail-rpgp 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 250 packages to latest compatible versions [INFO] [stderr] Adding bitfield v0.14.0 (available: v0.19.1) [INFO] [stderr] Adding const-oid v0.9.6 (available: v0.10.1) [INFO] [stderr] Adding criterion v0.5.1 (available: v0.6.0) [INFO] [stderr] Adding derive_more v1.0.0 (available: v2.0.1) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.2.0) [INFO] [stderr] Adding getrandom v0.2.16 (available: v0.3.3) [INFO] [stderr] Adding hex-literal v0.4.1 (available: v1.0.0) [INFO] [stderr] Adding nom v7.1.3 (available: v8.0.0) [INFO] [stderr] Adding pgp v0.10.2 (available: v0.16.0) [INFO] [stderr] Adding rand v0.8.5 (available: v0.9.1) [INFO] [stderr] Adding rand_chacha v0.3.1 (available: v0.9.0) [INFO] [stderr] Adding rand_xorshift v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded md5-asm v0.5.2 [INFO] [stderr] Downloaded sha1-asm v0.5.3 [INFO] [stderr] Downloaded ocb3 v0.1.0 [INFO] [stderr] Downloaded dbl v0.3.2 [INFO] [stderr] Downloaded eax v0.5.0 [INFO] [stderr] Downloaded iter-read v1.1.0 [INFO] [stderr] Downloaded buffer-redux v1.0.2 [INFO] [stderr] Downloaded cmac v0.7.2 [INFO] [stderr] Downloaded mkv128-kw v0.1.0 [INFO] [stderr] Downloaded sha2-asm v0.6.4 [INFO] [stderr] Downloaded x448 v0.6.0 [INFO] [stderr] Downloaded ed448-goldilocks v0.7.2 [INFO] [stderr] Downloaded gperftools v0.2.0 [INFO] [stderr] Downloaded mkv128 v0.1.0 [INFO] [stderr] Downloaded mkv128-gcm v0.1.0 [INFO] [stderr] Downloaded sha1-checked v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c41c29d70642695fd5d7c167f1647032fb2cc98be2a65ee264647dd86e8ebc66 [INFO] running `Command { std: "docker" "start" "-a" "c41c29d70642695fd5d7c167f1647032fb2cc98be2a65ee264647dd86e8ebc66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c41c29d70642695fd5d7c167f1647032fb2cc98be2a65ee264647dd86e8ebc66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c41c29d70642695fd5d7c167f1647032fb2cc98be2a65ee264647dd86e8ebc66", kill_on_drop: false }` [INFO] [stdout] c41c29d70642695fd5d7c167f1647032fb2cc98be2a65ee264647dd86e8ebc66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d4d196118d97c77404bc6ef77fa159f78231597f7e66f264b0efd7a9104ffd53 [INFO] running `Command { std: "docker" "start" "-a" "d4d196118d97c77404bc6ef77fa159f78231597f7e66f264b0efd7a9104ffd53", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling rustversion v1.0.21 [INFO] [stderr] Compiling crc24 v0.1.6 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling fiat-crypto v0.1.20 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling bstr v1.12.0 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling buffer-redux v1.0.2 [INFO] [stderr] Compiling iter-read v1.1.0 [INFO] [stderr] Compiling bitfield v0.14.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling zeroize_derive v1.4.2 [INFO] [stderr] Compiling curve25519-dalek-derive v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more-impl v1.0.0 [INFO] [stderr] Compiling num_enum_derive v0.7.4 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling num_enum v0.7.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling dbl v0.3.2 [INFO] [stderr] Compiling block-padding v0.3.3 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling mkv128 v0.1.0 [INFO] [stderr] Compiling cast5 v0.11.1 [INFO] [stderr] Compiling camellia v0.1.0 [INFO] [stderr] Compiling idea v0.5.1 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling des v0.8.1 [INFO] [stderr] Compiling derive_more v1.0.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling cmac v0.7.2 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling mkv128-gcm v0.1.0 [INFO] [stderr] Compiling mkv128-kw v0.1.0 [INFO] [stderr] Compiling eax v0.5.0 [INFO] [stderr] Compiling ed448-goldilocks v0.7.2 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling sha1-checked v0.10.0 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling x448 v0.6.0 [INFO] [stderr] Compiling ocb3 v0.1.0 [INFO] [stderr] Compiling cfb-mode v0.8.2 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling pkcs1 v0.7.5 [INFO] [stderr] Compiling dsa v0.6.3 [INFO] [stderr] Compiling twofish v0.7.1 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling aes-kw v0.2.1 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling p521 v0.13.3 [INFO] [stderr] Compiling p384 v0.13.1 [INFO] [stderr] Compiling cmail-rpgp v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.51s [INFO] running `Command { std: "docker" "inspect" "d4d196118d97c77404bc6ef77fa159f78231597f7e66f264b0efd7a9104ffd53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4d196118d97c77404bc6ef77fa159f78231597f7e66f264b0efd7a9104ffd53", kill_on_drop: false }` [INFO] [stdout] d4d196118d97c77404bc6ef77fa159f78231597f7e66f264b0efd7a9104ffd53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b4b035169ac7688795f13f1c6d04fd3c23c67b8dd1eb50963183bb2d0a04cf6d [INFO] running `Command { std: "docker" "start" "-a" "b4b035169ac7688795f13f1c6d04fd3c23c67b8dd1eb50963183bb2d0a04cf6d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling curve25519-dalek v4.1.3 [INFO] [stderr] Compiling mkv128 v0.1.0 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling ed25519 v2.2.3 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling camellia v0.1.0 [INFO] [stderr] Compiling cmac v0.7.2 [INFO] [stderr] Compiling blowfish v0.9.1 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling cfb-mode v0.8.2 [INFO] [stderr] Compiling des v0.8.1 [INFO] [stderr] Compiling twofish v0.7.1 [INFO] [stderr] Compiling cast5 v0.11.1 [INFO] [stderr] Compiling idea v0.5.1 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling ripemd v0.1.3 [INFO] [stderr] Compiling mkv128-gcm v0.1.0 [INFO] [stderr] Compiling mkv128-kw v0.1.0 [INFO] [stderr] Compiling sha1-checked v0.10.0 [INFO] [stderr] Compiling eax v0.5.0 [INFO] [stderr] Compiling ocb3 v0.1.0 [INFO] [stderr] Compiling aes-kw v0.2.1 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling pretty_assertions v1.4.1 [INFO] [stderr] Compiling rand_xorshift v0.3.0 [INFO] [stderr] Compiling hex-literal v0.4.1 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling ed25519-dalek v2.1.1 [INFO] [stderr] Compiling x25519-dalek v2.0.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling p384 v0.13.1 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling p521 v0.13.3 [INFO] [stderr] Compiling k256 v0.13.4 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling pretty_env_logger v0.5.0 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling num-bigint-dig v0.8.4 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling rsa v0.9.8 [INFO] [stderr] Compiling dsa v0.6.3 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling pgp v0.10.2 [INFO] [stderr] Compiling cmail-rpgp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/security.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use pgp::{ [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` 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 `pgp` [INFO] [stdout] --> tests/hsm-test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use pgp::crypto::checksum; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` 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 `pgp` [INFO] [stdout] --> tests/hsm-test.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use pgp::crypto::ecc_curve::ECCCurve; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` 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 `pgp` [INFO] [stdout] --> tests/hsm-test.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use pgp::crypto::hash::HashAlgorithm; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` 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 `pgp` [INFO] [stdout] --> tests/hsm-test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use pgp::crypto::public_key::PublicKeyAlgorithm; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` 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 `pgp` [INFO] [stdout] --> tests/hsm-test.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use pgp::crypto::sym::SymmetricKeyAlgorithm; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` 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 `pgp` [INFO] [stdout] --> tests/hsm-test.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use pgp::packet::{PacketTrait, PublicKey, SignatureConfig}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` 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 `pgp` [INFO] [stdout] --> tests/hsm-test.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use pgp::types::{EcdhPublicParams, EskType, Fingerprint, PkeskBytes, SignatureBytes}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` 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 `pgp` [INFO] [stdout] --> tests/hsm-test.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use pgp::types::{KeyId, Mpi, PublicKeyTrait, PublicParams, SecretKeyTrait}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `pgp` [INFO] [stdout] --> tests/message_test.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | extern crate pgp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/rfc9580.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use pgp::crypto::ecc_curve::ECCCurve; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` 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 `pgp` [INFO] [stdout] --> tests/rfc9580.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use pgp::crypto::{aead::AeadAlgorithm, hash::HashAlgorithm, sym::SymmetricKeyAlgorithm}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` 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 `pgp` [INFO] [stdout] --> tests/rfc9580.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use pgp::packet::LiteralData; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` 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 `pgp` [INFO] [stdout] --> tests/rfc9580.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use pgp::types::KeyVersion; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` 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 `pgp` [INFO] [stdout] --> tests/rfc9580.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use pgp::{ [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` 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 `pgp` [INFO] [stdout] --> tests/key_test.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use pgp::composed::signed_key::*; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` 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 `pgp` [INFO] [stdout] --> tests/key_test.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use pgp::composed::Deserializable; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` 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 `pgp` [INFO] [stdout] --> tests/key_test.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use pgp::crypto::ecdsa::SecretKey as ECDSASecretKey; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` 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 `pgp` [INFO] [stdout] --> tests/key_test.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use pgp::crypto::{ [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` 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 `pgp` [INFO] [stdout] --> tests/key_test.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use pgp::errors::Error; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` 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 `pgp` [INFO] [stdout] --> tests/key_test.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | use pgp::packet::{ [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` 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 `pgp` [INFO] [stdout] --> tests/key_test.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use pgp::ser::Serialize; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` 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 `pgp` [INFO] [stdout] --> tests/key_test.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | use pgp::types::{ [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` 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 `pgp` [INFO] [stdout] --> tests/key_test.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use pgp::{armor, types::PublicKeyTrait}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pgp` [INFO] [stdout] --> tests/key_test.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | use pgp::{armor, types::PublicKeyTrait}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pgp` [INFO] [stdout] --> tests/hsm-test.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use pgp::{packet, Deserializable, Esk}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pgp` [INFO] [stdout] --> tests/hsm-test.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use pgp::{Message, SignedPublicKey}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` 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 `pgp` [INFO] [stdout] --> tests/backward-compat.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | use pgp::crypto::sym::SymmetricKeyAlgorithm; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pgp` [INFO] [stdout] --> tests/backward-compat.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | use pgp::Deserializable; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pgp` [INFO] [stdout] --> tests/security.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use pgp::{ [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pgp` [INFO] [stdout] --> tests/rfc9580.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use pgp::{ [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `pgp` [INFO] [stdout] --> tests/backward-compat.rs:102:9 [INFO] [stdout] | [INFO] [stdout] 102 | use pgp::{ArmorOptions, Deserializable}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` 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 `pgp` [INFO] [stdout] --> tests/backward-compat.rs:67:24 [INFO] [stdout] | [INFO] [stdout] 67 | let (enc_msg, _) = pgp::Message::from_string(enc_msg).expect("decrypt_rpgp_cur"); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::Message; [INFO] [stdout] | [INFO] [stdout] 1 + use rpgp_0_10::Message; [INFO] [stdout] | [INFO] [stdout] help: if you import `Message`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 67 - let (enc_msg, _) = pgp::Message::from_string(enc_msg).expect("decrypt_rpgp_cur"); [INFO] [stdout] 67 + let (enc_msg, _) = Message::from_string(enc_msg).expect("decrypt_rpgp_cur"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/rfc9580.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 35 | pgp::composed::signed_key::from_reader_many(File::open(filename).unwrap()).expect("ok"); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::signed_key; [INFO] [stdout] | [INFO] [stdout] help: if you import `signed_key`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 35 - pgp::composed::signed_key::from_reader_many(File::open(filename).unwrap()).expect("ok"); [INFO] [stdout] 35 + signed_key::from_reader_many(File::open(filename).unwrap()).expect("ok"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/rfc9580.rs:206:25 [INFO] [stdout] | [INFO] [stdout] 206 | let (mut iter, _) = pgp::composed::signed_key::from_reader_many(key_file).expect("ok"); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::signed_key; [INFO] [stdout] | [INFO] [stdout] help: if you import `signed_key`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 206 - let (mut iter, _) = pgp::composed::signed_key::from_reader_many(key_file).expect("ok"); [INFO] [stdout] 206 + let (mut iter, _) = signed_key::from_reader_many(key_file).expect("ok"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/backward-compat.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | pgp::SignedSecretKey::from_armor_single(std::fs::File::open(keyfile).unwrap()) [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] 1 + use rpgp_0_10::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `SignedSecretKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 70 - pgp::SignedSecretKey::from_armor_single(std::fs::File::open(keyfile).unwrap()) [INFO] [stdout] 70 + SignedSecretKey::from_armor_single(std::fs::File::open(keyfile).unwrap()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/backward-compat.rs:106:15 [INFO] [stdout] | [INFO] [stdout] 106 | let lit = pgp::packet::LiteralData::from_bytes((&[]).into(), msg); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::packet::LiteralData; [INFO] [stdout] | [INFO] [stdout] 1 + use rpgp_0_10::packet::LiteralData; [INFO] [stdout] | [INFO] [stdout] help: if you import `LiteralData`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 106 - let lit = pgp::packet::LiteralData::from_bytes((&[]).into(), msg); [INFO] [stdout] 106 + let lit = LiteralData::from_bytes((&[]).into(), msg); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/backward-compat.rs:107:15 [INFO] [stdout] | [INFO] [stdout] 107 | let msg = pgp::Message::Literal(lit); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::Message; [INFO] [stdout] | [INFO] [stdout] 1 + use rpgp_0_10::Message; [INFO] [stdout] | [INFO] [stdout] help: if you import `Message`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 107 - let msg = pgp::Message::Literal(lit); [INFO] [stdout] 107 + let msg = Message::Literal(lit); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/backward-compat.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | pgp::SignedSecretKey::from_armor_single(std::fs::File::open(keyfile).unwrap()) [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] 1 + use rpgp_0_10::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `SignedSecretKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 110 - pgp::SignedSecretKey::from_armor_single(std::fs::File::open(keyfile).unwrap()) [INFO] [stdout] 110 + SignedSecretKey::from_armor_single(std::fs::File::open(keyfile).unwrap()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cmail-rpgp` (test "message_test") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/security.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | let _ = pgp::composed::cleartext::CleartextSignedMessage::from_armor(bad_input); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::cleartext::CleartextSignedMessage; [INFO] [stdout] | [INFO] [stdout] help: if you import `CleartextSignedMessage`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 75 - let _ = pgp::composed::cleartext::CleartextSignedMessage::from_armor(bad_input); [INFO] [stdout] 75 + let _ = CleartextSignedMessage::from_armor(bad_input); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/security.rs:84:13 [INFO] [stdout] | [INFO] [stdout] 84 | let _ = pgp::composed::cleartext::CleartextSignedMessage::from_string(bad_input); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::cleartext::CleartextSignedMessage; [INFO] [stdout] | [INFO] [stdout] help: if you import `CleartextSignedMessage`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 84 - let _ = pgp::composed::cleartext::CleartextSignedMessage::from_string(bad_input); [INFO] [stdout] 84 + let _ = CleartextSignedMessage::from_string(bad_input); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/security.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | let _ = pgp::composed::cleartext::CleartextSignedMessage::from_string(data); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::cleartext::CleartextSignedMessage; [INFO] [stdout] | [INFO] [stdout] help: if you import `CleartextSignedMessage`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 98 - let _ = pgp::composed::cleartext::CleartextSignedMessage::from_string(data); [INFO] [stdout] 98 + let _ = CleartextSignedMessage::from_string(data); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/security.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let _ = pgp::composed::cleartext::CleartextSignedMessage::from_armor(&data[..]); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::cleartext::CleartextSignedMessage; [INFO] [stdout] | [INFO] [stdout] help: if you import `CleartextSignedMessage`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 124 - let _ = pgp::composed::cleartext::CleartextSignedMessage::from_armor(&data[..]); [INFO] [stdout] 124 + let _ = CleartextSignedMessage::from_armor(&data[..]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/security.rs:157:15 [INFO] [stdout] | [INFO] [stdout] 157 | let key = pgp::composed::SignedPublicKey::from_bytes(bad_input).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::SignedPublicKey; [INFO] [stdout] | [INFO] [stdout] 1 + use rpgp_0_10::SignedPublicKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `SignedPublicKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 157 - let key = pgp::composed::SignedPublicKey::from_bytes(bad_input).unwrap(); [INFO] [stdout] 157 + let key = SignedPublicKey::from_bytes(bad_input).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/security.rs:184:15 [INFO] [stdout] | [INFO] [stdout] 184 | let key = pgp::composed::SignedSecretKey::from_bytes(bad_input).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] 1 + use rpgp_0_10::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `SignedSecretKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 184 - let key = pgp::composed::SignedSecretKey::from_bytes(bad_input).unwrap(); [INFO] [stdout] 184 + let key = SignedSecretKey::from_bytes(bad_input).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/security.rs:199:13 [INFO] [stdout] | [INFO] [stdout] 199 | pgp::types::EskType::V6, [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::types::EskType; [INFO] [stdout] | [INFO] [stdout] help: if you import `EskType`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 199 - pgp::types::EskType::V6, [INFO] [stdout] 199 + EskType::V6, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/security.rs:218:15 [INFO] [stdout] | [INFO] [stdout] 218 | let key = pgp::composed::SignedSecretKey::from_bytes(bad_input).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] 1 + use rpgp_0_10::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `SignedSecretKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 218 - let key = pgp::composed::SignedSecretKey::from_bytes(bad_input).unwrap(); [INFO] [stdout] 218 + let key = SignedSecretKey::from_bytes(bad_input).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/security.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | pgp::types::EskType::V6, [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::types::EskType; [INFO] [stdout] | [INFO] [stdout] help: if you import `EskType`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 228 - pgp::types::EskType::V6, [INFO] [stdout] 228 + EskType::V6, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/security.rs:243:15 [INFO] [stdout] | [INFO] [stdout] 243 | let key = pgp::composed::SignedSecretKey::from_bytes(bad_input).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] 1 + use rpgp_0_10::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `SignedSecretKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 243 - let key = pgp::composed::SignedSecretKey::from_bytes(bad_input).unwrap(); [INFO] [stdout] 243 + let key = SignedSecretKey::from_bytes(bad_input).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/security.rs:250:9 [INFO] [stdout] | [INFO] [stdout] 250 | pgp::crypto::hash::HashAlgorithm::SHA2_256, [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::crypto::hash::HashAlgorithm; [INFO] [stdout] | [INFO] [stdout] 1 + use rpgp_0_10::crypto::hash::HashAlgorithm; [INFO] [stdout] | [INFO] [stdout] help: if you import `HashAlgorithm`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 250 - pgp::crypto::hash::HashAlgorithm::SHA2_256, [INFO] [stdout] 250 + HashAlgorithm::SHA2_256, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/security.rs:264:15 [INFO] [stdout] | [INFO] [stdout] 264 | let key = pgp::composed::SignedSecretKey::from_bytes(bad_input).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] 1 + use rpgp_0_10::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `SignedSecretKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 264 - let key = pgp::composed::SignedSecretKey::from_bytes(bad_input).unwrap(); [INFO] [stdout] 264 + let key = SignedSecretKey::from_bytes(bad_input).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/security.rs:274:9 [INFO] [stdout] | [INFO] [stdout] 274 | pgp::crypto::hash::HashAlgorithm::SHA2_256, [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::crypto::hash::HashAlgorithm; [INFO] [stdout] | [INFO] [stdout] 1 + use rpgp_0_10::crypto::hash::HashAlgorithm; [INFO] [stdout] | [INFO] [stdout] help: if you import `HashAlgorithm`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 274 - pgp::crypto::hash::HashAlgorithm::SHA2_256, [INFO] [stdout] 274 + HashAlgorithm::SHA2_256, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/security.rs:287:15 [INFO] [stdout] | [INFO] [stdout] 287 | let key = pgp::composed::SignedSecretKey::from_bytes(bad_input).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] 1 + use rpgp_0_10::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `SignedSecretKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 287 - let key = pgp::composed::SignedSecretKey::from_bytes(bad_input).unwrap(); [INFO] [stdout] 287 + let key = SignedSecretKey::from_bytes(bad_input).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/security.rs:292:9 [INFO] [stdout] | [INFO] [stdout] 292 | pgp::crypto::hash::HashAlgorithm::SHA2_256, [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::crypto::hash::HashAlgorithm; [INFO] [stdout] | [INFO] [stdout] 1 + use rpgp_0_10::crypto::hash::HashAlgorithm; [INFO] [stdout] | [INFO] [stdout] help: if you import `HashAlgorithm`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 292 - pgp::crypto::hash::HashAlgorithm::SHA2_256, [INFO] [stdout] 292 + HashAlgorithm::SHA2_256, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/security.rs:305:13 [INFO] [stdout] | [INFO] [stdout] 305 | let _ = pgp::composed::StandaloneSignature::from_bytes(bad_input); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::StandaloneSignature; [INFO] [stdout] | [INFO] [stdout] 1 + use rpgp_0_10::StandaloneSignature; [INFO] [stdout] | [INFO] [stdout] help: if you import `StandaloneSignature`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 305 - let _ = pgp::composed::StandaloneSignature::from_bytes(bad_input); [INFO] [stdout] 305 + let _ = StandaloneSignature::from_bytes(bad_input); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cmail-rpgp` (test "backward-compat") due to 8 previous errors [INFO] [stderr] error: could not compile `cmail-rpgp` (test "rfc9580") due to 8 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/hsm-test.rs:29:67 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn with_public_key(public_key: PublicKey) -> Result { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::errors; [INFO] [stdout] | [INFO] [stdout] 1 + use rpgp_0_10::errors; [INFO] [stdout] | [INFO] [stdout] 1 + use rsa::errors; [INFO] [stdout] | [INFO] [stdout] help: if you import `errors`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 29 - pub fn with_public_key(public_key: PublicKey) -> Result { [INFO] [stdout] 29 + pub fn with_public_key(public_key: PublicKey) -> Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/hsm-test.rs:61:10 [INFO] [stdout] | [INFO] [stdout] 61 | ) -> pgp::errors::Result<()> { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::errors; [INFO] [stdout] | [INFO] [stdout] 1 + use rpgp_0_10::errors; [INFO] [stdout] | [INFO] [stdout] 1 + use rsa::errors; [INFO] [stdout] | [INFO] [stdout] help: if you import `errors`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 61 - ) -> pgp::errors::Result<()> { [INFO] [stdout] 61 + ) -> errors::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/hsm-test.rs:70:10 [INFO] [stdout] | [INFO] [stdout] 70 | ) -> pgp::errors::Result { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::errors; [INFO] [stdout] | [INFO] [stdout] 1 + use rpgp_0_10::errors; [INFO] [stdout] | [INFO] [stdout] 1 + use rsa::errors; [INFO] [stdout] | [INFO] [stdout] help: if you import `errors`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 70 - ) -> pgp::errors::Result { [INFO] [stdout] 70 + ) -> errors::Result { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/hsm-test.rs:74:74 [INFO] [stdout] | [INFO] [stdout] 74 | fn serialize_for_hashing(&self, writer: &mut impl std::io::Write) -> pgp::errors::Result<()> { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::errors; [INFO] [stdout] | [INFO] [stdout] 1 + use rpgp_0_10::errors; [INFO] [stdout] | [INFO] [stdout] 1 + use rsa::errors; [INFO] [stdout] | [INFO] [stdout] help: if you import `errors`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 74 - fn serialize_for_hashing(&self, writer: &mut impl std::io::Write) -> pgp::errors::Result<()> { [INFO] [stdout] 74 + fn serialize_for_hashing(&self, writer: &mut impl std::io::Write) -> errors::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/hsm-test.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | fn version(&self) -> pgp::types::KeyVersion { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::packet::types; [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::types; [INFO] [stdout] | [INFO] [stdout] 1 + use rpgp_0_10::packet::types; [INFO] [stdout] | [INFO] [stdout] 1 + use rpgp_0_10::types; [INFO] [stdout] | [INFO] [stdout] help: if you import `types`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 81 - fn version(&self) -> pgp::types::KeyVersion { [INFO] [stdout] 81 + fn version(&self) -> types::KeyVersion { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/hsm-test.rs:117:39 [INFO] [stdout] | [INFO] [stdout] 117 | G: FnOnce(&Self::Unlocked) -> pgp::errors::Result, [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::errors; [INFO] [stdout] | [INFO] [stdout] 1 + use rpgp_0_10::errors; [INFO] [stdout] | [INFO] [stdout] 1 + use rsa::errors; [INFO] [stdout] | [INFO] [stdout] help: if you import `errors`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 117 - G: FnOnce(&Self::Unlocked) -> pgp::errors::Result, [INFO] [stdout] 117 + G: FnOnce(&Self::Unlocked) -> errors::Result, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/hsm-test.rs:114:51 [INFO] [stdout] | [INFO] [stdout] 114 | fn unlock(&self, _pw: F, work: G) -> pgp::errors::Result [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::errors; [INFO] [stdout] | [INFO] [stdout] 1 + use rpgp_0_10::errors; [INFO] [stdout] | [INFO] [stdout] 1 + use rsa::errors; [INFO] [stdout] | [INFO] [stdout] help: if you import `errors`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 114 - fn unlock(&self, _pw: F, work: G) -> pgp::errors::Result [INFO] [stdout] 114 + fn unlock(&self, _pw: F, work: G) -> errors::Result [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/hsm-test.rs:127:10 [INFO] [stdout] | [INFO] [stdout] 127 | ) -> pgp::errors::Result [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::errors; [INFO] [stdout] | [INFO] [stdout] 1 + use rpgp_0_10::errors; [INFO] [stdout] | [INFO] [stdout] 1 + use rsa::errors; [INFO] [stdout] | [INFO] [stdout] help: if you import `errors`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 127 - ) -> pgp::errors::Result [INFO] [stdout] 127 + ) -> errors::Result [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/hsm-test.rs:166:10 [INFO] [stdout] | [INFO] [stdout] 166 | ) -> pgp::errors::Result<(Vec, SymmetricKeyAlgorithm)> { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::errors; [INFO] [stdout] | [INFO] [stdout] 1 + use rpgp_0_10::errors; [INFO] [stdout] | [INFO] [stdout] 1 + use rsa::errors; [INFO] [stdout] | [INFO] [stdout] help: if you import `errors`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 166 - ) -> pgp::errors::Result<(Vec, SymmetricKeyAlgorithm)> { [INFO] [stdout] 166 + ) -> errors::Result<(Vec, SymmetricKeyAlgorithm)> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/hsm-test.rs:228:46 [INFO] [stdout] | [INFO] [stdout] 228 | let decrypted_key: Vec = pgp::crypto::ecdh::derive_session_key( [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::crypto::ecdh; [INFO] [stdout] | [INFO] [stdout] help: if you import `ecdh`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 228 - let decrypted_key: Vec = pgp::crypto::ecdh::derive_session_key( [INFO] [stdout] 228 + let decrypted_key: Vec = ecdh::derive_session_key( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/hsm-test.rs:346:26 [INFO] [stdout] | [INFO] [stdout] 346 | let (mut x, _) = pgp::composed::signed_key::from_reader_many(key_file).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::signed_key; [INFO] [stdout] | [INFO] [stdout] help: if you import `signed_key`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 346 - let (mut x, _) = pgp::composed::signed_key::from_reader_many(key_file).unwrap(); [INFO] [stdout] 346 + let (mut x, _) = signed_key::from_reader_many(key_file).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/hsm-test.rs:384:22 [INFO] [stdout] | [INFO] [stdout] 384 | .decrypt(pgp::PlainSessionKey::V3_4 { [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::PlainSessionKey; [INFO] [stdout] | [INFO] [stdout] help: if you import `PlainSessionKey`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 384 - .decrypt(pgp::PlainSessionKey::V3_4 { [INFO] [stdout] 384 + .decrypt(PlainSessionKey::V3_4 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/hsm-test.rs:472:26 [INFO] [stdout] | [INFO] [stdout] 472 | let (mut x, _) = pgp::composed::signed_key::from_reader_many(key_file).unwrap(); [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use cmail_rpgp::signed_key; [INFO] [stdout] | [INFO] [stdout] help: if you import `signed_key`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 472 - let (mut x, _) = pgp::composed::signed_key::from_reader_many(key_file).unwrap(); [INFO] [stdout] 472 + let (mut x, _) = signed_key::from_reader_many(key_file).unwrap(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cmail-rpgp` (test "security") due to 18 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SignedPublicKey` [INFO] [stdout] --> tests/key_test.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | for (j, key) in SignedPublicKey::from_bytes_many(f).enumerate() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SignedPublicKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 8 + use cmail_rpgp::SignedPublicKey; [INFO] [stdout] | [INFO] [stdout] 8 + use rpgp_0_10::SignedPublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SignedPublicKey` [INFO] [stdout] --> tests/key_test.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | SignedPublicKey::from_string(std::str::from_utf8(&serialized[..]).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SignedPublicKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 8 + use cmail_rpgp::SignedPublicKey; [INFO] [stdout] | [INFO] [stdout] 8 + use rpgp_0_10::SignedPublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SignedPublicKey` [INFO] [stdout] --> tests/key_test.rs:88:36 [INFO] [stdout] | [INFO] [stdout] 88 | let (key2, _headers) = SignedPublicKey::from_armor_single(&serialized[..]) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SignedPublicKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 8 + use cmail_rpgp::SignedPublicKey; [INFO] [stdout] | [INFO] [stdout] 8 + use rpgp_0_10::SignedPublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SignedPublicKey` [INFO] [stdout] --> tests/key_test.rs:246:29 [INFO] [stdout] | [INFO] [stdout] 246 | let (pk, headers) = SignedPublicKey::from_string(input).expect("failed to parse key"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SignedPublicKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 8 + use cmail_rpgp::SignedPublicKey; [INFO] [stdout] | [INFO] [stdout] 8 + use rpgp_0_10::SignedPublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SignedPublicKey` [INFO] [stdout] --> tests/key_test.rs:262:13 [INFO] [stdout] | [INFO] [stdout] 262 | SignedPublicKey::from_armor_single(&serialized[..]).expect("failed to parse round2"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SignedPublicKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 8 + use cmail_rpgp::SignedPublicKey; [INFO] [stdout] | [INFO] [stdout] 8 + use rpgp_0_10::SignedPublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SignedSecretKey` [INFO] [stdout] --> tests/key_test.rs:277:27 [INFO] [stdout] | [INFO] [stdout] 277 | let (key, _headers) = SignedSecretKey::from_string(input).expect("failed to parse key"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SignedSecretKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 8 + use cmail_rpgp::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] 8 + use rpgp_0_10::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SignedPublicKey` [INFO] [stdout] --> tests/key_test.rs:336:27 [INFO] [stdout] | [INFO] [stdout] 336 | let (key, _headers) = SignedPublicKey::from_armor_single(file).expect("failed to parse key"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SignedPublicKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 8 + use cmail_rpgp::SignedPublicKey; [INFO] [stdout] | [INFO] [stdout] 8 + use rpgp_0_10::SignedPublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SignedSecretKey` [INFO] [stdout] --> tests/key_test.rs:624:27 [INFO] [stdout] | [INFO] [stdout] 624 | let (key, _headers) = SignedSecretKey::from_string(input).expect("failed to parse key"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SignedSecretKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 8 + use cmail_rpgp::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] 8 + use rpgp_0_10::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SignedPublicKey` in this scope [INFO] [stdout] --> tests/key_test.rs:679:64 [INFO] [stdout] | [INFO] [stdout] 679 | fn get_test_fingerprint(filename: &str) -> (serde_json::Value, SignedPublicKey) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 8 + use cmail_rpgp::SignedPublicKey; [INFO] [stdout] | [INFO] [stdout] 8 + use rpgp_0_10::SignedPublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SignedPublicKey` [INFO] [stdout] --> tests/key_test.rs:695:27 [INFO] [stdout] | [INFO] [stdout] 695 | let (key, _headers) = SignedPublicKey::from_string(&asc_string).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SignedPublicKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 8 + use cmail_rpgp::SignedPublicKey; [INFO] [stdout] | [INFO] [stdout] 8 + use rpgp_0_10::SignedPublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_armor_many` in this scope [INFO] [stdout] --> tests/key_test.rs:764:25 [INFO] [stdout] | [INFO] [stdout] 764 | let (pk, headers) = from_armor_many(f).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 8 + use cmail_rpgp::from_armor_many; [INFO] [stdout] | [INFO] [stdout] 8 + use rpgp_0_10::from_armor_many; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PublicOrSecret` in this scope [INFO] [stdout] --> tests/key_test.rs:765:17 [INFO] [stdout] | [INFO] [stdout] 765 | let pk: Vec = pk.collect::>().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 8 + use cmail_rpgp::PublicOrSecret; [INFO] [stdout] | [INFO] [stdout] 8 + use rpgp_0_10::PublicOrSecret; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PublicOrSecret` [INFO] [stdout] --> tests/key_test.rs:789:13 [INFO] [stdout] | [INFO] [stdout] 789 | PublicOrSecret::Public(_) => armor::BlockType::PublicKey, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PublicOrSecret` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 8 + use cmail_rpgp::PublicOrSecret; [INFO] [stdout] | [INFO] [stdout] 8 + use rpgp_0_10::PublicOrSecret; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PublicOrSecret` [INFO] [stdout] --> tests/key_test.rs:790:13 [INFO] [stdout] | [INFO] [stdout] 790 | PublicOrSecret::Secret(_) => armor::BlockType::PrivateKey, [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PublicOrSecret` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 8 + use cmail_rpgp::PublicOrSecret; [INFO] [stdout] | [INFO] [stdout] 8 + use rpgp_0_10::PublicOrSecret; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_armor_many` in this scope [INFO] [stdout] --> tests/key_test.rs:812:33 [INFO] [stdout] | [INFO] [stdout] 812 | let (iter2, headers2) = from_armor_many(&serialized[..]).expect("failed to parse round2"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 8 + use cmail_rpgp::from_armor_many; [INFO] [stdout] | [INFO] [stdout] 8 + use rpgp_0_10::from_armor_many; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PublicOrSecret` [INFO] [stdout] --> tests/key_test.rs:821:17 [INFO] [stdout] | [INFO] [stdout] 821 | PublicOrSecret::Secret(sec) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PublicOrSecret` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 8 + use cmail_rpgp::PublicOrSecret; [INFO] [stdout] | [INFO] [stdout] 8 + use rpgp_0_10::PublicOrSecret; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PublicOrSecret` [INFO] [stdout] --> tests/key_test.rs:824:17 [INFO] [stdout] | [INFO] [stdout] 824 | PublicOrSecret::Public(_) => { [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `PublicOrSecret` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 8 + use cmail_rpgp::PublicOrSecret; [INFO] [stdout] | [INFO] [stdout] 8 + use rpgp_0_10::PublicOrSecret; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_bytes_many` in this scope [INFO] [stdout] --> tests/key_test.rs:836:14 [INFO] [stdout] | [INFO] [stdout] 836 | let pk = from_bytes_many(f); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 8 + use cmail_rpgp::from_bytes_many; [INFO] [stdout] | [INFO] [stdout] 8 + use rpgp_0_10::from_bytes_many; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_armor_many` in this scope [INFO] [stdout] --> tests/key_test.rs:847:23 [INFO] [stdout] | [INFO] [stdout] 847 | let parsed2 = from_armor_many(&serialized[..]) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 8 + use cmail_rpgp::from_armor_many; [INFO] [stdout] | [INFO] [stdout] 8 + use rpgp_0_10::from_armor_many; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SignedSecretKey` [INFO] [stdout] --> tests/key_test.rs:1064:26 [INFO] [stdout] | [INFO] [stdout] 1064 | let (sk, _headers) = SignedSecretKey::from_armor_single(f).expect("failed to parse key"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SignedSecretKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 8 + use cmail_rpgp::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] 8 + use rpgp_0_10::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SignedSecretKey` [INFO] [stdout] --> tests/key_test.rs:1089:26 [INFO] [stdout] | [INFO] [stdout] 1089 | let (sk, _headers) = SignedSecretKey::from_armor_single(f).expect("failed to parse key"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SignedSecretKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 8 + use cmail_rpgp::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] 8 + use rpgp_0_10::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SignedSecretKey` [INFO] [stdout] --> tests/key_test.rs:1117:26 [INFO] [stdout] | [INFO] [stdout] 1117 | let (sk, _headers) = SignedSecretKey::from_armor_single(f).expect("failed to parse key"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SignedSecretKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 8 + use cmail_rpgp::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] 8 + use rpgp_0_10::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SignedSecretKey` [INFO] [stdout] --> tests/key_test.rs:1142:26 [INFO] [stdout] | [INFO] [stdout] 1142 | let (sk, _headers) = SignedSecretKey::from_armor_single(f).expect("failed to parse key"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SignedSecretKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 8 + use cmail_rpgp::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] 8 + use rpgp_0_10::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SignedPublicKey` [INFO] [stdout] --> tests/key_test.rs:1167:26 [INFO] [stdout] | [INFO] [stdout] 1167 | let (pk, _headers) = SignedPublicKey::from_armor_single(f).expect("failed to parse key"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SignedPublicKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 8 + use cmail_rpgp::SignedPublicKey; [INFO] [stdout] | [INFO] [stdout] 8 + use rpgp_0_10::SignedPublicKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_armor_many` in this scope [INFO] [stdout] --> tests/key_test.rs:1193:26 [INFO] [stdout] | [INFO] [stdout] 1193 | let (pk, _headers) = from_armor_many(f).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 8 + use cmail_rpgp::from_armor_many; [INFO] [stdout] | [INFO] [stdout] 8 + use rpgp_0_10::from_armor_many; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_armor_many` in this scope [INFO] [stdout] --> tests/key_test.rs:1213:23 [INFO] [stdout] | [INFO] [stdout] 1213 | let parsed2 = from_armor_many(&serialized[..]) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these functions [INFO] [stdout] | [INFO] [stdout] 8 + use cmail_rpgp::from_armor_many; [INFO] [stdout] | [INFO] [stdout] 8 + use rpgp_0_10::from_armor_many; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SignedSecretKey` [INFO] [stdout] --> tests/key_test.rs:1254:13 [INFO] [stdout] | [INFO] [stdout] 1254 | let k = SignedSecretKey::from_bytes(&v[..]); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SignedSecretKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 8 + use cmail_rpgp::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] 8 + use rpgp_0_10::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SignedSecretKey` [INFO] [stdout] --> tests/key_test.rs:1269:27 [INFO] [stdout] | [INFO] [stdout] 1269 | let (key, _headers) = SignedSecretKey::from_string(input).expect("failed to parse key"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SignedSecretKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 8 + use cmail_rpgp::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] 8 + use rpgp_0_10::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SignedSecretKey` [INFO] [stdout] --> tests/key_test.rs:1274:15 [INFO] [stdout] | [INFO] [stdout] 1274 | let key = SignedSecretKey::from_bytes(&raw[..]).expect("failed"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SignedSecretKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 8 + use cmail_rpgp::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] 8 + use rpgp_0_10::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SignedSecretKey` [INFO] [stdout] --> tests/key_test.rs:1294:27 [INFO] [stdout] | [INFO] [stdout] 1294 | let (key, _headers) = SignedSecretKey::from_string(input).expect("failed to parse key"); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `SignedSecretKey` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 8 + use cmail_rpgp::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] 8 + use rpgp_0_10::SignedSecretKey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `pgp` [INFO] [stdout] --> tests/key_test.rs:1305:9 [INFO] [stdout] | [INFO] [stdout] 1305 | pgp::errors::Error::InvalidInput [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `pgp` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `pgp`, use `cargo add pgp` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 8 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 8 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 8 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] and 28 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 1305 - pgp::errors::Error::InvalidInput [INFO] [stdout] 1305 + Error::InvalidInput [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cmail-rpgp` (test "hsm-test") due to 23 previous errors [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cmail-rpgp` (test "key_test") due to 41 previous errors [INFO] running `Command { std: "docker" "inspect" "b4b035169ac7688795f13f1c6d04fd3c23c67b8dd1eb50963183bb2d0a04cf6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4b035169ac7688795f13f1c6d04fd3c23c67b8dd1eb50963183bb2d0a04cf6d", kill_on_drop: false }` [INFO] [stdout] b4b035169ac7688795f13f1c6d04fd3c23c67b8dd1eb50963183bb2d0a04cf6d