[INFO] fetching crate guardia-rs-urn 1.0.0...
[INFO] testing guardia-rs-urn-1.0.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7
[INFO] extracting crate guardia-rs-urn 1.0.0 into /workspace/builds/worker-1-tc1/source
[INFO] started tweaking crates.io crate guardia-rs-urn 1.0.0
[INFO] removed 0 missing tests
[INFO] finished tweaking crates.io crate guardia-rs-urn 1.0.0
[INFO] tweaked toml for crates.io crate guardia-rs-urn 1.0.0 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate guardia-rs-urn 1.0.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate guardia-rs-urn 1.0.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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded globwalk v0.9.1
[INFO] [stderr]   Downloaded drain_filter_polyfill v0.1.3
[INFO] [stderr]   Downloaded sealed v0.5.0
[INFO] [stderr]   Downloaded smart-default v0.7.1
[INFO] [stderr]   Downloaded inflections v1.1.1
[INFO] [stderr]   Downloaded synthez-codegen v0.3.1
[INFO] [stderr]   Downloaded synthez v0.3.1
[INFO] [stderr]   Downloaded typed-builder v0.15.2
[INFO] [stderr]   Downloaded terminal_size v0.4.2
[INFO] [stderr]   Downloaded synthez-core v0.3.1
[INFO] [stderr]   Downloaded cucumber-codegen v0.21.1
[INFO] [stderr]   Downloaded nom_locate v4.2.0
[INFO] [stderr]   Downloaded cucumber v0.21.1
[INFO] [stderr]   Downloaded cucumber-expressions v0.3.0
[INFO] [stderr]   Downloaded typed-builder-macro v0.15.2
[INFO] [stderr]   Downloaded gherkin v0.14.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] eb3c6d1102c8c2e6579132d0ac7196d2d1d2ebd8e11bddce65bc3cc1acc91d93
[INFO] running `Command { std: "docker" "start" "-a" "eb3c6d1102c8c2e6579132d0ac7196d2d1d2ebd8e11bddce65bc3cc1acc91d93", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "eb3c6d1102c8c2e6579132d0ac7196d2d1d2ebd8e11bddce65bc3cc1acc91d93", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "eb3c6d1102c8c2e6579132d0ac7196d2d1d2ebd8e11bddce65bc3cc1acc91d93", kill_on_drop: false }`
[INFO] [stdout] eb3c6d1102c8c2e6579132d0ac7196d2d1d2ebd8e11bddce65bc3cc1acc91d93
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 210cae69c9f437e974a053682e82d7116046baf3248312c7f800bd8f8179259e
[INFO] running `Command { std: "docker" "start" "-a" "210cae69c9f437e974a053682e82d7116046baf3248312c7f800bd8f8179259e", kill_on_drop: false }`
[INFO] [stderr]    Compiling smallvec v1.15.0
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling dotenv v0.15.0
[INFO] [stderr]    Compiling uuid v1.16.0
[INFO] [stderr]    Compiling signal-hook-registry v1.4.5
[INFO] [stderr]    Compiling mio v1.0.3
[INFO] [stderr]    Compiling socket2 v0.5.9
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling clap v4.5.38
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]    Compiling parking_lot v0.12.3
[INFO] [stderr]    Compiling tokio v1.45.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling guardia-rs-urn v1.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.08s
[INFO] running `Command { std: "docker" "inspect" "210cae69c9f437e974a053682e82d7116046baf3248312c7f800bd8f8179259e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "210cae69c9f437e974a053682e82d7116046baf3248312c7f800bd8f8179259e", kill_on_drop: false }`
[INFO] [stdout] 210cae69c9f437e974a053682e82d7116046baf3248312c7f800bd8f8179259e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a47a6277d2b697d0df4147a0045753c4bd4c176a1768191352314745bbf23a27
[INFO] running `Command { std: "docker" "start" "-a" "a47a6277d2b697d0df4147a0045753c4bd4c176a1768191352314745bbf23a27", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling bitflags v2.9.1
[INFO] [stderr]    Compiling rustix v1.0.7
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling bytecount v0.6.8
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling regex-syntax v0.7.5
[INFO] [stderr]    Compiling peg-runtime v0.6.3
[INFO] [stderr]    Compiling unicode-linebreak v0.1.5
[INFO] [stderr]    Compiling anyhow v1.0.98
[INFO] [stderr]    Compiling smawk v0.3.2
[INFO] [stderr]    Compiling inflections v1.1.1
[INFO] [stderr]    Compiling console v0.15.11
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling inventory v0.3.20
[INFO] [stderr]    Compiling drain_filter_polyfill v0.1.3
[INFO] [stderr]    Compiling humantime v2.2.0
[INFO] [stderr]    Compiling textwrap v0.16.2
[INFO] [stderr]    Compiling itertools v0.13.0
[INFO] [stderr]    Compiling peg-macros v0.6.3
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling bstr v1.12.0
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling terminal_size v0.4.2
[INFO] [stderr]    Compiling clap_builder v4.5.38
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling peg v0.6.3
[INFO] [stderr]    Compiling nom_locate v4.2.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling globset v0.4.16
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling sealed v0.5.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling clap_derive v4.5.32
[INFO] [stderr]    Compiling derive_more v0.99.20
[INFO] [stderr]    Compiling typed-builder-macro v0.15.2
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling pin-project-internal v1.1.10
[INFO] [stderr]    Compiling synthez-core v0.3.1
[INFO] [stderr]    Compiling ignore v0.4.23
[INFO] [stderr]    Compiling smart-default v0.7.1
[INFO] [stderr]    Compiling tokio v1.45.0
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling typed-builder v0.15.2
[INFO] [stderr]    Compiling globwalk v0.9.1
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling pin-project v1.1.10
[INFO] [stderr]    Compiling lazy-regex-proc_macros v3.4.1
[INFO] [stderr]    Compiling synthez-codegen v0.3.1
[INFO] [stderr]    Compiling synthez v0.3.1
[INFO] [stderr]    Compiling cucumber-expressions v0.3.0
[INFO] [stderr]    Compiling lazy-regex v3.4.1
[INFO] [stderr]    Compiling clap v4.5.38
[INFO] [stderr]    Compiling cucumber-codegen v0.21.1
[INFO] [stderr]    Compiling futures-executor v0.3.31
[INFO] [stderr]    Compiling futures v0.3.31
[INFO] [stderr]    Compiling guardia-rs-urn v1.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling gherkin v0.14.0
[INFO] [stderr]    Compiling cucumber v0.21.1
[INFO] [stdout] warning: unused variable: `world`
[INFO] [stdout]    --> tests/steps/parser_steps.rs:129:21
[INFO] [stdout]     |
[INFO] [stdout] 129 | fn assert_urn_field(world: &ParserWorld, actual: Option<&String>, expected: &str, field_name: &str) {
[INFO] [stdout]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_world`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 51.66s
[INFO] running `Command { std: "docker" "inspect" "a47a6277d2b697d0df4147a0045753c4bd4c176a1768191352314745bbf23a27", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a47a6277d2b697d0df4147a0045753c4bd4c176a1768191352314745bbf23a27", kill_on_drop: false }`
[INFO] [stdout] a47a6277d2b697d0df4147a0045753c4bd4c176a1768191352314745bbf23a27
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 22e3d5aed819e82a55a0f93a5730ee20854b75a892311b664dd974f29d901396
[INFO] running `Command { std: "docker" "start" "-a" "22e3d5aed819e82a55a0f93a5730ee20854b75a892311b664dd974f29d901396", kill_on_drop: false }`
[INFO] [stderr] warning: unused variable: `world`
[INFO] [stderr]    --> tests/steps/parser_steps.rs:129:21
[INFO] [stderr]     |
[INFO] [stderr] 129 | fn assert_urn_field(world: &ParserWorld, actual: Option<&String>, expected: &str, field_name: &str) {
[INFO] [stderr]     |                     ^^^^^ help: if this is intentional, prefix it with an underscore: `_world`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `guardia-rs-urn` (test "cucumber") generated 1 warning (run `cargo fix --test "cucumber" -p guardia-rs-urn` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/guardia_rs_urn-74bb33edb1bc8b5a)
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/guardia_rs_urn-b7fd1267f083758a)
[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] [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]      Running tests/cucumber.rs (/opt/rustwide/target/debug/deps/cucumber-3574f9a3997ccb91)
[INFO] [stdout] Feature: URN Generation
[INFO] [stdout]   Scenario: Generate a valid URN with all required fields
[INFO] [stdout]    ✔  Given a default UrnBuilder
[INFO] [stdout]    ✔  And with organization_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with tenant_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with product "lke"
[INFO] [stdout]    ✔  And with entity_type "user"
[INFO] [stdout]    ✔  And with entity_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  When I call the build method
[INFO] [stdout]    ✔  Then the generated URN should be "urn:guardia:org:a5b1d001-3b82-4deb-8602-9463f733646e:tenant:a5b1d001-3b82-4deb-8602-9463f733646e:lke:user:a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]   Scenario: Attempt to generate a URN without organization_id
[INFO] [stdout]    ✔  Given a default UrnBuilder
[INFO] [stdout]    ✔  And with tenant_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with product "lke"
[INFO] [stdout]    ✔  And with entity_type "user"
[INFO] [stdout]    ✔  And with entity_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  When I call the build method
[INFO] [stdout]    ✔  Then an error "Missing required field: organization_id" should be returned
[INFO] [stdout]    ✔  Then existing 1 errors should be returned
[INFO] [stdout]   Scenario: Attempt to generate a URN without tenant_id
[INFO] [stdout]    ✔  Given a default UrnBuilder
[INFO] [stdout]    ✔  And with organization_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with product "lke"
[INFO] [stdout]    ✔  And with entity_type "user"
[INFO] [stdout]    ✔  And with entity_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  When I call the build method
[INFO] [stdout]    ✔  Then an error "Missing required field: tenant_id" should be returned
[INFO] [stdout]    ✔  Then existing 1 errors should be returned
[INFO] [stdout]   Scenario: Attempt to generate a URN without product
[INFO] [stdout]    ✔  Given a default UrnBuilder
[INFO] [stdout]    ✔  And with organization_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with tenant_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with entity_type "user"
[INFO] [stdout]    ✔  And with entity_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  When I call the build method
[INFO] [stdout]    ✔  Then an error "Missing required field: product" should be returned
[INFO] [stdout]    ✔  Then existing 1 errors should be returned
[INFO] [stdout]   Scenario: Attempt to generatea URN without rail
[INFO] [stdout]    ✔  Given a default UrnBuilder
[INFO] [stdout]    ✔  And with organization_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with tenant_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with product "psa"
[INFO] [stdout]    ✔  And with entity_type "user"
[INFO] [stdout]    ✔  And with entity_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  When I call the build method
[INFO] [stdout]    ✔  Then an error "Missing required field: rail" should be returned
[INFO] [stdout]    ✔  Then an error "Missing required field: provider" should be returned
[INFO] [stdout]    ✔  Then existing 2 errors should be returned
[INFO] [stdout]   Scenario: Attempt to generate a URN with an invalid product
[INFO] [stdout]    ✔  Given a default UrnBuilder
[INFO] [stdout]    ✔  And with organization_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with tenant_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with product "invalid_product"
[INFO] [stdout]    ✔  And with entity_type "user"
[INFO] [stdout]    ✔  And with entity_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  When I call the build method
[INFO] [stdout]    ✔  Then an error "Invalid product: invalid_product" should be returned
[INFO] [stdout]    ✔  Then existing 1 errors should be returned
[INFO] [stdout]   Scenario: Generate a valid URN for the PSA product
[INFO] [stdout]    ✔  Given a default UrnBuilder
[INFO] [stdout]    ✔  And with organization_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with tenant_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with entity_type "user"
[INFO] [stdout]    ✔  And with entity_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with product "psa"
[INFO] [stdout]    ✔  And with rail "p2p"
[INFO] [stdout]    ✔  And with provider "guardia"
[INFO] [stdout]    ✔  When I call the build method
[INFO] [stdout]    ✔  Then the generated URN should be "urn:guardia:org:a5b1d001-3b82-4deb-8602-9463f733646e:tenant:a5b1d001-3b82-4deb-8602-9463f733646e:psa:user:a5b1d001-3b82-4deb-8602-9463f733646e:p2p:guardia"
[INFO] [stdout]   Scenario: Generate a valid URN for the DWA product
[INFO] [stdout]    ✔  Given a default UrnBuilder
[INFO] [stdout]    ✔  And with organization_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with tenant_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with entity_type "user"
[INFO] [stdout]    ✔  And with entity_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with product "dwa"
[INFO] [stdout]    ✔  And with protocol "http"
[INFO] [stdout]    ✔  And with provider "guardia"
[INFO] [stdout]    ✔  When I call the build method
[INFO] [stdout]    ✔  Then the generated URN should be "urn:guardia:org:a5b1d001-3b82-4deb-8602-9463f733646e:tenant:a5b1d001-3b82-4deb-8602-9463f733646e:dwa:user:a5b1d001-3b82-4deb-8602-9463f733646e:http:guardia"
[INFO] [stdout]   Scenario: Attempt to generate a URN with an invalid rail for PSA
[INFO] [stdout]    ✔  Given a default UrnBuilder
[INFO] [stdout]    ✔  And with organization_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with tenant_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with entity_type "user"
[INFO] [stdout]    ✔  And with entity_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with product "psa"
[INFO] [stdout]    ✔  And with rail "invalid_rail"
[INFO] [stdout]    ✔  And with provider "guardia"
[INFO] [stdout]    ✔  When I call the build method
[INFO] [stdout]    ✔  Then an error "Invalid rail: invalid_rail" should be returned
[INFO] [stdout]    ✔  Then existing 1 errors should be returned
[INFO] [stdout]   Scenario: Attempt to generate a URN with an invalid protocol for DWA
[INFO] [stdout]    ✔  Given a default UrnBuilder
[INFO] [stdout]    ✔  And with organization_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with tenant_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with entity_type "user"
[INFO] [stdout]    ✔  And with entity_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with product "dwa"
[INFO] [stdout]    ✔  And with protocol "invalid_protocol"
[INFO] [stdout]    ✔  And with provider "guardia"
[INFO] [stdout]    ✔  When I call the build method
[INFO] [stdout]    ✔  Then an error "Invalid protocol: invalid_protocol" should be returned
[INFO] [stdout]    ✔  Then existing 1 errors should be returned
[INFO] [stdout]   Scenario: Generate a invalid URN
[INFO] [stdout]    ✔  Given a default UrnBuilder
[INFO] [stdout]    ✔  When I call the build method
[INFO] [stdout]    ✔  Then an error "Missing required field: organization_id" should be returned
[INFO] [stdout]    ✔  Then an error "Missing required field: tenant_id" should be returned
[INFO] [stdout]    ✔  Then an error "Missing required field: entity_type" should be returned
[INFO] [stdout]    ✔  Then an error "Missing required field: entity_id" should be returned
[INFO] [stdout]    ✔  Then an error "Missing required field: product" should be returned
[INFO] [stdout]    ✔  Then existing 5 errors should be returned
[INFO] [stdout]   Scenario: Attempt to generate a URN with rail and provider for a product that does not require them
[INFO] [stdout]    ✔  Given a default UrnBuilder
[INFO] [stdout]    ✔  And with organization_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with tenant_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with entity_type "user"
[INFO] [stdout]    ✔  And with entity_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with product "lke"
[INFO] [stdout]    ✔  And with rail "p2p"
[INFO] [stdout]    ✔  And with provider "guardia"
[INFO] [stdout]    ✔  And with protocol "http"
[INFO] [stdout]    ✔  When I call the build method
[INFO] [stdout]    ✔  Then an error "Invalid rail: Rail should not be provided for product 'lke'" should be returned
[INFO] [stdout]    ✔  Then an error "Invalid provider: Provider should not be provided for product 'lke'" should be returned
[INFO] [stdout]    ✔  Then an error "Invalid protocol: Protocol should not be provided for product 'lke'" should be returned
[INFO] [stdout]    ✔  Then existing 3 errors should be returned
[INFO] [stdout]   Scenario: Attempt to generate a URN without rail for a product that requires it
[INFO] [stdout]    ✔  Given a default UrnBuilder
[INFO] [stdout]    ✔  And with organization_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with tenant_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with entity_type "user"
[INFO] [stdout]    ✔  And with entity_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with product "psa"
[INFO] [stdout]    ✔  And with provider "guardia"
[INFO] [stdout]    ✔  When I call the build method
[INFO] [stdout]    ✔  Then an error "Missing required field: rail" should be returned
[INFO] [stdout]    ✔  Then existing 1 errors should be returned
[INFO] [stdout]   Scenario: Generate a URN with environment variables
[INFO] [stdout]    ✔  Given a default UrnBuilder
[INFO] [stdout]    ✔  And the environment variable "ORGANIZATION_ID" is "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And the environment variable "TENANT_ID" is "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And the environment variable "PRODUCT" is "lke"
[INFO] [stdout]    ✔  And the environment variable "ENTITY_TYPE" is "user"
[INFO] [stdout]    ✔  And the environment variable "ENTITY_ID" is "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And the environment variable "REGION" is "us-east-1"
[INFO] [stdout]    ✔  And the environment variable "CLOUD_PROVIDER" is "aws"
[INFO] [stdout]    ✔  When I call the from_env method
[INFO] [stdout]    ✔  And I call the build method
[INFO] [stdout]    ✔  Then the generated URN should be "urn:guardia:org:a5b1d001-3b82-4deb-8602-9463f733646e:tenant:a5b1d001-3b82-4deb-8602-9463f733646e:lke:user:a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]   Scenario: Attempt to generate a URN with an invalid provider
[INFO] [stdout]    ✔  Given a default UrnBuilder
[INFO] [stdout]    ✔  And with organization_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with tenant_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with product "psa"
[INFO] [stdout]    ✔  And with entity_type "user"
[INFO] [stdout]    ✔  And with entity_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with rail "p2p"
[INFO] [stdout]    ✔  And with provider "invalid_provider"
[INFO] [stdout]    ✔  When I call the build method
[INFO] [stdout]    ✔  Then an error "Invalid provider: invalid_provider" should be returned
[INFO] [stdout]    ✔  Then existing 1 errors should be returned
[INFO] [stdout]   Scenario: Attempt to generate a URN without protocol for a product that requires it
[INFO] [stdout]    ✔  Given a default UrnBuilder
[INFO] [stdout]    ✔  And with organization_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with tenant_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with product "dwa"
[INFO] [stdout]    ✔  And with entity_type "user"
[INFO] [stdout]    ✔  And with entity_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with rail "p2p"
[INFO] [stdout]    ✔  And with provider "guardia"
[INFO] [stdout]    ✔  When I call the build method
[INFO] [stdout]    ✔  Then an error "Invalid rail: Rail should not be provided for product 'dwa'" should be returned
[INFO] [stdout]    ✔  Then an error "Missing required field: protocol" should be returned
[INFO] [stdout]    ✔  Then existing 2 errors should be returned
[INFO] [stdout]   Scenario: Attempt to generate a URN with protocol for a product that does not require it
[INFO] [stdout]    ✔  Given a default UrnBuilder
[INFO] [stdout]    ✔  And with organization_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with tenant_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with product "lke"
[INFO] [stdout]    ✔  And with entity_type "user"
[INFO] [stdout]    ✔  And with entity_id "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And with protocol "http"
[INFO] [stdout]    ✔  When I call the build method
[INFO] [stdout]    ✔  Then an error "Protocol should not be provided for product 'lke'" should be returned
[INFO] [stdout]    ✔  Then existing 1 errors should be returned
[INFO] [stdout] [Summary]
[INFO] [stdout] 1 feature
[INFO] [stdout] 17 scenarios (17 passed)
[INFO] [stdout] 169 steps (169 passed)
[INFO] [stdout] Feature: URN Parsing
[INFO] [stdout]   Scenario: Parse a valid URN with all required fields
[INFO] [stdout]    ✔  Given the URN is "urn:guardia:org:a5b1d001-3b82-4deb-8602-9463f733646e:tenant:a5b1d001-3b82-4deb-8602-9463f733646e:lke:user:a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  When I call the parse method
[INFO] [stdout]    ✔  Then the URN should be parsed successfully
[INFO] [stdout]    ✔  And the organization_id should be "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And the tenant_id should be "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And the product should be "lke"
[INFO] [stdout]    ✔  And the entity_type should be "user"
[INFO] [stdout]    ✔  And the entity_id should be "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]   Scenario: Attempt to parse a URN without organization_id
[INFO] [stdout]    ✔  Given the URN is "urn:guardia:org::tenant:a5b1d001-3b82-4deb-8602-9463f733646e:lke:user:a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  When I call the parse method
[INFO] [stdout]    ✔  Then an error "Missing required field: organization_id" should be returned
[INFO] [stdout]   Scenario: Attempt to parse a URN with an invalid product
[INFO] [stdout]    ✔  Given the URN is "urn:guardia:org:a5b1d001-3b82-4deb-8602-9463f733646e:tenant:a5b1d001-3b82-4deb-8602-9463f733646e:invalid_product:user:a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  When I call the parse method
[INFO] [stdout]    ✔  Then an error "Invalid product: invalid_product" should be returned
[INFO] [stdout]   Scenario: Parse a valid URN for the PSA product
[INFO] [stdout]    ✔  Given the URN is "urn:guardia:org:a5b1d001-3b82-4deb-8602-9463f733646e:tenant:a5b1d001-3b82-4deb-8602-9463f733646e:psa:user:a5b1d001-3b82-4deb-8602-9463f733646e:p2p:guardia"
[INFO] [stdout]    ✔  When I call the parse method
[INFO] [stdout]    ✔  Then the URN should be parsed successfully
[INFO] [stdout]    ✔  And the organization_id should be "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And the tenant_id should be "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And the product should be "psa"
[INFO] [stdout]    ✔  And the entity_type should be "user"
[INFO] [stdout]    ✔  And the entity_id should be "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And the rail should be "p2p"
[INFO] [stdout]    ✔  And the provider should be "guardia"
[INFO] [stdout]   Scenario: Attempt to parse a URN with an invalid rail for PSA
[INFO] [stdout]    ✔  Given the URN is "urn:guardia:org:a5b1d001-3b82-4deb-8602-9463f733646e:tenant:a5b1d001-3b82-4deb-8602-9463f733646e:psa:user:a5b1d001-3b82-4deb-8602-9463f733646e:invalid_rail:guardia"
[INFO] [stdout]    ✔  When I call the parse method
[INFO] [stdout]    ✔  Then an error "Invalid rail: invalid_rail" should be returned
[INFO] [stdout]   Scenario: Parse a valid URN for the DWA product
[INFO] [stdout]    ✔  Given the URN is "urn:guardia:org:a5b1d001-3b82-4deb-8602-9463f733646e:tenant:a5b1d001-3b82-4deb-8602-9463f733646e:dwa:user:a5b1d001-3b82-4deb-8602-9463f733646e:http:guardia"
[INFO] [stdout]    ✔  When I call the parse method
[INFO] [stdout]    ✔  Then the URN should be parsed successfully
[INFO] [stdout]    ✔  And the organization_id should be "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And the tenant_id should be "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And the product should be "dwa"
[INFO] [stdout]    ✔  And the entity_type should be "user"
[INFO] [stdout]    ✔  And the entity_id should be "a5b1d001-3b82-4deb-8602-9463f733646e"
[INFO] [stdout]    ✔  And the protocol should be "http"
[INFO] [stdout]    ✔  And the provider should be "guardia"
[INFO] [stdout]   Scenario: Attempt to parse a URN with an invalid protocol for DWA
[INFO] [stdout]    ✔  Given the URN is "urn:GUARDIA:org:a5b1d001-3b82-4deb-8602-9463f733646e:tenant:a5b1d001-3b82-4deb-8602-9463f733646e:dwa:user:a5b1d001-3b82-4deb-8602-9463f733646e:http:guardia:invalid"
[INFO] [stdout]    ✔  When I call the parse method
[INFO] [stdout]    ✔  Then an error "Invalid URN format" should be returned
[INFO] [stdout] [Summary]
[INFO] [stdout] 1 feature
[INFO] [stdout] 7 scenarios (7 passed)
[INFO] [stdout] 40 steps (40 passed)
[INFO] [stderr]    Doc-tests guardia_rs_urn
[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] running `Command { std: "docker" "inspect" "22e3d5aed819e82a55a0f93a5730ee20854b75a892311b664dd974f29d901396", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "22e3d5aed819e82a55a0f93a5730ee20854b75a892311b664dd974f29d901396", kill_on_drop: false }`
[INFO] [stdout] 22e3d5aed819e82a55a0f93a5730ee20854b75a892311b664dd974f29d901396
