[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#85c39893a761fe4c050523278da4e7e45ab42b6e for pr-134688-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fimoken1122%2Ftrie" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/imoken1122/trie on toolchain 85c39893a761fe4c050523278da4e7e45ab42b6e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "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-2-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" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c88fce7d7350ec8edab7f6515f14e57555544c1132eab11d5055f15bcbcb4243 [INFO] running `Command { std: "docker" "start" "-a" "c88fce7d7350ec8edab7f6515f14e57555544c1132eab11d5055f15bcbcb4243", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c88fce7d7350ec8edab7f6515f14e57555544c1132eab11d5055f15bcbcb4243", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c88fce7d7350ec8edab7f6515f14e57555544c1132eab11d5055f15bcbcb4243", kill_on_drop: false }` [INFO] [stdout] c88fce7d7350ec8edab7f6515f14e57555544c1132eab11d5055f15bcbcb4243 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+85c39893a761fe4c050523278da4e7e45ab42b6e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf7c2863d86b6ac564c1bd609adcc810e67aef43e7429daab4a7771d0b33f60b [INFO] running `Command { std: "docker" "start" "-a" "bf7c2863d86b6ac564c1bd609adcc810e67aef43e7429daab4a7771d0b33f60b", 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: 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: 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: `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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] running `Command { std: "docker" "inspect" "bf7c2863d86b6ac564c1bd609adcc810e67aef43e7429daab4a7771d0b33f60b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf7c2863d86b6ac564c1bd609adcc810e67aef43e7429daab4a7771d0b33f60b", kill_on_drop: false }` [INFO] [stdout] bf7c2863d86b6ac564c1bd609adcc810e67aef43e7429daab4a7771d0b33f60b