[INFO] fetching crate ratatosk 0.1.0... [INFO] testing ratatosk-0.1.0 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [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 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97031af551bfbd3880c9a2d15af814a95b02cb5db81e706bd5100b746671fe17 [INFO] running `Command { std: "docker" "start" "-a" "97031af551bfbd3880c9a2d15af814a95b02cb5db81e706bd5100b746671fe17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97031af551bfbd3880c9a2d15af814a95b02cb5db81e706bd5100b746671fe17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97031af551bfbd3880c9a2d15af814a95b02cb5db81e706bd5100b746671fe17", kill_on_drop: false }` [INFO] [stdout] 97031af551bfbd3880c9a2d15af814a95b02cb5db81e706bd5100b746671fe17 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a1634db976cdd8a38cc4768a4021cb9a293c54dcccbc3bb285c96012acc8424 [INFO] running `Command { std: "docker" "start" "-a" "2a1634db976cdd8a38cc4768a4021cb9a293c54dcccbc3bb285c96012acc8424", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling memchr v2.6.4 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling serde_json v1.0.108 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling iana-time-zone v0.1.58 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling anstyle-parse v0.2.2 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling semver v1.0.20 [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 ipnet v2.9.0 [INFO] [stderr] Compiling murmur3 v0.5.2 [INFO] [stderr] Compiling anstream v0.6.4 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling clap_builder v4.4.7 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling dashmap v5.5.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling darling_core v0.14.4 [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 thiserror v1.0.50 [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 darling v0.14.4 [INFO] [stderr] Compiling derive_builder_core v0.12.0 [INFO] [stderr] Compiling pest_meta v2.7.5 [INFO] [stderr] Compiling derive_builder_macro v0.12.0 [INFO] [stderr] Compiling derive_builder v0.12.0 [INFO] [stderr] Compiling pest_generator v2.7.5 [INFO] [stderr] Compiling pest_derive v2.7.5 [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: `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] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [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] [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 20.69s [INFO] running `Command { std: "docker" "inspect" "2a1634db976cdd8a38cc4768a4021cb9a293c54dcccbc3bb285c96012acc8424", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a1634db976cdd8a38cc4768a4021cb9a293c54dcccbc3bb285c96012acc8424", kill_on_drop: false }` [INFO] [stdout] 2a1634db976cdd8a38cc4768a4021cb9a293c54dcccbc3bb285c96012acc8424 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31116d5628db32a2ffd2f0f13f513962488d76520cf24340c4daf46955eaa9b5 [INFO] running `Command { std: "docker" "start" "-a" "31116d5628db32a2ffd2f0f13f513962488d76520cf24340c4daf46955eaa9b5", 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: `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] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [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] [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.47s [INFO] running `Command { std: "docker" "inspect" "31116d5628db32a2ffd2f0f13f513962488d76520cf24340c4daf46955eaa9b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31116d5628db32a2ffd2f0f13f513962488d76520cf24340c4daf46955eaa9b5", kill_on_drop: false }` [INFO] [stdout] 31116d5628db32a2ffd2f0f13f513962488d76520cf24340c4daf46955eaa9b5 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7ab4a34deac84cb79817410b24f07c97c14aafac4248f4dd6414ed00373fdb0e [INFO] running `Command { std: "docker" "start" "-a" "7ab4a34deac84cb79817410b24f07c97c14aafac4248f4dd6414ed00373fdb0e", 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: `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] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [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] 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" --tests` to apply 7 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [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] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test::does_the_thing stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'test::does_the_thing' (26) 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: 0x5eceb74f50b2 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5eceb74f50b2 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5eceb74f50b2 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5eceb74f50b2 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5eceb7506a4f - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5eceb7506a4f - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x5eceb74c1da1 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5eceb74c1da1 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5eceb74ce112 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5eceb74d2cbf - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x5eceb74d2b51 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x5eceb737ebce - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x5eceb737ebce - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5eceb74d337f - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x5eceb74d337f - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x5eceb74d31da - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x5eceb74ce259 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x5eceb74b653d - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x5eceb75101e0 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x5eceb750f206 - core::result::unwrap_failed::h38baee32fdec5ac8 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x5eceb73433b3 - core::result::Result::expect::hfc3e1a95951218f9 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/result.rs:1178:23 [INFO] [stdout] 21: 0x5eceb73501d3 - ratatosk::compile::strategy_node::hb9bbb82e8ebf02ca [INFO] [stdout] at /opt/rustwide/workdir/src/compile.rs:117:53 [INFO] [stdout] 22: 0x5eceb734fefb - ratatosk::compile::toggle_node::{{closure}}::he07b43567a3987c7 [INFO] [stdout] at /opt/rustwide/workdir/src/compile.rs:150:25 [INFO] [stdout] 23: 0x5eceb733cac8 - core::iter::adapters::map::map_fold::{{closure}}::h255cbfa7df303aff [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/iter/adapters/map.rs:88:28 [INFO] [stdout] 24: 0x5eceb7340f06 - as core::iter::traits::iterator::Iterator>::fold::ha1f92017a6f7d63d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/slice/iter/macros.rs:255:27 [INFO] [stdout] 25: 0x5eceb733a963 - as core::iter::traits::iterator::Iterator>::fold::hb1418908a1c162ac [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/iter/adapters/map.rs:128:19 [INFO] [stdout] 26: 0x5eceb733c4b5 - core::iter::traits::iterator::Iterator::for_each::hdc1728327c19c366 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/iter/traits/iterator.rs:828:14 [INFO] [stdout] 27: 0x5eceb7344008 - alloc::vec::Vec::extend_trusted::hec7e6082685a2901 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/vec/mod.rs:3824:26 [INFO] [stdout] 28: 0x5eceb73476ea - as alloc::vec::spec_extend::SpecExtend>::spec_extend::h07934cb83b6a6ce4 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/vec/spec_extend.rs:29:14 [INFO] [stdout] 29: 0x5eceb7341a46 - as alloc::vec::spec_from_iter_nested::SpecFromIterNested>::from_iter::h02c8d61ce36b392d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/vec/spec_from_iter_nested.rs:62:16 [INFO] [stdout] 30: 0x5eceb734775d - as alloc::vec::spec_from_iter::SpecFromIter>::from_iter::h11e85a53b707e9cd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/vec/spec_from_iter.rs:34:9 [INFO] [stdout] 31: 0x5eceb73476d1 - as core::iter::traits::collect::FromIterator>::from_iter::hba2bad47fece671c [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/vec/mod.rs:3683:9 [INFO] [stdout] 32: 0x5eceb733c30a - core::iter::traits::iterator::Iterator::collect::h69742bebb7272b84 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/iter/traits/iterator.rs:2028:9 [INFO] [stdout] 33: 0x5eceb734fbef - ratatosk::compile::toggle_node::h3fa6df17b9610911 [INFO] [stdout] at /opt/rustwide/workdir/src/compile.rs:151:10 [INFO] [stdout] 34: 0x5eceb735091a - ratatosk::compile::build_execution_tree::hc11f11d4ef4b40be [INFO] [stdout] at /opt/rustwide/workdir/src/compile.rs:165:5 [INFO] [stdout] 35: 0x5eceb7340511 - ratatosk::test::does_the_thing::h6c13d858cece6a73 [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:93:20 [INFO] [stdout] 36: 0x5eceb73406a7 - ratatosk::test::does_the_thing::{{closure}}::hbfaec2b0e0e1358f [INFO] [stdout] at /opt/rustwide/workdir/src/main.rs:85:24 [INFO] [stdout] 37: 0x5eceb734c186 - core::ops::function::FnOnce::call_once::h66d8eb53a6746f9b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 38: 0x5eceb737e9ab - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 39: 0x5eceb737e9ab - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 40: 0x5eceb73945d5 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 41: 0x5eceb73945d5 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 42: 0x5eceb73945d5 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 43: 0x5eceb73945d5 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 44: 0x5eceb73945d5 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 45: 0x5eceb73945d5 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 46: 0x5eceb73945d5 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 47: 0x5eceb736ade4 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 48: 0x5eceb736ade4 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 49: 0x5eceb736e78a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 50: 0x5eceb736e78a - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 51: 0x5eceb736e78a - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 52: 0x5eceb736e78a - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 53: 0x5eceb736e78a - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 54: 0x5eceb736e78a - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 55: 0x5eceb736e78a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 56: 0x5eceb74c938f - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 57: 0x5eceb74c938f - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 58: 0x741c8327baa4 - [INFO] [stdout] 59: 0x741c83308a34 - 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] [stderr] error: test failed, to rerun pass `--bin ratatosk` [INFO] running `Command { std: "docker" "inspect" "7ab4a34deac84cb79817410b24f07c97c14aafac4248f4dd6414ed00373fdb0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7ab4a34deac84cb79817410b24f07c97c14aafac4248f4dd6414ed00373fdb0e", kill_on_drop: false }` [INFO] [stdout] 7ab4a34deac84cb79817410b24f07c97c14aafac4248f4dd6414ed00373fdb0e