[INFO] fetching crate lib_rapid 0.7.0... [INFO] checking lib_rapid-0.7.0 against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] extracting crate lib_rapid 0.7.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate lib_rapid 0.7.0 [INFO] finished tweaking crates.io crate lib_rapid 0.7.0 [INFO] tweaked toml for crates.io crate lib_rapid 0.7.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate lib_rapid 0.7.0 on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 36 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v2.0.1) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a9d7d96ffa48d4af53caeab9a641cf30acde0623aed1f9d900dcaf6e7ec1962a [INFO] running `Command { std: "docker" "start" "-a" "a9d7d96ffa48d4af53caeab9a641cf30acde0623aed1f9d900dcaf6e7ec1962a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a9d7d96ffa48d4af53caeab9a641cf30acde0623aed1f9d900dcaf6e7ec1962a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9d7d96ffa48d4af53caeab9a641cf30acde0623aed1f9d900dcaf6e7ec1962a", kill_on_drop: false }` [INFO] [stdout] a9d7d96ffa48d4af53caeab9a641cf30acde0623aed1f9d900dcaf6e7ec1962a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8fcf71fd965f3d738dc12c7819f73d49c7984eb084926ce3555e1cb506fd0879 [INFO] running `Command { std: "docker" "start" "-a" "8fcf71fd965f3d738dc12c7819f73d49c7984eb084926ce3555e1cb506fd0879", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Checking serde v1.0.228 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking lib_rapid v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::mem` instead [INFO] [stdout] --> src/math/general/avg_impl.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, intrinsics::transmute}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::mem` instead [INFO] [stdout] --> src/compsci/general.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{intrinsics::transmute, fmt::Debug, ops::{*}, convert::TryFrom}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::mem` instead [INFO] [stdout] --> src/math/general/avg_impl.rs:1:45 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, intrinsics::transmute}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::mem` instead [INFO] [stdout] --> src/compsci/general.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{intrinsics::transmute, fmt::Debug, ops::{*}, convert::TryFrom}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/math/complex.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/math/complex.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/math/complex.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/math/complex.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/math/complex.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/math/complex.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/math/complex.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/math/complex.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/compsci/unit_conversion.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/math/complex.rs:222:5 [INFO] [stdout] | [INFO] [stdout] 222 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] = note: `#[warn(unused_attributes)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/math/complex.rs:232:5 [INFO] [stdout] | [INFO] [stdout] 232 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/math/complex.rs:245:5 [INFO] [stdout] | [INFO] [stdout] 245 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/math/complex.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/math/complex.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/math/complex.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/math/complex.rs:300:5 [INFO] [stdout] | [INFO] [stdout] 300 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/math/complex.rs:310:5 [INFO] [stdout] | [INFO] [stdout] 310 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[must_use]` attribute cannot be used on trait methods in impl blocks [INFO] [stdout] --> src/compsci/unit_conversion.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | #[must_use] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = help: `#[must_use]` can be applied to data types, foreign functions, functions, inherent methods, provided trait methods, required trait methods, traits, and unions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/math/equations/polynomial.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | res[0] = Some(- self.coefficients[1] / self.coefficients[0]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `res` is never read [INFO] [stdout] --> src/math/equations/polynomial.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | res[0] = Some(- self.coefficients[1] / self.coefficients[0]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/math/general/avg_impl.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | transmute(*hm.iter().max_by(|a, b| a.1.cmp(b.1)).map(|(k, _v)| k).unwrap()) [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/math/general/avg_impl.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | transmute(*hm.iter().max_by(|a, b| a.1.cmp(b.1)).map(|(k, _v)| k).unwrap()) [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/math/sets/vec_sets.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn union(&self, other: &VecSet) -> VecSet { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 94 | pub fn union(&self, other: &VecSet) -> VecSet<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/math/sets/vec_sets.rs:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn intersection(&self, other: &VecSet) -> VecSet { [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] 127 | pub fn intersection(&self, other: &VecSet) -> VecSet<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/math/sets/vec_sets.rs:183:28 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn difference_with(&self, other: &VecSet) -> VecSet { [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] 183 | pub fn difference_with(&self, other: &VecSet) -> VecSet<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/math/sets/vec_sets.rs:211:30 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn cartesian_product(&self, other: &VecSet) -> VecSet<(T, T)> { [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] 211 | pub fn cartesian_product(&self, other: &VecSet) -> VecSet<'_, (T, T)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/math/sets/vec_sets.rs:237:38 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn symmetric_difference_with(&self, other: &VecSet) -> VecSet { [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] 237 | pub fn symmetric_difference_with(&self, other: &VecSet) -> VecSet<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/math/sets/vec_sets.rs:320:23 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn get_parent(&self) -> Option<&VecSet> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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 | pub fn get_parent(&self) -> Option<&VecSet<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/compsci/general.rs:398:19 [INFO] [stdout] | [INFO] [stdout] 398 | (unsafe { transmute::(*self) }) & MANTISSA_MASK_32 [INFO] [stdout] | ---------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/compsci/general.rs:402:20 [INFO] [stdout] | [INFO] [stdout] 402 | ((unsafe { transmute::(*self) } & [INFO] [stdout] | ---------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/compsci/general.rs:407:18 [INFO] [stdout] | [INFO] [stdout] 407 | unsafe { transmute(transmute::(*self) & [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | __________________help: replace this with: `f32::from_bits` [INFO] [stdout] | | [INFO] [stdout] 408 | | GET_SMANTISSA_MASK_32 | [INFO] [stdout] 409 | | SET_EXP_ZERO_MASK_32) [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/compsci/general.rs:407:28 [INFO] [stdout] | [INFO] [stdout] 407 | unsafe { transmute(transmute::(*self) & [INFO] [stdout] | ---------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/compsci/general.rs:430:18 [INFO] [stdout] | [INFO] [stdout] 430 | unsafe { transmute((mantissa | [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | __________________help: replace this with: `f32::from_bits` [INFO] [stdout] | | [INFO] [stdout] 431 | | ((exponent as u32) << 23)) | [INFO] [stdout] 432 | | (sign as u32) << 31) } [INFO] [stdout] | |________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/compsci/general.rs:443:19 [INFO] [stdout] | [INFO] [stdout] 443 | (unsafe { transmute::(*self) } & [INFO] [stdout] | ---------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/compsci/general.rs:448:20 [INFO] [stdout] | [INFO] [stdout] 448 | ((unsafe { transmute::(*self) } & [INFO] [stdout] | ---------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/compsci/general.rs:453:18 [INFO] [stdout] | [INFO] [stdout] 453 | unsafe { transmute(transmute::(*self) & [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | __________________help: replace this with: `f64::from_bits` [INFO] [stdout] | | [INFO] [stdout] 454 | | GET_SMANTISSA_MASK_64 | [INFO] [stdout] 455 | | SET_EXP_ZERO_MASK_64) [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/compsci/general.rs:453:28 [INFO] [stdout] | [INFO] [stdout] 453 | unsafe { transmute(transmute::(*self) & [INFO] [stdout] | ---------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/compsci/general.rs:476:18 [INFO] [stdout] | [INFO] [stdout] 476 | unsafe { transmute((mantissa | [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | __________________help: replace this with: `f64::from_bits` [INFO] [stdout] | | [INFO] [stdout] 477 | | ((exponent as u64) << 52)) | [INFO] [stdout] 478 | | (sign as u64) << 63) } [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chem/elements.rs:30:40 [INFO] [stdout] | [INFO] [stdout] 30 | pub const fn new(symbol: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 35 | pauling_en: f32) -> Element { [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] 35 | pauling_en: f32) -> Element<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/math/general/avg_impl.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | transmute(*hm.iter().max_by(|a, b| a.1.cmp(b.1)).map(|(k, _v)| k).unwrap()) [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/math/general/avg_impl.rs:85:13 [INFO] [stdout] | [INFO] [stdout] 85 | transmute(*hm.iter().max_by(|a, b| a.1.cmp(b.1)).map(|(k, _v)| k).unwrap()) [INFO] [stdout] | ---------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/math/sets/vec_sets.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn union(&self, other: &VecSet) -> VecSet { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 94 | pub fn union(&self, other: &VecSet) -> VecSet<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/math/sets/vec_sets.rs:127:25 [INFO] [stdout] | [INFO] [stdout] 127 | pub fn intersection(&self, other: &VecSet) -> VecSet { [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] 127 | pub fn intersection(&self, other: &VecSet) -> VecSet<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/math/sets/vec_sets.rs:183:28 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn difference_with(&self, other: &VecSet) -> VecSet { [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] 183 | pub fn difference_with(&self, other: &VecSet) -> VecSet<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/math/sets/vec_sets.rs:211:30 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn cartesian_product(&self, other: &VecSet) -> VecSet<(T, T)> { [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] 211 | pub fn cartesian_product(&self, other: &VecSet) -> VecSet<'_, (T, T)> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/math/sets/vec_sets.rs:237:38 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn symmetric_difference_with(&self, other: &VecSet) -> VecSet { [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] 237 | pub fn symmetric_difference_with(&self, other: &VecSet) -> VecSet<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/math/sets/vec_sets.rs:320:23 [INFO] [stdout] | [INFO] [stdout] 320 | pub fn get_parent(&self) -> Option<&VecSet> { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] | | || [INFO] [stdout] | | |the same lifetime is hidden here [INFO] [stdout] | | the same lifetime is elided here [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 | pub fn get_parent(&self) -> Option<&VecSet<'_, T>> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/compsci/general.rs:398:19 [INFO] [stdout] | [INFO] [stdout] 398 | (unsafe { transmute::(*self) }) & MANTISSA_MASK_32 [INFO] [stdout] | ---------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/compsci/general.rs:402:20 [INFO] [stdout] | [INFO] [stdout] 402 | ((unsafe { transmute::(*self) } & [INFO] [stdout] | ---------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/compsci/general.rs:407:18 [INFO] [stdout] | [INFO] [stdout] 407 | unsafe { transmute(transmute::(*self) & [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | __________________help: replace this with: `f32::from_bits` [INFO] [stdout] | | [INFO] [stdout] 408 | | GET_SMANTISSA_MASK_32 | [INFO] [stdout] 409 | | SET_EXP_ZERO_MASK_32) [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/compsci/general.rs:407:28 [INFO] [stdout] | [INFO] [stdout] 407 | unsafe { transmute(transmute::(*self) & [INFO] [stdout] | ---------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/compsci/general.rs:430:18 [INFO] [stdout] | [INFO] [stdout] 430 | unsafe { transmute((mantissa | [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | __________________help: replace this with: `f32::from_bits` [INFO] [stdout] | | [INFO] [stdout] 431 | | ((exponent as u32) << 23)) | [INFO] [stdout] 432 | | (sign as u32) << 31) } [INFO] [stdout] | |________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/compsci/general.rs:443:19 [INFO] [stdout] | [INFO] [stdout] 443 | (unsafe { transmute::(*self) } & [INFO] [stdout] | ---------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/compsci/general.rs:448:20 [INFO] [stdout] | [INFO] [stdout] 448 | ((unsafe { transmute::(*self) } & [INFO] [stdout] | ---------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/compsci/general.rs:453:18 [INFO] [stdout] | [INFO] [stdout] 453 | unsafe { transmute(transmute::(*self) & [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | __________________help: replace this with: `f64::from_bits` [INFO] [stdout] | | [INFO] [stdout] 454 | | GET_SMANTISSA_MASK_64 | [INFO] [stdout] 455 | | SET_EXP_ZERO_MASK_64) [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/compsci/general.rs:453:28 [INFO] [stdout] | [INFO] [stdout] 453 | unsafe { transmute(transmute::(*self) & [INFO] [stdout] | ---------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/compsci/general.rs:476:18 [INFO] [stdout] | [INFO] [stdout] 476 | unsafe { transmute((mantissa | [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | __________________help: replace this with: `f64::from_bits` [INFO] [stdout] | | [INFO] [stdout] 477 | | ((exponent as u64) << 52)) | [INFO] [stdout] 478 | | (sign as u64) << 63) } [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/chem/elements.rs:30:40 [INFO] [stdout] | [INFO] [stdout] 30 | pub const fn new(symbol: &str, [INFO] [stdout] | ^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 35 | pauling_en: f32) -> Element { [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] 35 | pauling_en: f32) -> Element<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.74s [INFO] running `Command { std: "docker" "inspect" "8fcf71fd965f3d738dc12c7819f73d49c7984eb084926ce3555e1cb506fd0879", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8fcf71fd965f3d738dc12c7819f73d49c7984eb084926ce3555e1cb506fd0879", kill_on_drop: false }` [INFO] [stdout] 8fcf71fd965f3d738dc12c7819f73d49c7984eb084926ce3555e1cb506fd0879