[INFO] cloning repository https://github.com/imoken1122/trie [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/imoken1122/trie" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimoken1122%2Ftrie", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimoken1122%2Ftrie'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b55455aa718c73f5d902bd6869e5f4065d392cbd [INFO] checking imoken1122/trie against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimoken1122%2Ftrie" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/imoken1122/trie on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/imoken1122/trie [INFO] finished tweaking git repo https://github.com/imoken1122/trie [INFO] tweaked toml for git repo https://github.com/imoken1122/trie written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/imoken1122/trie 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4ee9166bd76d699b87818538ba8d0cbb40988f4777ae8fb2b0eff2821d08974 [INFO] running `Command { std: "docker" "start" "-a" "d4ee9166bd76d699b87818538ba8d0cbb40988f4777ae8fb2b0eff2821d08974", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4ee9166bd76d699b87818538ba8d0cbb40988f4777ae8fb2b0eff2821d08974", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4ee9166bd76d699b87818538ba8d0cbb40988f4777ae8fb2b0eff2821d08974", kill_on_drop: false }` [INFO] [stdout] d4ee9166bd76d699b87818538ba8d0cbb40988f4777ae8fb2b0eff2821d08974 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bc2f952f2e1d22fae7e54bf10c34d27a669075280683d8f4c9331180c3a8b5ba [INFO] running `Command { std: "docker" "start" "-a" "bc2f952f2e1d22fae7e54bf10c34d27a669075280683d8f4c9331180c3a8b5ba", kill_on_drop: false }` [INFO] [stderr] Checking trie v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/array_trie.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Error as Error` [INFO] [stdout] --> src/triple_array.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Error as Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Error as Error` [INFO] [stdout] --> src/triple_array.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::Error as Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `next_elm_t` should have an upper camel case name [INFO] [stdout] --> src/triple_array.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type next_elm_t = i64; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `NextElmT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `offset_elm_t` should have an upper camel case name [INFO] [stdout] --> src/triple_array.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type offset_elm_t = i64; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OffsetElmT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `offset_t` should have an upper camel case name [INFO] [stdout] --> src/triple_array.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type offset_t = Option; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `OffsetT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `next_t` should have an upper camel case name [INFO] [stdout] --> src/triple_array.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type next_t= Option; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `NextT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `check_t` should have an upper camel case name [INFO] [stdout] --> src/triple_array.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | type check_t= Option; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `CheckT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/triple_array.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `array_trie::Trie` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use array_trie::Trie; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `idx_t` should have an upper camel case name [INFO] [stdout] --> src/main.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type idx_t= usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `IdxT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `next_elm_t` should have an upper camel case name [INFO] [stdout] --> src/triple_array.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type next_elm_t = i64; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `NextElmT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `offset_elm_t` should have an upper camel case name [INFO] [stdout] --> src/triple_array.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type offset_elm_t = i64; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OffsetElmT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `offset_t` should have an upper camel case name [INFO] [stdout] --> src/triple_array.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type offset_t = Option; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `OffsetT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `next_t` should have an upper camel case name [INFO] [stdout] --> src/triple_array.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type next_t= Option; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `NextT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `check_t` should have an upper camel case name [INFO] [stdout] --> src/triple_array.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | type check_t= Option; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `CheckT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `array_trie::Trie` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use array_trie::Trie; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `idx_t` should have an upper camel case name [INFO] [stdout] --> src/main.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type idx_t= usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `IdxT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/array_trie.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | for (i,c) in word.chars().enumerate(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/array_trie.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl TrieNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(item:Option) -> TrieNode{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_node`, `insert`, and `contain` are never used [INFO] [stdout] --> src/array_trie.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Trie{ [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 44 | pub fn new() -> Trie{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn add_node(&mut self, node : TrieNode) -> Option{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn insert(&mut self,word : String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn contain(&self, word : String) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/triple_array.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl DoubleArray { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 22 | pub fn new(trie:Trie, ) -> DoubleArray{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn build(&mut self){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn get_left_idx_next(&self,array:&Vec>, ) ->idx_t{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn get_left_node_idx(&self,array:&Vec>, ) ->idx_t{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | fn check_next(&self, offset : offset_elm_t,node_idx : usize) -> bool{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | fn get_offset(&mut self, node_idx : usize) -> offset_elm_t{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | fn update_arrays(&mut self, offset : offset_elm_t, parent_idx: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | fn verify_next(&self, ans : &[i64]) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/array_trie.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | for (i,c) in word.chars().enumerate(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] running `Command { std: "docker" "inspect" "bc2f952f2e1d22fae7e54bf10c34d27a669075280683d8f4c9331180c3a8b5ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc2f952f2e1d22fae7e54bf10c34d27a669075280683d8f4c9331180c3a8b5ba", kill_on_drop: false }` [INFO] [stdout] bc2f952f2e1d22fae7e54bf10c34d27a669075280683d8f4c9331180c3a8b5ba [INFO] checking imoken1122/trie against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimoken1122%2Ftrie" "/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/imoken1122/trie on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/imoken1122/trie [INFO] finished tweaking git repo https://github.com/imoken1122/trie [INFO] tweaked toml for git repo https://github.com/imoken1122/trie written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/imoken1122/trie 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7d836571cf6cce5368c1f8daf9b046c2e37f464d6dc30449bf6b04595671d56 [INFO] running `Command { std: "docker" "start" "-a" "b7d836571cf6cce5368c1f8daf9b046c2e37f464d6dc30449bf6b04595671d56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7d836571cf6cce5368c1f8daf9b046c2e37f464d6dc30449bf6b04595671d56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7d836571cf6cce5368c1f8daf9b046c2e37f464d6dc30449bf6b04595671d56", kill_on_drop: false }` [INFO] [stdout] b7d836571cf6cce5368c1f8daf9b046c2e37f464d6dc30449bf6b04595671d56 [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=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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5334136e517e4c751b38897e5c46ce6467dbb228706356bd7e6a65189d23780c [INFO] running `Command { std: "docker" "start" "-a" "5334136e517e4c751b38897e5c46ce6467dbb228706356bd7e6a65189d23780c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking trie v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/triple_array.rs (1 fix) [INFO] [stderr] Fixed src/main.rs (1 fix) [INFO] [stdout] warning: type `next_elm_t` should have an upper camel case name [INFO] [stdout] --> src/triple_array.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type next_elm_t = i64; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `NextElmT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `offset_elm_t` should have an upper camel case name [INFO] [stdout] --> src/triple_array.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type offset_elm_t = i64; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OffsetElmT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `offset_t` should have an upper camel case name [INFO] [stdout] --> src/triple_array.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type offset_t = Option; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `OffsetT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `next_t` should have an upper camel case name [INFO] [stdout] --> src/triple_array.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type next_t= Option; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `NextT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `check_t` should have an upper camel case name [INFO] [stdout] --> src/triple_array.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type check_t= Option; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `CheckT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `idx_t` should have an upper camel case name [INFO] [stdout] --> src/main.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type idx_t= usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `IdxT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/array_trie.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | for (i,c) in word.chars().enumerate(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Fixed src/triple_array.rs (1 fix) [INFO] [stderr] Fixed src/array_trie.rs (1 fix) [INFO] [stdout] warning: type `next_elm_t` should have an upper camel case name [INFO] [stdout] --> src/triple_array.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type next_elm_t = i64; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `NextElmT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `offset_elm_t` should have an upper camel case name [INFO] [stdout] --> src/triple_array.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type offset_elm_t = i64; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OffsetElmT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `offset_t` should have an upper camel case name [INFO] [stdout] --> src/triple_array.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type offset_t = Option; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `OffsetT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `next_t` should have an upper camel case name [INFO] [stdout] --> src/triple_array.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type next_t= Option; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `NextT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `check_t` should have an upper camel case name [INFO] [stdout] --> src/triple_array.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type check_t= Option; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `CheckT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `idx_t` should have an upper camel case name [INFO] [stdout] --> src/main.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type idx_t= usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `IdxT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/array_trie.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | for (i,c) in word.chars().enumerate(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/array_trie.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl TrieNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(item:Option) -> TrieNode{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_node`, `insert`, and `contain` are never used [INFO] [stdout] --> src/array_trie.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Trie{ [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 44 | pub fn new() -> Trie{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn add_node(&mut self, node : TrieNode) -> Option{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn insert(&mut self,word : String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn contain(&self, word : String) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/triple_array.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl DoubleArray { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(trie:Trie, ) -> DoubleArray{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn build(&mut self){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn get_left_idx_next(&self,array:&Vec>, ) ->idx_t{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn get_left_node_idx(&self,array:&Vec>, ) ->idx_t{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn check_next(&self, offset : offset_elm_t,node_idx : usize) -> bool{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn get_offset(&mut self, node_idx : usize) -> offset_elm_t{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn update_arrays(&mut self, offset : offset_elm_t, parent_idx: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn verify_next(&self, ans : &[i64]) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Checking trie v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: type `next_elm_t` should have an upper camel case name [INFO] [stdout] --> src/triple_array.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type next_elm_t = i64; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `NextElmT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `offset_elm_t` should have an upper camel case name [INFO] [stdout] --> src/triple_array.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type offset_elm_t = i64; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OffsetElmT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `offset_t` should have an upper camel case name [INFO] [stdout] --> src/triple_array.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type offset_t = Option; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `OffsetT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `next_t` should have an upper camel case name [INFO] [stdout] --> src/triple_array.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type next_t= Option; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `NextT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `check_t` should have an upper camel case name [INFO] [stdout] --> src/triple_array.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type check_t= Option; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `CheckT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `idx_t` should have an upper camel case name [INFO] [stdout] --> src/main.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type idx_t= usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `IdxT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trie` [INFO] [stdout] --> src/array_trie.rs:108:24 [INFO] [stdout] | [INFO] [stdout] 108 | let mut trie = Trie::new(); [INFO] [stdout] | ^^^^ use of undeclared type `Trie` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 106 + use crate::array_trie::Trie; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trie` [INFO] [stdout] --> src/array_trie.rs:133:24 [INFO] [stdout] | [INFO] [stdout] 133 | let mut trie = Trie::new(); [INFO] [stdout] | ^^^^ use of undeclared type `Trie` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 106 + use crate::array_trie::Trie; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trie` [INFO] [stdout] --> src/triple_array.rs:167:24 [INFO] [stdout] | [INFO] [stdout] 167 | let mut trie = Trie::new(); [INFO] [stdout] | ^^^^ use of undeclared type `Trie` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 164 + use crate::triple_array::Trie; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DoubleArray` [INFO] [stdout] --> src/triple_array.rs:175:22 [INFO] [stdout] | [INFO] [stdout] 175 | let mut ta = DoubleArray::new(trie); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `DoubleArray` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 164 + use crate::triple_array::DoubleArray; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Trie` [INFO] [stdout] --> src/triple_array.rs:184:24 [INFO] [stdout] | [INFO] [stdout] 184 | let mut trie = Trie::new(); [INFO] [stdout] | ^^^^ use of undeclared type `Trie` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 164 + use crate::triple_array::Trie; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DoubleArray` [INFO] [stdout] --> src/triple_array.rs:191:22 [INFO] [stdout] | [INFO] [stdout] 191 | let mut ta = DoubleArray::new(trie); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `DoubleArray` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 164 + use crate::triple_array::DoubleArray; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `next_elm_t` should have an upper camel case name [INFO] [stdout] --> src/triple_array.rs:4:6 [INFO] [stdout] | [INFO] [stdout] 4 | type next_elm_t = i64; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `NextElmT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `offset_elm_t` should have an upper camel case name [INFO] [stdout] --> src/triple_array.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type offset_elm_t = i64; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `OffsetElmT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `offset_t` should have an upper camel case name [INFO] [stdout] --> src/triple_array.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type offset_t = Option; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `OffsetT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `next_t` should have an upper camel case name [INFO] [stdout] --> src/triple_array.rs:7:6 [INFO] [stdout] | [INFO] [stdout] 7 | type next_t= Option; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `NextT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `check_t` should have an upper camel case name [INFO] [stdout] --> src/triple_array.rs:8:6 [INFO] [stdout] | [INFO] [stdout] 8 | type check_t= Option; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `CheckT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `idx_t` should have an upper camel case name [INFO] [stdout] --> src/main.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type idx_t= usize; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case: `IdxT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/array_trie.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | for (i,c) in word.chars().enumerate(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/array_trie.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl TrieNode { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(item:Option) -> TrieNode{ [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_node`, `insert`, and `contain` are never used [INFO] [stdout] --> src/array_trie.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 43 | impl Trie{ [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 44 | pub fn new() -> Trie{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | fn add_node(&mut self, node : TrieNode) -> Option{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn insert(&mut self,word : String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn contain(&self, word : String) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/triple_array.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl DoubleArray { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 21 | pub fn new(trie:Trie, ) -> DoubleArray{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn build(&mut self){ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | fn get_left_idx_next(&self,array:&Vec>, ) ->idx_t{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 69 | fn get_left_node_idx(&self,array:&Vec>, ) ->idx_t{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn check_next(&self, offset : offset_elm_t,node_idx : usize) -> bool{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 98 | fn get_offset(&mut self, node_idx : usize) -> offset_elm_t{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | fn update_arrays(&mut self, offset : offset_elm_t, parent_idx: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn verify_next(&self, ans : &[i64]) -> bool{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/array_trie.rs:88:14 [INFO] [stdout] | [INFO] [stdout] 88 | for (i,c) in word.chars().enumerate(){ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors; 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `trie` (bin "trie" test) due to 7 previous errors; 7 warnings emitted [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "5334136e517e4c751b38897e5c46ce6467dbb228706356bd7e6a65189d23780c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5334136e517e4c751b38897e5c46ce6467dbb228706356bd7e6a65189d23780c", kill_on_drop: false }` [INFO] [stdout] 5334136e517e4c751b38897e5c46ce6467dbb228706356bd7e6a65189d23780c