[INFO] fetching crate similari 0.26.2... [INFO] testing similari-0.26.2 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate similari 0.26.2 into /workspace/builds/worker-1-tc2/source [INFO] removed /workspace/builds/worker-1-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-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate similari 0.26.2 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b678c23937122cbb5f8906b28be94a614261b210c5d067d769b6c5d14aee03f [INFO] running `Command { std: "docker" "start" "-a" "4b678c23937122cbb5f8906b28be94a614261b210c5d067d769b6c5d14aee03f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b678c23937122cbb5f8906b28be94a614261b210c5d067d769b6c5d14aee03f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b678c23937122cbb5f8906b28be94a614261b210c5d067d769b6c5d14aee03f", kill_on_drop: false }` [INFO] [stdout] 4b678c23937122cbb5f8906b28be94a614261b210c5d067d769b6c5d14aee03f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38868f0319b4b222f1f78627a08dc733cdd9e3b897bcc03c695e1fd4855256ff [INFO] running `Command { std: "docker" "start" "-a" "38868f0319b4b222f1f78627a08dc733cdd9e3b897bcc03c695e1fd4855256ff", kill_on_drop: false }` [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 num-traits v0.2.15 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling target-lexicon v0.12.4 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling once_cell v1.17.1 [INFO] [stderr] Compiling semver v1.0.12 [INFO] [stderr] Compiling crossbeam-utils v0.8.10 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling smallvec v1.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.9 [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 memchr v2.5.0 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling safe_arch v0.6.0 [INFO] [stderr] Compiling rustix v0.36.9 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling parking_lot_core v0.9.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling hash32 v0.2.1 [INFO] [stderr] Compiling indexmap v1.9.2 [INFO] [stderr] Compiling memoffset v0.8.0 [INFO] [stderr] Compiling thiserror v1.0.39 [INFO] [stderr] Compiling crossbeam-queue v0.3.5 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Compiling linux-raw-sys v0.1.4 [INFO] [stderr] Compiling spin v0.9.4 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling heapless v0.7.15 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling paste v1.0.7 [INFO] [stderr] Compiling geographiclib-rs v0.2.1 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling pyo3-build-config v0.18.1 [INFO] [stderr] Compiling wide v0.7.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.5 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling num-complex v0.4.2 [INFO] [stderr] Compiling rstar v0.9.3 [INFO] [stderr] Compiling num_cpus v1.15.0 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling geo-types v0.7.8 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling integer-sqrt v0.1.5 [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 float_next_after v0.1.5 [INFO] [stderr] Compiling indoc v1.0.7 [INFO] [stderr] Compiling simba v0.8.0 [INFO] [stderr] Compiling robust v0.2.3 [INFO] [stderr] Compiling termcolor v1.2.0 [INFO] [stderr] Compiling is-terminal v0.4.4 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling unindent v0.1.10 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling pyo3-macros-backend v0.18.1 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling env_logger v0.10.0 [INFO] [stderr] Compiling geo v0.23.0 [INFO] [stderr] Compiling ultraviolet v0.9.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rayon v1.7.0 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling thiserror-impl v1.0.39 [INFO] [stderr] Compiling nalgebra-macros v0.2.0 [INFO] [stderr] Compiling pathfinding v4.2.1 [INFO] [stderr] Compiling pyo3-macros v0.18.1 [INFO] [stderr] Compiling nalgebra v0.32.2 [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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trackers/sort/simple_api.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 230 | ) -> RwLockWriteGuard> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 230 | ) -> RwLockWriteGuard<'_, TrackStore> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trackers/sort/simple_api.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 237 | ) -> RwLockWriteGuard> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 237 | ) -> RwLockWriteGuard<'_, TrackStore> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trackers/sort/simple_api.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 244 | ) -> RwLockReadGuard> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 244 | ) -> RwLockReadGuard<'_, TrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trackers/sort/simple_api.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 250 | ) -> RwLockReadGuard> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 250 | ) -> RwLockReadGuard<'_, TrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 320 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard<'_, MiddlewareSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 324 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard<'_, MiddlewareSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 328 | fn get_main_store(&self) -> RwLockReadGuard<'_, MiddlewareSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 332 | fn get_wasted_store(&self) -> RwLockReadGuard<'_, MiddlewareSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trackers/visual_sort/simple_api.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 273 | ) -> RwLockWriteGuard< [INFO] [stdout] | __________^ [INFO] [stdout] 274 | | TrackStore, [INFO] [stdout] 275 | | > { [INFO] [stdout] | |_____^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 273 | ) -> RwLockWriteGuard<'_, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trackers/visual_sort/simple_api.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 281 | ) -> RwLockWriteGuard< [INFO] [stdout] | __________^ [INFO] [stdout] 282 | | TrackStore, [INFO] [stdout] 283 | | > { [INFO] [stdout] | |_____^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 281 | ) -> RwLockWriteGuard<'_, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trackers/visual_sort/simple_api.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 289 | ) -> RwLockReadGuard< [INFO] [stdout] | __________^ [INFO] [stdout] 290 | | TrackStore, [INFO] [stdout] 291 | | > { [INFO] [stdout] | |_____^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 289 | ) -> RwLockReadGuard<'_, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trackers/visual_sort/simple_api.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 297 | ) -> RwLockReadGuard< [INFO] [stdout] | __________^ [INFO] [stdout] 298 | | TrackStore, [INFO] [stdout] 299 | | > { [INFO] [stdout] | |_____^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 297 | ) -> RwLockReadGuard<'_, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 359 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard<'_, MiddlewareVisualSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 363 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard<'_, MiddlewareVisualSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 367 | fn get_main_store(&self) -> RwLockReadGuard<'_, MiddlewareVisualSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 371 | fn get_wasted_store(&self) -> RwLockReadGuard<'_, MiddlewareVisualSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard<'_, TrackStore>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard<'_, TrackStore>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trackers/tracker_api.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | fn get_main_store(&self) -> RwLockReadGuard>; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 22 | fn get_main_store(&self) -> RwLockReadGuard<'_, TrackStore>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trackers/tracker_api.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_wasted_store(&self) -> RwLockReadGuard>; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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 1m 59s [INFO] running `Command { std: "docker" "inspect" "38868f0319b4b222f1f78627a08dc733cdd9e3b897bcc03c695e1fd4855256ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38868f0319b4b222f1f78627a08dc733cdd9e3b897bcc03c695e1fd4855256ff", kill_on_drop: false }` [INFO] [stdout] 38868f0319b4b222f1f78627a08dc733cdd9e3b897bcc03c695e1fd4855256ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e2937bc07df0e5aca4291803c9898a2102345f0eda7d1c2a0e125fc7eb5eb5fd [INFO] running `Command { std: "docker" "start" "-a" "e2937bc07df0e5aca4291803c9898a2102345f0eda7d1c2a0e125fc7eb5eb5fd", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trackers/sort/simple_api.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 230 | ) -> RwLockWriteGuard> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 230 | ) -> RwLockWriteGuard<'_, TrackStore> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trackers/sort/simple_api.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 237 | ) -> RwLockWriteGuard> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 237 | ) -> RwLockWriteGuard<'_, TrackStore> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trackers/sort/simple_api.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 244 | ) -> RwLockReadGuard> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 244 | ) -> RwLockReadGuard<'_, TrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trackers/sort/simple_api.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 250 | ) -> RwLockReadGuard> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 250 | ) -> RwLockReadGuard<'_, TrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 320 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard<'_, MiddlewareSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 324 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard<'_, MiddlewareSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 328 | fn get_main_store(&self) -> RwLockReadGuard<'_, MiddlewareSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 332 | fn get_wasted_store(&self) -> RwLockReadGuard<'_, MiddlewareSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trackers/visual_sort/simple_api.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 273 | ) -> RwLockWriteGuard< [INFO] [stdout] | __________^ [INFO] [stdout] 274 | | TrackStore, [INFO] [stdout] 275 | | > { [INFO] [stdout] | |_____^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 273 | ) -> RwLockWriteGuard<'_, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trackers/visual_sort/simple_api.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 281 | ) -> RwLockWriteGuard< [INFO] [stdout] | __________^ [INFO] [stdout] 282 | | TrackStore, [INFO] [stdout] 283 | | > { [INFO] [stdout] | |_____^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 281 | ) -> RwLockWriteGuard<'_, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trackers/visual_sort/simple_api.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 289 | ) -> RwLockReadGuard< [INFO] [stdout] | __________^ [INFO] [stdout] 290 | | TrackStore, [INFO] [stdout] 291 | | > { [INFO] [stdout] | |_____^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 289 | ) -> RwLockReadGuard<'_, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trackers/visual_sort/simple_api.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 297 | ) -> RwLockReadGuard< [INFO] [stdout] | __________^ [INFO] [stdout] 298 | | TrackStore, [INFO] [stdout] 299 | | > { [INFO] [stdout] | |_____^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 297 | ) -> RwLockReadGuard<'_, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 359 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard<'_, MiddlewareVisualSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 363 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard<'_, MiddlewareVisualSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 367 | fn get_main_store(&self) -> RwLockReadGuard<'_, MiddlewareVisualSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 371 | fn get_wasted_store(&self) -> RwLockReadGuard<'_, MiddlewareVisualSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard<'_, TrackStore>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard<'_, TrackStore>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trackers/tracker_api.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | fn get_main_store(&self) -> RwLockReadGuard>; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trackers/tracker_api.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_wasted_store(&self) -> RwLockReadGuard>; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trackers/sort/simple_api.rs:229:9 [INFO] [stdout] | [INFO] [stdout] 229 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 230 | ) -> RwLockWriteGuard> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 230 | ) -> RwLockWriteGuard<'_, TrackStore> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trackers/sort/simple_api.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 237 | ) -> RwLockWriteGuard> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 237 | ) -> RwLockWriteGuard<'_, TrackStore> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trackers/sort/simple_api.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 244 | ) -> RwLockReadGuard> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 244 | ) -> RwLockReadGuard<'_, TrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trackers/sort/simple_api.rs:249:9 [INFO] [stdout] | [INFO] [stdout] 249 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 250 | ) -> RwLockReadGuard> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 250 | ) -> RwLockReadGuard<'_, TrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 320 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard<'_, MiddlewareSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 324 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard<'_, MiddlewareSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 328 | fn get_main_store(&self) -> RwLockReadGuard<'_, MiddlewareSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 332 | fn get_wasted_store(&self) -> RwLockReadGuard<'_, MiddlewareSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trackers/visual_sort/simple_api.rs:272:9 [INFO] [stdout] | [INFO] [stdout] 272 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 273 | ) -> RwLockWriteGuard< [INFO] [stdout] | __________^ [INFO] [stdout] 274 | | TrackStore, [INFO] [stdout] 275 | | > { [INFO] [stdout] | |_____^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 273 | ) -> RwLockWriteGuard<'_, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trackers/visual_sort/simple_api.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] 281 | ) -> RwLockWriteGuard< [INFO] [stdout] | __________^ [INFO] [stdout] 282 | | TrackStore, [INFO] [stdout] 283 | | > { [INFO] [stdout] | |_____^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 281 | ) -> RwLockWriteGuard<'_, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trackers/visual_sort/simple_api.rs:288:9 [INFO] [stdout] | [INFO] [stdout] 288 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 289 | ) -> RwLockReadGuard< [INFO] [stdout] | __________^ [INFO] [stdout] 290 | | TrackStore, [INFO] [stdout] 291 | | > { [INFO] [stdout] | |_____^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 289 | ) -> RwLockReadGuard<'_, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trackers/visual_sort/simple_api.rs:296:9 [INFO] [stdout] | [INFO] [stdout] 296 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 297 | ) -> RwLockReadGuard< [INFO] [stdout] | __________^ [INFO] [stdout] 298 | | TrackStore, [INFO] [stdout] 299 | | > { [INFO] [stdout] | |_____^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 297 | ) -> RwLockReadGuard<'_, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 359 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard<'_, MiddlewareVisualSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 363 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard<'_, MiddlewareVisualSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 367 | fn get_main_store(&self) -> RwLockReadGuard<'_, MiddlewareVisualSortTrackStore> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 19 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard<'_, TrackStore>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 20 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard<'_, TrackStore>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trackers/tracker_api.rs:22:23 [INFO] [stdout] | [INFO] [stdout] 22 | fn get_main_store(&self) -> RwLockReadGuard>; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 22 | fn get_main_store(&self) -> RwLockReadGuard<'_, TrackStore>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/trackers/tracker_api.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | fn get_wasted_store(&self) -> RwLockReadGuard>; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type 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 15s [INFO] running `Command { std: "docker" "inspect" "e2937bc07df0e5aca4291803c9898a2102345f0eda7d1c2a0e125fc7eb5eb5fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2937bc07df0e5aca4291803c9898a2102345f0eda7d1c2a0e125fc7eb5eb5fd", kill_on_drop: false }` [INFO] [stdout] e2937bc07df0e5aca4291803c9898a2102345f0eda7d1c2a0e125fc7eb5eb5fd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "-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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e5ecf75300d9de7ffa6b2b596a17d254ebc7c4afedab4985706d5b9f3dc33774 [INFO] running `Command { std: "docker" "start" "-a" "e5ecf75300d9de7ffa6b2b596a17d254ebc7c4afedab4985706d5b9f3dc33774", 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/trackers/sort/simple_api.rs:229:9 [INFO] [stderr] | [INFO] [stderr] 229 | &mut self, [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here [INFO] [stderr] 230 | ) -> RwLockWriteGuard> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 230 | ) -> RwLockWriteGuard<'_, TrackStore> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/trackers/sort/simple_api.rs:236:9 [INFO] [stderr] | [INFO] [stderr] 236 | &mut self, [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here [INFO] [stderr] 237 | ) -> RwLockWriteGuard> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 237 | ) -> RwLockWriteGuard<'_, TrackStore> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/trackers/sort/simple_api.rs:243:9 [INFO] [stderr] | [INFO] [stderr] 243 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 244 | ) -> RwLockReadGuard> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 244 | ) -> RwLockReadGuard<'_, TrackStore> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/trackers/sort/simple_api.rs:249:9 [INFO] [stderr] | [INFO] [stderr] 249 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 250 | ) -> RwLockReadGuard> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 250 | ) -> RwLockReadGuard<'_, TrackStore> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 320 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard<'_, MiddlewareSortTrackStore> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 324 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard<'_, MiddlewareSortTrackStore> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 328 | fn get_main_store(&self) -> RwLockReadGuard<'_, MiddlewareSortTrackStore> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 332 | fn get_wasted_store(&self) -> RwLockReadGuard<'_, MiddlewareSortTrackStore> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/trackers/visual_sort/simple_api.rs:272:9 [INFO] [stderr] | [INFO] [stderr] 272 | &mut self, [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here [INFO] [stderr] 273 | ) -> RwLockWriteGuard< [INFO] [stderr] | __________^ [INFO] [stderr] 274 | | TrackStore, [INFO] [stderr] 275 | | > { [INFO] [stderr] | |_____^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 273 | ) -> RwLockWriteGuard<'_, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/trackers/visual_sort/simple_api.rs:280:9 [INFO] [stderr] | [INFO] [stderr] 280 | &mut self, [INFO] [stderr] | ^^^^^^^^^ the lifetime is elided here [INFO] [stderr] 281 | ) -> RwLockWriteGuard< [INFO] [stderr] | __________^ [INFO] [stderr] 282 | | TrackStore, [INFO] [stderr] 283 | | > { [INFO] [stderr] | |_____^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 281 | ) -> RwLockWriteGuard<'_, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/trackers/visual_sort/simple_api.rs:288:9 [INFO] [stderr] | [INFO] [stderr] 288 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 289 | ) -> RwLockReadGuard< [INFO] [stderr] | __________^ [INFO] [stderr] 290 | | TrackStore, [INFO] [stderr] 291 | | > { [INFO] [stderr] | |_____^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 289 | ) -> RwLockReadGuard<'_, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/trackers/visual_sort/simple_api.rs:296:9 [INFO] [stderr] | [INFO] [stderr] 296 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 297 | ) -> RwLockReadGuard< [INFO] [stderr] | __________^ [INFO] [stderr] 298 | | TrackStore, [INFO] [stderr] 299 | | > { [INFO] [stderr] | |_____^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 297 | ) -> RwLockReadGuard<'_, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 359 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard<'_, MiddlewareVisualSortTrackStore> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 363 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard<'_, MiddlewareVisualSortTrackStore> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 367 | fn get_main_store(&self) -> RwLockReadGuard<'_, MiddlewareVisualSortTrackStore> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 371 | fn get_wasted_store(&self) -> RwLockReadGuard<'_, MiddlewareVisualSortTrackStore> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 19 | fn get_main_store_mut(&mut self) -> RwLockWriteGuard<'_, TrackStore>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is 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 same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 20 | fn get_wasted_store_mut(&mut self) -> RwLockWriteGuard<'_, TrackStore>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/trackers/tracker_api.rs:22:23 [INFO] [stderr] | [INFO] [stderr] 22 | fn get_main_store(&self) -> RwLockReadGuard>; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 22 | fn get_main_store(&self) -> RwLockReadGuard<'_, TrackStore>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/trackers/tracker_api.rs:23:25 [INFO] [stderr] | [INFO] [stderr] 23 | fn get_wasted_store(&self) -> RwLockReadGuard>; [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type 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 21 suggestions) [INFO] [stderr] warning: `similari` (lib test) generated 24 warnings (23 duplicates) [INFO] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 0.27s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/similari-ea647fb0b8112c78) [INFO] [stdout] [INFO] [stdout] running 81 tests [INFO] [stdout] test distance::tests::cosine_distances ... ok [INFO] [stdout] test track::builder::tests::builder_noid ... ok [INFO] [stdout] test track::builder::tests::builder_id ... ok [INFO] [stdout] test distance::tests::euclidean_distances ... ok [INFO] [stdout] test track::tests::attr_metric_update_recover ... ok [INFO] [stdout] test track::tests::attribute_compatible_match ... ok [INFO] [stdout] test track::tests::get_classes ... ok [INFO] [stdout] test track::store::store_tests::tests::merge_own_tracks ... ok [INFO] [stdout] test track::tests::init ... ok [INFO] [stdout] test track::store::store_tests::tests::add_track_ok ... ok [INFO] [stdout] test track::store::store_tests::tests::add_track_dup_id ... ok [INFO] [stdout] test track::tests::lookup ... ok [INFO] [stdout] test track::tests::merge_history ... ok [INFO] [stdout] test track::store::store_tests::tests::merge_ext_tracks ... ok [INFO] [stdout] test track::tests::merge_other_feature_class ... ok [INFO] [stdout] test track::utils::tests::conv_tests ... ok [INFO] [stdout] test track::voting::topn::tests::default_voting ... ok [INFO] [stdout] test track::voting::topn::tests::two_query_vecs ... ok [INFO] [stdout] test trackers::epoch_db::tests::test_epoch_db ... ok [INFO] [stdout] test trackers::batch::tests::test ... ok [INFO] [stdout] test track::tests::track_distances ... ok [INFO] [stdout] test track::store::store_tests::tests::sharding_n_fetch ... ok [INFO] [stdout] test trackers::sort::metric::tests::confidence_preserved_during_optimization ... ok [INFO] [stdout] test track::tests::merge_same ... ok [INFO] [stdout] test track::tests::unit_track ... ok [INFO] [stdout] test track::store::store_tests::tests::all_similarity ... 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::sort_with_scenes ... ok [INFO] [stdout] test trackers::sort::metric::tests::confidence_used_in_distance_calculation ... ok [INFO] [stdout] test trackers::sort::simple_api::tests::sort ... ok [INFO] [stdout] test trackers::sort::simple_api::tests::clear_wasted_tracks ... ok [INFO] [stdout] test trackers::sort::batch_api::tests::new_drop ... 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 track::store::store_tests::tests::new_store_10_shards ... ok [INFO] [stdout] test trackers::visual_sort::voting::voting_tests::test_positional_match ... 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_competitive_match_2 ... ok [INFO] [stdout] test track::store::store_tests::tests::general_ops ... ok [INFO] [stdout] test trackers::visual_sort::voting::voting_tests::test_visual_positional_competitive_match_no_pos_metric ... 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_match ... ok [INFO] [stdout] test trackers::sort::simple_api::tests::idle_tracks ... 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_same ... ok [INFO] [stdout] test utils::bbox::tests::test_iou ... ok [INFO] [stdout] test utils::bbox::polygons::transform ... 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::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_normalize_angle::normalize ... ok [INFO] [stdout] test utils::kalman::kalman_2d_box::tests::constructor ... ok [INFO] [stdout] test utils::bbox::tests::test_too_far ... ok [INFO] [stdout] test utils::kalman::kalman_2d_box::tests::gating_distance ... ok [INFO] [stdout] test utils::kalman::kalman_2d_point::tests::test ... ok [INFO] [stdout] test utils::kalman::kalman_2d_box::tests::step ... ok [INFO] [stdout] test utils::clipping::tests::clip ... ok [INFO] [stdout] test trackers::visual_sort::metric::metric_tests::visual_track_long_enough ... 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 track::store::store_tests::tests::lookup ... ok [INFO] [stdout] test trackers::visual_sort::metric::metric_tests::visual_track_small_bbox ... ok [INFO] [stdout] test trackers::visual_sort::metric::metric_tests::metric_iou ... ok [INFO] [stdout] test utils::clipping::bbox_own_areas::tests::test ... ok [INFO] [stdout] test trackers::visual_sort::metric::metric_tests::visual_own_area_percentage_low ... ok [INFO] [stdout] test trackers::visual_sort::metric::metric_tests::visual_quality_low ... ok [INFO] [stdout] test trackers::visual_sort::metric::metric_tests::visual_track_too_short ... 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' (31) panicked at src/track/store/store_tests.rs:341:9: [INFO] [stdout] assertion failed: dists.is_empty() [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x600ac37ecc12 - std::backtrace_rs::backtrace::libunwind::trace::h22a6a535a50603c6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x600ac37ecc12 - std::backtrace_rs::backtrace::trace_unsynchronized::h2503a4f30dbfbaa2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x600ac37ecc12 - std::sys::backtrace::_print_fmt::hec54e31f36456895 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x600ac37ecc12 - ::fmt::hb1988e8b50fa5f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x600ac37fe7ef - core::fmt::rt::Argument::fmt::h3118a66e1a57a586 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x600ac37fe7ef - core::fmt::write::hcd056e06a609f600 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x600ac37b8ed1 - std::io::default_write_fmt::hdabc5d6505cb374b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x600ac37b8ed1 - std::io::Write::write_fmt::h18c82179fdc1f9d2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x600ac37c5442 - std::sys::backtrace::BacktraceLock::print::h69f50ba7cfff8317 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x600ac37ca56f - std::panicking::default_hook::{{closure}}::hfa978eb2255ab3ab [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x600ac37ca401 - std::panicking::default_hook::h09da2eaf8f1deadd [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x600ac3760e0e - as core::ops::function::Fn>::call::h1697e4d80f236ef6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 12: 0x600ac3760e0e - test::test_main_with_exit_callback::{{closure}}::h8f63929ca9fd483b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x600ac37cacdf - as core::ops::function::Fn>::call::hba67e0dc3e3fc548 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1987:9 [INFO] [stdout] 14: 0x600ac37cacdf - std::panicking::panic_with_hook::h13c40d280d130fd3 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x600ac37caa56 - std::panicking::panic_handler::{{closure}}::hd79d22e8a1d3b951 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:700:13 [INFO] [stdout] 16: 0x600ac37c5589 - std::sys::backtrace::__rust_end_short_backtrace::h83414d1ec69cf3a6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x600ac37ad5fd - __rustc[b78aa6c7b08e5dc4]::rust_begin_unwind [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x600ac3806bb0 - core::panicking::panic_fmt::h326b75cf8ee01b13 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:78:14 [INFO] [stdout] 19: 0x600ac3806b8c - core::panicking::panic::h9eb31005fec5715e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panicking.rs:148:5 [INFO] [stdout] 20: 0x600ac3684a09 - similari::track::store::store_tests::tests::baked_similarity::he0760dedd16dffe5 [INFO] [stdout] 21: 0x600ac365027f - similari::track::store::store_tests::tests::baked_similarity::{{closure}}::h16aa5c0e6178d560 [INFO] [stdout] at /opt/rustwide/workdir/src/track/store/store_tests.rs:298:30 [INFO] [stdout] 22: 0x600ac365027f - core::ops::function::FnOnce::call_once::h60e085e7743f6627 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x600ac3760beb - core::ops::function::FnOnce::call_once::he420dad47d9aac14 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x600ac3760beb - test::__rust_begin_short_backtrace::h51976f55c263f7c2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:663:18 [INFO] [stdout] 25: 0x600ac3776815 - test::run_test_in_process::{{closure}}::h6aa4339396d33320 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:74 [INFO] [stdout] 26: 0x600ac3776815 - as core::ops::function::FnOnce<()>>::call_once::h5bd0ba3863a53529 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 27: 0x600ac3776815 - std::panicking::catch_unwind::do_call::h5c710722c40c5839 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 28: 0x600ac3776815 - std::panicking::catch_unwind::hf41b5be070ce0f19 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 29: 0x600ac3776815 - std::panic::catch_unwind::h4559aa103e6f16d6 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 30: 0x600ac3776815 - test::run_test_in_process::he6fd763a772ff213 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:686:27 [INFO] [stdout] 31: 0x600ac3776815 - test::run_test::{{closure}}::he46f5435849feb5b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:607:43 [INFO] [stdout] 32: 0x600ac374d024 - test::run_test::{{closure}}::h12a66289c31b502a [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/test/src/lib.rs:637:41 [INFO] [stdout] 33: 0x600ac374d024 - std::sys::backtrace::__rust_begin_short_backtrace::h614a7925ed7b2f5e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 34: 0x600ac37509ca - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::hbc654088c5dbff36 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 35: 0x600ac37509ca - as core::ops::function::FnOnce<()>>::call_once::h3f631d2ca531b61d [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 36: 0x600ac37509ca - std::panicking::catch_unwind::do_call::hd2548748db0aa717 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:590:40 [INFO] [stdout] 37: 0x600ac37509ca - std::panicking::catch_unwind::hf7d8620d84df48e2 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panicking.rs:553:19 [INFO] [stdout] 38: 0x600ac37509ca - std::panic::catch_unwind::hdde75b8543fcb96b [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/panic.rs:359:14 [INFO] [stdout] 39: 0x600ac37509ca - std::thread::Builder::spawn_unchecked_::{{closure}}::h991e7d03b432cf3f [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 40: 0x600ac37509ca - core::ops::function::FnOnce::call_once{{vtable.shim}}::hebddb40255441657 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x600ac37c06bf - as core::ops::function::FnOnce>::call_once::h55e8930dc7db99a5 [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/alloc/src/boxed.rs:1973:9 [INFO] [stdout] 42: 0x600ac37c06bf - std::sys::thread::unix::Thread::new::thread_start::he23d038ee4fa004e [INFO] [stdout] at /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 43: 0x7f99eb9a5aa4 - [INFO] [stdout] 44: 0x7f99eba32a34 - clone [INFO] [stdout] 45: 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.29s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "e5ecf75300d9de7ffa6b2b596a17d254ebc7c4afedab4985706d5b9f3dc33774", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5ecf75300d9de7ffa6b2b596a17d254ebc7c4afedab4985706d5b9f3dc33774", kill_on_drop: false }` [INFO] [stdout] e5ecf75300d9de7ffa6b2b596a17d254ebc7c4afedab4985706d5b9f3dc33774