[INFO] fetching crate cedar-policy-validator 2.0.6... [INFO] checking cedar-policy-validator-2.0.6 against master#bbe853615821442ef11d6cd42a30a73432b38d89 for pr-154205 [INFO] extracting crate cedar-policy-validator 2.0.6 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate cedar-policy-validator 2.0.6 [INFO] finished tweaking crates.io crate cedar-policy-validator 2.0.6 [INFO] tweaked toml for crates.io crate cedar-policy-validator 2.0.6 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cedar-policy-validator 2.0.6 on toolchain bbe853615821442ef11d6cd42a30a73432b38d89 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cedar-policy-validator 2.0.6 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" "+bbe853615821442ef11d6cd42a30a73432b38d89" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded psm v0.1.28 [INFO] [stderr] Downloaded stacker v0.1.22 [INFO] [stderr] Downloaded derive_arbitrary v1.4.2 [INFO] [stderr] Downloaded unicode-script v0.5.7 [INFO] [stderr] Downloaded rustc_lexer v0.1.0 [INFO] [stderr] Downloaded ar_archive_writer v0.2.0 [INFO] [stderr] Downloaded unicode-security v0.1.2 [INFO] [stderr] Downloaded cedar-policy-core v2.0.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e143b8eb8c629259b2d2cf9350b9bb90074707c387c40b4e58c82ec36b6f7088 [INFO] running `Command { std: "docker" "start" "-a" "e143b8eb8c629259b2d2cf9350b9bb90074707c387c40b4e58c82ec36b6f7088", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e143b8eb8c629259b2d2cf9350b9bb90074707c387c40b4e58c82ec36b6f7088", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e143b8eb8c629259b2d2cf9350b9bb90074707c387c40b4e58c82ec36b6f7088", kill_on_drop: false }` [INFO] [stdout] e143b8eb8c629259b2d2cf9350b9bb90074707c387c40b4e58c82ec36b6f7088 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbe853615821442ef11d6cd42a30a73432b38d89" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddad2fc6bbdfc13ab3c8aa87931b1b49f079a4dea477cf6ec11321b0c62fa60e [INFO] running `Command { std: "docker" "start" "-a" "ddad2fc6bbdfc13ab3c8aa87931b1b49f079a4dea477cf6ec11321b0c62fa60e", kill_on_drop: false }` [INFO] [stderr] warning: only one of `license` or `license-file` is necessary [INFO] [stderr] `license` should be used if the package license can be expressed with a standard SPDX expression. [INFO] [stderr] `license-file` should be used if the package uses a non-standard license. [INFO] [stderr] See https://doc.rust-lang.org/cargo/reference/manifest.html#the-license-and-license-file-fields for more information. [INFO] [stderr] Compiling memchr v2.7.6 [INFO] [stderr] Compiling cfg-if v1.0.4 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling crunchy v0.2.4 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling cc v1.2.47 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling hashbrown v0.16.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling aho-corasick v1.1.4 [INFO] [stderr] Compiling object v0.32.2 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling indexmap v2.12.1 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling log v0.4.28 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling petgraph v0.6.5 [INFO] [stderr] Compiling ascii-canvas v3.0.0 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling regex-syntax v0.6.29 [INFO] [stderr] Compiling stacker v0.1.22 [INFO] [stderr] Compiling darling_core v0.21.3 [INFO] [stderr] Checking tinyvec v1.10.0 [INFO] [stderr] Compiling ar_archive_writer v0.2.0 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling lalrpop-util v0.19.12 [INFO] [stderr] Compiling psm v0.1.28 [INFO] [stderr] Checking unicode-xid v0.2.6 [INFO] [stderr] Checking rustc_lexer v0.1.0 [INFO] [stderr] Checking unicode-normalization v0.1.25 [INFO] [stderr] Compiling lalrpop v0.19.12 [INFO] [stderr] Checking unicode-script v0.5.7 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_arbitrary v1.4.2 [INFO] [stderr] Checking unicode-security v0.1.2 [INFO] [stderr] Compiling darling_macro v0.21.3 [INFO] [stderr] Checking arbitrary v1.4.2 [INFO] [stderr] Compiling darling v0.21.3 [INFO] [stderr] Compiling serde_with_macros v3.16.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking serde_with v3.16.0 [INFO] [stderr] Checking smol_str v0.2.2 [INFO] [stderr] Compiling cedar-policy-core v2.0.6 [INFO] [stderr] Checking cedar-policy-validator v2.0.6 (/opt/rustwide/workdir) [INFO] [stdout] error: unicode codepoint changing visible direction of text present in literal [INFO] [stdout] --> src/str_checks.rs:239:19 [INFO] [stdout] | [INFO] [stdout] 239 | let src = r#" [INFO] [stdout] | ___________________^ [INFO] [stdout] 240 | | permit(principal, action, resource) when { [INFO] [stdout] 241 | | principal.access_level != "user� �&& principal.is_admin� �" [INFO] [stdout] | | - - - - '\u{2066}' [INFO] [stdout] | | | | | [INFO] [stdout] | | | '\u{2066}' '\u{2069}' [INFO] [stdout] | | '\u{202e}' [INFO] [stdout] 242 | | }; [INFO] [stdout] 243 | | "#; [INFO] [stdout] | |__________^ this literal contains invisible unicode text flow control codepoints [INFO] [stdout] | [INFO] [stdout] = note: these kind of unicode codepoints change the way text flows on applications that support them, but can cause confusion because they change the order of characters on the screen [INFO] [stdout] = note: `#[deny(text_direction_codepoint_in_literal)]` on by default [INFO] [stdout] = help: if their presence wasn't intentional, you can remove them [INFO] [stdout] help: if you want to keep them but make them visible in your source code, you can escape them [INFO] [stdout] | [INFO] [stdout] 241 - principal.access_level != "user� �&& principal.is_admin� �" [INFO] [stdout] 241 + principal.access_level != "user\u{202e} \u{2066}&& principal.is_admin\u{2069} \u{2066}" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unicode codepoint changing visible direction of text present in literal [INFO] [stdout] --> src/str_checks.rs:255:54 [INFO] [stdout] | [INFO] [stdout] 255 | ValidationWarningKind::BidiCharsInString(r#"user� �&& principal.is_admin� �"#.to_string()) [INFO] [stdout] | ^^^^^^^-^-^^^^^^^^^^^^^^^^^^^^^-^-^^ [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | '\u{2066}' [INFO] [stdout] | | | | '\u{2069}' [INFO] [stdout] | | | '\u{2066}' [INFO] [stdout] | | '\u{202e}' [INFO] [stdout] | this literal contains invisible unicode text flow control codepoints [INFO] [stdout] | [INFO] [stdout] = note: these kind of unicode codepoints change the way text flows on applications that support them, but can cause confusion because they change the order of characters on the screen [INFO] [stdout] = help: if their presence wasn't intentional, you can remove them [INFO] [stdout] help: if you want to keep them but make them visible in your source code, you can escape them [INFO] [stdout] | [INFO] [stdout] 255 - ValidationWarningKind::BidiCharsInString(r#"user� �&& principal.is_admin� �"#.to_string()) [INFO] [stdout] 255 + ValidationWarningKind::BidiCharsInString(r#"user\u{202e} \u{2066}&& principal.is_admin\u{2069} \u{2066}"#.to_string()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unicode codepoint changing visible direction of text present in literal [INFO] [stdout] --> src/str_checks.rs:257:42 [INFO] [stdout] | [INFO] [stdout] 257 | ...), "Warning: The string \"user� �&& principal.is_admin� �\" contains BIDI control characters. These can be used to create crafted pieces of code that obfuscate true control flow. in policy with ID test"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^-^-^^^^^^^^^^^^^^^^^^^^^-^-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | '\u{2066}' [INFO] [stdout] | | | | '\u{2069}' [INFO] [stdout] | | | '\u{2066}' [INFO] [stdout] | | '\u{202e}' [INFO] [stdout] | this literal contains invisible unicode text flow control codepoints [INFO] [stdout] | [INFO] [stdout] = note: these kind of unicode codepoints change the way text flows on applications that support them, but can cause confusion because they change the order of characters on the screen [INFO] [stdout] = help: if their presence wasn't intentional, you can remove them [INFO] [stdout] help: if you want to keep them but make them visible in your source code, you can escape them [INFO] [stdout] | [INFO] [stdout] 257 - assert_eq!(format!("{warning}"), "Warning: The string \"user� �&& principal.is_admin� �\" contains BIDI control characters. These can be used to create crafted pieces of code that obfuscate true control flow. in policy with ID test"); [INFO] [stdout] 257 + assert_eq!(format!("{warning}"), "Warning: The string \"user\u{202e} \u{2066}&& principal.is_admin\u{2069} \u{2066}\" contains BIDI control characters. These can be used to create crafted pieces of code that obfuscate true control flow. in policy with ID test"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/schema_file_format.rs:339:12 [INFO] [stdout] | [INFO] [stdout] 339 | #[cfg_attr(fuzzing, derive(arbitrary::Arbitrary))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/schema_file_format.rs:278:7 [INFO] [stdout] | [INFO] [stdout] 278 | #[cfg(fuzzing)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unicode codepoint changing visible direction of text present in literal [INFO] [stdout] --> src/str_checks.rs:239:19 [INFO] [stdout] | [INFO] [stdout] 239 | let src = r#" [INFO] [stdout] | ___________________^ [INFO] [stdout] 240 | | permit(principal, action, resource) when { [INFO] [stdout] 241 | | principal.access_level != "user� �&& principal.is_admin� �" [INFO] [stdout] | | - - - - '\u{2066}' [INFO] [stdout] | | | | | [INFO] [stdout] | | | '\u{2066}' '\u{2069}' [INFO] [stdout] | | '\u{202e}' [INFO] [stdout] 242 | | }; [INFO] [stdout] 243 | | "#; [INFO] [stdout] | |__________^ this literal contains invisible unicode text flow control codepoints [INFO] [stdout] | [INFO] [stdout] = note: these kind of unicode codepoints change the way text flows on applications that support them, but can cause confusion because they change the order of characters on the screen [INFO] [stdout] = note: `#[deny(text_direction_codepoint_in_literal)]` on by default [INFO] [stdout] = help: if their presence wasn't intentional, you can remove them [INFO] [stdout] help: if you want to keep them but make them visible in your source code, you can escape them [INFO] [stdout] | [INFO] [stdout] 241 - principal.access_level != "user� �&& principal.is_admin� �" [INFO] [stdout] 241 + principal.access_level != "user\u{202e} \u{2066}&& principal.is_admin\u{2069} \u{2066}" [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unicode codepoint changing visible direction of text present in literal [INFO] [stdout] --> src/str_checks.rs:255:54 [INFO] [stdout] | [INFO] [stdout] 255 | ValidationWarningKind::BidiCharsInString(r#"user� �&& principal.is_admin� �"#.to_string()) [INFO] [stdout] | ^^^^^^^-^-^^^^^^^^^^^^^^^^^^^^^-^-^^ [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | '\u{2066}' [INFO] [stdout] | | | | '\u{2069}' [INFO] [stdout] | | | '\u{2066}' [INFO] [stdout] | | '\u{202e}' [INFO] [stdout] | this literal contains invisible unicode text flow control codepoints [INFO] [stdout] | [INFO] [stdout] = note: these kind of unicode codepoints change the way text flows on applications that support them, but can cause confusion because they change the order of characters on the screen [INFO] [stdout] = help: if their presence wasn't intentional, you can remove them [INFO] [stdout] help: if you want to keep them but make them visible in your source code, you can escape them [INFO] [stdout] | [INFO] [stdout] 255 - ValidationWarningKind::BidiCharsInString(r#"user� �&& principal.is_admin� �"#.to_string()) [INFO] [stdout] 255 + ValidationWarningKind::BidiCharsInString(r#"user\u{202e} \u{2066}&& principal.is_admin\u{2069} \u{2066}"#.to_string()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unicode codepoint changing visible direction of text present in literal [INFO] [stdout] --> src/str_checks.rs:257:42 [INFO] [stdout] | [INFO] [stdout] 257 | ...), "Warning: The string \"user� �&& principal.is_admin� �\" contains BIDI control characters. These can be used to create crafted pieces of code that obfuscate true control flow. in policy with ID test"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^-^-^^^^^^^^^^^^^^^^^^^^^-^-^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | | | | | [INFO] [stdout] | | | | | '\u{2066}' [INFO] [stdout] | | | | '\u{2069}' [INFO] [stdout] | | | '\u{2066}' [INFO] [stdout] | | '\u{202e}' [INFO] [stdout] | this literal contains invisible unicode text flow control codepoints [INFO] [stdout] | [INFO] [stdout] = note: these kind of unicode codepoints change the way text flows on applications that support them, but can cause confusion because they change the order of characters on the screen [INFO] [stdout] = help: if their presence wasn't intentional, you can remove them [INFO] [stdout] help: if you want to keep them but make them visible in your source code, you can escape them [INFO] [stdout] | [INFO] [stdout] 257 - assert_eq!(format!("{warning}"), "Warning: The string \"user� �&& principal.is_admin� �\" contains BIDI control characters. These can be used to create crafted pieces of code that obfuscate true control flow. in policy with ID test"); [INFO] [stdout] 257 + assert_eq!(format!("{warning}"), "Warning: The string \"user\u{202e} \u{2066}&& principal.is_admin\u{2069} \u{2066}\" contains BIDI control characters. These can be used to create crafted pieces of code that obfuscate true control flow. in policy with ID test"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/schema_file_format.rs:339:12 [INFO] [stdout] | [INFO] [stdout] 339 | #[cfg_attr(fuzzing, derive(arbitrary::Arbitrary))] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: allow(text_direction_codepoint_in_literal) is ignored unless specified at crate level [INFO] [stdout] --> src/str_checks.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | #[allow(text_direction_codepoint_in_literal)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `fuzzing` [INFO] [stdout] --> src/schema_file_format.rs:278:7 [INFO] [stdout] | [INFO] [stdout] 278 | #[cfg(fuzzing)] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NamespaceDefinitionWithActionAttributes` is never constructed [INFO] [stdout] --> src/schema.rs:1509:19 [INFO] [stdout] | [INFO] [stdout] 1509 | pub(crate) struct NamespaceDefinitionWithActionAttributes(pub(crate) NamespaceDefinition); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 89 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 90 | p: &'a Template, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 91 | mode: ValidationMode, [INFO] [stdout] 92 | ) -> impl Iterator + 'a { [INFO] [stdout] | ^^^^^^^^^^^^^^^ -- the same lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 92 | ) -> impl Iterator> + 'a { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 104 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 105 | t: &'a Template, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 106 | mode: ValidationMode, [INFO] [stdout] 107 | ) -> impl Iterator + 'a { [INFO] [stdout] | ^^^^^^^^^^^^^^^ -- the same lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 107 | ) -> impl Iterator> + 'a { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/expr_iterator.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | fn text_in_euid(euid: &'_ EntityUID) -> impl Iterator { [INFO] [stdout] | ^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | fn text_in_euid(euid: &'_ EntityUID) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/expr_iterator.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | fn text_in_entity_type(ty: &'_ EntityType) -> impl IntoIterator { [INFO] [stdout] | ^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 89 | fn text_in_entity_type(ty: &'_ EntityType) -> impl IntoIterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/expr_iterator.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | fn text_in_name(name: &'_ Name) -> impl Iterator { [INFO] [stdout] | ^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 96 | fn text_in_name(name: &'_ Name) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/validation_result.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn validation_errors(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | pub fn validation_errors(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/validation_result.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn location(&self) -> &SourceLocation { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 88 | pub fn location(&self) -> &SourceLocation<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rbac.rs:329:31 [INFO] [stdout] | [INFO] [stdout] 327 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 328 | template: &'a Template, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 329 | ) -> impl Iterator + 'a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ -- the same lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 329 | ) -> impl Iterator + 'a { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/typecheck.rs:315:37 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn typecheck_by_request_env(&self, t: &Template) -> Vec<(RequestEnv, PolicyCheck)> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 315 | pub fn typecheck_by_request_env(&self, t: &Template) -> Vec<(RequestEnv<'_>, PolicyCheck)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/typecheck.rs:339:44 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn typecheck_by_request_env_strict(&self, t: &Template) -> Vec<(RequestEnv, PolicyCheck)> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 339 | pub fn typecheck_by_request_env_strict(&self, t: &Template) -> Vec<(RequestEnv<'_>, PolicyCheck)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/typecheck.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 370 | ) -> Vec<(RequestEnv, C)> [INFO] [stdout] | ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 370 | ) -> Vec<(RequestEnv<'_>, C)> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/typecheck.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 398 | policy_templates: &[&Template], [INFO] [stdout] 399 | ) -> Vec<(RequestEnv, Vec)> { [INFO] [stdout] | ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 399 | ) -> Vec<(RequestEnv<'_>, Vec)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/typecheck.rs:434:17 [INFO] [stdout] | [INFO] [stdout] 434 | fn all_envs(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 434 | fn all_envs(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cedar-policy-validator` (lib) due to 3 previous errors; 16 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 89 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 90 | p: &'a Template, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 91 | mode: ValidationMode, [INFO] [stdout] 92 | ) -> impl Iterator + 'a { [INFO] [stdout] | ^^^^^^^^^^^^^^^ -- the same lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 92 | ) -> impl Iterator> + 'a { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 104 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 105 | t: &'a Template, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 106 | mode: ValidationMode, [INFO] [stdout] 107 | ) -> impl Iterator + 'a { [INFO] [stdout] | ^^^^^^^^^^^^^^^ -- the same lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 107 | ) -> impl Iterator> + 'a { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/expr_iterator.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 83 | fn text_in_euid(euid: &'_ EntityUID) -> impl Iterator { [INFO] [stdout] | ^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 83 | fn text_in_euid(euid: &'_ EntityUID) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/expr_iterator.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | fn text_in_entity_type(ty: &'_ EntityType) -> impl IntoIterator { [INFO] [stdout] | ^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 89 | fn text_in_entity_type(ty: &'_ EntityType) -> impl IntoIterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/expr_iterator.rs:96:24 [INFO] [stdout] | [INFO] [stdout] 96 | fn text_in_name(name: &'_ Name) -> impl Iterator { [INFO] [stdout] | ^^ the lifetime is elided here ^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 96 | fn text_in_name(name: &'_ Name) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/validation_result.rs:44:30 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn validation_errors(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 44 | pub fn validation_errors(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/validation_result.rs:88:21 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn location(&self) -> &SourceLocation { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 88 | pub fn location(&self) -> &SourceLocation<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/rbac.rs:329:31 [INFO] [stdout] | [INFO] [stdout] 327 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 328 | template: &'a Template, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 329 | ) -> impl Iterator + 'a { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ -- the same lifetime is named here [INFO] [stdout] | | [INFO] [stdout] | the same lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 329 | ) -> impl Iterator + 'a { [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/typecheck.rs:315:37 [INFO] [stdout] | [INFO] [stdout] 315 | pub fn typecheck_by_request_env(&self, t: &Template) -> Vec<(RequestEnv, PolicyCheck)> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 315 | pub fn typecheck_by_request_env(&self, t: &Template) -> Vec<(RequestEnv<'_>, PolicyCheck)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/typecheck.rs:339:44 [INFO] [stdout] | [INFO] [stdout] 339 | pub fn typecheck_by_request_env_strict(&self, t: &Template) -> Vec<(RequestEnv, PolicyCheck)> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 339 | pub fn typecheck_by_request_env_strict(&self, t: &Template) -> Vec<(RequestEnv<'_>, PolicyCheck)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/typecheck.rs:367:9 [INFO] [stdout] | [INFO] [stdout] 367 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 370 | ) -> Vec<(RequestEnv, C)> [INFO] [stdout] | ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 370 | ) -> Vec<(RequestEnv<'_>, C)> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/typecheck.rs:397:9 [INFO] [stdout] | [INFO] [stdout] 397 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 398 | policy_templates: &[&Template], [INFO] [stdout] 399 | ) -> Vec<(RequestEnv, Vec)> { [INFO] [stdout] | ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 399 | ) -> Vec<(RequestEnv<'_>, Vec)> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/typecheck.rs:434:17 [INFO] [stdout] | [INFO] [stdout] 434 | fn all_envs(&self) -> impl Iterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 434 | fn all_envs(&self) -> impl Iterator> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cedar-policy-validator` (lib test) due to 3 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ddad2fc6bbdfc13ab3c8aa87931b1b49f079a4dea477cf6ec11321b0c62fa60e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddad2fc6bbdfc13ab3c8aa87931b1b49f079a4dea477cf6ec11321b0c62fa60e", kill_on_drop: false }` [INFO] [stdout] ddad2fc6bbdfc13ab3c8aa87931b1b49f079a4dea477cf6ec11321b0c62fa60e