[INFO] fetching crate seadawg 0.1.3... [INFO] testing seadawg-0.1.3 against beta-2023-03-18 for beta-1.69-3 [INFO] extracting crate seadawg 0.1.3 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate seadawg 0.1.3 on toolchain beta-2023-03-18 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-03-18" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate seadawg 0.1.3 [INFO] finished tweaking crates.io crate seadawg 0.1.3 [INFO] tweaked toml for crates.io crate seadawg 0.1.3 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate seadawg 0.1.3 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" "+beta-2023-03-18" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e2a9e7e193985ba0d5a8221c3984785a9e0a75acc409a02815633ff67a1f464e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-03-18" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5a2d5f6f8abfd251f6884b8157ab7c77ac7450577868ff0c17ba4a854b9931c2 [INFO] running `Command { std: "docker" "start" "-a" "5a2d5f6f8abfd251f6884b8157ab7c77ac7450577868ff0c17ba4a854b9931c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a2d5f6f8abfd251f6884b8157ab7c77ac7450577868ff0c17ba4a854b9931c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a2d5f6f8abfd251f6884b8157ab7c77ac7450577868ff0c17ba4a854b9931c2", kill_on_drop: false }` [INFO] [stdout] 5a2d5f6f8abfd251f6884b8157ab7c77ac7450577868ff0c17ba4a854b9931c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e2a9e7e193985ba0d5a8221c3984785a9e0a75acc409a02815633ff67a1f464e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-03-18" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24767ff0be0d8c59674a564be8e42d6c22906dfac2b1ff714861199494623554 [INFO] running `Command { std: "docker" "start" "-a" "24767ff0be0d8c59674a564be8e42d6c22906dfac2b1ff714861199494623554", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling clang-sys v1.3.0 [INFO] [stderr] Compiling libloading v0.7.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling bindgen v0.59.2 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling which v4.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling siphasher v0.3.7 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling scalable_cuckoo_filter v0.2.0 [INFO] [stderr] Compiling croaring-sys v0.5.1 [INFO] [stderr] Compiling map_vec v0.3.0 [INFO] [stderr] Compiling croaring v0.5.1 [INFO] [stderr] Compiling seadawg v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/bdawg/core.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SeaDHashMap` [INFO] [stdout] --> src/bdawg/traversal.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::data::{SeaDHashMap, SeaDHashSet, new_hashset}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `slice_concat_bytes` [INFO] [stdout] --> src/bdawg/traversal.rs:8:57 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::utils::{get_codepoint_at, slice_concat_byte, slice_concat_bytes}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/data.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::hash::{Hasher, BuildHasherDefault, Hash}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/map.rs:672:8 [INFO] [stdout] | [INFO] [stdout] 672 | (*key as usize), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 672 - (*key as usize), [INFO] [stdout] 672 + *key as usize, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/map.rs:677:9 [INFO] [stdout] | [INFO] [stdout] 677 | (*key as usize), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 677 - (*key as usize), [INFO] [stdout] 677 + *key as usize, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/map.rs:1059:32 [INFO] [stdout] | [INFO] [stdout] 1059 | fn next(&mut self) -> Option<(&'a V)> { self.iter.next().map(|e| e.1) } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1059 - fn next(&mut self) -> Option<(&'a V)> { self.iter.next().map(|e| e.1) } [INFO] [stdout] 1059 + fn next(&mut self) -> Option<&'a V> { self.iter.next().map(|e| e.1) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/map.rs:1066:37 [INFO] [stdout] | [INFO] [stdout] 1066 | fn next_back(&mut self) -> Option<(&'a V)> { self.iter.next_back().map(|e| e.1) } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1066 - fn next_back(&mut self) -> Option<(&'a V)> { self.iter.next_back().map(|e| e.1) } [INFO] [stdout] 1066 + fn next_back(&mut self) -> Option<&'a V> { self.iter.next_back().map(|e| e.1) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/map.rs:1072:32 [INFO] [stdout] | [INFO] [stdout] 1072 | fn next(&mut self) -> Option<(&'a mut V)> { self.iter_mut.next().map(|e| e.1) } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1072 - fn next(&mut self) -> Option<(&'a mut V)> { self.iter_mut.next().map(|e| e.1) } [INFO] [stdout] 1072 + fn next(&mut self) -> Option<&'a mut V> { self.iter_mut.next().map(|e| e.1) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/map.rs:2674:34 [INFO] [stdout] | [INFO] [stdout] 2674 | fn next(&mut self) -> Option<(&'a V)> { self.iter.next().map(|e| e.1) } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2674 - fn next(&mut self) -> Option<(&'a V)> { self.iter.next().map(|e| e.1) } [INFO] [stdout] 2674 + fn next(&mut self) -> Option<&'a V> { self.iter.next().map(|e| e.1) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/map.rs:2681:39 [INFO] [stdout] | [INFO] [stdout] 2681 | fn next_back(&mut self) -> Option<(&'a V)> { self.iter.next_back().map(|e| e.1) } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2681 - fn next_back(&mut self) -> Option<(&'a V)> { self.iter.next_back().map(|e| e.1) } [INFO] [stdout] 2681 + fn next_back(&mut self) -> Option<&'a V> { self.iter.next_back().map(|e| e.1) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/map.rs:2687:34 [INFO] [stdout] | [INFO] [stdout] 2687 | fn next(&mut self) -> Option<(&'a mut V)> { self.iter_mut.next().map(|e| e.1) } [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 2687 - fn next(&mut self) -> Option<(&'a mut V)> { self.iter_mut.next().map(|e| e.1) } [INFO] [stdout] 2687 + fn next(&mut self) -> Option<&'a mut V> { self.iter_mut.next().map(|e| e.1) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SeaDHashSet`, `new_hashset` [INFO] [stdout] --> src/bt/core.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::data::{new_hashmap, SeaDHashMap, SeaDHashSet, new_hashset}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/bt/core.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/bt/core.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/bt/core.rs:17:34 [INFO] [stdout] | [INFO] [stdout] 17 | use std::fmt::{Debug, Formatter, Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SeaDHashMap` [INFO] [stdout] --> src/bt/traversal.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::data::{SeaDHashMap, SeaDHashSet, new_hashset}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::TryFrom` [INFO] [stdout] --> src/tdawg/core.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::foundation::*` [INFO] [stdout] --> src/tdawg/core.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::foundation::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vec::sorted::SortedVecU32` [INFO] [stdout] --> src/tdawg/core.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use crate::vec::sorted::SortedVecU32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::traversal::TraversalResult` [INFO] [stdout] --> src/tdawg/core.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use super::traversal::TraversalResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `scalable_cuckoo_filter::ScalableCuckooFilter` [INFO] [stdout] --> src/tdawg/traversal.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use scalable_cuckoo_filter::ScalableCuckooFilter; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::get_char_at` [INFO] [stdout] --> src/tdawg/traversal.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::utils::get_char_at; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SeaDawgCore`, `SeaEdge` [INFO] [stdout] --> src/tdawg/traversal.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use super::core::{SeaDawgCore, SeaEdge}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::vec::sorted::SortedVecU32` [INFO] [stdout] --> src/tdawg/traversal.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::vec::sorted::SortedVecU32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_word_idx` [INFO] [stdout] --> src/bdawg/traversal.rs:396:64 [INFO] [stdout] | [INFO] [stdout] 396 | fn should_accept_sink_node(&mut self, sink_node_id: &NodeId, current_word_idx: u32, word: &str, seadawg: &SeaDawgCore<Value>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_word_idx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/bdawg/traversal.rs:601:56 [INFO] [stdout] | [INFO] [stdout] 601 | fn collect(&mut self, edge_id: &u32, edge: &SeaEdge, context: &FindSuperStringContext, traversal_contexts: &mut Vec<FindSuperStringCont... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sink_node_id` [INFO] [stdout] --> src/bdawg/traversal.rs:630:41 [INFO] [stdout] | [INFO] [stdout] 630 | fn should_accept_sink_node(&mut self, sink_node_id: &NodeId, current_word_idx: u32, word: &str, seadawg: &SeaDawgCore<Value>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sink_node_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_word_idx` [INFO] [stdout] --> src/bdawg/traversal.rs:630:64 [INFO] [stdout] | [INFO] [stdout] 630 | fn should_accept_sink_node(&mut self, sink_node_id: &NodeId, current_word_idx: u32, word: &str, seadawg: &SeaDawgCore<Value>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_word_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/bdawg/traversal.rs:630:87 [INFO] [stdout] | [INFO] [stdout] 630 | fn should_accept_sink_node(&mut self, sink_node_id: &NodeId, current_word_idx: u32, word: &str, seadawg: &SeaDawgCore<Value>) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seadawg` [INFO] [stdout] --> src/bdawg/traversal.rs:630:99 [INFO] [stdout] | [INFO] [stdout] 630 | fn should_accept_sink_node(&mut self, sink_node_id: &NodeId, current_word_idx: u32, word: &str, seadawg: &SeaDawgCore<Value>) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seadawg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/bdawg/traversal.rs:783:56 [INFO] [stdout] | [INFO] [stdout] 783 | fn collect(&mut self, edge_id: &u32, edge: &SeaEdge, context: &FindSuffixContext, traversal_contexts: &mut Vec<FindSuffixContext>, sead... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sink_node_id` [INFO] [stdout] --> src/bdawg/traversal.rs:814:41 [INFO] [stdout] | [INFO] [stdout] 814 | fn should_accept_sink_node(&mut self, sink_node_id: &NodeId, current_word_idx: u32, word: &str, seadawg: &SeaDawgCore<Value>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sink_node_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_word_idx` [INFO] [stdout] --> src/bdawg/traversal.rs:814:64 [INFO] [stdout] | [INFO] [stdout] 814 | fn should_accept_sink_node(&mut self, sink_node_id: &NodeId, current_word_idx: u32, word: &str, seadawg: &SeaDawgCore<Value>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_word_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/bdawg/traversal.rs:814:87 [INFO] [stdout] | [INFO] [stdout] 814 | fn should_accept_sink_node(&mut self, sink_node_id: &NodeId, current_word_idx: u32, word: &str, seadawg: &SeaDawgCore<Value>) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seadawg` [INFO] [stdout] --> src/bdawg/traversal.rs:814:99 [INFO] [stdout] | [INFO] [stdout] 814 | fn should_accept_sink_node(&mut self, sink_node_id: &NodeId, current_word_idx: u32, word: &str, seadawg: &SeaDawgCore<Value>) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seadawg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sub_node_opt` is never read [INFO] [stdout] --> src/bt/core.rs:411:17 [INFO] [stdout] | [INFO] [stdout] 411 | let mut sub_node_opt: Option<&mut SeaINode> = None; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sub_node_opt` is never read [INFO] [stdout] --> src/bt/core.rs:490:11 [INFO] [stdout] | [INFO] [stdout] 490 | sub_node_opt = self.nodes.get_mut_internal(&sub_node_id); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `parent` [INFO] [stdout] --> src/bt/core.rs:528:19 [INFO] [stdout] | [INFO] [stdout] 528 | let parent = edge_src_id; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_parent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sub_node_opt` is never read [INFO] [stdout] --> src/bt/core.rs:575:11 [INFO] [stdout] | [INFO] [stdout] 575 | sub_node_opt = self.nodes.get_mut_internal(&sub_node_id); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `sub_node_opt` is never read [INFO] [stdout] --> src/bt/core.rs:577:11 [INFO] [stdout] | [INFO] [stdout] 577 | sub_node_opt = self.nodes.get_mut_internal(&sub_node_id); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/bt/core.rs:634:28 [INFO] [stdout] | [INFO] [stdout] 634 | pub fn remove(&mut self, word: &str) -> Option<SeaSinkNode<V>> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `matching_edge_start_idx` is never read [INFO] [stdout] --> src/bt/core.rs:645:13 [INFO] [stdout] | [INFO] [stdout] 645 | let mut matching_edge_start_idx = 0usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `matching_edge_end_idx` is never read [INFO] [stdout] --> src/bt/core.rs:646:13 [INFO] [stdout] | [INFO] [stdout] 646 | let mut matching_edge_end_idx = 0usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `prev_idx` is assigned to, but never used [INFO] [stdout] --> src/bt/core.rs:650:13 [INFO] [stdout] | [INFO] [stdout] 650 | let mut prev_idx = 0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_prev_idx` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `prev_idx` is never read [INFO] [stdout] --> src/bt/core.rs:677:9 [INFO] [stdout] | [INFO] [stdout] 677 | prev_idx = word_idx; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `suffix` [INFO] [stdout] --> src/bt/core.rs:878:11 [INFO] [stdout] | [INFO] [stdout] 878 | let suffix = self.get_suffix_id(&prev_node_id_option.unwrap()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_suffix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `edge_src` is assigned to, but never used [INFO] [stdout] --> src/bt/core.rs:917:13 [INFO] [stdout] | [INFO] [stdout] 917 | let mut edge_src = node_id; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_edge_src` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `edge_src` is never read [INFO] [stdout] --> src/bt/core.rs:931:9 [INFO] [stdout] | [INFO] [stdout] 931 | edge_src = node_id; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `existing_edge` [INFO] [stdout] --> src/bt/core.rs:1210:17 [INFO] [stdout] | [INFO] [stdout] 1210 | if let Some(existing_edge) = self.edges.get_mut(&existing_edge_id) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_existing_edge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_word_idx` [INFO] [stdout] --> src/bt/traversal.rs:388:64 [INFO] [stdout] | [INFO] [stdout] 388 | fn should_accept_sink_node(&mut self, sink_node_id: &NodeId, current_word_idx: u32, word: &str, seadawg: &SeaDawgCore<Value>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_word_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/bt/traversal.rs:599:56 [INFO] [stdout] | [INFO] [stdout] 599 | fn collect(&mut self, edge_id: &u32, edge: &SeaEdge, context: &FindSuperStringContext, traversal_contexts: &mut Vec<FindSuperStringCont... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sink_node_id` [INFO] [stdout] --> src/bt/traversal.rs:629:41 [INFO] [stdout] | [INFO] [stdout] 629 | fn should_accept_sink_node(&mut self, sink_node_id: &NodeId, current_word_idx: u32, word: &str, seadawg: &SeaDawgCore<Value>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sink_node_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_word_idx` [INFO] [stdout] --> src/bt/traversal.rs:629:64 [INFO] [stdout] | [INFO] [stdout] 629 | fn should_accept_sink_node(&mut self, sink_node_id: &NodeId, current_word_idx: u32, word: &str, seadawg: &SeaDawgCore<Value>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_word_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/bt/traversal.rs:629:87 [INFO] [stdout] | [INFO] [stdout] 629 | fn should_accept_sink_node(&mut self, sink_node_id: &NodeId, current_word_idx: u32, word: &str, seadawg: &SeaDawgCore<Value>) -> bool { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seadawg` [INFO] [stdout] --> src/bt/traversal.rs:629:99 [INFO] [stdout] | [INFO] [stdout] 629 | fn should_accept_sink_node(&mut self, sink_node_id: &NodeId, current_word_idx: u32, word: &str, seadawg: &SeaDawgCore<Value>) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seadawg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/bt/traversal.rs:779:56 [INFO] [stdout] | [INFO] [stdout] 779 | fn collect(&mut self, edge_id: &u32, edge: &SeaEdge, context: &FindSuffixContext, traversal_contexts: &mut Vec<FindSuffixContext>, sead... [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sink_node_id` [INFO] [stdout] --> src/bt/traversal.rs:802:41 [INFO] [stdout] | [INFO] [stdout] 802 | fn should_accept_sink_node(&mut self, sink_node_id: &NodeId, current_word_idx: u32, word: &str, seadawg: &SeaDawgCore<Value>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sink_node_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_word_idx` [INFO] [stdout] --> src/bt/traversal.rs:802:64 [INFO] [stdout] | [INFO] [stdout] 802 | fn should_accept_sink_node(&mut self, sink_node_id: &NodeId, current_word_idx: u32, word: &str, seadawg: &SeaDawgCore<Value>) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_word_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `seadawg` [INFO] [stdout] --> src/bt/traversal.rs:802:99 [INFO] [stdout] | [INFO] [stdout] 802 | fn should_accept_sink_node(&mut self, sink_node_id: &NodeId, current_word_idx: u32, word: &str, seadawg: &SeaDawgCore<Value>) -> bool { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seadawg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `word` [INFO] [stdout] --> src/tdawg/core.rs:327:28 [INFO] [stdout] | [INFO] [stdout] 327 | pub fn remove(&mut self, word: &str) -> Option<SeaSinkNode<V>> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_word` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `letter` [INFO] [stdout] --> src/tdawg/core.rs:736:12 [INFO] [stdout] | [INFO] [stdout] 736 | for (letter, edge_id) in src_node.as_ref().unwrap().to_edges.iter() { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_letter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `existing_edge` [INFO] [stdout] --> src/tdawg/core.rs:821:17 [INFO] [stdout] | [INFO] [stdout] 821 | if let Some(existing_edge) = self.edges.get_mut(&existing_edge_id) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_existing_edge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bdawg/core.rs:422:25 [INFO] [stdout] | [INFO] [stdout] 422 | pub fn add(&mut self, mut sink: SeaSinkNode<V>) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bdawg/core.rs:464:10 [INFO] [stdout] | [INFO] [stdout] 464 | let (mut new_active_node, new_active_node_id) = self.nodes.new_inode(&SOURCE_ID); [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bdawg/traversal.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | mut traverser: &mut impl Traverser<Context, Value>, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bdawg/traversal.rs:294:9 [INFO] [stdout] | [INFO] [stdout] 294 | let mut traversed_word = slice_concat_byte(context.traversed_word(), &edge.label); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bdawg/traversal.rs:512:13 [INFO] [stdout] | [INFO] [stdout] 512 | let mut proposed_context = FindSuperStringContext::new(proposed_context_inner, context.fall_through); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bdawg/traversal.rs:540:9 [INFO] [stdout] | [INFO] [stdout] 540 | let mut traversed_word = slice_concat_byte(context.traversed_word(), &edge.label); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bdawg/traversal.rs:625:11 [INFO] [stdout] | [INFO] [stdout] 625 | let mut proposed_context = FindSuperStringContext::new(proposed_context_inner, false); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bdawg/traversal.rs:735:9 [INFO] [stdout] | [INFO] [stdout] 735 | let mut traversed_word = slice_concat_byte(context.traversed_word(), &edge.label); [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bdawg/traversal.rs:809:11 [INFO] [stdout] | [INFO] [stdout] 809 | let mut proposed_context = FindSuffixContext::new(proposed_context_inner); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bt/core.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let mut source_node = SeaINode::new(0, ROOT_ID); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bt/core.rs:378:25 [INFO] [stdout] | [INFO] [stdout] 378 | pub fn add(&mut self, mut sink: SeaSinkNode<V>) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bt/core.rs:559:17 [INFO] [stdout] | [INFO] [stdout] 559 | let mut sub_node = new_sub_node.0; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bt/core.rs:839:11 [INFO] [stdout] | [INFO] [stdout] 839 | let mut new_sub_node = self.nodes.new_inode(sub_node_length, SOURCE_ID); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bt/core.rs:840:11 [INFO] [stdout] | [INFO] [stdout] 840 | let mut sub_node = new_sub_node.0; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bt/core.rs:987:9 [INFO] [stdout] | [INFO] [stdout] 987 | let mut new_node = new_new_node.0; [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bt/traversal.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | mut traverser: &mut impl Traverser<Context, Value>, [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bt/traversal.rs:505:13 [INFO] [stdout] | [INFO] [stdout] 505 | let mut proposed_context = FindSuperStringContext::new(proposed_context_inner, context.fall_through); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bt/traversal.rs:624:11 [INFO] [stdout] | [INFO] [stdout] 624 | let mut proposed_context = FindSuperStringContext::new(proposed_context_inner, false); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bt/traversal.rs:797:11 [INFO] [stdout] | [INFO] [stdout] 797 | let mut proposed_context = FindSuffixContext::new(proposed_context_inner); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tdawg/core.rs:97:9 [INFO] [stdout] | [INFO] [stdout] 97 | let mut source_node = SeaINode::new(ROOT_ID); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tdawg/core.rs:295:25 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn add(&mut self, mut sink: SeaSinkNode<V>) { [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tdawg/core.rs:794:12 [INFO] [stdout] | [INFO] [stdout] 794 | let (mut new_edge, new_edge_id) = self.edges.new_edge( [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.vec` which is behind a shared reference [INFO] [stdout] --> src/vec/sorted.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 24 | pub struct SortedVecU32<T: Ord> { [INFO] [stdout] 25 | vec: VecU32<T> [INFO] [stdout] | ^^^^^^^^^^^^^^ move occurs because `self.vec` has type `VecU32<T>`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.vec` which is behind a shared reference [INFO] [stdout] --> src/vec/sorted.rs:25:3 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 24 | pub struct SortedVecU32<T: Ord> { [INFO] [stdout] 25 | vec: VecU32<T> [INFO] [stdout] | ^^^^^^^^^^^^^^ move occurs because `self.vec` has type `VecU32<T>`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.vec` which is behind a shared reference [INFO] [stdout] --> src/vec/sorted.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 32 | pub struct ReverseSortedVecU32<T: Ord> { [INFO] [stdout] 33 | vec: VecU32<T> [INFO] [stdout] | ^^^^^^^^^^^^^^ move occurs because `self.vec` has type `VecU32<T>`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `self.vec` which is behind a shared reference [INFO] [stdout] --> src/vec/sorted.rs:33:3 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(Clone, Debug)] [INFO] [stdout] | ----- in this derive macro expansion [INFO] [stdout] 32 | pub struct ReverseSortedVecU32<T: Ord> { [INFO] [stdout] 33 | vec: VecU32<T> [INFO] [stdout] | ^^^^^^^^^^^^^^ move occurs because `self.vec` has type `VecU32<T>`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/map.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | unsafe { [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 86 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0507`. [INFO] [stdout] [INFO] [stderr] error: could not compile `seadawg` due to 5 previous errors; 86 warnings emitted [INFO] running `Command { std: "docker" "inspect" "24767ff0be0d8c59674a564be8e42d6c22906dfac2b1ff714861199494623554", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24767ff0be0d8c59674a564be8e42d6c22906dfac2b1ff714861199494623554", kill_on_drop: false }` [INFO] [stdout] 24767ff0be0d8c59674a564be8e42d6c22906dfac2b1ff714861199494623554