[INFO] fetching crate similari 0.26.2... [INFO] testing similari-0.26.2 against master#733b47ea4b1b86216f14ef56e49440c33933f230+rustflags=-Copt-level=3 for pr-138759 [INFO] extracting crate similari 0.26.2 into /workspace/builds/worker-0-tc2/source [INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config [INFO] started tweaking crates.io crate similari 0.26.2 [INFO] finished tweaking crates.io crate similari 0.26.2 [INFO] tweaked toml for crates.io crate similari 0.26.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate similari 0.26.2 on toolchain 733b47ea4b1b86216f14ef56e49440c33933f230 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate similari 0.26.2 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" "+733b47ea4b1b86216f14ef56e49440c33933f230" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3cdca4c53d32a4eb04fd303ffcb3be1924f7c943833abe9b03c265c2272ac2fd [INFO] running `Command { std: "docker" "start" "-a" "3cdca4c53d32a4eb04fd303ffcb3be1924f7c943833abe9b03c265c2272ac2fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cdca4c53d32a4eb04fd303ffcb3be1924f7c943833abe9b03c265c2272ac2fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cdca4c53d32a4eb04fd303ffcb3be1924f7c943833abe9b03c265c2272ac2fd", kill_on_drop: false }` [INFO] [stdout] 3cdca4c53d32a4eb04fd303ffcb3be1924f7c943833abe9b03c265c2272ac2fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f1245d9ae4f13bc23eea84e1c86f4ec8cd64ff31ec2c1a6de2abab9871df770 [INFO] running `Command { std: "docker" "start" "-a" "4f1245d9ae4f13bc23eea84e1c86f4ec8cd64ff31ec2c1a6de2abab9871df770", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.139 [INFO] [stderr] Compiling libm v0.2.2 [INFO] [stderr] Compiling target-lexicon v0.12.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Compiling semver v1.0.12 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling io-lifetimes v1.0.6 [INFO] [stderr] Compiling bytemuck v1.10.0 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling rustix v0.36.9 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling linux-raw-sys v0.1.4 [INFO] [stderr] Compiling thiserror v1.0.39 [INFO] [stderr] Compiling crossbeam-channel v0.5.5 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling safe_arch v0.6.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.9 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling wide v0.7.4 [INFO] [stderr] Compiling heapless v0.7.15 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling pyo3-build-config v0.18.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling geographiclib-rs v0.2.1 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling rstar v0.9.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling num-complex v0.4.2 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling geo-types v0.7.8 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [INFO] [stderr] Compiling float_next_after v0.1.5 [INFO] [stderr] Compiling simba v0.8.0 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling is-terminal v0.4.4 [INFO] [stderr] Compiling indoc v1.0.7 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling unindent v0.1.10 [INFO] [stderr] Compiling robust v0.2.3 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling ultraviolet v0.9.0 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling geo v0.23.0 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling pyo3-macros-backend v0.18.1 [INFO] [stderr] Compiling pyo3-ffi v0.18.1 [INFO] [stderr] Compiling pyo3 v0.18.1 [INFO] [stderr] Compiling similari v0.26.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling thiserror-impl v1.0.39 [INFO] [stderr] Compiling nalgebra-macros v0.2.0 [INFO] [stderr] Compiling pyo3-macros v0.18.1 [INFO] [stderr] Compiling nalgebra v0.32.2 [INFO] [stderr] Compiling pathfinding v4.2.1 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/trackers/tracker_api.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut obj = self.get_auto_waste_obj_mut(); [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: field `0` is never read [INFO] [stdout] --> src/track/store.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | MergeResult(Result<()>), [INFO] [stdout] | ----------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Results` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 66 - MergeResult(Result<()>), [INFO] [stdout] 66 + MergeResult(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/utils/point.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Point2D(f32, f32); [INFO] [stdout] | ------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/sort/simple_api.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 230 | ) -> RwLockWriteGuard> [INFO] [stdout] | -------------------------------------------------------------------------------------- the lifetime gets resolved as `'_` [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] 230 | ) -> RwLockWriteGuard<'_, TrackStore> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/sort/simple_api.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 237 | ) -> RwLockWriteGuard> [INFO] [stdout] | -------------------------------------------------------------------------------------- the lifetime gets resolved as `'_` [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] 237 | ) -> RwLockWriteGuard<'_, TrackStore> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/sort/simple_api.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 244 | ) -> RwLockReadGuard> { [INFO] [stdout] | ------------------------------------------------------------------------------------- the lifetime gets resolved as `'_` [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] 244 | ) -> RwLockReadGuard<'_, TrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/sort/simple_api.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 250 | ) -> RwLockReadGuard> { [INFO] [stdout] | ------------------------------------------------------------------------------------- the lifetime gets resolved as `'_` [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] 250 | ) -> RwLockReadGuard<'_, TrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/sort/batch_api.rs:320:27 [INFO] [stdout] | [INFO] [stdout] 320 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard { [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] 320 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard<'_, MiddlewareSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/sort/batch_api.rs:324:29 [INFO] [stdout] | [INFO] [stdout] 324 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard { [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] 324 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard<'_, MiddlewareSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/sort/batch_api.rs:328:23 [INFO] [stdout] | [INFO] [stdout] 328 | fn get_main_store(&self) -> RwLockReadGuard { [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] 328 | fn get_main_store(&self) -> RwLockReadGuard<'_, MiddlewareSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/sort/batch_api.rs:332:25 [INFO] [stdout] | [INFO] [stdout] 332 | fn get_wasted_store(&self) -> RwLockReadGuard { [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] 332 | fn get_wasted_store(&self) -> RwLockReadGuard<'_, MiddlewareSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/visual_sort/simple_api.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 273 | ) -> RwLockWriteGuard< [INFO] [stdout] | __________- [INFO] [stdout] 274 | | TrackStore, [INFO] [stdout] 275 | | > { [INFO] [stdout] | |_____- the lifetime gets resolved as `'_` [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] 273 | ) -> RwLockWriteGuard<'_, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/visual_sort/simple_api.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 281 | ) -> RwLockWriteGuard< [INFO] [stdout] | __________- [INFO] [stdout] 282 | | TrackStore, [INFO] [stdout] 283 | | > { [INFO] [stdout] | |_____- the lifetime gets resolved as `'_` [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] 281 | ) -> RwLockWriteGuard<'_, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/visual_sort/simple_api.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 289 | ) -> RwLockReadGuard< [INFO] [stdout] | __________- [INFO] [stdout] 290 | | TrackStore, [INFO] [stdout] 291 | | > { [INFO] [stdout] | |_____- the lifetime gets resolved as `'_` [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] 289 | ) -> RwLockReadGuard<'_, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/visual_sort/simple_api.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 297 | ) -> RwLockReadGuard< [INFO] [stdout] | __________- [INFO] [stdout] 298 | | TrackStore, [INFO] [stdout] 299 | | > { [INFO] [stdout] | |_____- the lifetime gets resolved as `'_` [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] 297 | ) -> RwLockReadGuard<'_, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/visual_sort/batch_api.rs:359:27 [INFO] [stdout] | [INFO] [stdout] 359 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard { [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] 359 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard<'_, MiddlewareVisualSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/visual_sort/batch_api.rs:363:29 [INFO] [stdout] | [INFO] [stdout] 363 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard { [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] 363 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard<'_, MiddlewareVisualSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/visual_sort/batch_api.rs:367:23 [INFO] [stdout] | [INFO] [stdout] 367 | fn get_main_store(&self) -> RwLockReadGuard { [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] 367 | fn get_main_store(&self) -> RwLockReadGuard<'_, MiddlewareVisualSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/visual_sort/batch_api.rs:371:25 [INFO] [stdout] | [INFO] [stdout] 371 | fn get_wasted_store(&self) -> RwLockReadGuard { [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] 371 | fn get_wasted_store(&self) -> RwLockReadGuard<'_, MiddlewareVisualSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/tracker_api.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard>; [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] 19 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard<'_, TrackStore>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/tracker_api.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard>; [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] 20 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard<'_, TrackStore>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/tracker_api.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | fn get_main_store(&self) -> RwLockReadGuard>; [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] 22 | fn get_main_store(&self) -> RwLockReadGuard<'_, TrackStore>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/tracker_api.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_wasted_store(&self) -> RwLockReadGuard>; [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] 23 | fn get_wasted_store(&self) -> RwLockReadGuard<'_, TrackStore>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 2m 31s [INFO] running `Command { std: "docker" "inspect" "4f1245d9ae4f13bc23eea84e1c86f4ec8cd64ff31ec2c1a6de2abab9871df770", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f1245d9ae4f13bc23eea84e1c86f4ec8cd64ff31ec2c1a6de2abab9871df770", kill_on_drop: false }` [INFO] [stdout] 4f1245d9ae4f13bc23eea84e1c86f4ec8cd64ff31ec2c1a6de2abab9871df770 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d9071c37840a7baea2a978539d311d415cfcaaaefc3d1f2ef63e2446230a673e [INFO] running `Command { std: "docker" "start" "-a" "d9071c37840a7baea2a978539d311d415cfcaaaefc3d1f2ef63e2446230a673e", kill_on_drop: false }` [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/trackers/tracker_api.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut obj = self.get_auto_waste_obj_mut(); [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: field `0` is never read [INFO] [stdout] --> src/track/store.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | MergeResult(Result<()>), [INFO] [stdout] | ----------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Results` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 66 - MergeResult(Result<()>), [INFO] [stdout] 66 + MergeResult(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/utils/point.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Point2D(f32, f32); [INFO] [stdout] | ------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/sort/simple_api.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 230 | ) -> RwLockWriteGuard> [INFO] [stdout] | -------------------------------------------------------------------------------------- the lifetime gets resolved as `'_` [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] 230 | ) -> RwLockWriteGuard<'_, TrackStore> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/sort/simple_api.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 237 | ) -> RwLockWriteGuard> [INFO] [stdout] | -------------------------------------------------------------------------------------- the lifetime gets resolved as `'_` [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] 237 | ) -> RwLockWriteGuard<'_, TrackStore> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/sort/simple_api.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 244 | ) -> RwLockReadGuard> { [INFO] [stdout] | ------------------------------------------------------------------------------------- the lifetime gets resolved as `'_` [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] 244 | ) -> RwLockReadGuard<'_, TrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/sort/simple_api.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 250 | ) -> RwLockReadGuard> { [INFO] [stdout] | ------------------------------------------------------------------------------------- the lifetime gets resolved as `'_` [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] 250 | ) -> RwLockReadGuard<'_, TrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/sort/batch_api.rs:320:27 [INFO] [stdout] | [INFO] [stdout] 320 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard { [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] 320 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard<'_, MiddlewareSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/sort/batch_api.rs:324:29 [INFO] [stdout] | [INFO] [stdout] 324 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard { [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] 324 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard<'_, MiddlewareSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/sort/batch_api.rs:328:23 [INFO] [stdout] | [INFO] [stdout] 328 | fn get_main_store(&self) -> RwLockReadGuard { [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] 328 | fn get_main_store(&self) -> RwLockReadGuard<'_, MiddlewareSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/sort/batch_api.rs:332:25 [INFO] [stdout] | [INFO] [stdout] 332 | fn get_wasted_store(&self) -> RwLockReadGuard { [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] 332 | fn get_wasted_store(&self) -> RwLockReadGuard<'_, MiddlewareSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/visual_sort/simple_api.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 273 | ) -> RwLockWriteGuard< [INFO] [stdout] | __________- [INFO] [stdout] 274 | | TrackStore, [INFO] [stdout] 275 | | > { [INFO] [stdout] | |_____- the lifetime gets resolved as `'_` [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] 273 | ) -> RwLockWriteGuard<'_, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/visual_sort/simple_api.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 281 | ) -> RwLockWriteGuard< [INFO] [stdout] | __________- [INFO] [stdout] 282 | | TrackStore, [INFO] [stdout] 283 | | > { [INFO] [stdout] | |_____- the lifetime gets resolved as `'_` [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] 281 | ) -> RwLockWriteGuard<'_, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/visual_sort/simple_api.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 289 | ) -> RwLockReadGuard< [INFO] [stdout] | __________- [INFO] [stdout] 290 | | TrackStore, [INFO] [stdout] 291 | | > { [INFO] [stdout] | |_____- the lifetime gets resolved as `'_` [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] 289 | ) -> RwLockReadGuard<'_, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/visual_sort/simple_api.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 297 | ) -> RwLockReadGuard< [INFO] [stdout] | __________- [INFO] [stdout] 298 | | TrackStore, [INFO] [stdout] 299 | | > { [INFO] [stdout] | |_____- the lifetime gets resolved as `'_` [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] 297 | ) -> RwLockReadGuard<'_, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/visual_sort/batch_api.rs:359:27 [INFO] [stdout] | [INFO] [stdout] 359 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard { [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] 359 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard<'_, MiddlewareVisualSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/visual_sort/batch_api.rs:363:29 [INFO] [stdout] | [INFO] [stdout] 363 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard { [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] 363 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard<'_, MiddlewareVisualSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/visual_sort/batch_api.rs:367:23 [INFO] [stdout] | [INFO] [stdout] 367 | fn get_main_store(&self) -> RwLockReadGuard { [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] 367 | fn get_main_store(&self) -> RwLockReadGuard<'_, MiddlewareVisualSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/visual_sort/batch_api.rs:371:25 [INFO] [stdout] | [INFO] [stdout] 371 | fn get_wasted_store(&self) -> RwLockReadGuard { [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] 371 | fn get_wasted_store(&self) -> RwLockReadGuard<'_, MiddlewareVisualSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/tracker_api.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard>; [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] 19 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard<'_, TrackStore>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/tracker_api.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard>; [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] 20 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard<'_, TrackStore>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/tracker_api.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | fn get_main_store(&self) -> RwLockReadGuard>; [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] 22 | fn get_main_store(&self) -> RwLockReadGuard<'_, TrackStore>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling similari v0.26.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/tracker_api.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_wasted_store(&self) -> RwLockReadGuard>; [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] 23 | fn get_wasted_store(&self) -> RwLockReadGuard<'_, TrackStore>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/trackers/tracker_api.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | let mut obj = self.get_auto_waste_obj_mut(); [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: field `0` is never read [INFO] [stdout] --> src/track/store.rs:66:17 [INFO] [stdout] | [INFO] [stdout] 66 | MergeResult(Result<()>), [INFO] [stdout] | ----------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Results` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 66 - MergeResult(Result<()>), [INFO] [stdout] 66 + MergeResult(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/utils/point.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Point2D(f32, f32); [INFO] [stdout] | ------- ^^^ ^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/sort/simple_api.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 230 | ) -> RwLockWriteGuard> [INFO] [stdout] | -------------------------------------------------------------------------------------- the lifetime gets resolved as `'_` [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] 230 | ) -> RwLockWriteGuard<'_, TrackStore> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/sort/simple_api.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 237 | ) -> RwLockWriteGuard> [INFO] [stdout] | -------------------------------------------------------------------------------------- the lifetime gets resolved as `'_` [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] 237 | ) -> RwLockWriteGuard<'_, TrackStore> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/sort/simple_api.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 244 | ) -> RwLockReadGuard> { [INFO] [stdout] | ------------------------------------------------------------------------------------- the lifetime gets resolved as `'_` [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] 244 | ) -> RwLockReadGuard<'_, TrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/sort/simple_api.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 250 | ) -> RwLockReadGuard> { [INFO] [stdout] | ------------------------------------------------------------------------------------- the lifetime gets resolved as `'_` [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] 250 | ) -> RwLockReadGuard<'_, TrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/sort/batch_api.rs:320:27 [INFO] [stdout] | [INFO] [stdout] 320 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard { [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] 320 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard<'_, MiddlewareSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/sort/batch_api.rs:324:29 [INFO] [stdout] | [INFO] [stdout] 324 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard { [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] 324 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard<'_, MiddlewareSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/sort/batch_api.rs:328:23 [INFO] [stdout] | [INFO] [stdout] 328 | fn get_main_store(&self) -> RwLockReadGuard { [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] 328 | fn get_main_store(&self) -> RwLockReadGuard<'_, MiddlewareSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/sort/batch_api.rs:332:25 [INFO] [stdout] | [INFO] [stdout] 332 | fn get_wasted_store(&self) -> RwLockReadGuard { [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] 332 | fn get_wasted_store(&self) -> RwLockReadGuard<'_, MiddlewareSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/visual_sort/simple_api.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 273 | ) -> RwLockWriteGuard< [INFO] [stdout] | __________- [INFO] [stdout] 274 | | TrackStore, [INFO] [stdout] 275 | | > { [INFO] [stdout] | |_____- the lifetime gets resolved as `'_` [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] 273 | ) -> RwLockWriteGuard<'_, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/visual_sort/simple_api.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] 281 | ) -> RwLockWriteGuard< [INFO] [stdout] | __________- [INFO] [stdout] 282 | | TrackStore, [INFO] [stdout] 283 | | > { [INFO] [stdout] | |_____- the lifetime gets resolved as `'_` [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] 281 | ) -> RwLockWriteGuard<'_, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/visual_sort/simple_api.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 289 | ) -> RwLockReadGuard< [INFO] [stdout] | __________- [INFO] [stdout] 290 | | TrackStore, [INFO] [stdout] 291 | | > { [INFO] [stdout] | |_____- the lifetime gets resolved as `'_` [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] 289 | ) -> RwLockReadGuard<'_, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/visual_sort/simple_api.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 297 | ) -> RwLockReadGuard< [INFO] [stdout] | __________- [INFO] [stdout] 298 | | TrackStore, [INFO] [stdout] 299 | | > { [INFO] [stdout] | |_____- the lifetime gets resolved as `'_` [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] 297 | ) -> RwLockReadGuard<'_, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/visual_sort/batch_api.rs:359:27 [INFO] [stdout] | [INFO] [stdout] 359 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard { [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] 359 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard<'_, MiddlewareVisualSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/visual_sort/batch_api.rs:363:29 [INFO] [stdout] | [INFO] [stdout] 363 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard { [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] 363 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard<'_, MiddlewareVisualSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/visual_sort/batch_api.rs:367:23 [INFO] [stdout] | [INFO] [stdout] 367 | fn get_main_store(&self) -> RwLockReadGuard { [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] 367 | fn get_main_store(&self) -> RwLockReadGuard<'_, MiddlewareVisualSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/visual_sort/batch_api.rs:371:25 [INFO] [stdout] | [INFO] [stdout] 371 | fn get_wasted_store(&self) -> RwLockReadGuard { [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] 371 | fn get_wasted_store(&self) -> RwLockReadGuard<'_, MiddlewareVisualSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stdout] --> src/trackers/batch.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | drop(batch); [INFO] [stdout] | ^^^^^-----^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `&HashMap>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_references)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 116 - drop(batch); [INFO] [stdout] 116 + let _ = batch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/tracker_api.rs:19:27 [INFO] [stdout] | [INFO] [stdout] 19 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard>; [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] 19 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard<'_, TrackStore>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/tracker_api.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard>; [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] 20 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard<'_, TrackStore>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/tracker_api.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | fn get_main_store(&self) -> RwLockReadGuard>; [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] 22 | fn get_main_store(&self) -> RwLockReadGuard<'_, TrackStore>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/trackers/tracker_api.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_wasted_store(&self) -> RwLockReadGuard>; [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] 23 | fn get_wasted_store(&self) -> RwLockReadGuard<'_, TrackStore>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "d9071c37840a7baea2a978539d311d415cfcaaaefc3d1f2ef63e2446230a673e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d9071c37840a7baea2a978539d311d415cfcaaaefc3d1f2ef63e2446230a673e", kill_on_drop: false }` [INFO] [stdout] d9071c37840a7baea2a978539d311d415cfcaaaefc3d1f2ef63e2446230a673e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Copt-level=3" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+733b47ea4b1b86216f14ef56e49440c33933f230" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e4d1e5578256621d909316c5dd0f386d7721234da14a71e59692695f65679a9a [INFO] running `Command { std: "docker" "start" "-a" "e4d1e5578256621d909316c5dd0f386d7721234da14a71e59692695f65679a9a", kill_on_drop: false }` [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/trackers/tracker_api.rs:28:13 [INFO] [stderr] | [INFO] [stderr] 28 | let mut obj = self.get_auto_waste_obj_mut(); [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/track/store.rs:66:17 [INFO] [stderr] | [INFO] [stderr] 66 | MergeResult(Result<()>), [INFO] [stderr] | ----------- ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Results` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 66 - MergeResult(Result<()>), [INFO] [stderr] 66 + MergeResult(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `0` and `1` are never read [INFO] [stderr] --> src/utils/point.rs:1:20 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct Point2D(f32, f32); [INFO] [stderr] | ------- ^^^ ^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing these fields [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trackers/sort/simple_api.rs:229:9 [INFO] [stderr] | [INFO] [stderr] 229 | &mut self, [INFO] [stderr] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stderr] 230 | ) -> RwLockWriteGuard> [INFO] [stderr] | -------------------------------------------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 230 | ) -> RwLockWriteGuard<'_, TrackStore> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trackers/sort/simple_api.rs:236:9 [INFO] [stderr] | [INFO] [stderr] 236 | &mut self, [INFO] [stderr] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stderr] 237 | ) -> RwLockWriteGuard> [INFO] [stderr] | -------------------------------------------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 237 | ) -> RwLockWriteGuard<'_, TrackStore> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trackers/sort/simple_api.rs:243:9 [INFO] [stderr] | [INFO] [stderr] 243 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] 244 | ) -> RwLockReadGuard> { [INFO] [stderr] | ------------------------------------------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 244 | ) -> RwLockReadGuard<'_, TrackStore> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trackers/sort/simple_api.rs:249:9 [INFO] [stderr] | [INFO] [stderr] 249 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] 250 | ) -> RwLockReadGuard> { [INFO] [stderr] | ------------------------------------------------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 250 | ) -> RwLockReadGuard<'_, TrackStore> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trackers/sort/batch_api.rs:320:27 [INFO] [stderr] | [INFO] [stderr] 320 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard { [INFO] [stderr] | ^^^^^^^^^ ------------------------------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 320 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard<'_, MiddlewareSortTrackStore> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trackers/sort/batch_api.rs:324:29 [INFO] [stderr] | [INFO] [stderr] 324 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard { [INFO] [stderr] | ^^^^^^^^^ ------------------------------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 324 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard<'_, MiddlewareSortTrackStore> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trackers/sort/batch_api.rs:328:23 [INFO] [stderr] | [INFO] [stderr] 328 | fn get_main_store(&self) -> RwLockReadGuard { [INFO] [stderr] | ^^^^^ ----------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 328 | fn get_main_store(&self) -> RwLockReadGuard<'_, MiddlewareSortTrackStore> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trackers/sort/batch_api.rs:332:25 [INFO] [stderr] | [INFO] [stderr] 332 | fn get_wasted_store(&self) -> RwLockReadGuard { [INFO] [stderr] | ^^^^^ ----------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 332 | fn get_wasted_store(&self) -> RwLockReadGuard<'_, MiddlewareSortTrackStore> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trackers/visual_sort/simple_api.rs:272:9 [INFO] [stderr] | [INFO] [stderr] 272 | &mut self, [INFO] [stderr] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stderr] 273 | ) -> RwLockWriteGuard< [INFO] [stderr] | __________- [INFO] [stderr] 274 | | TrackStore, [INFO] [stderr] 275 | | > { [INFO] [stderr] | |_____- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 273 | ) -> RwLockWriteGuard<'_, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trackers/visual_sort/simple_api.rs:280:9 [INFO] [stderr] | [INFO] [stderr] 280 | &mut self, [INFO] [stderr] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stderr] 281 | ) -> RwLockWriteGuard< [INFO] [stderr] | __________- [INFO] [stderr] 282 | | TrackStore, [INFO] [stderr] 283 | | > { [INFO] [stderr] | |_____- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 281 | ) -> RwLockWriteGuard<'_, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trackers/visual_sort/simple_api.rs:288:9 [INFO] [stderr] | [INFO] [stderr] 288 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] 289 | ) -> RwLockReadGuard< [INFO] [stderr] | __________- [INFO] [stderr] 290 | | TrackStore, [INFO] [stderr] 291 | | > { [INFO] [stderr] | |_____- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 289 | ) -> RwLockReadGuard<'_, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trackers/visual_sort/simple_api.rs:296:9 [INFO] [stderr] | [INFO] [stderr] 296 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] 297 | ) -> RwLockReadGuard< [INFO] [stderr] | __________- [INFO] [stderr] 298 | | TrackStore, [INFO] [stderr] 299 | | > { [INFO] [stderr] | |_____- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 297 | ) -> RwLockReadGuard<'_, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trackers/visual_sort/batch_api.rs:359:27 [INFO] [stderr] | [INFO] [stderr] 359 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard { [INFO] [stderr] | ^^^^^^^^^ ------------------------------------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 359 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard<'_, MiddlewareVisualSortTrackStore> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trackers/visual_sort/batch_api.rs:363:29 [INFO] [stderr] | [INFO] [stderr] 363 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard { [INFO] [stderr] | ^^^^^^^^^ ------------------------------------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 363 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard<'_, MiddlewareVisualSortTrackStore> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trackers/visual_sort/batch_api.rs:367:23 [INFO] [stderr] | [INFO] [stderr] 367 | fn get_main_store(&self) -> RwLockReadGuard { [INFO] [stderr] | ^^^^^ ----------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 367 | fn get_main_store(&self) -> RwLockReadGuard<'_, MiddlewareVisualSortTrackStore> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trackers/visual_sort/batch_api.rs:371:25 [INFO] [stderr] | [INFO] [stderr] 371 | fn get_wasted_store(&self) -> RwLockReadGuard { [INFO] [stderr] | ^^^^^ ----------------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 371 | fn get_wasted_store(&self) -> RwLockReadGuard<'_, MiddlewareVisualSortTrackStore> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trackers/tracker_api.rs:19:27 [INFO] [stderr] | [INFO] [stderr] 19 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard>; [INFO] [stderr] | ^^^^^^^^^ ------------------------------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 19 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard<'_, TrackStore>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trackers/tracker_api.rs:20:29 [INFO] [stderr] | [INFO] [stderr] 20 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard>; [INFO] [stderr] | ^^^^^^^^^ ------------------------------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 20 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard<'_, TrackStore>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trackers/tracker_api.rs:22:23 [INFO] [stderr] | [INFO] [stderr] 22 | fn get_main_store(&self) -> RwLockReadGuard>; [INFO] [stderr] | ^^^^^ ----------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 22 | fn get_main_store(&self) -> RwLockReadGuard<'_, TrackStore>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/trackers/tracker_api.rs:23:25 [INFO] [stderr] | [INFO] [stderr] 23 | fn get_wasted_store(&self) -> RwLockReadGuard>; [INFO] [stderr] | ^^^^^ ----------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 23 | fn get_wasted_store(&self) -> RwLockReadGuard<'_, TrackStore>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: calls to `std::mem::drop` with a reference instead of an owned value does nothing [INFO] [stderr] --> src/trackers/batch.rs:116:9 [INFO] [stderr] | [INFO] [stderr] 116 | drop(batch); [INFO] [stderr] | ^^^^^-----^ [INFO] [stderr] | | [INFO] [stderr] | argument has type `&HashMap>` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dropping_references)]` on by default [INFO] [stderr] help: use `let _ = ...` to ignore the expression or result [INFO] [stderr] | [INFO] [stderr] 116 - drop(batch); [INFO] [stderr] 116 + let _ = batch; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `similari` (lib) generated 23 warnings (run `cargo fix --lib -p similari` to apply 1 suggestion) [INFO] [stderr] warning: `similari` (lib test) generated 24 warnings (23 duplicates) [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/similari-b2008b2031cdeaaf) [INFO] [stdout] [INFO] [stdout] running 81 tests [INFO] [stdout] test track::builder::tests::builder_noid ... ok [INFO] [stdout] test distance::tests::euclidean_distances ... ok [INFO] [stdout] test distance::tests::cosine_distances ... ok [INFO] [stdout] test track::builder::tests::builder_id ... ok [INFO] [stdout] test track::tests::attr_metric_update_recover ... ok [INFO] [stdout] test track::store::store_tests::tests::sharding_n_fetch ... ok [INFO] [stdout] test track::tests::get_classes ... ok [INFO] [stdout] test track::tests::init ... ok [INFO] [stdout] test track::tests::lookup ... ok [INFO] [stdout] test track::store::store_tests::tests::add_track_dup_id ... ok [INFO] [stdout] test track::store::store_tests::tests::merge_own_tracks ... ok [INFO] [stdout] test track::tests::attribute_compatible_match ... ok [INFO] [stdout] test track::tests::track_distances ... ok [INFO] [stdout] test track::store::store_tests::tests::all_similarity ... ok [INFO] [stdout] test track::store::store_tests::tests::merge_ext_tracks ... ok [INFO] [stdout] test track::store::store_tests::tests::add_track_ok ... ok [INFO] [stdout] test track::voting::topn::tests::two_query_vecs ... ok [INFO] [stdout] test track::tests::merge_other_feature_class ... ok [INFO] [stdout] test track::tests::merge_same ... ok [INFO] [stdout] test track::utils::tests::conv_tests ... ok [INFO] [stdout] test track::voting::topn::tests::default_voting ... ok [INFO] [stdout] test track::tests::unit_track ... ok [INFO] [stdout] test trackers::sort::metric::tests::confidence_preserved_during_optimization ... ok [INFO] [stdout] test trackers::sort::metric::tests::confidence_used_in_distance_calculation ... ok [INFO] [stdout] test trackers::batch::tests::test ... ok [INFO] [stdout] test trackers::epoch_db::tests::test_epoch_db ... ok [INFO] [stdout] test trackers::sort::track_tests::construct ... ok [INFO] [stdout] test trackers::sort::voting::voting_tests::test_voting ... ok [INFO] [stdout] test trackers::spatio_temporal_constraints::tests::test ... ok [INFO] [stdout] test trackers::sort::simple_api::tests::idle_tracks ... ok [INFO] [stdout] test trackers::sort::simple_api::tests::clear_wasted_tracks ... ok [INFO] [stdout] test trackers::sort::simple_api::tests::sort_with_scenes ... ok [INFO] [stdout] test trackers::sort::batch_api::tests::new_drop ... ok [INFO] [stdout] test trackers::sort::simple_api::tests::sort ... ok [INFO] [stdout] test trackers::visual_sort::batch_api::tests::test ... ok [INFO] [stdout] test trackers::visual_sort::metric::optimize::optimization_regular ... ok [INFO] [stdout] test trackers::visual_sort::metric::optimize::optimize_low_quality ... ok [INFO] [stdout] test trackers::visual_sort::metric::optimize::optimize_overlap ... ok [INFO] [stdout] test trackers::visual_sort::metric::optimize::optimize_small_box ... ok [INFO] [stdout] test trackers::visual_sort::observation_attributes::tests::operations ... ok [INFO] [stdout] test trackers::visual_sort::options::tests::visual_sort_options_builder ... ok [INFO] [stdout] test trackers::visual_sort::simple_api::tests::visual_sort ... ok [INFO] [stdout] test trackers::visual_sort::track_attributes::tests::attribute_operations ... ok [INFO] [stdout] test trackers::visual_sort::voting::voting_tests::test_positional_match ... ok [INFO] [stdout] test trackers::visual_sort::metric::metric_tests::metric_iou ... ok [INFO] [stdout] test trackers::visual_sort::voting::voting_tests::test_visual_competitive_match_2 ... ok [INFO] [stdout] test trackers::visual_sort::voting::voting_tests::test_visual_competitive_match ... ok [INFO] [stdout] test trackers::visual_sort::voting::voting_tests::test_visual_positional_competitive_match_2 ... ok [INFO] [stdout] test trackers::visual_sort::voting::voting_tests::test_visual_positional_competitive_match_no_pos_metric ... ok [INFO] [stdout] test utils::bbox::polygons::corner_case_f32 ... ok [INFO] [stdout] test track::store::store_tests::tests::new_default_store ... ok [INFO] [stdout] test utils::bbox::tests::dist_is_1 ... ok [INFO] [stdout] test utils::bbox::tests::dist_less_1 ... ok [INFO] [stdout] test utils::bbox::tests::dist_same ... ok [INFO] [stdout] test utils::bbox::polygons::transform ... ok [INFO] [stdout] test utils::bbox::tests::test_not_too_far ... ok [INFO] [stdout] test utils::bbox::tests::test_radius ... ok [INFO] [stdout] test utils::bbox::tests::test_same ... ok [INFO] [stdout] test utils::bbox::tests::test_too_far ... ok [INFO] [stdout] test trackers::visual_sort::metric::metric_tests::pos_metric_far ... ok [INFO] [stdout] test trackers::visual_sort::metric::metric_tests::metric_maha ... ok [INFO] [stdout] test utils::clipping::tests::clip ... ok [INFO] [stdout] test trackers::visual_sort::metric::metric_tests::visual_quality_low ... ok [INFO] [stdout] test track::tests::merge_history ... ok [INFO] [stdout] test trackers::visual_sort::metric::metric_tests::visual_own_area_percentage_low ... ok [INFO] [stdout] test utils::kalman::kalman_2d_box::tests::constructor ... ok [INFO] [stdout] test trackers::visual_sort::voting::voting_tests::test_visual_match ... ok [INFO] [stdout] test utils::kalman::kalman_2d_box::tests::gating_distance ... ok [INFO] [stdout] test utils::kalman::kalman_2d_box::tests::step ... ok [INFO] [stdout] test utils::bbox::tests_normalize_angle::normalize ... ok [INFO] [stdout] test utils::kalman::kalman_2d_point::tests::test ... ok [INFO] [stdout] test utils::bbox::tests::test_iou ... ok [INFO] [stdout] test utils::clipping::bbox_own_areas::tests::test ... ok [INFO] [stdout] test track::store::store_tests::tests::general_ops ... ok [INFO] [stdout] test trackers::visual_sort::metric::metric_tests::visual_track_too_short ... ok [INFO] [stdout] test track::store::store_tests::tests::new_store_10_shards ... ok [INFO] [stdout] test trackers::visual_sort::metric::metric_tests::visual_track_long_enough ... ok [INFO] [stdout] test track::store::store_tests::tests::lookup ... ok [INFO] [stdout] test trackers::visual_sort::metric::metric_tests::visual_track_small_bbox ... ok [INFO] [stdout] test track::store::track_distance::tests::result_iterators ... ok [INFO] [stdout] test track::store::store_tests::tests::baked_similarity ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- track::store::store_tests::tests::baked_similarity stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'track::store::store_tests::tests::baked_similarity' panicked at src/track/store/store_tests.rs:341:9: [INFO] [stdout] assertion failed: dists.is_empty() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5f5fef8dcef2 - std::backtrace_rs::backtrace::libunwind::trace::h73a647620bf1c49d [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x5f5fef8dcef2 - std::backtrace_rs::backtrace::trace_unsynchronized::hd4d513ed96cb3cb1 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x5f5fef8dcef2 - std::sys::backtrace::_print_fmt::h61bb95f7476aafa5 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x5f5fef8dcef2 - ::fmt::ha2e7e3a01df69042 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x5f5fef903c43 - core::fmt::rt::Argument::fmt::hf14163372f0f9a76 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x5f5fef903c43 - core::fmt::write::h7cb8f63788cd01d2 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/fmt/mod.rs:1465:25 [INFO] [stdout] 6: 0x5f5fef8d9ca3 - std::io::default_write_fmt::h9ed739ccee8a150c [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x5f5fef8d9ca3 - std::io::Write::write_fmt::h1c0a32da913b32f1 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x5f5fef8dcd42 - std::sys::backtrace::BacktraceLock::print::h3ec4d7883eb25e61 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x5f5fef8de46c - std::panicking::default_hook::{{closure}}::h29548987efd832cb [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x5f5fef8de2c2 - std::panicking::default_hook::ha25170a15c643514 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x5f5fef87c114 - as core::ops::function::Fn>::call::h562adeecbf43c420 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x5f5fef87c114 - test::test_main_with_exit_callback::{{closure}}::h97dd2a879d27e0e4 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x5f5fef8def4b - as core::ops::function::Fn>::call::h7e85cbdbda26fdb7 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x5f5fef8def4b - std::panicking::rust_panic_with_hook::h0d81afcd829aa24b [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x5f5fef8debe6 - std::panicking::begin_panic_handler::{{closure}}::hc84a33f1202346cf [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:699:13 [INFO] [stdout] 16: 0x5f5fef8dd3e9 - std::sys::backtrace::__rust_end_short_backtrace::h373067a14f6c59aa [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x5f5fef8de8ad - __rustc[beb0385846a06d21]::rust_begin_unwind [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x5f5fef9015c0 - core::panicking::panic_fmt::ha33fa2ae772efba9 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x5f5fef90162c - core::panicking::panic::hd2a569f4f37f7e10 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panicking.rs:145:5 [INFO] [stdout] 20: 0x5f5fef81fb89 - similari::track::store::store_tests::tests::baked_similarity::h6d8320e9a450a9a3 [INFO] [stdout] 21: 0x5f5fef781f99 - similari::track::store::store_tests::tests::baked_similarity::{{closure}}::h505c87779fc0cfde [INFO] [stdout] at /opt/rustwide/workdir/src/track/store/store_tests.rs:298:30 [INFO] [stdout] 22: 0x5f5fef781f99 - core::ops::function::FnOnce::call_once::h85c9da66112809b0 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x5f5fef88184b - core::ops::function::FnOnce::call_once::hf84b9c3d864a6959 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x5f5fef88184b - test::__rust_begin_short_backtrace::h5724e31441c16fcb [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:648:18 [INFO] [stdout] 25: 0x5f5fef880a8e - test::run_test_in_process::{{closure}}::hbc28c9aa91793d7d [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:671:74 [INFO] [stdout] 26: 0x5f5fef880a8e - as core::ops::function::FnOnce<()>>::call_once::hc17b0e238c0f8f3e [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x5f5fef880a8e - std::panicking::catch_unwind::do_call::hcdbce0d6dd6c83ce [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:589:40 [INFO] [stdout] 28: 0x5f5fef880a8e - std::panicking::catch_unwind::h9477967ceea044e8 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:552:19 [INFO] [stdout] 29: 0x5f5fef880a8e - std::panic::catch_unwind::h616a2e249da12e16 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x5f5fef880a8e - test::run_test_in_process::h2758deb0f2e54430 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:671:27 [INFO] [stdout] 31: 0x5f5fef880a8e - test::run_test::{{closure}}::habe5cd2564b18aaa [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:592:43 [INFO] [stdout] 32: 0x5f5fef844634 - test::run_test::{{closure}}::h9a0a6928f1a15421 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/test/src/lib.rs:622:41 [INFO] [stdout] 33: 0x5f5fef844634 - std::sys::backtrace::__rust_begin_short_backtrace::hd68b5332434a22ca [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 34: 0x5f5fef847fda - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h264ddcc3098eacae [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 35: 0x5f5fef847fda - as core::ops::function::FnOnce<()>>::call_once::h9fa39489749d6f3c [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x5f5fef847fda - std::panicking::catch_unwind::do_call::hb9a1944b9f85100f [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:589:40 [INFO] [stdout] 37: 0x5f5fef847fda - std::panicking::catch_unwind::h0c6f100786c0dad8 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panicking.rs:552:19 [INFO] [stdout] 38: 0x5f5fef847fda - std::panic::catch_unwind::hf6084e2723385823 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/panic.rs:359:14 [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] [stdout] 39: 0x5f5fef847fda - std::thread::Builder::spawn_unchecked_::{{closure}}::hf0af58ce658143ad [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 40: 0x5f5fef847fda - core::ops::function::FnOnce::call_once{{vtable.shim}}::h88a14f9b2e79f9de [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x5f5fef8e1fa7 - as core::ops::function::FnOnce>::call_once::hf31256ba38644b65 [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 42: 0x5f5fef8e1fa7 - as core::ops::function::FnOnce>::call_once::h100ad77f3448041b [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 43: 0x5f5fef8e1fa7 - std::sys::pal::unix::thread::Thread::new::thread_start::h1a22ded422ce395b [INFO] [stdout] at /rustc/733b47ea4b1b86216f14ef56e49440c33933f230/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 44: 0x7ef063fadaa4 - [INFO] [stdout] 45: 0x7ef06403aa34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] track::store::store_tests::tests::baked_similarity [INFO] [stdout] [INFO] [stdout] test result: FAILED. 80 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e4d1e5578256621d909316c5dd0f386d7721234da14a71e59692695f65679a9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4d1e5578256621d909316c5dd0f386d7721234da14a71e59692695f65679a9a", kill_on_drop: false }` [INFO] [stdout] e4d1e5578256621d909316c5dd0f386d7721234da14a71e59692695f65679a9a