[INFO] fetching crate cedar-policy-validator 4.4.1... [INFO] checking cedar-policy-validator-4.4.1 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate cedar-policy-validator 4.4.1 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate cedar-policy-validator 4.4.1 [INFO] finished tweaking crates.io crate cedar-policy-validator 4.4.1 [INFO] tweaked toml for crates.io crate cedar-policy-validator 4.4.1 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cedar-policy-validator 4.4.1 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cedar-policy-validator 4.4.1 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded term v1.0.2 [INFO] [stderr] Downloaded owo-colors v4.2.0 [INFO] [stderr] Downloaded indent_write v2.2.0 [INFO] [stderr] Downloaded miette-derive v7.6.0 [INFO] [stderr] Downloaded miette v7.6.0 [INFO] [stderr] Downloaded nonempty v0.10.0 [INFO] [stderr] Downloaded cool_asserts v2.0.3 [INFO] [stderr] Downloaded ascii-canvas v4.0.0 [INFO] [stderr] Downloaded lalrpop-util v0.22.1 [INFO] [stderr] Downloaded lalrpop v0.22.1 [INFO] [stderr] Downloaded cedar-policy-core v4.4.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91cc2fd5d1ec1cbe40da05e8e4eab47a776fa2cb1c157cd3f61d20ed9ab36009 [INFO] running `Command { std: "docker" "start" "-a" "91cc2fd5d1ec1cbe40da05e8e4eab47a776fa2cb1c157cd3f61d20ed9ab36009", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91cc2fd5d1ec1cbe40da05e8e4eab47a776fa2cb1c157cd3f61d20ed9ab36009", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91cc2fd5d1ec1cbe40da05e8e4eab47a776fa2cb1c157cd3f61d20ed9ab36009", kill_on_drop: false }` [INFO] [stdout] 91cc2fd5d1ec1cbe40da05e8e4eab47a776fa2cb1c157cd3f61d20ed9ab36009 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 222a9a6f2f1466154274882fc55017331b52cd72add839e8874c3e71fc0207be [INFO] running `Command { std: "docker" "start" "-a" "222a9a6f2f1466154274882fc55017331b52cd72add839e8874c3e71fc0207be", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling fixedbitset v0.5.7 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling term v1.0.2 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Checking object v0.36.7 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling owo-colors v4.2.0 [INFO] [stderr] Checking rustix v1.0.7 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Checking is_ci v1.2.0 [INFO] [stderr] Checking unicode-linebreak v0.1.5 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling ascii-canvas v4.0.0 [INFO] [stderr] Checking tinyvec v1.9.0 [INFO] [stderr] Checking supports-color v3.0.2 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Checking supports-unicode v3.0.0 [INFO] [stderr] Checking supports-hyperlinks v3.1.0 [INFO] [stderr] Checking rustc_lexer v0.1.0 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking unicode-script v0.5.7 [INFO] [stderr] Checking similar v2.7.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Checking terminal_size v0.4.2 [INFO] [stderr] Checking console v0.15.11 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Checking indent_write v2.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.24 [INFO] [stderr] Checking cool_asserts v2.0.3 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Checking similar-asserts v1.7.0 [INFO] [stderr] Checking unicode-security v0.1.2 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking lalrpop-util v0.22.1 [INFO] [stderr] Checking backtrace v0.3.74 [INFO] [stderr] Checking backtrace-ext v0.2.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling lalrpop v0.22.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Compiling miette-derive v7.6.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling educe v0.6.0 [INFO] [stderr] Checking thiserror v2.0.12 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling serde_with_macros v3.12.0 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking nonempty v0.10.0 [INFO] [stderr] Checking smol_str v0.3.2 [INFO] [stderr] Checking miette v7.6.0 [INFO] [stderr] Compiling cedar-policy-core v4.4.1 [INFO] [stderr] Compiling cedar-policy-validator v4.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking serde_with v3.12.0 [INFO] [stdout] error: unicode codepoint changing visible direction of text present in literal [INFO] [stdout] --> src/str_checks.rs:303:19 [INFO] [stdout] | [INFO] [stdout] 303 | let src = r#" [INFO] [stdout] | ___________________^ [INFO] [stdout] 304 | | permit(principal, action, resource) when { [INFO] [stdout] 305 | | 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] 306 | | }; [INFO] [stdout] 307 | | "#; [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] 305 - principal.access_level != "user� �&& principal.is_admin� �" [INFO] [stdout] 305 + 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:320:17 [INFO] [stdout] | [INFO] [stdout] 320 | r#"user� �&& principal.is_admin� �"# [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] 320 - r#"user� �&& principal.is_admin� �"# [INFO] [stdout] 320 + r#"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:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | "for policy `test`, string `\"user� �&& principal.is_admin� �\"` contains BIDI control characters" [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] 325 - "for policy `test`, string `\"user� �&& principal.is_admin� �\"` contains BIDI control characters" [INFO] [stdout] 325 + "for policy `test`, string `\"user\u{202e} \u{2066}&& principal.is_admin\u{2069} \u{2066}\"` contains BIDI control characters" [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:303:19 [INFO] [stdout] | [INFO] [stdout] 303 | let src = r#" [INFO] [stdout] | ___________________^ [INFO] [stdout] 304 | | permit(principal, action, resource) when { [INFO] [stdout] 305 | | 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] 306 | | }; [INFO] [stdout] 307 | | "#; [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] 305 - principal.access_level != "user� �&& principal.is_admin� �" [INFO] [stdout] 305 + 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:320:17 [INFO] [stdout] | [INFO] [stdout] 320 | r#"user� �&& principal.is_admin� �"# [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] 320 - r#"user� �&& principal.is_admin� �"# [INFO] [stdout] 320 + r#"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:325:13 [INFO] [stdout] | [INFO] [stdout] 325 | "for policy `test`, string `\"user� �&& principal.is_admin� �\"` contains BIDI control characters" [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] 325 - "for policy `test`, string `\"user� �&& principal.is_admin� �\"` contains BIDI control characters" [INFO] [stdout] 325 + "for policy `test`, string `\"user\u{202e} \u{2066}&& principal.is_admin\u{2069} \u{2066}\"` contains BIDI control characters" [INFO] [stdout] | [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:301:13 [INFO] [stdout] | [INFO] [stdout] 301 | #[allow(text_direction_codepoint_in_literal)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NamespaceDefinitionWithActionAttributes` is never constructed [INFO] [stdout] --> src/schema.rs:1097:19 [INFO] [stdout] | [INFO] [stdout] 1097 | pub(crate) struct NamespaceDefinitionWithActionAttributes( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cedar-policy-validator` (lib) due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable `entityC` should have a snake case name [INFO] [stdout] --> src/cedar_schema/to_json_schema.rs:835:92 [INFO] [stdout] | [INFO] [stdout] 835 | .expect("couldn't find entity C"), EntityType { kind: EntityTypeKind::Standard(entityC), ..} => { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `entity_c` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cedar-policy-validator` (lib test) due to 3 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "222a9a6f2f1466154274882fc55017331b52cd72add839e8874c3e71fc0207be", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "222a9a6f2f1466154274882fc55017331b52cd72add839e8874c3e71fc0207be", kill_on_drop: false }` [INFO] [stdout] 222a9a6f2f1466154274882fc55017331b52cd72add839e8874c3e71fc0207be