[INFO] fetching crate ratatosk 0.1.0... [INFO] testing ratatosk-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate ratatosk 0.1.0 into /workspace/builds/worker-5-tc2/source [INFO] started tweaking crates.io crate ratatosk 0.1.0 [INFO] finished tweaking crates.io crate ratatosk 0.1.0 [INFO] tweaked toml for crates.io crate ratatosk 0.1.0 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate ratatosk 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate ratatosk 0.1.0 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94860d10f4d921336732cb8f8a27c293e2e6cb24c8db8308a9e67edf64462f65 [INFO] running `Command { std: "docker" "start" "-a" "94860d10f4d921336732cb8f8a27c293e2e6cb24c8db8308a9e67edf64462f65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94860d10f4d921336732cb8f8a27c293e2e6cb24c8db8308a9e67edf64462f65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94860d10f4d921336732cb8f8a27c293e2e6cb24c8db8308a9e67edf64462f65", kill_on_drop: false }` [INFO] [stdout] 94860d10f4d921336732cb8f8a27c293e2e6cb24c8db8308a9e67edf64462f65 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb4a3329268af1853446c82fb1223f8a1d5b964f86f5a75453cb3845cb6b6dc8 [INFO] running `Command { std: "docker" "start" "-a" "bb4a3329268af1853446c82fb1223f8a1d5b964f86f5a75453cb3845cb6b6dc8", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling smallvec v1.11.1 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling semver v1.0.20 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling unicode-segmentation v1.10.1 [INFO] [stderr] Compiling hashbrown v0.14.2 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling murmur3 v0.5.2 [INFO] [stderr] Compiling ipnet v2.9.0 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling clap_builder v4.4.7 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling darling_core v0.14.4 [INFO] [stderr] Compiling pest v2.7.5 [INFO] [stderr] Compiling clap v4.4.7 [INFO] [stderr] Compiling darling_macro v0.14.4 [INFO] [stderr] Compiling pest_meta v2.7.5 [INFO] [stderr] Compiling darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling pest_generator v2.7.5 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling pest_derive v2.7.5 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling chrono v0.4.31 [INFO] [stderr] Compiling unleash-types v0.10.5 [INFO] [stderr] Compiling unleash-yggdrasil v0.7.0 [INFO] [stderr] Compiling ratatosk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ClientFeature`, `Constraint`, and `Strategy` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | ClientFeature, ClientFeatures, Constraint, Segment, Strategy, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RuleFragment`, `compile_rule`, and `state::EnrichedContext` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | state::EnrichedContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | strategy_parsing::{compile_rule, RuleFragment}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `segment_map` [INFO] [stdout] --> src/compile.rs:109:39 [INFO] [stdout] | [INFO] [stdout] 109 | fn strategy_node(strategy: &Strategy, segment_map: &HashMap) -> ExecutionNode { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_segment_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `strategy_without_constraints` [INFO] [stdout] --> src/compile.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let strategy_without_constraints = Strategy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_strategy_without_constraints` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `explanation` [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let explanation = build_execution_tree(&feature, &segment_map); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_explanation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `node_type` and `friendly_name` are never read [INFO] [stdout] --> src/compile.rs:77:16 [INFO] [stdout] | [INFO] [stdout] 76 | pub(crate) struct NodeMetaData { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 77 | pub(crate) node_type: NodeType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 78 | pub(crate) friendly_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeMetaData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `metadata` and `compiled_rule` are never read [INFO] [stdout] --> src/compile.rs:91:16 [INFO] [stdout] | [INFO] [stdout] 90 | pub(crate) struct ExecutionNode { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 91 | pub(crate) metadata: NodeMetaData, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 92 | pub(crate) compiled_rule: RuleFragment, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RepresentDisabled` is never used [INFO] [stdout] --> src/explain.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | trait RepresentDisabled { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Executable` is never used [INFO] [stdout] --> src/explain.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | pub(crate) trait Executable { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExecutionResult` is never constructed [INFO] [stdout] --> src/explain.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | pub(crate) struct ExecutionResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 30.60s [INFO] running `Command { std: "docker" "inspect" "bb4a3329268af1853446c82fb1223f8a1d5b964f86f5a75453cb3845cb6b6dc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb4a3329268af1853446c82fb1223f8a1d5b964f86f5a75453cb3845cb6b6dc8", kill_on_drop: false }` [INFO] [stdout] bb4a3329268af1853446c82fb1223f8a1d5b964f86f5a75453cb3845cb6b6dc8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b9eac75bd02dc1a344af6d88e8c8c6406ab5d927b3c7fe7eb8ee6dbe493c588 [INFO] running `Command { std: "docker" "start" "-a" "0b9eac75bd02dc1a344af6d88e8c8c6406ab5d927b3c7fe7eb8ee6dbe493c588", kill_on_drop: false }` [INFO] [stderr] Compiling ratatosk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ClientFeature`, `Constraint`, and `Strategy` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | ClientFeature, ClientFeatures, Constraint, Segment, Strategy, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RuleFragment`, `compile_rule`, and `state::EnrichedContext` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | state::EnrichedContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | strategy_parsing::{compile_rule, RuleFragment}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Strategy` [INFO] [stdout] --> src/main.rs:50:82 [INFO] [stdout] | [INFO] [stdout] 50 | use unleash_types::client_features::{ClientFeature, ClientFeatures, Segment, Strategy}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pest::error::Error` [INFO] [stdout] --> src/main.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | use pest::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Pair` and `Pairs` [INFO] [stdout] --> src/main.rs:56:23 [INFO] [stdout] | [INFO] [stdout] 56 | use pest::iterators::{Pair, Pairs}; [INFO] [stdout] | ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Assoc`, `Op`, and `PrattParser` [INFO] [stdout] --> src/main.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | use pest::pratt_parser::{Assoc, Op, PrattParser}; [INFO] [stdout] | ^^^^^ ^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `pest::Parser` [INFO] [stdout] --> src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | use pest::Parser; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `segment_map` [INFO] [stdout] --> src/compile.rs:109:39 [INFO] [stdout] | [INFO] [stdout] 109 | fn strategy_node(strategy: &Strategy, segment_map: &HashMap) -> ExecutionNode { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_segment_map` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `strategy_without_constraints` [INFO] [stdout] --> src/compile.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | let strategy_without_constraints = Strategy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_strategy_without_constraints` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `explanation` [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | let explanation = build_execution_tree(&feature, &segment_map); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_explanation` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rule` [INFO] [stdout] --> src/main.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | let rule = "user_id == 7 and session_id == 6"; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rule` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `RepresentDisabled` is never used [INFO] [stdout] --> src/explain.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | trait RepresentDisabled { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `children_result`, `node_type`, `node_name`, and `rule` are never read [INFO] [stdout] --> src/explain.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub(crate) struct ExecutionResult { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 58 | children_result: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | node_type: NodeType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 60 | node_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 61 | rule: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ExecutionResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.51s [INFO] running `Command { std: "docker" "inspect" "0b9eac75bd02dc1a344af6d88e8c8c6406ab5d927b3c7fe7eb8ee6dbe493c588", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b9eac75bd02dc1a344af6d88e8c8c6406ab5d927b3c7fe7eb8ee6dbe493c588", kill_on_drop: false }` [INFO] [stdout] 0b9eac75bd02dc1a344af6d88e8c8c6406ab5d927b3c7fe7eb8ee6dbe493c588 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1c148599c529098195a21b47c974f13849ba5097184c7ed078a72c5d7e09b6f8 [INFO] running `Command { std: "docker" "start" "-a" "1c148599c529098195a21b47c974f13849ba5097184c7ed078a72c5d7e09b6f8", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `ClientFeature`, `Constraint`, and `Strategy` [INFO] [stderr] --> src/main.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | ClientFeature, ClientFeatures, Constraint, Segment, Strategy, [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `RuleFragment`, `compile_rule`, and `state::EnrichedContext` [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | state::EnrichedContext, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 16 | strategy_parsing::{compile_rule, RuleFragment}, [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Strategy` [INFO] [stderr] --> src/main.rs:50:82 [INFO] [stderr] | [INFO] [stderr] 50 | use unleash_types::client_features::{ClientFeature, ClientFeatures, Segment, Strategy}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `pest::error::Error` [INFO] [stderr] --> src/main.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 55 | use pest::error::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Pair` and `Pairs` [INFO] [stderr] --> src/main.rs:56:23 [INFO] [stderr] | [INFO] [stderr] 56 | use pest::iterators::{Pair, Pairs}; [INFO] [stderr] | ^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Assoc`, `Op`, and `PrattParser` [INFO] [stderr] --> src/main.rs:57:26 [INFO] [stderr] | [INFO] [stderr] 57 | use pest::pratt_parser::{Assoc, Op, PrattParser}; [INFO] [stderr] | ^^^^^ ^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `pest::Parser` [INFO] [stderr] --> src/main.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 58 | use pest::Parser; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `segment_map` [INFO] [stderr] --> src/compile.rs:109:39 [INFO] [stderr] | [INFO] [stderr] 109 | fn strategy_node(strategy: &Strategy, segment_map: &HashMap) -> ExecutionNode { [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_segment_map` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `strategy_without_constraints` [INFO] [stderr] --> src/compile.rs:110:9 [INFO] [stderr] | [INFO] [stderr] 110 | let strategy_without_constraints = Strategy { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_strategy_without_constraints` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `explanation` [INFO] [stderr] --> src/main.rs:43:9 [INFO] [stderr] | [INFO] [stderr] 43 | let explanation = build_execution_tree(&feature, &segment_map); [INFO] [stderr] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_explanation` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rule` [INFO] [stderr] --> src/main.rs:86:13 [INFO] [stderr] | [INFO] [stderr] 86 | let rule = "user_id == 7 and session_id == 6"; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rule` [INFO] [stderr] [INFO] [stderr] warning: trait `RepresentDisabled` is never used [INFO] [stderr] --> src/explain.rs:5:7 [INFO] [stderr] | [INFO] [stderr] 5 | trait RepresentDisabled { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `children_result`, `node_type`, `node_name`, and `rule` are never read [INFO] [stderr] --> src/explain.rs:58:5 [INFO] [stderr] | [INFO] [stderr] 55 | pub(crate) struct ExecutionResult { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 58 | children_result: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 59 | node_type: NodeType, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 60 | node_name: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 61 | rule: String, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `ExecutionResult` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `ratatosk` (bin "ratatosk" test) generated 13 warnings (run `cargo fix --bin "ratatosk" -p ratatosk --tests` to apply 11 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ratatosk-63b3ef317a539ab1) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test test::does_the_thing ... FAILED [INFO] [stderr] error: test failed, to rerun pass `--bin ratatosk` [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test::does_the_thing stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test::does_the_thing' (24) panicked at src/compile.rs:117:53: [INFO] [stdout] Failed to compile rule: Error { variant: ParsingError { positives: [constraint], negatives: [] }, location: Pos(0), line_col: Pos((1, 1)), path: None, line: "this wont work", continued_line: None } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x59fc29e0c912 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x59fc29e0c912 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x59fc29e0c912 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x59fc29e0c912 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x59fc29e1de4f - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x59fc29e1de4f - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x59fc29dda1a3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x59fc29dda1a3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x59fc29de6072 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x59fc29deabaf - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x59fc29deaa41 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x59fc29c9e11e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x59fc29c9e11e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x59fc29deb1bf - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x59fc29deb1bf - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x59fc29deb01a - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x59fc29de61a9 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x59fc29dcea9d - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x59fc29e27560 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x59fc29e26566 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x59fc29c6d333 - core::result::Result::expect::h7d3808dbf65860ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1185:23 [INFO] [stdout] 21: 0x59fc29c6a983 - ratatosk::compile::strategy_node::hda0a6cd24b013c5c [INFO] [stdout] at /opt/rustwide/workdir/src/compile.rs:117:53 [INFO] [stdout] 22: 0x59fc29c6a69b - ratatosk::compile::toggle_node::{{closure}}::hcdb62cbd81bc6713 [INFO] [stdout] at /opt/rustwide/workdir/src/compile.rs:150:25 [INFO] [stdout] 23: 0x59fc29c65728 - core::iter::adapters::map::map_fold::{{closure}}::hd8e3e4666d68b4ae [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/iter/adapters/map.rs:88:28 [INFO] [stdout] 24: 0x59fc29c5f8f8 - as core::iter::traits::iterator::Iterator>::fold::h84b690664874e131 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/slice/iter/macros.rs:255:27 [INFO] [stdout] 25: 0x59fc29c61f23 - as core::iter::traits::iterator::Iterator>::fold::ha38c93c4435e316a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/iter/adapters/map.rs:128:19 [INFO] [stdout] 26: 0x59fc29c65385 - core::iter::traits::iterator::Iterator::for_each::hfb086690b7d61975 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/iter/traits/iterator.rs:828:14 [INFO] [stdout] 27: 0x59fc29c6da6c - alloc::vec::Vec::extend_trusted::h22adb19439e6d2b5 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/vec/mod.rs:3807:26 [INFO] [stdout] 28: 0x59fc29c7145a - as alloc::vec::spec_extend::SpecExtend>::spec_extend::hed9a41da932994d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/vec/spec_extend.rs:26:14 [INFO] [stdout] 29: 0x59fc29c6ba9b - as alloc::vec::spec_from_iter_nested::SpecFromIterNested>::from_iter::hbfdf66cf80cdfa89 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/vec/spec_from_iter_nested.rs:60:16 [INFO] [stdout] 30: 0x59fc29c714bd - as alloc::vec::spec_from_iter::SpecFromIter>::from_iter::hbf6e2fbe3f4cb735 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/vec/spec_from_iter.rs:33:9 [INFO] [stdout] 31: 0x59fc29c71365 - as core::iter::traits::collect::FromIterator>::from_iter::h6ce5d8d3e5bb6d8b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/vec/mod.rs:3671:9 [INFO] [stdout] 32: 0x59fc29c651ed - core::iter::traits::iterator::Iterator::collect::h04e906bffdda1234 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/iter/traits/iterator.rs:2028:9 [INFO] [stdout] 33: 0x59fc29c6a39f - ratatosk::compile::toggle_node::hdcc59bba2de3963d [INFO] [stdout] at /opt/rustwide/workdir/src/compile.rs:151:10 [INFO] [stdout] 34: 0x59fc29c6b0ca - ratatosk::compile::build_execution_tree::h37849998673a883d [INFO] [stdout] at /opt/rustwide/workdir/src/compile.rs:165:5 [INFO] [stdout] 35: 0x59fc29c69af1 - ratatosk::test::does_the_thing::h00fb71553508055c [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:93:20 [INFO] [stdout] 36: 0x59fc29c69c87 - ratatosk::test::does_the_thing::{{closure}}::h556a6805e2a06026 [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:85:24 [INFO] [stdout] 37: 0x59fc29c636e6 - core::ops::function::FnOnce::call_once::h85927b56f195615c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 38: 0x59fc29c9df6b - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 39: 0x59fc29c9df6b - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 40: 0x59fc29cb1f7d - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 41: 0x59fc29cb1f7d - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 42: 0x59fc29cb1f7d - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 43: 0x59fc29cb1f7d - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 44: 0x59fc29cb1f7d - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 45: 0x59fc29cb1f7d - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 46: 0x59fc29cb1f7d - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 47: 0x59fc29c8b4c4 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 48: 0x59fc29c8b4c4 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 49: 0x59fc29c8edfa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 50: 0x59fc29c8edfa - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 51: 0x59fc29c8edfa - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 52: 0x59fc29c8edfa - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 53: 0x59fc29c8edfa - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 54: 0x59fc29c8edfa - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 55: 0x59fc29c8edfa - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 56: 0x59fc29de15af - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 57: 0x59fc29de15af - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 58: 0x748125459aa4 - [INFO] [stdout] 59: 0x7481254e6a64 - clone [INFO] [stdout] 60: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test::does_the_thing [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1c148599c529098195a21b47c974f13849ba5097184c7ed078a72c5d7e09b6f8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c148599c529098195a21b47c974f13849ba5097184c7ed078a72c5d7e09b6f8", kill_on_drop: false }` [INFO] [stdout] 1c148599c529098195a21b47c974f13849ba5097184c7ed078a72c5d7e09b6f8