[INFO] fetching crate cedar-policy-validator 4.4.1... [INFO] testing cedar-policy-validator-4.4.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate cedar-policy-validator 4.4.1 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cedar-policy-validator 4.4.1 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate 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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded gloo-utils v0.1.7 [INFO] [stderr] Downloaded psm v0.1.26 [INFO] [stderr] Downloaded serde_derive_internals v0.28.0 [INFO] [stderr] Downloaded tsify-macros v0.4.5 [INFO] [stderr] Downloaded rustc_lexer v0.1.0 [INFO] [stderr] Downloaded similar-asserts v1.7.0 [INFO] [stderr] Downloaded indent_write v2.2.0 [INFO] [stderr] Downloaded term v1.0.2 [INFO] [stderr] Downloaded owo-colors v4.2.0 [INFO] [stderr] Downloaded nonempty v0.10.0 [INFO] [stderr] Downloaded serde-wasm-bindgen v0.6.5 [INFO] [stderr] Downloaded tsify v0.4.5 [INFO] [stderr] Downloaded cool_asserts v2.0.3 [INFO] [stderr] Downloaded lalrpop-util v0.22.1 [INFO] [stderr] Downloaded stacker v0.1.21 [INFO] [stderr] Downloaded unicode-security v0.1.2 [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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86050c1cb3d95235997a8e2b47e749742a048f8a7ba3504ada72c023343b0f33 [INFO] running `Command { std: "docker" "start" "-a" "86050c1cb3d95235997a8e2b47e749742a048f8a7ba3504ada72c023343b0f33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86050c1cb3d95235997a8e2b47e749742a048f8a7ba3504ada72c023343b0f33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86050c1cb3d95235997a8e2b47e749742a048f8a7ba3504ada72c023343b0f33", kill_on_drop: false }` [INFO] [stdout] 86050c1cb3d95235997a8e2b47e749742a048f8a7ba3504ada72c023343b0f33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b33820c0d9d6cd96cda501341f142113967e9637135458fe802947372df0f149 [INFO] running `Command { std: "docker" "start" "-a" "b33820c0d9d6cd96cda501341f142113967e9637135458fe802947372df0f149", kill_on_drop: false }` [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling cc v1.2.21 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling keccak v0.1.5 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling term v1.0.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling itertools v0.14.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling ena v0.14.3 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling ascii-canvas v4.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling ref-cast v1.0.24 [INFO] [stderr] Compiling tinyvec v1.9.0 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling rustc_lexer v0.1.0 [INFO] [stderr] Compiling unicode-script v0.5.7 [INFO] [stderr] Compiling string_cache v0.8.9 [INFO] [stderr] Compiling unicode-normalization v0.1.24 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling unicode-security v0.1.2 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling petgraph v0.7.1 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha3 v0.10.8 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling lalrpop-util v0.22.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling enum-ordinalize-derive v4.3.1 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling miette-derive v7.6.0 [INFO] [stderr] Compiling ref-cast-impl v1.0.24 [INFO] [stderr] Compiling lalrpop v0.22.1 [INFO] [stderr] Compiling enum-ordinalize v4.3.0 [INFO] [stderr] Compiling educe v0.6.0 [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] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling smol_str v0.3.2 [INFO] [stderr] Compiling nonempty v0.10.0 [INFO] [stderr] Compiling miette v7.6.0 [INFO] [stderr] Compiling serde_with v3.12.0 [INFO] [stderr] Compiling cedar-policy-core v4.4.1 [INFO] [stderr] Compiling cedar-policy-validator v4.4.1 (/opt/rustwide/workdir) [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: 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)]` (part of `#[warn(unused)]`) 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] running `Command { std: "docker" "inspect" "b33820c0d9d6cd96cda501341f142113967e9637135458fe802947372df0f149", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b33820c0d9d6cd96cda501341f142113967e9637135458fe802947372df0f149", kill_on_drop: false }` [INFO] [stdout] b33820c0d9d6cd96cda501341f142113967e9637135458fe802947372df0f149