[INFO] fetching crate webauthn-rs-icp 0.5.0... [INFO] testing webauthn-rs-icp-0.5.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate webauthn-rs-icp 0.5.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate webauthn-rs-icp 0.5.0 [INFO] finished tweaking crates.io crate webauthn-rs-icp 0.5.0 [INFO] tweaked toml for crates.io crate webauthn-rs-icp 0.5.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate webauthn-rs-icp 0.5.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate webauthn-rs-icp 0.5.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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ic-error-types v0.2.0 [INFO] [stderr] Downloaded ic0 v1.0.1 [INFO] [stderr] Downloaded webauthn-rs-proto-icp v0.4.8 [INFO] [stderr] Downloaded asn1-rs-derive v0.1.0 [INFO] [stderr] Downloaded oid-registry v0.4.0 [INFO] [stderr] Downloaded x509-parser v0.13.2 [INFO] [stderr] Downloaded ic_principal v0.1.1 [INFO] [stderr] Downloaded pretty v0.12.5 [INFO] [stderr] Downloaded ic-stable-structures v0.5.6 [INFO] [stderr] Downloaded ic-management-canister-types v0.5.0 [INFO] [stderr] Downloaded ic-cdk v0.19.0 [INFO] [stderr] Downloaded ic-cdk-macros v0.19.0 [INFO] [stderr] Downloaded binread v2.2.0 [INFO] [stderr] Downloaded binread_derive v2.1.0 [INFO] [stderr] Downloaded candid_derive v0.10.20 [INFO] [stderr] Downloaded serde_cbor_2 v0.12.0-dev [INFO] [stderr] Downloaded candid v0.10.20 [INFO] [stderr] Downloaded ic-cdk-executor v2.0.0 [INFO] [stderr] Downloaded der-parser v7.0.0 [INFO] [stderr] Downloaded asn1-rs v0.3.1 [INFO] [stderr] Downloaded webauthn-rs-core-icp v0.5.0 [INFO] [stderr] Downloaded base64urlsafedata-icp v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ae5d240e95a690f51037bad7e56b9ba480cc31e65f5e07f62e1c4f8533baa0fa [INFO] running `Command { std: "docker" "start" "-a" "ae5d240e95a690f51037bad7e56b9ba480cc31e65f5e07f62e1c4f8533baa0fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae5d240e95a690f51037bad7e56b9ba480cc31e65f5e07f62e1c4f8533baa0fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae5d240e95a690f51037bad7e56b9ba480cc31e65f5e07f62e1c4f8533baa0fa", kill_on_drop: false }` [INFO] [stdout] ae5d240e95a690f51037bad7e56b9ba480cc31e65f5e07f62e1c4f8533baa0fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f57dbd4dd25f0524068734d7babdcc6580fd09e524935ab98d80c82ab7737c60 [INFO] running `Command { std: "docker" "start" "-a" "f57dbd4dd25f0524068734d7babdcc6580fd09e524935ab98d80c82ab7737c60", kill_on_drop: false }` [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling cc v1.2.47 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling candid_derive v0.10.20 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling pretty v0.12.5 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling ff v0.13.1 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling base16ct v0.2.0 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling group v0.13.0 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling oid-registry v0.4.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling crypto-bigint v0.5.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling ic-cdk-executor v2.0.0 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling stacker v0.1.22 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling ic0 v1.0.1 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling ic-stable-structures v0.5.6 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling rusticata-macros v4.1.0 [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling serde_cbor_2 v0.12.0-dev [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling ic-error-types v0.2.0 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [INFO] [stderr] Compiling asn1-rs-derive v0.1.0 [INFO] [stderr] Compiling ar_archive_writer v0.2.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling psm v0.1.28 [INFO] [stderr] Compiling asn1-rs v0.3.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling binread v2.2.0 [INFO] [stderr] Compiling der-parser v7.0.0 [INFO] [stderr] Compiling candid v0.10.20 [INFO] [stderr] Compiling x509-parser v0.13.2 [INFO] [stderr] Compiling ic-management-canister-types v0.5.0 [INFO] [stderr] Compiling base64urlsafedata-icp v0.1.2 [INFO] [stderr] Compiling webauthn-rs-proto-icp v0.4.8 [INFO] [stderr] Compiling ic-cdk-macros v0.19.0 [INFO] [stderr] Compiling ic-cdk v0.19.0 [INFO] [stderr] Compiling webauthn-rs-core-icp v0.5.0 [INFO] [stderr] Compiling webauthn-rs-icp v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 07s [INFO] running `Command { std: "docker" "inspect" "f57dbd4dd25f0524068734d7babdcc6580fd09e524935ab98d80c82ab7737c60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f57dbd4dd25f0524068734d7babdcc6580fd09e524935ab98d80c82ab7737c60", kill_on_drop: false }` [INFO] [stdout] f57dbd4dd25f0524068734d7babdcc6580fd09e524935ab98d80c82ab7737c60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e64d10de3a4430dcaad7e2b69317a0f54593ac26d3d064978f31698f2a02cbb8 [INFO] running `Command { std: "docker" "start" "-a" "e64d10de3a4430dcaad7e2b69317a0f54593ac26d3d064978f31698f2a02cbb8", kill_on_drop: false }` [INFO] [stderr] Compiling webauthn-rs-icp v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.80s [INFO] running `Command { std: "docker" "inspect" "e64d10de3a4430dcaad7e2b69317a0f54593ac26d3d064978f31698f2a02cbb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e64d10de3a4430dcaad7e2b69317a0f54593ac26d3d064978f31698f2a02cbb8", kill_on_drop: false }` [INFO] [stdout] e64d10de3a4430dcaad7e2b69317a0f54593ac26d3d064978f31698f2a02cbb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 677589d87d19f66c3e585152d521e048b732155806a662b025aeea8cdefeedf3 [INFO] running `Command { std: "docker" "start" "-a" "677589d87d19f66c3e585152d521e048b732155806a662b025aeea8cdefeedf3", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/webauthn_rs_icp-19f5db8d9103c4e7) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests webauthn_rs_icp [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test src/lib.rs - (line 18) ... FAILED [INFO] [stdout] test src/lib.rs - WebauthnBuilder<'a>::new (line 180) ... FAILED [INFO] [stdout] test src/lib.rs - Webauthn::start_securitykey_registration (line 589) ... FAILED [INFO] [stdout] test src/lib.rs - WebauthnBuilder<'a>::new (line 195) ... FAILED [INFO] [stdout] test src/lib.rs - WebauthnBuilder<'a>::build (line 269) ... FAILED [INFO] [stdout] test src/lib.rs - Webauthn::start_passkey_registration (line 382) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 18) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `webauthn_rs` in this scope [INFO] [stdout] --> src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use webauthn_rs::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `webauthn_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `webauthn_rs`, use `cargo add webauthn_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Url` in this scope [INFO] [stdout] --> src/lib.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | let rp_origin = Url::parse("https://idm.example.com") [INFO] [stdout] | ^^^ use of undeclared type `Url` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 18 + use url::Url; [INFO] [stdout] | [INFO] [stdout] 18 + use webauthn_rs_icp::prelude::Url; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `WebauthnBuilder` in this scope [INFO] [stdout] --> src/lib.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | let mut builder = WebauthnBuilder::new(rp_id, &rp_origin) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `WebauthnBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 18 + use webauthn_rs_icp::WebauthnBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Uuid` in this scope [INFO] [stdout] --> src/lib.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | Uuid::new_v4(), [INFO] [stdout] | ^^^^ use of undeclared type `Uuid` [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - WebauthnBuilder<'a>::new (line 180) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `webauthn_rs` in this scope [INFO] [stdout] --> src/lib.rs:181:5 [INFO] [stdout] | [INFO] [stdout] 181 | use webauthn_rs::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `webauthn_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `webauthn_rs`, use `cargo add webauthn_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Url` in this scope [INFO] [stdout] --> src/lib.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | let rp_origin = Url::parse("https://idm.example.com") [INFO] [stdout] | ^^^ use of undeclared type `Url` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 180 + use url::Url; [INFO] [stdout] | [INFO] [stdout] 180 + use webauthn_rs_icp::prelude::Url; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `WebauthnBuilder` in this scope [INFO] [stdout] --> src/lib.rs:186:19 [INFO] [stdout] | [INFO] [stdout] 186 | let mut builder = WebauthnBuilder::new(rp_id, &rp_origin) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `WebauthnBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 180 + use webauthn_rs_icp::WebauthnBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Webauthn::start_securitykey_registration (line 589) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `webauthn_rs` in this scope [INFO] [stdout] --> src/lib.rs:590:5 [INFO] [stdout] | [INFO] [stdout] 590 | use webauthn_rs::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `webauthn_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `webauthn_rs`, use `cargo add webauthn_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Url` in this scope [INFO] [stdout] --> src/lib.rs:593:17 [INFO] [stdout] | [INFO] [stdout] 593 | let rp_origin = Url::parse("https://idm.example.com") [INFO] [stdout] | ^^^ use of undeclared type `Url` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 589 + use url::Url; [INFO] [stdout] | [INFO] [stdout] 589 + use webauthn_rs_icp::prelude::Url; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `WebauthnBuilder` in this scope [INFO] [stdout] --> src/lib.rs:595:19 [INFO] [stdout] | [INFO] [stdout] 595 | let mut builder = WebauthnBuilder::new(rp_id, &rp_origin) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `WebauthnBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 589 + use webauthn_rs_icp::WebauthnBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AuthenticatorAttachment` in this scope [INFO] [stdout] --> src/lib.rs:625:14 [INFO] [stdout] | [INFO] [stdout] 625 | Some(AuthenticatorAttachment::CrossPlatform), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `AuthenticatorAttachment` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these enums [INFO] [stdout] | [INFO] [stdout] 589 + use webauthn_rs_core_icp::proto::AuthenticatorAttachment; [INFO] [stdout] | [INFO] [stdout] 589 + use webauthn_rs_icp::prelude::AuthenticatorAttachment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `AttestationCaList` in this scope [INFO] [stdout] --> src/lib.rs:637:14 [INFO] [stdout] | [INFO] [stdout] 637 | Some(AttestationCaList::strict()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `AttestationCaList` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 589 + use webauthn_rs_core_icp::proto::AttestationCaList; [INFO] [stdout] | [INFO] [stdout] 589 + use webauthn_rs_icp::prelude::AttestationCaList; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Uuid` in this scope [INFO] [stdout] --> src/lib.rs:602:22 [INFO] [stdout] | [INFO] [stdout] 602 | let user_unique_id = Uuid::new_v4(); [INFO] [stdout] | ^^^^ use of undeclared type `Uuid` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Uuid` in this scope [INFO] [stdout] --> src/lib.rs:620:9 [INFO] [stdout] | [INFO] [stdout] 620 | Uuid::new_v4(), [INFO] [stdout] | ^^^^ use of undeclared type `Uuid` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Uuid` in this scope [INFO] [stdout] --> src/lib.rs:633:9 [INFO] [stdout] | [INFO] [stdout] 633 | Uuid::new_v4(), [INFO] [stdout] | ^^^^ use of undeclared type `Uuid` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - WebauthnBuilder<'a>::new (line 195) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `webauthn_rs` in this scope [INFO] [stdout] --> src/lib.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | use webauthn_rs::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `webauthn_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `webauthn_rs`, use `cargo add webauthn_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Url` in this scope [INFO] [stdout] --> src/lib.rs:199:17 [INFO] [stdout] | [INFO] [stdout] 199 | let rp_origin = Url::parse("https://idm.different.com") [INFO] [stdout] | ^^^ use of undeclared type `Url` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 195 + use url::Url; [INFO] [stdout] | [INFO] [stdout] 195 + use webauthn_rs_icp::prelude::Url; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `WebauthnBuilder` in this scope [INFO] [stdout] --> src/lib.rs:201:9 [INFO] [stdout] | [INFO] [stdout] 201 | assert!(WebauthnBuilder::new(rp_id, &rp_origin).is_err()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `WebauthnBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 195 + use webauthn_rs_icp::WebauthnBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - WebauthnBuilder<'a>::build (line 269) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `webauthn_rs` in this scope [INFO] [stdout] --> src/lib.rs:270:5 [INFO] [stdout] | [INFO] [stdout] 270 | use webauthn_rs::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `webauthn_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `webauthn_rs`, use `cargo add webauthn_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Url` in this scope [INFO] [stdout] --> src/lib.rs:273:17 [INFO] [stdout] | [INFO] [stdout] 273 | let rp_origin = Url::parse("https://idm.example.com") [INFO] [stdout] | ^^^ use of undeclared type `Url` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 269 + use url::Url; [INFO] [stdout] | [INFO] [stdout] 269 + use webauthn_rs_icp::prelude::Url; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `WebauthnBuilder` in this scope [INFO] [stdout] --> src/lib.rs:275:19 [INFO] [stdout] | [INFO] [stdout] 275 | let mut builder = WebauthnBuilder::new(rp_id, &rp_origin) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `WebauthnBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 269 + use webauthn_rs_icp::WebauthnBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - Webauthn::start_passkey_registration (line 382) stdout ---- [INFO] [stdout] error[E0433]: cannot find module or crate `webauthn_rs` in this scope [INFO] [stdout] --> src/lib.rs:383:5 [INFO] [stdout] | [INFO] [stdout] 383 | use webauthn_rs::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^ use of unresolved module or unlinked crate `webauthn_rs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `webauthn_rs`, use `cargo add webauthn_rs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Url` in this scope [INFO] [stdout] --> src/lib.rs:386:17 [INFO] [stdout] | [INFO] [stdout] 386 | let rp_origin = Url::parse("https://idm.example.com") [INFO] [stdout] | ^^^ use of undeclared type `Url` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these structs [INFO] [stdout] | [INFO] [stdout] 382 + use url::Url; [INFO] [stdout] | [INFO] [stdout] 382 + use webauthn_rs_icp::prelude::Url; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `WebauthnBuilder` in this scope [INFO] [stdout] --> src/lib.rs:388:19 [INFO] [stdout] | [INFO] [stdout] 388 | let mut builder = WebauthnBuilder::new(rp_id, &rp_origin) [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared type `WebauthnBuilder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 382 + use webauthn_rs_icp::WebauthnBuilder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Uuid` in this scope [INFO] [stdout] --> src/lib.rs:395:22 [INFO] [stdout] | [INFO] [stdout] 395 | let user_unique_id = Uuid::new_v4(); [INFO] [stdout] | ^^^^ use of undeclared type `Uuid` [INFO] [stdout] [INFO] [stdout] error[E0433]: cannot find type `Uuid` in this scope [INFO] [stdout] --> src/lib.rs:411:9 [INFO] [stdout] | [INFO] [stdout] 411 | Uuid::new_v4(), [INFO] [stdout] | ^^^^ use of undeclared type `Uuid` [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 18) [INFO] [stdout] src/lib.rs - Webauthn::start_passkey_registration (line 382) [INFO] [stdout] src/lib.rs - Webauthn::start_securitykey_registration (line 589) [INFO] [stdout] src/lib.rs - WebauthnBuilder<'a>::build (line 269) [INFO] [stdout] src/lib.rs - WebauthnBuilder<'a>::new (line 180) [INFO] [stdout] src/lib.rs - WebauthnBuilder<'a>::new (line 195) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.48s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "677589d87d19f66c3e585152d521e048b732155806a662b025aeea8cdefeedf3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "677589d87d19f66c3e585152d521e048b732155806a662b025aeea8cdefeedf3", kill_on_drop: false }` [INFO] [stdout] 677589d87d19f66c3e585152d521e048b732155806a662b025aeea8cdefeedf3