[INFO] fetching crate webauthn-rs-icp 0.5.0... [INFO] testing webauthn-rs-icp-0.5.0 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate webauthn-rs-icp 0.5.0 into /workspace/builds/worker-5-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate webauthn-rs-icp 0.5.0 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d00e1d0d3a764feb7419631a63c085f5fa6493df6f1693a76d72d9b6ef0ffcea [INFO] running `Command { std: "docker" "start" "-a" "d00e1d0d3a764feb7419631a63c085f5fa6493df6f1693a76d72d9b6ef0ffcea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d00e1d0d3a764feb7419631a63c085f5fa6493df6f1693a76d72d9b6ef0ffcea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d00e1d0d3a764feb7419631a63c085f5fa6493df6f1693a76d72d9b6ef0ffcea", kill_on_drop: false }` [INFO] [stdout] d00e1d0d3a764feb7419631a63c085f5fa6493df6f1693a76d72d9b6ef0ffcea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] adb42692e768dc3e58a9d0c6b9889eb125cbe759cc26c6a27e7fb0d91516d9f1 [INFO] running `Command { std: "docker" "start" "-a" "adb42692e768dc3e58a9d0c6b9889eb125cbe759cc26c6a27e7fb0d91516d9f1", kill_on_drop: false }` [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling const-oid v0.9.6 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling generic-array v0.14.9 [INFO] [stderr] Compiling cc v1.2.47 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerovec-derive v0.11.2 [INFO] [stderr] Compiling yoke-derive v0.8.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling base64ct v1.8.0 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling candid_derive v0.10.20 [INFO] [stderr] Compiling pretty v0.12.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling leb128 v0.2.5 [INFO] [stderr] Compiling pem-rfc7468 v0.7.0 [INFO] [stderr] Compiling der v0.7.10 [INFO] [stderr] Compiling icu_properties_data v2.1.1 [INFO] [stderr] Compiling time-core v0.1.6 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling time-macros v0.2.24 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling deranged v0.5.5 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling ff v0.13.1 [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 crypto-bigint v0.5.5 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling spki v0.7.3 [INFO] [stderr] Compiling yoke v0.8.1 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling stacker v0.1.22 [INFO] [stderr] Compiling zerotrie v0.2.3 [INFO] [stderr] Compiling zerovec v0.11.5 [INFO] [stderr] Compiling pkcs8 v0.10.2 [INFO] [stderr] Compiling ic_principal v0.1.1 [INFO] [stderr] Compiling sec1 v0.7.3 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling ic-cdk-executor v2.0.0 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling oid-registry v0.4.0 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling rfc6979 v0.4.0 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling signature v2.2.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling ic0 v1.0.1 [INFO] [stderr] Compiling ic-stable-structures v0.5.6 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling serde_cbor_2 v0.12.0-dev [INFO] [stderr] Compiling tinystr v0.8.2 [INFO] [stderr] Compiling potential_utf v0.1.4 [INFO] [stderr] Compiling icu_collections v2.1.1 [INFO] [stderr] Compiling icu_locale_core v2.1.1 [INFO] [stderr] Compiling time v0.3.44 [INFO] [stderr] Compiling elliptic-curve v0.13.8 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling rusticata-macros v4.1.0 [INFO] [stderr] Compiling ic-error-types v0.2.0 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling primeorder v0.13.6 [INFO] [stderr] Compiling ecdsa v0.16.9 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling icu_provider v2.1.1 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling p256 v0.13.2 [INFO] [stderr] Compiling icu_normalizer v2.1.1 [INFO] [stderr] Compiling icu_properties v2.1.1 [INFO] [stderr] Compiling ar_archive_writer v0.2.0 [INFO] [stderr] Compiling psm v0.1.28 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling binread_derive v2.1.0 [INFO] [stderr] Compiling asn1-rs-derive v0.1.0 [INFO] [stderr] Compiling asn1-rs-impl v0.1.0 [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 x509-parser v0.13.2 [INFO] [stderr] Compiling candid v0.10.20 [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" "adb42692e768dc3e58a9d0c6b9889eb125cbe759cc26c6a27e7fb0d91516d9f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "adb42692e768dc3e58a9d0c6b9889eb125cbe759cc26c6a27e7fb0d91516d9f1", kill_on_drop: false }` [INFO] [stdout] adb42692e768dc3e58a9d0c6b9889eb125cbe759cc26c6a27e7fb0d91516d9f1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6b84fcbe62c0625556feff76db1d3f4c2d2869537475ff10ba8e3c4ae61278fa [INFO] running `Command { std: "docker" "start" "-a" "6b84fcbe62c0625556feff76db1d3f4c2d2869537475ff10ba8e3c4ae61278fa", 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.72s [INFO] running `Command { std: "docker" "inspect" "6b84fcbe62c0625556feff76db1d3f4c2d2869537475ff10ba8e3c4ae61278fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b84fcbe62c0625556feff76db1d3f4c2d2869537475ff10ba8e3c4ae61278fa", kill_on_drop: false }` [INFO] [stdout] 6b84fcbe62c0625556feff76db1d3f4c2d2869537475ff10ba8e3c4ae61278fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4a3835f1ea2f05cc960493eaade0eb0f95bedd48e7082ea97beca048e17980f1 [INFO] running `Command { std: "docker" "start" "-a" "4a3835f1ea2f05cc960493eaade0eb0f95bedd48e7082ea97beca048e17980f1", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [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 - Webauthn::start_passkey_registration (line 382) ... FAILED [INFO] [stdout] test src/lib.rs - WebauthnBuilder<'a>::build (line 269) ... FAILED [INFO] [stdout] test src/lib.rs - WebauthnBuilder<'a>::new (line 195) ... FAILED [INFO] [stdout] test src/lib.rs - WebauthnBuilder<'a>::new (line 180) ... FAILED [INFO] [stdout] test src/lib.rs - (line 18) ... FAILED [INFO] [stdout] test src/lib.rs - Webauthn::start_securitykey_registration (line 589) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [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] ---- 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 - 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>::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 - (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 - 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] [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.37s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "4a3835f1ea2f05cc960493eaade0eb0f95bedd48e7082ea97beca048e17980f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a3835f1ea2f05cc960493eaade0eb0f95bedd48e7082ea97beca048e17980f1", kill_on_drop: false }` [INFO] [stdout] 4a3835f1ea2f05cc960493eaade0eb0f95bedd48e7082ea97beca048e17980f1