[INFO] cloning repository https://github.com/Nolanogenn/trie-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nolanogenn/trie-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNolanogenn%2Ftrie-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNolanogenn%2Ftrie-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 12b103d7823f7b2d4d184acca929351bb0478bb5 [INFO] building Nolanogenn/trie-rs against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNolanogenn%2Ftrie-rs" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nolanogenn/trie-rs on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Nolanogenn/trie-rs [INFO] finished tweaking git repo https://github.com/Nolanogenn/trie-rs [INFO] tweaked toml for git repo https://github.com/Nolanogenn/trie-rs written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Nolanogenn/trie-rs 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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c4b6bf72c29c91ff20b93160000fc9b5e9ed59eabeda075bae9d4835d1fae8e [INFO] running `Command { std: "docker" "start" "-a" "6c4b6bf72c29c91ff20b93160000fc9b5e9ed59eabeda075bae9d4835d1fae8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c4b6bf72c29c91ff20b93160000fc9b5e9ed59eabeda075bae9d4835d1fae8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c4b6bf72c29c91ff20b93160000fc9b5e9ed59eabeda075bae9d4835d1fae8e", kill_on_drop: false }` [INFO] [stdout] 6c4b6bf72c29c91ff20b93160000fc9b5e9ed59eabeda075bae9d4835d1fae8e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4639aff3e6a41664ff374a72dad0cfae9cc8e8840ee2f5dfbf525e4778512cde [INFO] running `Command { std: "docker" "start" "-a" "4639aff3e6a41664ff374a72dad0cfae9cc8e8840ee2f5dfbf525e4778512cde", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Compiling trieRS v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut node = &mut self.nodes[nodeIndex]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let mut lastNode = &mut self.nodes[currentNodeIndex]; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | for mut node in &mut self.nodes{ [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `deleteNode`, `fixIndices`, and `printNodes` are never used [INFO] [stdout] --> src/main.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl Trie{ [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn deleteNode(&mut self, value: String) -> bool{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn fixIndices(&mut self, nodeIndex: NodeIndex, ret: bool){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn printNodes(&self){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkTerminal` is never used [INFO] [stdout] --> src/main.rs:178:4 [INFO] [stdout] | [INFO] [stdout] 178 | fn checkTerminal(node: &Node, nodes: &Vec)->bool{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `outgoingEdges` should have a snake case name [INFO] [stdout] --> src/main.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | outgoingEdges: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `outgoing_edges` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isTerminal` should have a snake case name [INFO] [stdout] --> src/main.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | isTerminal: bool [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `is_terminal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootChar` should have a snake case name [INFO] [stdout] --> src/main.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let rootChar: char = ' '; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `root_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `checkChildren` should have a snake case name [INFO] [stdout] --> src/main.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn checkChildren(&mut self, nodeIndex: NodeIndex, c: char) -> Option{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_children` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nodeIndex` should have a snake case name [INFO] [stdout] --> src/main.rs:80:37 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn checkChildren(&mut self, nodeIndex: NodeIndex, c: char) -> Option{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `node_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addAt` should have a snake case name [INFO] [stdout] --> src/main.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn addAt(&mut self, nodeIndex: NodeIndex, c:char){ [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `add_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nodeIndex` should have a snake case name [INFO] [stdout] --> src/main.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn addAt(&mut self, nodeIndex: NodeIndex, c:char){ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `node_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `freeSpace` should have a snake case name [INFO] [stdout] --> src/main.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let freeSpace = self.nodes.len(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `free_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newNode` should have a snake case name [INFO] [stdout] --> src/main.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let newNode = Node{value:c, outgoingEdges:Vec::new(), isTerminal:false}; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `new_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addNode` should have a snake case name [INFO] [stdout] --> src/main.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn addNode(&mut self, value: String){ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `add_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currentNodeIndex` should have a snake case name [INFO] [stdout] --> src/main.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | let mut currentNodeIndex = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `current_node_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastNode` should have a snake case name [INFO] [stdout] --> src/main.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | let mut lastNode = &mut self.nodes[currentNodeIndex]; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `last_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currentNodeIndex` should have a snake case name [INFO] [stdout] --> src/main.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | let mut currentNodeIndex: NodeIndex = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `current_node_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `deleteNode` should have a snake case name [INFO] [stdout] --> src/main.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn deleteNode(&mut self, value: String) -> bool{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `delete_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currentNodeIndex` should have a snake case name [INFO] [stdout] --> src/main.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | let mut currentNodeIndex: NodeIndex = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `current_node_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fixIndices` should have a snake case name [INFO] [stdout] --> src/main.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn fixIndices(&mut self, nodeIndex: NodeIndex, ret: bool){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `fix_indices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nodeIndex` should have a snake case name [INFO] [stdout] --> src/main.rs:160:34 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn fixIndices(&mut self, nodeIndex: NodeIndex, ret: bool){ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `node_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `printNodes` should have a snake case name [INFO] [stdout] --> src/main.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn printNodes(&self){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `print_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkTerminal` should have a snake case name [INFO] [stdout] --> src/main.rs:178:4 [INFO] [stdout] | [INFO] [stdout] 178 | fn checkTerminal(node: &Node, nodes: &Vec)->bool{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_terminal` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.33s [INFO] running `Command { std: "docker" "inspect" "4639aff3e6a41664ff374a72dad0cfae9cc8e8840ee2f5dfbf525e4778512cde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4639aff3e6a41664ff374a72dad0cfae9cc8e8840ee2f5dfbf525e4778512cde", kill_on_drop: false }` [INFO] [stdout] 4639aff3e6a41664ff374a72dad0cfae9cc8e8840ee2f5dfbf525e4778512cde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3837f6f8fec27d87619dceddafaeb02688599a05fd6df709b8a00c8b7f395d82 [INFO] running `Command { std: "docker" "start" "-a" "3837f6f8fec27d87619dceddafaeb02688599a05fd6df709b8a00c8b7f395d82", kill_on_drop: false }` [INFO] [stderr] warning: unused manifest key: build [INFO] [stderr] Compiling trieRS v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | let mut node = &mut self.nodes[nodeIndex]; [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | let mut lastNode = &mut self.nodes[currentNodeIndex]; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | for mut node in &mut self.nodes{ [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `deleteNode`, `fixIndices`, and `printNodes` are never used [INFO] [stdout] --> src/main.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 74 | impl Trie{ [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | pub fn deleteNode(&mut self, value: String) -> bool{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn fixIndices(&mut self, nodeIndex: NodeIndex, ret: bool){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 172 | pub fn printNodes(&self){ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkTerminal` is never used [INFO] [stdout] --> src/main.rs:178:4 [INFO] [stdout] | [INFO] [stdout] 178 | fn checkTerminal(node: &Node, nodes: &Vec)->bool{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `outgoingEdges` should have a snake case name [INFO] [stdout] --> src/main.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | outgoingEdges: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `outgoing_edges` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `isTerminal` should have a snake case name [INFO] [stdout] --> src/main.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 63 | isTerminal: bool [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `is_terminal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rootChar` should have a snake case name [INFO] [stdout] --> src/main.rs:76:13 [INFO] [stdout] | [INFO] [stdout] 76 | let rootChar: char = ' '; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `root_char` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `checkChildren` should have a snake case name [INFO] [stdout] --> src/main.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn checkChildren(&mut self, nodeIndex: NodeIndex, c: char) -> Option{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_children` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nodeIndex` should have a snake case name [INFO] [stdout] --> src/main.rs:80:37 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn checkChildren(&mut self, nodeIndex: NodeIndex, c: char) -> Option{ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `node_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addAt` should have a snake case name [INFO] [stdout] --> src/main.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn addAt(&mut self, nodeIndex: NodeIndex, c:char){ [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `add_at` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nodeIndex` should have a snake case name [INFO] [stdout] --> src/main.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn addAt(&mut self, nodeIndex: NodeIndex, c:char){ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `node_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `freeSpace` should have a snake case name [INFO] [stdout] --> src/main.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let freeSpace = self.nodes.len(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `free_space` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newNode` should have a snake case name [INFO] [stdout] --> src/main.rs:93:13 [INFO] [stdout] | [INFO] [stdout] 93 | let newNode = Node{value:c, outgoingEdges:Vec::new(), isTerminal:false}; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `new_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `addNode` should have a snake case name [INFO] [stdout] --> src/main.rs:96:12 [INFO] [stdout] | [INFO] [stdout] 96 | pub fn addNode(&mut self, value: String){ [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `add_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currentNodeIndex` should have a snake case name [INFO] [stdout] --> src/main.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | let mut currentNodeIndex = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `current_node_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `lastNode` should have a snake case name [INFO] [stdout] --> src/main.rs:110:17 [INFO] [stdout] | [INFO] [stdout] 110 | let mut lastNode = &mut self.nodes[currentNodeIndex]; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `last_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currentNodeIndex` should have a snake case name [INFO] [stdout] --> src/main.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | let mut currentNodeIndex: NodeIndex = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `current_node_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `deleteNode` should have a snake case name [INFO] [stdout] --> src/main.rs:128:12 [INFO] [stdout] | [INFO] [stdout] 128 | pub fn deleteNode(&mut self, value: String) -> bool{ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `delete_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `currentNodeIndex` should have a snake case name [INFO] [stdout] --> src/main.rs:129:17 [INFO] [stdout] | [INFO] [stdout] 129 | let mut currentNodeIndex: NodeIndex = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `current_node_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `fixIndices` should have a snake case name [INFO] [stdout] --> src/main.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn fixIndices(&mut self, nodeIndex: NodeIndex, ret: bool){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `fix_indices` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nodeIndex` should have a snake case name [INFO] [stdout] --> src/main.rs:160:34 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn fixIndices(&mut self, nodeIndex: NodeIndex, ret: bool){ [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `node_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `printNodes` should have a snake case name [INFO] [stdout] --> src/main.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn printNodes(&self){ [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `print_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `checkTerminal` should have a snake case name [INFO] [stdout] --> src/main.rs:178:4 [INFO] [stdout] | [INFO] [stdout] 178 | fn checkTerminal(node: &Node, nodes: &Vec)->bool{ [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `check_terminal` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.28s [INFO] running `Command { std: "docker" "inspect" "3837f6f8fec27d87619dceddafaeb02688599a05fd6df709b8a00c8b7f395d82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3837f6f8fec27d87619dceddafaeb02688599a05fd6df709b8a00c8b7f395d82", kill_on_drop: false }` [INFO] [stdout] 3837f6f8fec27d87619dceddafaeb02688599a05fd6df709b8a00c8b7f395d82