[INFO] cloning repository https://github.com/ModelTC/general-sam-py [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ModelTC/general-sam-py" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FModelTC%2Fgeneral-sam-py", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FModelTC%2Fgeneral-sam-py'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f649dfab59eda0c7b05053770e54668b525fbac4 [INFO] checking ModelTC/general-sam-py against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FModelTC%2Fgeneral-sam-py" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ModelTC/general-sam-py [INFO] finished tweaking git repo https://github.com/ModelTC/general-sam-py [INFO] tweaked toml for git repo https://github.com/ModelTC/general-sam-py written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ModelTC/general-sam-py on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ModelTC/general-sam-py 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6348361c160e5cb4a126d494a75341ae9909e9b5804470bd30b11c5e47681c9b [INFO] running `Command { std: "docker" "start" "-a" "6348361c160e5cb4a126d494a75341ae9909e9b5804470bd30b11c5e47681c9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6348361c160e5cb4a126d494a75341ae9909e9b5804470bd30b11c5e47681c9b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6348361c160e5cb4a126d494a75341ae9909e9b5804470bd30b11c5e47681c9b", kill_on_drop: false }` [INFO] [stdout] 6348361c160e5cb4a126d494a75341ae9909e9b5804470bd30b11c5e47681c9b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c388ff1f7adb9697e9531a4838979a43a32c6fafba04326a5d7572a51046d1ef [INFO] running `Command { std: "docker" "start" "-a" "c388ff1f7adb9697e9531a4838979a43a32c6fafba04326a5d7572a51046d1ef", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Compiling python3-dll-a v0.2.14 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Compiling indoc v2.0.6 [INFO] [stderr] Checking unindent v0.2.4 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling pyo3-build-config v0.26.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling pyo3-ffi v0.26.0 [INFO] [stderr] Compiling pyo3-macros-backend v0.26.0 [INFO] [stderr] Compiling pyo3 v0.26.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking general-sam v1.0.3 [INFO] [stderr] Compiling pyo3-macros v0.26.0 [INFO] [stderr] Checking general-sam-py v1.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/sam.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | PyDict::new(py).into_pyobject(py).map_err(Into::into) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sam.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn is_in_chars(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sam.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn is_in_bytes(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sam.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn get_node_id(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sam.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn is_nil(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sam.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn is_root(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sam.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn is_accepting(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sam.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn get_suffix_parent_id(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sam.rs:79:27 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn copy(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sam.rs:208:35 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn from_chars(s: &str) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sam.rs:215:36 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn from_bytes(s: &[u8]) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sam.rs:222:38 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn from_trie(trie: &Trie) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sam.rs:231:34 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn is_in_chars(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sam.rs:235:34 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn is_in_bytes(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sam.rs:239:35 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn num_of_nodes(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sam.rs:243:37 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn get_root_state(&self) -> GeneralSamState { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sam.rs:254:48 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn get_state(&self, node_id: usize) -> GeneralSamState { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/sam.rs:262:57 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn get_topo_and_suf_len_sorted_states(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/tokenizer.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn get_sam(&self) -> GeneralSam { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/tokenizer.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn is_in_chars(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/tokenizer.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn is_in_bytes(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/tokenizer.rs:54:74 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn tokenize_str(&mut self, s: &str, unk_token_id: TrieNodeID) -> Vec<(TrieNodeID, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/trie.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn is_in_chars(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/trie.rs:30:34 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn is_in_bytes(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/trie.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_node_id(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/trie.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn is_accepting(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/trie.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn get_parent(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/trie.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn in_chars() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/trie.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn in_bytes() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/trie.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn is_in_chars(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/trie.rs:69:34 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn is_in_bytes(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/trie.rs:73:35 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn num_of_nodes(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/trie.rs:77:48 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn insert_chars(&mut self, s: &str) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/trie.rs:91:36 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn get_bfs_order(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/trie.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn get_root(&self) -> TrieNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/trie.rs:110:47 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn get_node(&self, node_id: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/sam.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | PyDict::new(py).into_pyobject(py).map_err(Into::into) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sam.rs:33:34 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn is_in_chars(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sam.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn is_in_bytes(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sam.rs:41:34 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn get_node_id(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sam.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn is_nil(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sam.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn is_root(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sam.rs:53:35 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn is_accepting(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sam.rs:70:43 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn get_suffix_parent_id(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sam.rs:79:27 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn copy(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sam.rs:208:35 [INFO] [stdout] | [INFO] [stdout] 208 | pub fn from_chars(s: &str) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sam.rs:215:36 [INFO] [stdout] | [INFO] [stdout] 215 | pub fn from_bytes(s: &[u8]) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sam.rs:222:38 [INFO] [stdout] | [INFO] [stdout] 222 | pub fn from_trie(trie: &Trie) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sam.rs:231:34 [INFO] [stdout] | [INFO] [stdout] 231 | pub fn is_in_chars(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sam.rs:235:34 [INFO] [stdout] | [INFO] [stdout] 235 | pub fn is_in_bytes(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sam.rs:239:35 [INFO] [stdout] | [INFO] [stdout] 239 | pub fn num_of_nodes(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sam.rs:243:37 [INFO] [stdout] | [INFO] [stdout] 243 | pub fn get_root_state(&self) -> GeneralSamState { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/sam.rs:254:48 [INFO] [stdout] | [INFO] [stdout] 254 | pub fn get_state(&self, node_id: usize) -> GeneralSamState { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/sam.rs:262:57 [INFO] [stdout] | [INFO] [stdout] 262 | pub fn get_topo_and_suf_len_sorted_states(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/tokenizer.rs:39:30 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn get_sam(&self) -> GeneralSam { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/tokenizer.rs:45:34 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn is_in_chars(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/tokenizer.rs:49:34 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn is_in_bytes(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/tokenizer.rs:54:74 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn tokenize_str(&mut self, s: &str, unk_token_id: TrieNodeID) -> Vec<(TrieNodeID, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/trie.rs:26:34 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn is_in_chars(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/trie.rs:30:34 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn is_in_bytes(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/trie.rs:34:34 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn get_node_id(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/trie.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn is_accepting(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/trie.rs:48:33 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn get_parent(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/trie.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn in_chars() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/trie.rs:61:26 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn in_bytes() -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/trie.rs:65:34 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn is_in_chars(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/trie.rs:69:34 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn is_in_bytes(&self) -> bool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/trie.rs:73:35 [INFO] [stdout] | [INFO] [stdout] 73 | pub fn num_of_nodes(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/trie.rs:77:48 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn insert_chars(&mut self, s: &str) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/trie.rs:91:36 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn get_bfs_order(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/trie.rs:106:31 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn get_root(&self) -> TrieNode { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result, Infallible> [INFO] [stdout] --> src/trie.rs:110:47 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn get_node(&self, node_id: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `general-sam-py` (lib) due to 36 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `general-sam-py` (lib test) due to 36 previous errors [INFO] running `Command { std: "docker" "inspect" "c388ff1f7adb9697e9531a4838979a43a32c6fafba04326a5d7572a51046d1ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c388ff1f7adb9697e9531a4838979a43a32c6fafba04326a5d7572a51046d1ef", kill_on_drop: false }` [INFO] [stdout] c388ff1f7adb9697e9531a4838979a43a32c6fafba04326a5d7572a51046d1ef