[INFO] fetching crate cedar-policy 3.3.0... [INFO] checking cedar-policy-3.3.0 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate cedar-policy 3.3.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate cedar-policy 3.3.0 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cedar-policy 3.3.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate cedar-policy 3.3.0 [INFO] tweaked toml for crates.io crate cedar-policy 3.3.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 195 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding anes v0.1.6 (latest: v0.2.0) [INFO] [stderr] Adding bit-set v0.5.3 (latest: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (latest: v0.8.0) [INFO] [stderr] Adding fixedbitset v0.4.2 (latest: v0.5.7) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding gloo-utils v0.1.7 (latest: v0.2.0) [INFO] [stderr] Adding hashbrown v0.12.3 (latest: v0.14.5) [INFO] [stderr] Adding indexmap v1.9.3 (latest: v2.5.0) [INFO] [stderr] Adding itertools v0.10.5 (latest: v0.13.0) [INFO] [stderr] Adding itertools v0.11.0 (latest: v0.13.0) [INFO] [stderr] Adding itertools v0.12.1 (latest: v0.13.0) [INFO] [stderr] Adding lalrpop v0.20.2 (latest: v0.21.0) [INFO] [stderr] Adding lalrpop-util v0.20.2 (latest: v0.21.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding phf_shared v0.10.0 (latest: v0.11.2) [INFO] [stderr] Adding quick-error v1.2.3 (latest: v2.0.1) [INFO] [stderr] Adding rustc-hash v1.1.0 (latest: v2.0.0) [INFO] [stderr] Adding serde_derive_internals v0.28.0 (latest: v0.29.1) [INFO] [stderr] Adding siphasher v0.3.11 (latest: v1.0.1) [INFO] [stderr] Adding term v0.7.0 (latest: v1.0.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition [INFO] [stderr] (in the `cedar_policy` library target) [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gloo-utils v0.1.7 [INFO] [stderr] Downloaded ref-cast v1.0.23 [INFO] [stderr] Downloaded nonempty v0.10.0 [INFO] [stderr] Downloaded ref-cast-impl v1.0.23 [INFO] [stderr] Downloaded ciborium-io v0.2.2 [INFO] [stderr] Downloaded ciborium v0.2.2 [INFO] [stderr] Downloaded psm v0.1.22 [INFO] [stderr] Downloaded rustc_lexer v0.1.0 [INFO] [stderr] Downloaded unicode-script v0.5.6 [INFO] [stderr] Downloaded term v0.7.0 [INFO] [stderr] Downloaded clap v4.5.16 [INFO] [stderr] Downloaded indent_write v2.2.0 [INFO] [stderr] Downloaded itertools v0.11.0 [INFO] [stderr] Downloaded criterion v0.5.1 [INFO] [stderr] Downloaded cedar-policy-validator v3.3.0 [INFO] [stderr] Downloaded unicode-security v0.1.1 [INFO] [stderr] Downloaded clap_builder v4.5.15 [INFO] [stderr] Downloaded miette v7.2.0 [INFO] [stderr] Downloaded anstyle v1.0.8 [INFO] [stderr] Downloaded cedar-policy-core v3.3.0 [INFO] [stderr] Downloaded lalrpop v0.20.2 [INFO] [stderr] Downloaded thousands v0.2.0 [INFO] [stderr] Downloaded dhat v0.3.3 [INFO] [stderr] Downloaded lalrpop-util v0.20.2 [INFO] [stderr] Downloaded ascii-canvas v3.0.0 [INFO] [stderr] Downloaded ena v0.14.3 [INFO] [stderr] Downloaded pico-args v0.5.0 [INFO] [stderr] Downloaded stacker v0.1.17 [INFO] [stderr] Downloaded cool_asserts v2.0.3 [INFO] [stderr] Downloaded anes v0.1.6 [INFO] [stderr] Downloaded ciborium-ll v0.2.2 [INFO] [stderr] Downloaded clap_lex v0.7.2 [INFO] [stderr] Downloaded criterion-plot v0.5.0 [INFO] [stderr] Downloaded miette-derive v7.2.0 [INFO] [stderr] Downloaded mintex v0.1.3 [INFO] [stderr] Downloaded serde-wasm-bindgen v0.6.5 [INFO] [stderr] Downloaded serde_derive_internals v0.28.0 [INFO] [stderr] Downloaded tsify v0.4.5 [INFO] [stderr] Downloaded tsify-macros v0.4.5 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b7dc5c4c9436627e429b947d8120f88ac54ddb79e65662e6d295eca7ff8cc59 [INFO] running `Command { std: "docker" "start" "-a" "0b7dc5c4c9436627e429b947d8120f88ac54ddb79e65662e6d295eca7ff8cc59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b7dc5c4c9436627e429b947d8120f88ac54ddb79e65662e6d295eca7ff8cc59", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b7dc5c4c9436627e429b947d8120f88ac54ddb79e65662e6d295eca7ff8cc59", kill_on_drop: false }` [INFO] [stdout] 0b7dc5c4c9436627e429b947d8120f88ac54ddb79e65662e6d295eca7ff8cc59 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 33b98bea115e5f6ac469c1ca2603592e731e5920c63c165114b8de8f537b3f5a [INFO] running `Command { std: "docker" "start" "-a" "33b98bea115e5f6ac469c1ca2603592e731e5920c63c165114b8de8f537b3f5a", kill_on_drop: false }` [INFO] [stderr] warning: `crate_type` is deprecated in favor of `crate-type` and will not work in the 2024 edition [INFO] [stderr] (in the `cedar_policy` library target) [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling phf_shared v0.10.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling string_cache v0.8.7 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling unicode-xid v0.2.5 [INFO] [stderr] Compiling serde_json v1.0.127 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling psm v0.1.22 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling stacker v0.1.17 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking rustc_lexer v0.1.0 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking nonempty v0.10.0 [INFO] [stderr] Checking unicode-script v0.5.6 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Compiling darling_core v0.20.10 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking plotters-backend v0.3.6 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Compiling lalrpop-util v0.20.2 [INFO] [stderr] Compiling regex v1.10.6 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Checking plotters-svg v0.3.6 [INFO] [stderr] Checking unicode-security v0.1.1 [INFO] [stderr] Compiling lalrpop v0.20.2 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking plotters v0.3.6 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking bstr v1.10.0 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling thiserror-impl v1.0.63 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling miette-derive v7.2.0 [INFO] [stderr] Compiling darling_macro v0.20.10 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling darling v0.20.10 [INFO] [stderr] Compiling serde_with_macros v3.9.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking thiserror v1.0.63 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking oorandom v11.1.4 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking indent_write v2.2.0 [INFO] [stderr] Checking unarray v0.1.4 [INFO] [stderr] Checking cool_asserts v2.0.3 [INFO] [stderr] Checking globset v0.4.14 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking proptest v1.5.0 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Checking miette v7.2.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking serde_with v3.9.0 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Compiling cedar-policy-core v3.3.0 [INFO] [stderr] Compiling cedar-policy-validator v3.3.0 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking cedar-policy v3.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_fails_duplicate_context_key`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1624:5 [INFO] [stdout] | [INFO] [stdout] 1624 | / fn test_authorized_fails_duplicate_context_key() { [INFO] [stdout] 1625 | | let call = r#"{ [INFO] [stdout] 1626 | | "principal" : { [INFO] [stdout] 1627 | | "type" : "User", [INFO] [stdout] ... | [INFO] [stdout] 1649 | | assert_is_failure(&json_is_authorized(call), true, "found duplicate key"); [INFO] [stdout] 1650 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_fails_duplicate_entity_uid`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1577:5 [INFO] [stdout] | [INFO] [stdout] 1577 | / fn test_authorized_fails_duplicate_entity_uid() { [INFO] [stdout] 1578 | | let call = r#"{ [INFO] [stdout] 1579 | | "principal" : { [INFO] [stdout] 1580 | | "type" : "User", [INFO] [stdout] ... | [INFO] [stdout] 1620 | | ); [INFO] [stdout] 1621 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_fails_on_duplicate_instantiations_ids`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1260:5 [INFO] [stdout] | [INFO] [stdout] 1260 | / fn test_authorized_fails_on_duplicate_instantiations_ids() { [INFO] [stdout] 1261 | | let call = r#"{ [INFO] [stdout] 1262 | | "principal" : { [INFO] [stdout] 1263 | | "type" : "User", [INFO] [stdout] ... | [INFO] [stdout] 1307 | | ); [INFO] [stdout] 1308 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_fails_on_duplicate_policy_ids`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1417:5 [INFO] [stdout] | [INFO] [stdout] 1417 | / fn test_authorized_fails_on_duplicate_policy_ids() { [INFO] [stdout] 1418 | | let call = r#"{ [INFO] [stdout] 1419 | | "principal" : "User::\"alice\"", [INFO] [stdout] 1420 | | "action" : "Photo::\"view\"", [INFO] [stdout] ... | [INFO] [stdout] 1433 | | assert_is_failure(&json_is_authorized(call), true, "no duplicate IDs"); [INFO] [stdout] 1434 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_fails_on_duplicate_slot_instantiation1`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1457:5 [INFO] [stdout] | [INFO] [stdout] 1457 | / fn test_authorized_fails_on_duplicate_slot_instantiation1() { [INFO] [stdout] 1458 | | let call = r#"{ [INFO] [stdout] 1459 | | "principal" : "User::\"alice\"", [INFO] [stdout] 1460 | | "action" : "Photo::\"view\"", [INFO] [stdout] ... | [INFO] [stdout] 1489 | | ); [INFO] [stdout] 1490 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_fails_on_duplicate_slot_instantiation2`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1493:5 [INFO] [stdout] | [INFO] [stdout] 1493 | / fn test_authorized_fails_on_duplicate_slot_instantiation2() { [INFO] [stdout] 1494 | | let call = r#"{ [INFO] [stdout] 1495 | | "principal" : "User::\"alice\"", [INFO] [stdout] 1496 | | "action" : "Photo::\"view\"", [INFO] [stdout] ... | [INFO] [stdout] 1529 | | ); [INFO] [stdout] 1530 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_fails_on_duplicate_slot_instantiation3`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1533:5 [INFO] [stdout] | [INFO] [stdout] 1533 | / fn test_authorized_fails_on_duplicate_slot_instantiation3() { [INFO] [stdout] 1534 | | let call = r#"{ [INFO] [stdout] 1535 | | "principal" : "User::\"alice\"", [INFO] [stdout] 1536 | | "action" : "Photo::\"view\"", [INFO] [stdout] ... | [INFO] [stdout] 1573 | | ); [INFO] [stdout] 1574 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_fails_on_duplicate_template_ids`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1437:5 [INFO] [stdout] | [INFO] [stdout] 1437 | / fn test_authorized_fails_on_duplicate_template_ids() { [INFO] [stdout] 1438 | | let call = r#"{ [INFO] [stdout] 1439 | | "principal" : "User::\"alice\"", [INFO] [stdout] 1440 | | "action" : "Photo::\"view\"", [INFO] [stdout] ... | [INFO] [stdout] 1453 | | assert_is_failure(&json_is_authorized(call), true, "found duplicate key"); [INFO] [stdout] 1454 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_fails_on_policy_collision_with_template`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1230:5 [INFO] [stdout] | [INFO] [stdout] 1230 | / fn test_authorized_fails_on_policy_collision_with_template() { [INFO] [stdout] 1231 | | let call = r#"{ [INFO] [stdout] 1232 | | "principal" : { [INFO] [stdout] 1233 | | "type" : "User", [INFO] [stdout] ... | [INFO] [stdout] 1256 | | ); [INFO] [stdout] 1257 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_fails_on_template_instantiation_collision_with_policy`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1352:5 [INFO] [stdout] | [INFO] [stdout] 1352 | / fn test_authorized_fails_on_template_instantiation_collision_with_policy() { [INFO] [stdout] 1353 | | let call = r#"{ [INFO] [stdout] 1354 | | "principal" : { [INFO] [stdout] 1355 | | "type" : "User", [INFO] [stdout] ... | [INFO] [stdout] 1389 | | ); [INFO] [stdout] 1390 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_fails_on_template_instantiation_collision_with_template`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1311:5 [INFO] [stdout] | [INFO] [stdout] 1311 | / fn test_authorized_fails_on_template_instantiation_collision_with_template() { [INFO] [stdout] 1312 | | let call = r#"{ [INFO] [stdout] 1313 | | "principal" : { [INFO] [stdout] 1314 | | "type" : "User", [INFO] [stdout] ... | [INFO] [stdout] 1348 | | ); [INFO] [stdout] 1349 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_on_multi_policy_slice`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:973:5 [INFO] [stdout] | [INFO] [stdout] 973 | / fn test_authorized_on_multi_policy_slice() { [INFO] [stdout] 974 | | let call = r#" [INFO] [stdout] 975 | | { [INFO] [stdout] 976 | | "principal": { [INFO] [stdout] ... | [INFO] [stdout] 999 | | assert_is_authorized(json_is_authorized(call)); [INFO] [stdout] 1000 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_on_multi_policy_slice_denies_when_expected`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1074:5 [INFO] [stdout] | [INFO] [stdout] 1074 | / fn test_authorized_on_multi_policy_slice_denies_when_expected() { [INFO] [stdout] 1075 | | let call = r#" [INFO] [stdout] 1076 | | { [INFO] [stdout] 1077 | | "principal": { [INFO] [stdout] ... | [INFO] [stdout] 1099 | | assert_is_not_authorized(json_is_authorized(call)); [INFO] [stdout] 1100 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_on_multi_policy_slice_with_string_policies`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1003:5 [INFO] [stdout] | [INFO] [stdout] 1003 | / fn test_authorized_on_multi_policy_slice_with_string_policies() { [INFO] [stdout] 1004 | | let call = r#" [INFO] [stdout] 1005 | | { [INFO] [stdout] 1006 | | "principal": { [INFO] [stdout] ... | [INFO] [stdout] 1070 | | assert_is_authorized(json_is_authorized(call)); [INFO] [stdout] 1071 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_on_multi_policy_slice_with_string_policies_denies_when_expected`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1103:5 [INFO] [stdout] | [INFO] [stdout] 1103 | / fn test_authorized_on_multi_policy_slice_with_string_policies_denies_when_expected() { [INFO] [stdout] 1104 | | let call = r#" [INFO] [stdout] 1105 | | { [INFO] [stdout] 1106 | | "principal": { [INFO] [stdout] ... | [INFO] [stdout] 1126 | | assert_is_not_authorized(json_is_authorized(call)); [INFO] [stdout] 1127 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_on_simple_slice`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:813:5 [INFO] [stdout] | [INFO] [stdout] 813 | / fn test_authorized_on_simple_slice() { [INFO] [stdout] 814 | | let call = r#" [INFO] [stdout] 815 | | { [INFO] [stdout] 816 | | "principal": { [INFO] [stdout] ... | [INFO] [stdout] 838 | | assert_is_authorized(json_is_authorized(call)); [INFO] [stdout] 839 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_on_simple_slice_with_attrs_and_parents`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:901:5 [INFO] [stdout] | [INFO] [stdout] 901 | / fn test_authorized_on_simple_slice_with_attrs_and_parents() { [INFO] [stdout] 902 | | let call = r#" [INFO] [stdout] 903 | | { [INFO] [stdout] 904 | | "principal": { [INFO] [stdout] ... | [INFO] [stdout] 969 | | assert_is_authorized(json_is_authorized(call)); [INFO] [stdout] 970 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_on_simple_slice_with_context`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:869:5 [INFO] [stdout] | [INFO] [stdout] 869 | / fn test_authorized_on_simple_slice_with_context() { [INFO] [stdout] 870 | | let call = r#" [INFO] [stdout] 871 | | { [INFO] [stdout] 872 | | "principal": { [INFO] [stdout] ... | [INFO] [stdout] 897 | | assert_is_authorized(json_is_authorized(call)); [INFO] [stdout] 898 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_on_simple_slice_with_string_policies`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:842:5 [INFO] [stdout] | [INFO] [stdout] 842 | / fn test_authorized_on_simple_slice_with_string_policies() { [INFO] [stdout] 843 | | let call = r#" [INFO] [stdout] 844 | | { [INFO] [stdout] 845 | | "principal": { [INFO] [stdout] ... | [INFO] [stdout] 865 | | assert_is_authorized(json_is_authorized(call)); [INFO] [stdout] 866 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_with_template_as_policy_should_fail`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1130:5 [INFO] [stdout] | [INFO] [stdout] 1130 | / fn test_authorized_with_template_as_policy_should_fail() { [INFO] [stdout] 1131 | | let call = r#" [INFO] [stdout] 1132 | | { [INFO] [stdout] 1133 | | "principal": { [INFO] [stdout] ... | [INFO] [stdout] 1153 | | assert_is_not_authorized(json_is_authorized(call)); [INFO] [stdout] 1154 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_with_template_instantiation`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1186:5 [INFO] [stdout] | [INFO] [stdout] 1186 | / fn test_authorized_with_template_instantiation() { [INFO] [stdout] 1187 | | let call = r#" [INFO] [stdout] 1188 | | { [INFO] [stdout] 1189 | | "principal": { [INFO] [stdout] ... | [INFO] [stdout] 1226 | | assert_is_authorized(json_is_authorized(call)); [INFO] [stdout] 1227 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_authorized_with_template_should_fail`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:1157:5 [INFO] [stdout] | [INFO] [stdout] 1157 | / fn test_authorized_with_template_should_fail() { [INFO] [stdout] 1158 | | let call = r#" [INFO] [stdout] 1159 | | { [INFO] [stdout] 1160 | | "principal": { [INFO] [stdout] ... | [INFO] [stdout] 1182 | | assert_is_not_authorized(json_is_authorized(call)); [INFO] [stdout] 1183 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_failure_on_invalid_syntax`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:751:5 [INFO] [stdout] | [INFO] [stdout] 751 | / fn test_failure_on_invalid_syntax() { [INFO] [stdout] 752 | | assert_is_failure( [INFO] [stdout] 753 | | &json_is_authorized("iefjieoafiaeosij"), [INFO] [stdout] 754 | | true, [INFO] [stdout] 755 | | "expected value", [INFO] [stdout] 756 | | ); [INFO] [stdout] 757 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_not_authorized_on_empty_slice`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:760:5 [INFO] [stdout] | [INFO] [stdout] 760 | / fn test_not_authorized_on_empty_slice() { [INFO] [stdout] 761 | | let call = r#" [INFO] [stdout] 762 | | { [INFO] [stdout] 763 | | "principal": { [INFO] [stdout] ... | [INFO] [stdout] 783 | | assert_is_not_authorized(json_is_authorized(call)); [INFO] [stdout] 784 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_not_authorized_on_unspecified`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:787:5 [INFO] [stdout] | [INFO] [stdout] 787 | / fn test_not_authorized_on_unspecified() { [INFO] [stdout] 788 | | let call = r#" [INFO] [stdout] 789 | | { [INFO] [stdout] 790 | | "principal": null, [INFO] [stdout] ... | [INFO] [stdout] 809 | | assert_is_not_authorized(json_is_authorized(call)); [INFO] [stdout] 810 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::is_authorized::test::test_slice_convert`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/is_authorized.rs:697:5 [INFO] [stdout] | [INFO] [stdout] 697 | / fn test_slice_convert() { [INFO] [stdout] 698 | | let entities = serde_json::json!( [INFO] [stdout] 699 | | [ [INFO] [stdout] 700 | | { [INFO] [stdout] ... | [INFO] [stdout] 747 | | ); [INFO] [stdout] 748 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::validate::test::test_bad_call_format_fails`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/validate.rs:417:5 [INFO] [stdout] | [INFO] [stdout] 417 | / fn test_bad_call_format_fails() { [INFO] [stdout] 418 | | let result = json_validate("uerfheriufheiurfghtrg"); [INFO] [stdout] 419 | | assert_is_failure(&result, true, "error parsing call: expected value"); [INFO] [stdout] 420 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::validate::test::test_empty_policy_validates_without_notes`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/validate.rs:174:5 [INFO] [stdout] | [INFO] [stdout] 174 | / fn test_empty_policy_validates_without_notes() { [INFO] [stdout] 175 | | let call_json = r#"{ [INFO] [stdout] 176 | | "schema": {}, [INFO] [stdout] 177 | | "policySet": {} [INFO] [stdout] ... | [INFO] [stdout] 182 | | assert_validates_without_notes(result); [INFO] [stdout] 183 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::validate::test::test_nontrivial_correct_policy_validates_without_notes`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/validate.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | / fn test_nontrivial_correct_policy_validates_without_notes() { [INFO] [stdout] 187 | | let call_json = r#"{ [INFO] [stdout] 188 | | "schema": { "": { [INFO] [stdout] 189 | | "entityTypes": { [INFO] [stdout] ... | [INFO] [stdout] 238 | | assert_validates_without_notes(result); [INFO] [stdout] 239 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::validate::test::test_nontrivial_correct_policy_validates_without_notes_concatenated_policies`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/validate.rs:295:5 [INFO] [stdout] | [INFO] [stdout] 295 | / fn test_nontrivial_correct_policy_validates_without_notes_concatenated_policies() { [INFO] [stdout] 296 | | let call_json = r#"{ [INFO] [stdout] 297 | | "schema": { "": { [INFO] [stdout] 298 | | "entityTypes": { [INFO] [stdout] ... | [INFO] [stdout] 347 | | assert_validates_without_notes(result); [INFO] [stdout] 348 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::validate::test::test_policy_with_parse_error_fails_concatenated_policies`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/validate.rs:399:5 [INFO] [stdout] | [INFO] [stdout] 399 | / fn test_policy_with_parse_error_fails_concatenated_policies() { [INFO] [stdout] 400 | | let call_json = r#"{ [INFO] [stdout] 401 | | "schema": {"": { [INFO] [stdout] 402 | | "entityTypes": {}, [INFO] [stdout] ... | [INFO] [stdout] 413 | | ); [INFO] [stdout] 414 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::validate::test::test_policy_with_parse_error_fails_passing_on_errors`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/validate.rs:242:5 [INFO] [stdout] | [INFO] [stdout] 242 | / fn test_policy_with_parse_error_fails_passing_on_errors() { [INFO] [stdout] 243 | | let call_json = r#"{ [INFO] [stdout] 244 | | "schema": {"": { [INFO] [stdout] 245 | | "entityTypes": {}, [INFO] [stdout] ... | [INFO] [stdout] 259 | | ); [INFO] [stdout] 260 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::validate::test::test_policy_with_parse_error_fails_passing_on_errors_concatenated_policies`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/validate.rs:351:5 [INFO] [stdout] | [INFO] [stdout] 351 | / fn test_policy_with_parse_error_fails_passing_on_errors_concatenated_policies() { [INFO] [stdout] 352 | | let call_json = r#"{ [INFO] [stdout] 353 | | "schema": {"": { [INFO] [stdout] 354 | | "entityTypes": {}, [INFO] [stdout] ... | [INFO] [stdout] 366 | | ); [INFO] [stdout] 367 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::validate::test::test_semantically_incorrect_policy_fails_with_notes`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/validate.rs:263:5 [INFO] [stdout] | [INFO] [stdout] 263 | / fn test_semantically_incorrect_policy_fails_with_notes() { [INFO] [stdout] 264 | | let call_json = r#"{ [INFO] [stdout] 265 | | "schema":{"": { [INFO] [stdout] 266 | | "entityTypes": { [INFO] [stdout] ... | [INFO] [stdout] 291 | | assert_validates_with_notes(result, 2); [INFO] [stdout] 292 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::validate::test::test_semantically_incorrect_policy_fails_with_notes_concatenated_policies`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/validate.rs:370:5 [INFO] [stdout] | [INFO] [stdout] 370 | / fn test_semantically_incorrect_policy_fails_with_notes_concatenated_policies() { [INFO] [stdout] 371 | | let call_json = r#"{ [INFO] [stdout] 372 | | "schema": {"": { [INFO] [stdout] 373 | | "entityTypes": { [INFO] [stdout] ... | [INFO] [stdout] 395 | | assert_validates_with_notes(result, 1); [INFO] [stdout] 396 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::validate::test::test_validate_empty_policy_directly`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/validate.rs:158:5 [INFO] [stdout] | [INFO] [stdout] 158 | / fn test_validate_empty_policy_directly() { [INFO] [stdout] 159 | | let schema = cedar_policy_validator::SchemaFragment(HashMap::new()); [INFO] [stdout] 160 | | [INFO] [stdout] 161 | | let call = ValidateCall { [INFO] [stdout] ... | [INFO] [stdout] 170 | | assert_validates_without_notes(result); [INFO] [stdout] 171 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::validate::test::test_validate_fails_on_duplicate_namespace`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/validate.rs:423:5 [INFO] [stdout] | [INFO] [stdout] 423 | / fn test_validate_fails_on_duplicate_namespace() { [INFO] [stdout] 424 | | let call_json = r#"{ [INFO] [stdout] 425 | | "schema": { [INFO] [stdout] 426 | | "foo": { "entityTypes": {}, "actions": {} }, [INFO] [stdout] ... | [INFO] [stdout] 437 | | ); [INFO] [stdout] 438 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `frontend::validate::test::test_validate_fails_on_duplicate_policy_id`: Use the functions in the `ffi` module instead [INFO] [stdout] --> src/frontend/validate.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 461 | / fn test_validate_fails_on_duplicate_policy_id() { [INFO] [stdout] 462 | | let call_json = r#"{ [INFO] [stdout] 463 | | "schema": { "": { "entityTypes": {}, "actions": {} } }, [INFO] [stdout] 464 | | "policySet": { [INFO] [stdout] ... | [INFO] [stdout] 471 | | assert_is_failure(&result, true, "no duplicate IDs"); [INFO] [stdout] 472 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/api.rs:2341:13 [INFO] [stdout] | [INFO] [stdout] 2341 | Err(infallible) => match infallible {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ matches no values because `std::convert::Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ffi/is_authorized.rs:773:9 [INFO] [stdout] | [INFO] [stdout] 773 | Err(err) => match err {}, [INFO] [stdout] | ^^^^^^^^ matches no values because `std::convert::Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/frontend/is_authorized.rs:538:9 [INFO] [stdout] | [INFO] [stdout] 538 | Err(err) => match err {}, [INFO] [stdout] | ^^^^^^^^ matches no values because `std::convert::Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `cedar_policy::Schema::from_str_natural`: Use `from_cedarschema_str()` instead [INFO] [stdout] --> benches/extension_fn_validation.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | let (schema, _) = Schema::from_str_natural("action Act appliesTo { context: {}};").unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/api.rs:2341:13 [INFO] [stdout] | [INFO] [stdout] 2341 | Err(infallible) => match infallible {}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ matches no values because `std::convert::Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/ffi/is_authorized.rs:773:9 [INFO] [stdout] | [INFO] [stdout] 773 | Err(err) => match err {}, [INFO] [stdout] | ^^^^^^^^ matches no values because `std::convert::Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/frontend/is_authorized.rs:538:9 [INFO] [stdout] | [INFO] [stdout] 538 | Err(err) => match err {}, [INFO] [stdout] | ^^^^^^^^ matches no values because `std::convert::Infallible` is uninhabited [INFO] [stdout] | [INFO] [stdout] = note: to learn more about uninhabited types, see https://doc.rust-lang.org/nomicon/exotic-sizes.html#empty-types [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 38s [INFO] running `Command { std: "docker" "inspect" "33b98bea115e5f6ac469c1ca2603592e731e5920c63c165114b8de8f537b3f5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "33b98bea115e5f6ac469c1ca2603592e731e5920c63c165114b8de8f537b3f5a", kill_on_drop: false }` [INFO] [stdout] 33b98bea115e5f6ac469c1ca2603592e731e5920c63c165114b8de8f537b3f5a