[INFO] cloning repository https://github.com/viking-sudo-rm/rusty-dawg [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/viking-sudo-rm/rusty-dawg" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviking-sudo-rm%2Frusty-dawg", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviking-sudo-rm%2Frusty-dawg'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cff886809719122c1c662c6a256b9e7af7315706 [INFO] building viking-sudo-rm/rusty-dawg against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fviking-sudo-rm%2Frusty-dawg" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/viking-sudo-rm/rusty-dawg on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-1-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/viking-sudo-rm/rusty-dawg [INFO] finished tweaking git repo https://github.com/viking-sudo-rm/rusty-dawg [INFO] tweaked toml for git repo https://github.com/viking-sudo-rm/rusty-dawg written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/viking-sudo-rm/rusty-dawg 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded type-layout-derive v0.2.0 [INFO] [stderr] Downloaded test-temp-file v0.1.2 [INFO] [stderr] Downloaded ux v0.1.6 [INFO] [stderr] Downloaded type-layout v0.2.0 [INFO] [stderr] Downloaded memory-stats v1.2.0 [INFO] [stderr] Downloaded bit-struct v0.3.2 [INFO] [stderr] Downloaded comparator v0.3.0 [INFO] [stderr] Downloaded kdam v0.5.2 [INFO] [stderr] Downloaded tokenizers v0.20.3 [INFO] [stderr] Downloaded syn v2.0.84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fbf328b4f075f1af759134b9bbcb1638ea8adad62ba30d2c703ded4d6078223 [INFO] running `Command { std: "docker" "start" "-a" "4fbf328b4f075f1af759134b9bbcb1638ea8adad62ba30d2c703ded4d6078223", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fbf328b4f075f1af759134b9bbcb1638ea8adad62ba30d2c703ded4d6078223", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fbf328b4f075f1af759134b9bbcb1638ea8adad62ba30d2c703ded4d6078223", kill_on_drop: false }` [INFO] [stdout] 4fbf328b4f075f1af759134b9bbcb1638ea8adad62ba30d2c703ded4d6078223 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 65ec5502dcef7c9dab77b73d3f64d3b6f3a690486a622c05dfb985578b91323d [INFO] running `Command { std: "docker" "start" "-a" "65ec5502dcef7c9dab77b73d3f64d3b6f3a690486a622c05dfb985578b91323d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.164 [INFO] [stderr] Compiling cc v1.0.101 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling serde v1.0.218 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.1 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling tinyvec v1.6.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling untrusted v0.9.0 [INFO] [stderr] Compiling rustls-pki-types v1.7.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling native-tls v0.2.12 [INFO] [stderr] Compiling unicode-bidi v0.3.15 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling rustls v0.22.4 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.134 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling rustix v0.38.41 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling subtle v2.6.1 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling unicode-width v0.1.13 [INFO] [stderr] Compiling zeroize v1.8.1 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling openssl-src v300.3.1+3.3.1 [INFO] [stderr] Compiling flate2 v1.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling syn v2.0.84 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling webpki-roots v0.26.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling anstyle v1.0.8 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling esaxx-rs v0.1.10 [INFO] [stderr] Compiling unicode-normalization v0.1.23 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling console v0.15.8 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Compiling ring v0.17.8 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling idna v0.5.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling indicatif v0.17.8 [INFO] [stderr] Compiling url v2.5.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling substring v1.4.5 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling foldhash v0.1.3 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling macro_rules_attribute-proc_macro v0.2.0 [INFO] [stderr] Compiling darling_core v0.20.9 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling anyhow v1.0.91 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling base64 v0.13.1 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling terminal_size v0.3.0 [INFO] [stderr] Compiling unicode-normalization-alignments v0.1.12 [INFO] [stderr] Compiling clap_builder v4.5.19 [INFO] [stderr] Compiling macro_rules_attribute v0.2.0 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling wyz v0.5.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rayon-cond v0.3.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling funty v2.0.0 [INFO] [stderr] Compiling fastrand v2.2.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stderr] Compiling lru v0.14.0 [INFO] [stderr] Compiling kdam v0.5.2 [INFO] [stderr] Compiling memory-stats v1.2.0 [INFO] [stderr] Compiling fslock v0.2.1 [INFO] [stderr] Compiling memmap2 v0.9.5 [INFO] [stderr] Compiling comparator v0.3.0 [INFO] [stderr] Compiling test-temp-file v0.1.2 [INFO] [stderr] Compiling rustls-webpki v0.102.4 [INFO] [stderr] Compiling bitvec v1.0.1 [INFO] [stderr] Compiling ux v0.1.6 [INFO] [stderr] Compiling type-layout-derive v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.218 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling monostate-impl v0.1.13 [INFO] [stderr] Compiling clap_derive v4.5.18 [INFO] [stderr] Compiling type-layout v0.2.0 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Compiling onig v6.4.0 [INFO] [stderr] Compiling darling_macro v0.20.9 [INFO] [stderr] Compiling darling v0.20.9 [INFO] [stderr] Compiling derive_builder_core v0.20.0 [INFO] [stderr] Compiling clap v4.5.19 [INFO] [stderr] Compiling derive_builder_macro v0.20.0 [INFO] [stderr] Compiling derive_builder v0.20.0 [INFO] [stderr] Compiling monostate v0.1.13 [INFO] [stderr] Compiling spm_precompiled v0.1.4 [INFO] [stderr] Compiling bit-struct v0.3.2 [INFO] [stderr] Compiling bincode v1.3.3 [INFO] [stderr] Compiling ureq v2.9.7 [INFO] [stderr] Compiling hf-hub v0.3.2 [INFO] [stderr] Compiling tokenizers v0.20.3 [INFO] [stderr] Compiling rusty-dawg v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `add_edge` is never used [INFO] [stdout] --> src/graph/avl_graph/mod.rs:532:8 [INFO] [stdout] | [INFO] [stdout] 487 | / impl AvlGraph [INFO] [stdout] 488 | | where [INFO] [stdout] 489 | | Mb: MemoryBacking, [INFO] [stdout] 490 | | E: Eq + Ord + Copy + Debug, [INFO] [stdout] 491 | | N: Weight, [INFO] [stdout] 492 | | Ix: IndexType, [INFO] [stdout] | |__________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 532 | fn add_edge(&mut self, a: NodeIndex, b: NodeIndex, weight: E) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph/avl_graph/mod.rs:459:22 [INFO] [stdout] | [INFO] [stdout] 459 | pub fn neighbors(&self, node: NodeIndex) -> Neighbors { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 459 | pub fn neighbors(&self, node: NodeIndex) -> Neighbors<'_, N, E, Ix, Mb> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph/avl_graph/mod.rs:463:18 [INFO] [stdout] | [INFO] [stdout] 463 | pub fn edges(&self, edges: NodeIndex) -> Edges { [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 463 | pub fn edges(&self, edges: NodeIndex) -> Edges<'_, N, E, Ix, Mb> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `TraverseArity` is never constructed [INFO] [stdout] --> src/cdawg/traverse_arity.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct TraverseArity { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_ram` is never used [INFO] [stdout] --> src/cdawg/traverse_arity.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 21 | / impl TraverseArity> [INFO] [stdout] 22 | | where [INFO] [stdout] 23 | | Ix: IndexType + Serialize + for<'de> Deserialize<'de>, [INFO] [stdout] | |__________________________________________________________- associated function in this implementation [INFO] [stdout] 24 | { [INFO] [stdout] 25 | pub fn new_ram(capacity: usize) -> Self { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_disk` is never used [INFO] [stdout] --> src/cdawg/traverse_arity.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 33 | / impl TraverseArity> [INFO] [stdout] 34 | | where [INFO] [stdout] 35 | | Ix: IndexType + Serialize + for<'de> Deserialize<'de>, [INFO] [stdout] | |__________________________________________________________- associated function in this implementation [INFO] [stdout] 36 | { [INFO] [stdout] 37 | pub fn new_disk + std::fmt::Debug>(path: P, capacity: usize) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `traverse_arity` is never used [INFO] [stdout] --> src/cdawg/traverse_arity.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl TraverseArity { [INFO] [stdout] | -------------------------- method in this implementation [INFO] [stdout] 47 | /// DFS implementation of graph traversal. [INFO] [stdout] 48 | pub fn traverse_arity(&mut self, cdawg: &mut Cdawg) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CdawgState` is never constructed [INFO] [stdout] --> src/cdawg/cdawg_state.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CdawgState [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CdawgState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_state_and_gamma` is never used [INFO] [stdout] --> src/cdawg/cdawg_state.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 20 | / impl CdawgState [INFO] [stdout] 21 | | where [INFO] [stdout] 22 | | Ix: IndexType, [INFO] [stdout] | |__________________- method in this implementation [INFO] [stdout] 23 | { [INFO] [stdout] 24 | pub fn get_state_and_gamma(&self) -> (Option>, (usize, usize)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cdawg/comparator.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl CdawgComparator { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 20 | pub fn new(tokens: Rc>>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/cdawg/inenaga.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 60 | / impl Cdawg [INFO] [stdout] 61 | | where [INFO] [stdout] 62 | | Ix: IndexType, [INFO] [stdout] 63 | | W: Weight + Serialize + for<'de> Deserialize<'de> + Clone, [INFO] [stdout] | |______________________________________________________________- associated function in this implementation [INFO] [stdout] 64 | { [INFO] [stdout] 65 | pub fn new(tokens: Rc>>) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load` is never used [INFO] [stdout] --> src/cdawg/inenaga.rs:77:12 [INFO] [stdout] | [INFO] [stdout] 71 | / impl Cdawg, Ix>> [INFO] [stdout] 72 | | where [INFO] [stdout] 73 | | Ix: IndexType + Serialize + for<'de> serde::Deserialize<'de>, [INFO] [stdout] 74 | | W: Weight + Copy + Serialize + for<'de> Deserialize<'de> + Clone + Default, [INFO] [stdout] 75 | | CdawgEdgeWeight: Serialize + for<'de> Deserialize<'de>, [INFO] [stdout] | |_______________________________________________________________- associated function in this implementation [INFO] [stdout] 76 | { [INFO] [stdout] 77 | pub fn load + Clone + std::fmt::Debug>( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cdawg/inenaga.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 110 | / impl Cdawg [INFO] [stdout] 111 | | where [INFO] [stdout] 112 | | Ix: IndexType, [INFO] [stdout] 113 | | W: Weight + Serialize + for<'de> Deserialize<'de> + Clone, [INFO] [stdout] 114 | | Mb: MemoryBacking, Ix>, [INFO] [stdout] 115 | | Mb::EdgeRef: Copy, [INFO] [stdout] | |______________________- associated items in this implementation [INFO] [stdout] 116 | { [INFO] [stdout] 117 | pub fn new_mb(tokens: Rc>>, mb: Mb) -> Cdawg { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn build(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 578 | pub fn get_initial(&self) -> CdawgState { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 590 | pub fn transition_and_count(&self, mut cs: CdawgState, token: u16) -> CdawgState { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 626 | fn inference_canonize( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 675 | pub fn implicitly_fail(&self, state: NodeIndex, gamma: (usize, usize)) -> CdawgState { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 744 | pub fn get_suffix_count(&self, cs: CdawgState) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 749 | pub fn get_entropy(&self, cs: CdawgState) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 765 | pub fn get_next_tokens(&self, cs: CdawgState) -> Vec<(u16, f64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load_json` is never used [INFO] [stdout] --> src/cdawg/metadata.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl CdawgMetadata { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 16 | pub fn load_json>(file_path: P) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `is_empty` are never used [INFO] [stdout] --> src/cdawg/token_backing.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait TokenBacking { [INFO] [stdout] | ------------ methods in this trait [INFO] [stdout] 9 | fn len(&self) -> usize; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load` is never used [INFO] [stdout] --> src/dawg/mod.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 58 | / impl Dawg> [INFO] [stdout] 59 | | where [INFO] [stdout] 60 | | E: Eq + Ord + Copy + Debug + Serialize + DeserializeOwned + Default, [INFO] [stdout] 61 | | W: Weight + Copy + Clone + Serialize + DeserializeOwned + Default, [INFO] [stdout] | |______________________________________________________________________- associated function in this implementation [INFO] [stdout] 62 | { [INFO] [stdout] 63 | pub fn load + Clone + std::fmt::Debug>( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `build`, `recompute_lengths`, `get_length`, and `get_max_factor_length` are never used [INFO] [stdout] --> src/dawg/mod.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 76 | / impl Dawg [INFO] [stdout] 77 | | where [INFO] [stdout] 78 | | E: Eq + Ord + Serialize + for<'de> Deserialize<'de> + Copy + Debug, [INFO] [stdout] 79 | | W: Weight + Serialize + for<'de> Deserialize<'de> + Clone, [INFO] [stdout] 80 | | Mb: MemoryBacking, [INFO] [stdout] 81 | | Mb::EdgeRef: Copy, [INFO] [stdout] | |______________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn build(&mut self, text: &[E]) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn recompute_lengths(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | pub fn get_length(&self, mut state: NodeIndex) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 334 | pub fn get_max_factor_length(&self, query: Vec) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> src/evaluator.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 29 | / impl Evaluator<'_, E> [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | E: Eq + Ord + serde::Serialize + Copy + Debug, [INFO] [stdout] | |__________________________________________________- method in this implementation [INFO] [stdout] 32 | { [INFO] [stdout] 33 | pub fn get(&self, key: &str) -> &Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/graph/avl_graph/mod.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 46 | / impl AvlGraph [INFO] [stdout] 47 | | where [INFO] [stdout] 48 | | E: Copy + Debug, [INFO] [stdout] 49 | | Ix: IndexType, [INFO] [stdout] 50 | | N: Weight + Clone, [INFO] [stdout] | |______________________- associated function in this implementation [INFO] [stdout] 51 | { [INFO] [stdout] 52 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load` is never used [INFO] [stdout] --> src/graph/avl_graph/mod.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 70 | / impl AvlGraph> [INFO] [stdout] 71 | | where [INFO] [stdout] 72 | | E: Copy + Debug + Serialize + DeserializeOwned + Default, [INFO] [stdout] 73 | | N: Weight + Copy + Clone + Serialize + DeserializeOwned + Default, [INFO] [stdout] 74 | | Ix: IndexType + Serialize + DeserializeOwned, [INFO] [stdout] | |_________________________________________________- associated function in this implementation [INFO] [stdout] 75 | { [INFO] [stdout] 76 | pub fn load + Clone + std::fmt::Debug>( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `edges` is never used [INFO] [stdout] --> src/graph/avl_graph/mod.rs:463:12 [INFO] [stdout] | [INFO] [stdout] 126 | / impl AvlGraph [INFO] [stdout] 127 | | where [INFO] [stdout] 128 | | Mb: MemoryBacking, [INFO] [stdout] 129 | | E: Copy + Debug, [INFO] [stdout] 130 | | N: Weight, [INFO] [stdout] 131 | | Ix: IndexType, [INFO] [stdout] | |__________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 463 | pub fn edges(&self, edges: NodeIndex) -> Edges { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_edge_by_weight` and `add_edge` are never used [INFO] [stdout] --> src/graph/avl_graph/mod.rs:498:12 [INFO] [stdout] | [INFO] [stdout] 487 | / impl AvlGraph [INFO] [stdout] 488 | | where [INFO] [stdout] 489 | | Mb: MemoryBacking, [INFO] [stdout] 490 | | E: Eq + Ord + Copy + Debug, [INFO] [stdout] 491 | | N: Weight, [INFO] [stdout] 492 | | Ix: IndexType, [INFO] [stdout] | |__________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 498 | pub fn get_edge_by_weight(&self, a: NodeIndex, weight: E) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | fn add_edge(&mut self, a: NodeIndex, b: NodeIndex, weight: E) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Load` is never used [INFO] [stdout] --> src/io/load.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait Load { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/memory_backing/mod.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait VecBacking { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 44 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load` is never used [INFO] [stdout] --> src/memory_backing/disk_backing/vec.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 19 | / impl Vec [INFO] [stdout] 20 | | where [INFO] [stdout] 21 | | T: DiskVecItem + Default + Serialize + DeserializeOwned + Copy, [INFO] [stdout] | |___________________________________________________________________- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn load + std::fmt::Debug>(path: P, cache_size: usize) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `load`, `from_vec`, `try_reserve`, `pop`, `is_empty`, and `get_cache_len` are never used [INFO] [stdout] --> src/memory_backing/vec_backing/cached_disk_vec.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 21 | / impl CachedDiskVec [INFO] [stdout] 22 | | where [INFO] [stdout] 23 | | T: Serialize + DeserializeOwned + Default + Copy, [INFO] [stdout] 24 | | Ix: IndexType, [INFO] [stdout] | |__________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub fn load + std::fmt::Debug>(path: P, cache_size: usize) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn from_vec + std::fmt::Debug>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn try_reserve(&mut self, additional: usize) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn pop(&mut self) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn get_cache_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `load` and `is_empty` are never used [INFO] [stdout] --> src/memory_backing/vec_backing/disk_vec.rs:60:12 [INFO] [stdout] | [INFO] [stdout] 29 | / impl DiskVec [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | T: Serialize + DeserializeOwned + Default, [INFO] [stdout] | |______________________________________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn load + std::fmt::Debug>(path: P) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `token` and `eos` are never used [INFO] [stdout] --> src/tokenize/token_index.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 29 | / impl TokenIndex [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | E: Eq + serde::Serialize + Copy + Debug + TryInto + TryFrom, [INFO] [stdout] 32 | | usize: TryFrom, [INFO] [stdout] | |______________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn token(&self, index: E) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn eos(&self) -> E { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph/avl_graph/mod.rs:459:22 [INFO] [stdout] | [INFO] [stdout] 459 | pub fn neighbors(&self, node: NodeIndex) -> Neighbors { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 459 | pub fn neighbors(&self, node: NodeIndex) -> Neighbors<'_, N, E, Ix, Mb> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph/avl_graph/mod.rs:463:18 [INFO] [stdout] | [INFO] [stdout] 463 | pub fn edges(&self, edges: NodeIndex) -> Edges { [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 463 | pub fn edges(&self, edges: NodeIndex) -> Edges<'_, N, E, Ix, Mb> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3m 22s [INFO] running `Command { std: "docker" "inspect" "65ec5502dcef7c9dab77b73d3f64d3b6f3a690486a622c05dfb985578b91323d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65ec5502dcef7c9dab77b73d3f64d3b6f3a690486a622c05dfb985578b91323d", kill_on_drop: false }` [INFO] [stdout] 65ec5502dcef7c9dab77b73d3f64d3b6f3a690486a622c05dfb985578b91323d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af05302ecc6c4fca9dd81632509967dd7bf3fd9932eb0ea34357ab448fee2912 [INFO] running `Command { std: "docker" "start" "-a" "af05302ecc6c4fca9dd81632509967dd7bf3fd9932eb0ea34357ab448fee2912", kill_on_drop: false }` [INFO] [stdout] warning: method `add_edge` is never used [INFO] [stdout] --> src/graph/avl_graph/mod.rs:532:8 [INFO] [stdout] | [INFO] [stdout] 487 | / impl AvlGraph [INFO] [stdout] 488 | | where [INFO] [stdout] 489 | | Mb: MemoryBacking, [INFO] [stdout] 490 | | E: Eq + Ord + Copy + Debug, [INFO] [stdout] 491 | | N: Weight, [INFO] [stdout] 492 | | Ix: IndexType, [INFO] [stdout] | |__________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 532 | fn add_edge(&mut self, a: NodeIndex, b: NodeIndex, weight: E) -> Option> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph/avl_graph/mod.rs:459:22 [INFO] [stdout] | [INFO] [stdout] 459 | pub fn neighbors(&self, node: NodeIndex) -> Neighbors { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 459 | pub fn neighbors(&self, node: NodeIndex) -> Neighbors<'_, N, E, Ix, Mb> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rusty-dawg v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph/avl_graph/mod.rs:463:18 [INFO] [stdout] | [INFO] [stdout] 463 | pub fn edges(&self, edges: NodeIndex) -> Edges { [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 463 | pub fn edges(&self, edges: NodeIndex) -> Edges<'_, N, E, Ix, Mb> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph/avl_graph/mod.rs:459:22 [INFO] [stdout] | [INFO] [stdout] 459 | pub fn neighbors(&self, node: NodeIndex) -> Neighbors { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 459 | pub fn neighbors(&self, node: NodeIndex) -> Neighbors<'_, N, E, Ix, Mb> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph/avl_graph/mod.rs:463:18 [INFO] [stdout] | [INFO] [stdout] 463 | pub fn edges(&self, edges: NodeIndex) -> Edges { [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 463 | pub fn edges(&self, edges: NodeIndex) -> Edges<'_, N, E, Ix, Mb> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new_disk` is never used [INFO] [stdout] --> src/cdawg/traverse_arity.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 33 | / impl TraverseArity> [INFO] [stdout] 34 | | where [INFO] [stdout] 35 | | Ix: IndexType + Serialize + for<'de> Deserialize<'de>, [INFO] [stdout] | |__________________________________________________________- associated function in this implementation [INFO] [stdout] 36 | { [INFO] [stdout] 37 | pub fn new_disk + std::fmt::Debug>(path: P, capacity: usize) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/cdawg/token_backing.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait TokenBacking { [INFO] [stdout] | ------------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 15 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load` is never used [INFO] [stdout] --> src/dawg/mod.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 58 | / impl Dawg> [INFO] [stdout] 59 | | where [INFO] [stdout] 60 | | E: Eq + Ord + Copy + Debug + Serialize + DeserializeOwned + Default, [INFO] [stdout] 61 | | W: Weight + Copy + Clone + Serialize + DeserializeOwned + Default, [INFO] [stdout] | |______________________________________________________________________- associated function in this implementation [INFO] [stdout] 62 | { [INFO] [stdout] 63 | pub fn load + Clone + std::fmt::Debug>( [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_edge_by_weight` is never used [INFO] [stdout] --> src/graph/avl_graph/mod.rs:498:12 [INFO] [stdout] | [INFO] [stdout] 487 | / impl AvlGraph [INFO] [stdout] 488 | | where [INFO] [stdout] 489 | | Mb: MemoryBacking, [INFO] [stdout] 490 | | E: Eq + Ord + Copy + Debug, [INFO] [stdout] 491 | | N: Weight, [INFO] [stdout] 492 | | Ix: IndexType, [INFO] [stdout] | |__________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 498 | pub fn get_edge_by_weight(&self, a: NodeIndex, weight: E) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Load` is never used [INFO] [stdout] --> src/io/load.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub trait Load { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/memory_backing/mod.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 32 | pub trait VecBacking { [INFO] [stdout] | ---------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 44 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_vec`, `try_reserve`, `pop`, `is_empty`, and `get_cache_len` are never used [INFO] [stdout] --> src/memory_backing/vec_backing/cached_disk_vec.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 21 | / impl CachedDiskVec [INFO] [stdout] 22 | | where [INFO] [stdout] 23 | | T: Serialize + DeserializeOwned + Default + Copy, [INFO] [stdout] 24 | | Ix: IndexType, [INFO] [stdout] | |__________________- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn from_vec + std::fmt::Debug>( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn try_reserve(&mut self, additional: usize) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn pop(&mut self) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn get_cache_len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/memory_backing/vec_backing/disk_vec.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 29 | / impl DiskVec [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | T: Serialize + DeserializeOwned + Default, [INFO] [stdout] | |______________________________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `eos` is never used [INFO] [stdout] --> src/tokenize/token_index.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 29 | / impl TokenIndex [INFO] [stdout] 30 | | where [INFO] [stdout] 31 | | E: Eq + serde::Serialize + Copy + Debug + TryInto + TryFrom, [INFO] [stdout] 32 | | usize: TryFrom, [INFO] [stdout] | |______________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn eos(&self) -> E { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph/avl_graph/mod.rs:459:22 [INFO] [stdout] | [INFO] [stdout] 459 | pub fn neighbors(&self, node: NodeIndex) -> Neighbors { [INFO] [stdout] | ^^^^^ ----------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 459 | pub fn neighbors(&self, node: NodeIndex) -> Neighbors<'_, N, E, Ix, Mb> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/graph/avl_graph/mod.rs:463:18 [INFO] [stdout] | [INFO] [stdout] 463 | pub fn edges(&self, edges: NodeIndex) -> Edges { [INFO] [stdout] | ^^^^^ ------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 463 | pub fn edges(&self, edges: NodeIndex) -> Edges<'_, N, E, Ix, Mb> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.44s [INFO] running `Command { std: "docker" "inspect" "af05302ecc6c4fca9dd81632509967dd7bf3fd9932eb0ea34357ab448fee2912", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af05302ecc6c4fca9dd81632509967dd7bf3fd9932eb0ea34357ab448fee2912", kill_on_drop: false }` [INFO] [stdout] af05302ecc6c4fca9dd81632509967dd7bf3fd9932eb0ea34357ab448fee2912