[INFO] updating cached repository https://github.com/Ilgmi/A-Tree [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 48c965af69ab7147bc720e1064a50c3387ae5827 [INFO] checking Ilgmi/A-Tree/48c965af69ab7147bc720e1064a50c3387ae5827 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FIlgmi%2FA-Tree" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ilgmi/A-Tree on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Ilgmi/A-Tree [INFO] finished tweaking git repo https://github.com/Ilgmi/A-Tree [INFO] tweaked toml for git repo https://github.com/Ilgmi/A-Tree written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Ilgmi/A-Tree 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 26302901af2e5f8e403ce37b0f474b39e723dd1d9982b355582aa4704d72a171 [INFO] running `Command { std: "docker" "start" "-a" "26302901af2e5f8e403ce37b0f474b39e723dd1d9982b355582aa4704d72a171", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "26302901af2e5f8e403ce37b0f474b39e723dd1d9982b355582aa4704d72a171", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26302901af2e5f8e403ce37b0f474b39e723dd1d9982b355582aa4704d72a171", kill_on_drop: false }` [INFO] [stdout] 26302901af2e5f8e403ce37b0f474b39e723dd1d9982b355582aa4704d72a171 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f76444e33a8f69e0900ecc5f39efce1c7330b7f9aa33f4453bc549e1b25916da [INFO] running `Command { std: "docker" "start" "-a" "f76444e33a8f69e0900ecc5f39efce1c7330b7f9aa33f4453bc549e1b25916da", kill_on_drop: false }` [INFO] [stderr] Checking A-Tree v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `And` is more private than the item `PredicateOperationExt::and` [INFO] [stdout] --> src/predicates/logical_operations.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | / fn and(self, other: impl Predicate + 'static) -> And [INFO] [stdout] 162 | | where Self: Sized [INFO] [stdout] | |_____________________^ method `PredicateOperationExt::and` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `And` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/predicates/logical_operations.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | struct And [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Or` is more private than the item `PredicateOperationExt::or` [INFO] [stdout] --> src/predicates/logical_operations.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | / fn or(self, other: impl Predicate + 'static) -> Or [INFO] [stdout] 168 | | where Self: Sized{ [INFO] [stdout] | |_____________________^ method `PredicateOperationExt::or` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Or` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/predicates/logical_operations.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | struct Or [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `logical_operations::Not` is more private than the item `PredicateOperationExt::not` [INFO] [stdout] --> src/predicates/logical_operations.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | / fn not(self) -> Not [INFO] [stdout] 173 | | where Self: Sized{ [INFO] [stdout] | |_____________________^ method `PredicateOperationExt::not` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `logical_operations::Not` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/predicates/logical_operations.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | struct Not [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `And` is more private than the item `PredicateOperationExt::and` [INFO] [stdout] --> src/predicates/logical_operations.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | / fn and(self, other: impl Predicate + 'static) -> And [INFO] [stdout] 162 | | where Self: Sized [INFO] [stdout] | |_____________________^ method `PredicateOperationExt::and` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `And` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/predicates/logical_operations.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | struct And [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Or` is more private than the item `PredicateOperationExt::or` [INFO] [stdout] --> src/predicates/logical_operations.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | / fn or(self, other: impl Predicate + 'static) -> Or [INFO] [stdout] 168 | | where Self: Sized{ [INFO] [stdout] | |_____________________^ method `PredicateOperationExt::or` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `Or` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/predicates/logical_operations.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | struct Or [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `logical_operations::Not` is more private than the item `PredicateOperationExt::not` [INFO] [stdout] --> src/predicates/logical_operations.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | / fn not(self) -> Not [INFO] [stdout] 173 | | where Self: Sized{ [INFO] [stdout] | |_____________________^ method `PredicateOperationExt::not` is reachable at visibility `pub(crate)` [INFO] [stdout] | [INFO] [stdout] note: but type `logical_operations::Not` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/predicates/logical_operations.rs:133:1 [INFO] [stdout] | [INFO] [stdout] 133 | struct Not [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RootNodeBuilder` is never constructed [INFO] [stdout] --> src/lib.rs:314:8 [INFO] [stdout] | [INFO] [stdout] 314 | struct RootNodeBuilder{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `and`, `or`, `with_inner_node`, and `with_leaf_node` are never used [INFO] [stdout] --> src/lib.rs:321:8 [INFO] [stdout] | [INFO] [stdout] 318 | impl RootNodeBuilder{ [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 321 | fn and(id: String) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | fn or(id: String,) -> Self{ [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 333 | fn with_inner_node(&mut self, node: InnerNode) -> &mut Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | fn with_leaf_node(&mut self, node: LeafNode) -> &mut Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `or` is never used [INFO] [stdout] --> src/lib.rs:373:8 [INFO] [stdout] | [INFO] [stdout] 348 | impl RootNode{ [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 373 | fn or(id: String) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `GreaterEqual`, `LessEqual`, and `Less` are never constructed [INFO] [stdout] --> src/predicates.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 91 | pub enum OrdOperation{ [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 92 | Greater,GreaterEqual,LessEqual,Less [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `greater_equal` is never used [INFO] [stdout] --> src/predicates.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn greater_equal(value: Value) -> OrdPredicate{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `less_equal` is never used [INFO] [stdout] --> src/predicates.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn less_equal(value: Value) -> OrdPredicate{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `less` is never used [INFO] [stdout] --> src/predicates.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn less(value: Value) -> OrdPredicate{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ElementOf` and `NotElementOf` are never constructed [INFO] [stdout] --> src/predicates.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 143 | pub enum SetOperation{ [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 144 | ElementOf, NotElementOf [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `push` are never used [INFO] [stdout] --> src/predicates.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 152 | impl SetPredicate{ [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 153 | pub fn new(constants: Vec, operation: SetOperation) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn push(&mut self, value: Value){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `element_of` is never used [INFO] [stdout] --> src/predicates.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn element_of(values: Vec) -> SetPredicate{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `not_element_of` is never used [INFO] [stdout] --> src/predicates.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn not_element_of(values: Vec) -> SetPredicate{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/predicates.rs:196:8 [INFO] [stdout] | [INFO] [stdout] 195 | impl BetweenPredicate{ [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 196 | fn new(start_constant: Value, end_constant: Value) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `between` is never used [INFO] [stdout] --> src/predicates.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn between(start: Value, end: Value) -> BetweenPredicate{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `And` is never constructed [INFO] [stdout] --> src/predicates/logical_operations.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct And [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/predicates/logical_operations.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl And { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 11 | fn new(lhs: Box, rhs: Box) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/predicates/logical_operations.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl Ands { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 36 | fn new() -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with` is never used [INFO] [stdout] --> src/predicates/logical_operations.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 43 | impl Ands [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 44 | { [INFO] [stdout] 45 | fn with(&mut self, other: impl Predicate + 'static){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Or` is never constructed [INFO] [stdout] --> src/predicates/logical_operations.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | struct Or [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/predicates/logical_operations.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl Or { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] 79 | fn new(lhs: Box, rhs: Box) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ors` is never constructed [INFO] [stdout] --> src/predicates/logical_operations.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | struct Ors { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `with` are never used [INFO] [stdout] --> src/predicates/logical_operations.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 102 | impl Ors { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 103 | fn new() -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn with(&mut self, predicate: impl Predicate + 'static){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Not` is never constructed [INFO] [stdout] --> src/predicates/logical_operations.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | struct Not [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/predicates/logical_operations.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 138 | impl Not { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 139 | fn new(pred: Box) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `LeafNodeType`, `InnerNodeType`, and `RootNodeType` are never constructed [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 12 | enum NodeType { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] 13 | LeafNodeType(LeafNode), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 14 | InnerNodeType(InnerNode), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 15 | RootNodeType(RootNode) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `NodeType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PredicateOperationExt` is never used [INFO] [stdout] --> src/predicates/logical_operations.rs:157:11 [INFO] [stdout] | [INFO] [stdout] 157 | pub trait PredicateOperationExt [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multiple_and` is never used [INFO] [stdout] --> src/predicates/logical_operations.rs:184:4 [INFO] [stdout] | [INFO] [stdout] 184 | fn multiple_and() -> Ands { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new_leaf`, `new_inner`, and `new_root` are never used [INFO] [stdout] --> src/lib.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl NodeType{ [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 19 | fn new_leaf(node: LeafNode) -> ArcNodeLink{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | fn new_inner(node: InnerNode) -> ArcNodeLink{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn new_root(node: RootNode) -> ArcNodeLink{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `And` and `Or` are never constructed [INFO] [stdout] --> src/lib.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 103 | enum LogOperation{ [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 104 | And,Or [INFO] [stdout] | ^^^ ^^ [INFO] [stdout] | [INFO] [stdout] = note: `LogOperation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Node` is never used [INFO] [stdout] --> src/lib.rs:108:7 [INFO] [stdout] | [INFO] [stdout] 108 | trait Node{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `predicate_id`, `parents`, and `result` are never read [INFO] [stdout] --> src/lib.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 129 | struct LeafNode{ [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 130 | predicate_id: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 131 | parents: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 132 | pub result: Option [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LeafNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/lib.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 135 | impl LeafNode{ [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 136 | fn new(predicate_id: u64) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `log_operation`, `parents`, `childrens`, and `operands` are never read [INFO] [stdout] --> src/lib.rs:187:9 [INFO] [stdout] | [INFO] [stdout] 186 | struct InnerNode{ [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 187 | pub log_operation: LogOperation, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 188 | parents: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 189 | childrens: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 190 | pub operands: Vec> [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `InnerNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `and`, and `or` are never used [INFO] [stdout] --> src/lib.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 193 | impl InnerNode{ [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 194 | fn new(log_operation: LogOperation) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | fn and() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 212 | fn or() -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `childrens`, `log_operation`, `operands`, `ids`, and `id` are never read [INFO] [stdout] --> src/lib.rs:307:5 [INFO] [stdout] | [INFO] [stdout] 306 | struct RootNode{ [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 307 | childrens: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 308 | pub log_operation: LogOperation, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 309 | pub operands: Vec>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 310 | pub ids: HashSet, [INFO] [stdout] | ^^^ [INFO] [stdout] 311 | pub id: String, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `RootNode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RootNodeBuilder` is never constructed [INFO] [stdout] --> src/lib.rs:314:8 [INFO] [stdout] | [INFO] [stdout] 314 | struct RootNodeBuilder{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `and`, `or`, `with_inner_node`, and `with_leaf_node` are never used [INFO] [stdout] --> src/lib.rs:321:8 [INFO] [stdout] | [INFO] [stdout] 318 | impl RootNodeBuilder{ [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 321 | fn and(id: String) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | fn or(id: String,) -> Self{ [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 333 | fn with_inner_node(&mut self, node: InnerNode) -> &mut Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 340 | fn with_leaf_node(&mut self, node: LeafNode) -> &mut Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `and`, and `or` are never used [INFO] [stdout] --> src/lib.rs:349:8 [INFO] [stdout] | [INFO] [stdout] 348 | impl RootNode{ [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 349 | fn new(id: String, log_operation: LogOperation) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 361 | fn and(id: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 373 | fn or(id: String) -> Self { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add_children` is never used [INFO] [stdout] --> src/lib.rs:471:4 [INFO] [stdout] | [INFO] [stdout] 471 | fn add_children(node: &mut ArcNodeLink, children: &mut ArcNodeLink){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PredResult` is never constructed [INFO] [stdout] --> src/lib.rs:476:8 [INFO] [stdout] | [INFO] [stdout] 476 | struct PredResult{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ATree` is never constructed [INFO] [stdout] --> src/lib.rs:482:8 [INFO] [stdout] | [INFO] [stdout] 482 | struct ATree{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `len`, `insert`, `get_m`, `matches`, and `create_new_node` are never used [INFO] [stdout] --> src/lib.rs:490:8 [INFO] [stdout] | [INFO] [stdout] 488 | impl ATree{ [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 489 | [INFO] [stdout] 490 | fn new() -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 496 | fn len(&self) -> usize{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 500 | pub fn insert(&mut self, node: ArcNodeLink) -> ArcNodeLink{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 527 | pub fn get_m(&self) -> u32{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | pub fn matches(&mut self, predicates: &[PredResult]) -> HashSet { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 605 | fn create_new_node(&mut self, node: &ArcNodeLink, child_nodes: &mut [ArcNodeLink]) -> ArcNodeLink{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `EventValue` is never constructed [INFO] [stdout] --> src/lib.rs:634:8 [INFO] [stdout] | [INFO] [stdout] 634 | struct EventValue{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Event` is never constructed [INFO] [stdout] --> src/lib.rs:639:8 [INFO] [stdout] | [INFO] [stdout] 639 | struct Event{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PredicateStore` is never constructed [INFO] [stdout] --> src/lib.rs:644:8 [INFO] [stdout] | [INFO] [stdout] 644 | struct PredicateStore{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, and `evaluate` are never used [INFO] [stdout] --> src/lib.rs:651:8 [INFO] [stdout] | [INFO] [stdout] 649 | impl PredicateStore { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 650 | [INFO] [stdout] 651 | fn new() -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 657 | fn add(&mut self, attribute: String, p: impl Predicate + 'static) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 664 | fn evaluate(&self, event: &Event) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Int`, `Double`, `String`, and `Bool` are never constructed [INFO] [stdout] --> src/predicates.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum Value{ [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] 33 | Int(i32), [INFO] [stdout] | ^^^ [INFO] [stdout] 34 | Double(Double), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 35 | String(String), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 36 | Bool(bool) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Value` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Equal` and `NotEqual` are never constructed [INFO] [stdout] --> src/predicates.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum EqOperation{ [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 47 | Equal,NotEqual [INFO] [stdout] | ^^^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/predicates.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl EqualPredicate { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 56 | pub fn new(constant: Value, operation: EqOperation) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `equal` is never used [INFO] [stdout] --> src/predicates.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn equal(value: Value) -> EqualPredicate{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `not_equal` is never used [INFO] [stdout] --> src/predicates.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn not_equal(value: Value) -> EqualPredicate{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Greater`, `GreaterEqual`, `LessEqual`, and `Less` are never constructed [INFO] [stdout] --> src/predicates.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 91 | pub enum OrdOperation{ [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 92 | Greater,GreaterEqual,LessEqual,Less [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/predicates.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 100 | impl OrdPredicate{ [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 101 | pub fn new(constant: Value, operation: OrdOperation) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `greater` is never used [INFO] [stdout] --> src/predicates.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn greater(value: Value) -> OrdPredicate{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `greater_equal` is never used [INFO] [stdout] --> src/predicates.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn greater_equal(value: Value) -> OrdPredicate{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `less_equal` is never used [INFO] [stdout] --> src/predicates.rs:135:8 [INFO] [stdout] | [INFO] [stdout] 135 | pub fn less_equal(value: Value) -> OrdPredicate{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `less` is never used [INFO] [stdout] --> src/predicates.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn less(value: Value) -> OrdPredicate{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ElementOf` and `NotElementOf` are never constructed [INFO] [stdout] --> src/predicates.rs:144:5 [INFO] [stdout] | [INFO] [stdout] 143 | pub enum SetOperation{ [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 144 | ElementOf, NotElementOf [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `push` are never used [INFO] [stdout] --> src/predicates.rs:153:12 [INFO] [stdout] | [INFO] [stdout] 152 | impl SetPredicate{ [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 153 | pub fn new(constants: Vec, operation: SetOperation) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn push(&mut self, value: Value){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `element_of` is never used [INFO] [stdout] --> src/predicates.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn element_of(values: Vec) -> SetPredicate{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `not_element_of` is never used [INFO] [stdout] --> src/predicates.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn not_element_of(values: Vec) -> SetPredicate{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/predicates.rs:196:8 [INFO] [stdout] | [INFO] [stdout] 195 | impl BetweenPredicate{ [INFO] [stdout] | --------------------- associated function in this implementation [INFO] [stdout] 196 | fn new(start_constant: Value, end_constant: Value) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `between` is never used [INFO] [stdout] --> src/predicates.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn between(start: Value, end: Value) -> BetweenPredicate{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `And` is never constructed [INFO] [stdout] --> src/predicates/logical_operations.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct And [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/predicates/logical_operations.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 10 | impl And { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 11 | fn new(lhs: Box, rhs: Box) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/predicates/logical_operations.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl Ands { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 36 | fn new() -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `with` is never used [INFO] [stdout] --> src/predicates/logical_operations.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 43 | impl Ands [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 44 | { [INFO] [stdout] 45 | fn with(&mut self, other: impl Predicate + 'static){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Or` is never constructed [INFO] [stdout] --> src/predicates/logical_operations.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | struct Or [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/predicates/logical_operations.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl Or { [INFO] [stdout] | ------- associated function in this implementation [INFO] [stdout] 79 | fn new(lhs: Box, rhs: Box) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Ors` is never constructed [INFO] [stdout] --> src/predicates/logical_operations.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | struct Ors { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `with` are never used [INFO] [stdout] --> src/predicates/logical_operations.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 102 | impl Ors { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 103 | fn new() -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn with(&mut self, predicate: impl Predicate + 'static){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Not` is never constructed [INFO] [stdout] --> src/predicates/logical_operations.rs:133:8 [INFO] [stdout] | [INFO] [stdout] 133 | struct Not [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/predicates/logical_operations.rs:139:8 [INFO] [stdout] | [INFO] [stdout] 138 | impl Not { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 139 | fn new(pred: Box) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PredicateOperationExt` is never used [INFO] [stdout] --> src/predicates/logical_operations.rs:157:11 [INFO] [stdout] | [INFO] [stdout] 157 | pub trait PredicateOperationExt [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `multiple_and` is never used [INFO] [stdout] --> src/predicates/logical_operations.rs:184:4 [INFO] [stdout] | [INFO] [stdout] 184 | fn multiple_and() -> Ands { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `A_Tree` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = help: convert the identifier to snake case: `a_tree` [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 53 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] running `Command { std: "docker" "inspect" "f76444e33a8f69e0900ecc5f39efce1c7330b7f9aa33f4453bc549e1b25916da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f76444e33a8f69e0900ecc5f39efce1c7330b7f9aa33f4453bc549e1b25916da", kill_on_drop: false }` [INFO] [stdout] f76444e33a8f69e0900ecc5f39efce1c7330b7f9aa33f4453bc549e1b25916da