[INFO] fetching crate kgst 0.1.1... [INFO] testing kgst-0.1.1 against 1.81.0 for beta-1.82-1 [INFO] extracting crate kgst 0.1.1 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate kgst 0.1.1 on toolchain 1.81.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.81.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate kgst 0.1.1 [INFO] finished tweaking crates.io crate kgst 0.1.1 [INFO] tweaked toml for crates.io crate kgst 0.1.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate crates.io crate kgst 0.1.1 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" "+1.81.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded triple_accel v0.4.0 [INFO] [stderr] Downloaded matrixmultiply v0.3.7 [INFO] [stderr] Downloaded enum-map v1.1.1 [INFO] [stderr] Downloaded editdistancek v1.0.2 [INFO] [stderr] Downloaded bio-types v1.0.1 [INFO] [stderr] Downloaded anstyle v1.0.3 [INFO] [stderr] Downloaded enum-map-derive v0.6.0 [INFO] [stderr] Downloaded wide v0.7.11 [INFO] [stderr] Downloaded statrs v0.16.0 [INFO] [stderr] Downloaded ordered-float v3.9.1 [INFO] [stderr] Downloaded newtype_derive v0.1.6 [INFO] [stderr] Downloaded aho-corasick v1.1.0 [INFO] [stderr] Downloaded bio v1.4.0 [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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd0bd14e57af9ec426d13a448483deecf849069df644f03519b922d8973ab700 [INFO] running `Command { std: "docker" "start" "-a" "bd0bd14e57af9ec426d13a448483deecf849069df644f03519b922d8973ab700", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd0bd14e57af9ec426d13a448483deecf849069df644f03519b922d8973ab700", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd0bd14e57af9ec426d13a448483deecf849069df644f03519b922d8973ab700", kill_on_drop: false }` [INFO] [stdout] bd0bd14e57af9ec426d13a448483deecf849069df644f03519b922d8973ab700 [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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb044aad8949b573b85b3c467ee9b2511be9dd92d13bc9eecf9cc103089b9c99 [INFO] running `Command { std: "docker" "start" "-a" "bb044aad8949b573b85b3c467ee9b2511be9dd92d13bc9eecf9cc103089b9c99", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.67 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling memchr v2.6.3 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling ppv-lite86 v0.2.17 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling rustversion v1.0.14 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling semver v0.1.20 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling feature-probe v0.1.1 [INFO] [stderr] Compiling safe_arch v0.7.1 [INFO] [stderr] Compiling rustc_version v0.1.7 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling matrixmultiply v0.3.7 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling regex-syntax v0.7.5 [INFO] [stderr] Compiling wide v0.7.11 [INFO] [stderr] Compiling aho-corasick v1.1.0 [INFO] [stderr] Compiling newtype_derive v0.1.6 [INFO] [stderr] Compiling bv v0.11.1 [INFO] [stderr] Compiling anstyle-parse v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling portable-atomic v1.4.3 [INFO] [stderr] Compiling getrandom v0.2.10 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling anstyle-query v1.0.0 [INFO] [stderr] Compiling syn v2.0.37 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ryu v1.0.15 [INFO] [stderr] Compiling itoa v1.0.9 [INFO] [stderr] Compiling gimli v0.28.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling hashbrown v0.14.0 [INFO] [stderr] Compiling anstyle v1.0.3 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling anstream v0.5.0 [INFO] [stderr] Compiling object v0.32.1 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling indexmap v2.0.0 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Compiling clap_lex v0.5.1 [INFO] [stderr] Compiling unicode-width v0.1.10 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling backtrace v0.3.69 [INFO] [stderr] Compiling rustc-demangle v0.1.23 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling clap_builder v4.4.4 [INFO] [stderr] Compiling petgraph v0.6.4 [INFO] [stderr] Compiling console v0.15.7 [INFO] [stderr] Compiling simba v0.6.0 [INFO] [stderr] Compiling ndarray v0.15.6 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling bit-set v0.5.3 [INFO] [stderr] Compiling addr2line v0.21.0 [INFO] [stderr] Compiling itertools-num v0.1.3 [INFO] [stderr] Compiling ordered-float v3.9.1 [INFO] [stderr] Compiling editdistancek v1.0.2 [INFO] [stderr] Compiling number_prefix v0.4.0 [INFO] [stderr] Compiling bytecount v0.6.3 [INFO] [stderr] Compiling strum v0.25.0 [INFO] [stderr] Compiling triple_accel v0.4.0 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling indicatif v0.17.6 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling strum_macros v0.25.2 [INFO] [stderr] Compiling regex v1.9.5 [INFO] [stderr] Compiling clap v4.4.4 [INFO] [stderr] Compiling nalgebra-macros v0.1.0 [INFO] [stderr] Compiling enum-map-derive v0.6.0 [INFO] [stderr] Compiling derive-new v0.5.9 [INFO] [stderr] Compiling getset v0.1.2 [INFO] [stderr] Compiling enum-map v1.1.1 [INFO] [stderr] Compiling bio-types v1.0.1 [INFO] [stderr] Compiling nalgebra v0.29.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling csv v1.2.2 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling statrs v0.16.0 [INFO] [stderr] Compiling bio v1.4.0 [INFO] [stderr] Compiling kgst v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `get_node_data`, `get_node_child`, and `get_node_parent` are never used [INFO] [stdout] --> src/suffix_tree.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 26 | / impl KGST [INFO] [stdout] 27 | | where [INFO] [stdout] 28 | | T: Display + Debug + Eq + PartialEq + Hash + Clone, [INFO] [stdout] 29 | | U: Display + Debug + Eq + PartialEq + Hash + Clone, [INFO] [stdout] | |_______________________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | fn get_node_data(&self, node_id: &usize)->HashMap>{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | fn get_node_child(&self, node_id: &usize, edge_label: &T)->&Node{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | fn get_node_parent(&self, node_id: &usize)->Option<&Node>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/suffix_tree.rs:196:41 [INFO] [stdout] | [INFO] [stdout] 196 | let mut query_string: Vec = s.clone().to_vec(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[T]` does not implement `Clone`, so calling `clone` on `&[T]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/suffix_tree.rs:206:41 [INFO] [stdout] | [INFO] [stdout] 206 | let mut query_string: Vec = s.clone().to_vec(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[T]` does not implement `Clone`, so calling `clone` on `&[T]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.89s [INFO] running `Command { std: "docker" "inspect" "bb044aad8949b573b85b3c467ee9b2511be9dd92d13bc9eecf9cc103089b9c99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb044aad8949b573b85b3c467ee9b2511be9dd92d13bc9eecf9cc103089b9c99", kill_on_drop: false }` [INFO] [stdout] bb044aad8949b573b85b3c467ee9b2511be9dd92d13bc9eecf9cc103089b9c99 [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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26b11383b4f1bfc84d0ed98937a9ee38bfe51a41a015385a32febcf9aafc6e68 [INFO] running `Command { std: "docker" "start" "-a" "26b11383b4f1bfc84d0ed98937a9ee38bfe51a41a015385a32febcf9aafc6e68", kill_on_drop: false }` [INFO] [stdout] warning: methods `get_node_data`, `get_node_child`, and `get_node_parent` are never used [INFO] [stdout] --> src/suffix_tree.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 26 | / impl KGST [INFO] [stdout] 27 | | where [INFO] [stdout] 28 | | T: Display + Debug + Eq + PartialEq + Hash + Clone, [INFO] [stdout] 29 | | U: Display + Debug + Eq + PartialEq + Hash + Clone, [INFO] [stdout] | |_______________________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | fn get_node_data(&self, node_id: &usize)->HashMap>{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | fn get_node_child(&self, node_id: &usize, edge_label: &T)->&Node{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | fn get_node_parent(&self, node_id: &usize)->Option<&Node>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/suffix_tree.rs:196:41 [INFO] [stdout] | [INFO] [stdout] 196 | let mut query_string: Vec = s.clone().to_vec(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[T]` does not implement `Clone`, so calling `clone` on `&[T]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/suffix_tree.rs:206:41 [INFO] [stdout] | [INFO] [stdout] 206 | let mut query_string: Vec = s.clone().to_vec(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[T]` does not implement `Clone`, so calling `clone` on `&[T]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling kgst v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_node_data`, `get_node_child`, and `get_node_parent` are never used [INFO] [stdout] --> src/suffix_tree.rs:88:8 [INFO] [stdout] | [INFO] [stdout] 26 | / impl KGST [INFO] [stdout] 27 | | where [INFO] [stdout] 28 | | T: Display + Debug + Eq + PartialEq + Hash + Clone, [INFO] [stdout] 29 | | U: Display + Debug + Eq + PartialEq + Hash + Clone, [INFO] [stdout] | |_______________________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 88 | fn get_node_data(&self, node_id: &usize)->HashMap>{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 263 | fn get_node_child(&self, node_id: &usize, edge_label: &T)->&Node{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 267 | fn get_node_parent(&self, node_id: &usize)->Option<&Node>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/suffix_tree.rs:196:41 [INFO] [stdout] | [INFO] [stdout] 196 | let mut query_string: Vec = s.clone().to_vec(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[T]` does not implement `Clone`, so calling `clone` on `&[T]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/suffix_tree.rs:206:41 [INFO] [stdout] | [INFO] [stdout] 206 | let mut query_string: Vec = s.clone().to_vec(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[T]` does not implement `Clone`, so calling `clone` on `&[T]` copies the reference, which does not do anything and can be removed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.80s [INFO] running `Command { std: "docker" "inspect" "26b11383b4f1bfc84d0ed98937a9ee38bfe51a41a015385a32febcf9aafc6e68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26b11383b4f1bfc84d0ed98937a9ee38bfe51a41a015385a32febcf9aafc6e68", kill_on_drop: false }` [INFO] [stdout] 26b11383b4f1bfc84d0ed98937a9ee38bfe51a41a015385a32febcf9aafc6e68 [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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d2926bc3640a809db113f95b073e09fe5237c0d432c8aa2877b2987fb749d86d [INFO] running `Command { std: "docker" "start" "-a" "d2926bc3640a809db113f95b073e09fe5237c0d432c8aa2877b2987fb749d86d", kill_on_drop: false }` [INFO] [stderr] warning: methods `get_node_data`, `get_node_child`, and `get_node_parent` are never used [INFO] [stderr] --> src/suffix_tree.rs:88:8 [INFO] [stderr] | [INFO] [stderr] 26 | / impl KGST [INFO] [stderr] 27 | | where [INFO] [stderr] 28 | | T: Display + Debug + Eq + PartialEq + Hash + Clone, [INFO] [stderr] 29 | | U: Display + Debug + Eq + PartialEq + Hash + Clone, [INFO] [stderr] | |_______________________________________________________- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 88 | fn get_node_data(&self, node_id: &usize)->HashMap>{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 263 | fn get_node_child(&self, node_id: &usize, edge_label: &T)->&Node{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 267 | fn get_node_parent(&self, node_id: &usize)->Option<&Node>{ [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/suffix_tree.rs:196:41 [INFO] [stderr] | [INFO] [stderr] 196 | let mut query_string: Vec = s.clone().to_vec(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `[T]` does not implement `Clone`, so calling `clone` on `&[T]` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/suffix_tree.rs:206:41 [INFO] [stderr] | [INFO] [stderr] 206 | let mut query_string: Vec = s.clone().to_vec(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `[T]` does not implement `Clone`, so calling `clone` on `&[T]` copies the reference, which does not do anything and can be removed [INFO] [stderr] [INFO] [stderr] warning: `kgst` (lib) generated 3 warnings (run `cargo fix --lib -p kgst` to apply 2 suggestions) [INFO] [stderr] warning: `kgst` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/generalized_suffix_tree-cdaee219dbf89886) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/bin.rs (/opt/rustwide/target/debug/deps/gst-3931d05e4f1efc0b) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/tests.rs (/opt/rustwide/target/debug/deps/tests-98d51360df9c3f96) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test create_tree ... ok [INFO] [stdout] test serialize_deserialize_tree ... ok [INFO] [stdout] test insert ... ok [INFO] [stdout] test insert_trunc ... ok [INFO] [stdout] test insert_set ... ok [INFO] [stdout] test insert_set_trunc ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s [INFO] [stdout] [INFO] [stderr] Doc-tests generalized_suffix_tree [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test src/lib.rs - (line 7) ... FAILED [INFO] [stdout] test src/suffix_tree.rs - suffix_tree::KGST::new (line 35) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 7) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `i` in this scope [INFO] [stdout] --> src/lib.rs:21:57 [INFO] [stdout] | [INFO] [stdout] 17 | let substring_match = tree.substring_match(&item_string[i..i+max_depth+1]); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `i` in this scope [INFO] [stdout] --> src/lib.rs:21:60 [INFO] [stdout] | [INFO] [stdout] 17 | let substring_match = tree.substring_match(&item_string[i..i+max_depth+1]); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might have meant to write `.` instead of `..` [INFO] [stdout] | [INFO] [stdout] 17 - let substring_match = tree.substring_match(&item_string[i..i+max_depth+1]); [INFO] [stdout] 17 + let substring_match = tree.substring_match(&item_string[i.i+max_depth+1]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `max_depth` in this scope [INFO] [stdout] --> src/lib.rs:21:62 [INFO] [stdout] | [INFO] [stdout] 17 | let substring_match = tree.substring_match(&item_string[i..i+max_depth+1]); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `i` in this scope [INFO] [stdout] --> src/lib.rs:24:51 [INFO] [stdout] | [INFO] [stdout] 20 | let suffix_match = tree.suffix_match(&item_string[i..i+max_depth+1]); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `i` in this scope [INFO] [stdout] --> src/lib.rs:24:54 [INFO] [stdout] | [INFO] [stdout] 20 | let suffix_match = tree.suffix_match(&item_string[i..i+max_depth+1]); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might have meant to write `.` instead of `..` [INFO] [stdout] | [INFO] [stdout] 20 - let suffix_match = tree.suffix_match(&item_string[i..i+max_depth+1]); [INFO] [stdout] 20 + let suffix_match = tree.suffix_match(&item_string[i.i+max_depth+1]); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `max_depth` in this scope [INFO] [stdout] --> src/lib.rs:24:56 [INFO] [stdout] | [INFO] [stdout] 20 | let suffix_match = tree.suffix_match(&item_string[i..i+max_depth+1]); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 7) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "d2926bc3640a809db113f95b073e09fe5237c0d432c8aa2877b2987fb749d86d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2926bc3640a809db113f95b073e09fe5237c0d432c8aa2877b2987fb749d86d", kill_on_drop: false }` [INFO] [stdout] d2926bc3640a809db113f95b073e09fe5237c0d432c8aa2877b2987fb749d86d