[INFO] fetching crate trie_tree 0.1.3... [INFO] testing trie_tree-0.1.3 against 1.60.0 for beta-1.61-1 [INFO] extracting crate trie_tree 0.1.3 into /workspace/builds/worker-61/source [INFO] validating manifest of crates.io crate trie_tree 0.1.3 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate trie_tree 0.1.3 [INFO] finished tweaking crates.io crate trie_tree 0.1.3 [INFO] tweaked toml for crates.io crate trie_tree 0.1.3 written to /workspace/builds/worker-61/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c58455f74cbd209ab22a11c9c45cfaeca6ab918dc22696926e58ff5e1e30e2d3 [INFO] running `Command { std: "docker" "start" "-a" "c58455f74cbd209ab22a11c9c45cfaeca6ab918dc22696926e58ff5e1e30e2d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c58455f74cbd209ab22a11c9c45cfaeca6ab918dc22696926e58ff5e1e30e2d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c58455f74cbd209ab22a11c9c45cfaeca6ab918dc22696926e58ff5e1e30e2d3", kill_on_drop: false }` [INFO] [stdout] c58455f74cbd209ab22a11c9c45cfaeca6ab918dc22696926e58ff5e1e30e2d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8244b22d2ad0ed3dbf8dab5ae09aeca4080ed9aa66bd848695c6bf19f643eee1 [INFO] running `Command { std: "docker" "start" "-a" "8244b22d2ad0ed3dbf8dab5ae09aeca4080ed9aa66bd848695c6bf19f643eee1", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling trie_tree v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::cmp::Eq` [INFO] [stdout] --> src/trie/word.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::Eq; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/trie/word.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> src/trie/word.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | inner: Rc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `WordTrie` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/trie/word.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/trie/word.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn new() -> WordTrie { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert_words` [INFO] [stdout] --> src/trie/word.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn insert_words(&self, words: &str, target: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `split_words` [INFO] [stdout] --> src/trie/word.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | fn split_words(words: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/trie/word.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn insert(&self, words: &[String], target: String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_leaf` [INFO] [stdout] --> src/trie/word.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | fn get_leaf(&self, words: &[String]) -> Leaf { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.04s [INFO] running `Command { std: "docker" "inspect" "8244b22d2ad0ed3dbf8dab5ae09aeca4080ed9aa66bd848695c6bf19f643eee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8244b22d2ad0ed3dbf8dab5ae09aeca4080ed9aa66bd848695c6bf19f643eee1", kill_on_drop: false }` [INFO] [stdout] 8244b22d2ad0ed3dbf8dab5ae09aeca4080ed9aa66bd848695c6bf19f643eee1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eb1259f91859c015e3e9940d77e8c753e20fe3b4b02520f3ef8628aa78fadd4a [INFO] running `Command { std: "docker" "start" "-a" "eb1259f91859c015e3e9940d77e8c753e20fe3b4b02520f3ef8628aa78fadd4a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: unused import: `std::cmp::Eq` [INFO] [stdout] --> src/trie/word.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::Eq; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/trie/word.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> src/trie/word.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | inner: Rc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `WordTrie` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/trie/word.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/trie/word.rs:29:8 [INFO] [stdout] | [INFO] [stdout] 29 | fn new() -> WordTrie { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling trie_tree v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function is never used: `insert_words` [INFO] [stdout] --> src/trie/word.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | fn insert_words(&self, words: &str, target: &str) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `split_words` [INFO] [stdout] --> src/trie/word.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | fn split_words(words: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `insert` [INFO] [stdout] --> src/trie/word.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | fn insert(&self, words: &[String], target: String) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_leaf` [INFO] [stdout] --> src/trie/word.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | fn get_leaf(&self, words: &[String]) -> Leaf { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Eq` [INFO] [stdout] --> src/trie/word.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cmp::Eq; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::hash::Hash` [INFO] [stdout] --> src/trie/word.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::hash::Hash; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_leaf` [INFO] [stdout] --> src/trie/word.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | fn get_leaf(&self, words: &[String]) -> Leaf { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.13s [INFO] running `Command { std: "docker" "inspect" "eb1259f91859c015e3e9940d77e8c753e20fe3b4b02520f3ef8628aa78fadd4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb1259f91859c015e3e9940d77e8c753e20fe3b4b02520f3ef8628aa78fadd4a", kill_on_drop: false }` [INFO] [stdout] eb1259f91859c015e3e9940d77e8c753e20fe3b4b02520f3ef8628aa78fadd4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b129b11b03d7b0528013ca4f3033e2c9105e387010256d80776638d5e19c72d7 [INFO] running `Command { std: "docker" "start" "-a" "b129b11b03d7b0528013ca4f3033e2c9105e387010256d80776638d5e19c72d7", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::cmp::Eq` [INFO] [stderr] --> src/trie/word.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::cmp::Eq; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::hash::Hash` [INFO] [stderr] --> src/trie/word.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::hash::Hash; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `inner` [INFO] [stderr] --> src/trie/word.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | inner: Rc>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `WordTrie` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/trie/word.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/trie/word.rs:29:8 [INFO] [stderr] | [INFO] [stderr] 29 | fn new() -> WordTrie { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `insert_words` [INFO] [stderr] --> src/trie/word.rs:33:8 [INFO] [stderr] | [INFO] [stderr] 33 | fn insert_words(&self, words: &str, target: &str) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `split_words` [INFO] [stderr] --> src/trie/word.rs:39:8 [INFO] [stderr] | [INFO] [stderr] 39 | fn split_words(words: &str) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `insert` [INFO] [stderr] --> src/trie/word.rs:44:8 [INFO] [stderr] | [INFO] [stderr] 44 | fn insert(&self, words: &[String], target: String) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_leaf` [INFO] [stderr] --> src/trie/word.rs:52:8 [INFO] [stderr] | [INFO] [stderr] 52 | fn get_leaf(&self, words: &[String]) -> Leaf { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `trie_tree` (lib) generated 8 warnings [INFO] [stderr] warning: associated function is never used: `get_leaf` [INFO] [stderr] --> src/trie/word.rs:52:8 [INFO] [stderr] | [INFO] [stderr] 52 | fn get_leaf(&self, words: &[String]) -> Leaf { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `trie_tree` (lib test) generated 3 warnings (2 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/trie_tree-4b867fa48b139f12) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] test trie::basic::name ... ok [INFO] [stdout] test trie::word::test_word ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests trie_tree [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test src/trie/basic.rs - trie::basic::Node (line 34) ... FAILED [INFO] [stdout] test src/trie/word.rs - trie::word::WordTrie (line 12) ... FAILED [INFO] [stdout] test src/lib.rs - (line 25) ... FAILED [INFO] [stdout] test src/lib.rs - (line 12) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/trie/basic.rs - trie::basic::Node (line 34) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/trie/basic.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 3 | let node = Node::new(); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trie_tree::trie::basic::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/trie/basic.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 6 | Node::insert_seq(node.clone(), &seq, Leaf::End("intention".to_string())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trie_tree::trie::basic::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Leaf` [INFO] [stdout] --> src/trie/basic.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 6 | Node::insert_seq(node.clone(), &seq, Leaf::End("intention".to_string())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use trie_tree::trie::basic::Leaf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/trie/basic.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 7 | let leaf = Node::get_leaf(node.clone(), &seq1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trie_tree::trie::basic::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Leaf` [INFO] [stdout] --> src/trie/basic.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 8 | assert_ne!(leaf, Leaf::End("intention".to_string())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 2 | use trie_tree::trie::basic::Leaf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/trie/word.rs - trie::word::WordTrie (line 12) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WordTrie` [INFO] [stdout] --> src/trie/word.rs:13:17 [INFO] [stdout] | [INFO] [stdout] 3 | let word_trie = WordTrie::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 2 | use trie_tree::trie::word::WordTrie; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 25) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/lib.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 7 | Node::insert_seq(node.clone(), &seq, Leaf::End("intention".to_string())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use trie_tree::trie::basic::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Leaf` [INFO] [stdout] --> src/lib.rs:29:38 [INFO] [stdout] | [INFO] [stdout] 7 | Node::insert_seq(node.clone(), &seq, Leaf::End("intention".to_string())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use trie_tree::trie::basic::Leaf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Node` [INFO] [stdout] --> src/lib.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 8 | let leaf = Node::get_leaf(node.clone(), &seq1); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 | use trie_tree::trie::basic::Node; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Leaf` [INFO] [stdout] --> src/lib.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 9 | assert_ne!(leaf, Leaf::End("intention".to_string())); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 | use trie_tree::trie::basic::Leaf; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 12) stdout ---- [INFO] [stdout] error[E0624]: associated function `new` is private [INFO] [stdout] --> src/lib.rs:13:50 [INFO] [stdout] | [INFO] [stdout] 4 | let word_trie = trie_tree::trie::word::WordTrie::new(); [INFO] [stdout] | ^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/trie/word.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | fn new() -> WordTrie { [INFO] [stdout] | -------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `insert_words` is private [INFO] [stdout] --> src/lib.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 7 | word_trie.insert_words(seq, "没干嘛"); [INFO] [stdout] | ^^^^^^^^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/trie/word.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | fn insert_words(&self, words: &str, target: &str) { [INFO] [stdout] | ------------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `insert_words` is private [INFO] [stdout] --> src/lib.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 8 | word_trie.insert_words(seq1, "是吗"); [INFO] [stdout] | ^^^^^^^^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/trie/word.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | fn insert_words(&self, words: &str, target: &str) { [INFO] [stdout] | ------------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0624`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 12) [INFO] [stdout] src/lib.rs - (line 25) [INFO] [stdout] src/trie/basic.rs - trie::basic::Node (line 34) [INFO] [stdout] src/trie/word.rs - trie::word::WordTrie (line 12) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 4 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.15s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--doc' [INFO] running `Command { std: "docker" "inspect" "b129b11b03d7b0528013ca4f3033e2c9105e387010256d80776638d5e19c72d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b129b11b03d7b0528013ca4f3033e2c9105e387010256d80776638d5e19c72d7", kill_on_drop: false }` [INFO] [stdout] b129b11b03d7b0528013ca4f3033e2c9105e387010256d80776638d5e19c72d7