[INFO] fetching crate rea-rs 0.1.31... [INFO] checking rea-rs-0.1.31 against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] extracting crate rea-rs 0.1.31 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate rea-rs 0.1.31 on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rea-rs 0.1.31 [INFO] finished tweaking crates.io crate rea-rs 0.1.31 [INFO] tweaked toml for crates.io crate rea-rs 0.1.31 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 98 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.7.0) [INFO] [stderr] Adding env_logger v0.10.2 (available: v0.11.6) [INFO] [stderr] Adding int-enum v0.5.0 (available: v1.1.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f84f03de0883e6863fc0e4a344af14434a0535a6c27c502d2f47ae4b2063009c [INFO] running `Command { std: "docker" "start" "-a" "f84f03de0883e6863fc0e4a344af14434a0535a6c27c502d2f47ae4b2063009c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f84f03de0883e6863fc0e4a344af14434a0535a6c27c502d2f47ae4b2063009c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f84f03de0883e6863fc0e4a344af14434a0535a6c27c502d2f47ae4b2063009c", kill_on_drop: false }` [INFO] [stdout] f84f03de0883e6863fc0e4a344af14434a0535a6c27c502d2f47ae4b2063009c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31da50d780f4f92b446c542d9a6a97a3196a01a28da61b0245e875d3d44c880f [INFO] running `Command { std: "docker" "start" "-a" "31da50d780f4f92b446c542d9a6a97a3196a01a28da61b0245e875d3d44c880f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling cc v1.2.9 [INFO] [stderr] Compiling strsim v0.9.3 [INFO] [stderr] Checking libloading v0.7.4 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking iana-time-zone v0.1.61 [INFO] [stderr] Checking iter-read v1.1.0 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking c_str_macro v1.0.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking downcast-rs v1.2.1 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking rmp v0.8.14 [INFO] [stderr] Compiling rea-rs-low v0.1.31 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Checking chrono v0.4.39 [INFO] [stderr] Checking rmp-serde v1.3.0 [INFO] [stderr] Checking serde-pickle v1.2.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_logger v0.10.2 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling darling_core v0.10.2 [INFO] [stderr] Compiling num_enum_derive v0.5.11 [INFO] [stderr] Compiling int-enum-impl v0.5.0 [INFO] [stderr] Compiling derive_more v0.99.18 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Checking int-enum v0.5.0 [INFO] [stderr] Checking num_enum v0.5.11 [INFO] [stderr] Checking vst v0.3.0 [INFO] [stderr] Compiling darling_macro v0.10.2 [INFO] [stderr] Compiling darling v0.10.2 [INFO] [stderr] Compiling rea-rs-macros v0.1.31 [INFO] [stderr] Checking rea-rs v0.1.31 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/track.rs:67:56 [INFO] [stdout] | [INFO] [stdout] 59 | impl<'a, T: ProbablyMutable> FXParent<'a, TrackFX<'a, Immutable>> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 67 | fn get_fx(&'a self, index: usize) -> Option> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/send.rs:203:44 [INFO] [stdout] | [INFO] [stdout] 133 | pub trait GenericSend<'a, T: ProbablyMutable + 'a>: SendIntType { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 203 | fn dest_track(&'a self) -> Option> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/send.rs:222:46 [INFO] [stdout] | [INFO] [stdout] 133 | pub trait GenericSend<'a, T: ProbablyMutable + 'a>: SendIntType { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 222 | fn source_track(&'a self) -> Option> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/send.rs:247:25 [INFO] [stdout] | [INFO] [stdout] 133 | pub trait GenericSend<'a, T: ProbablyMutable + 'a>: SendIntType { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 247 | ) -> Option, T>> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/track.rs:67:56 [INFO] [stdout] | [INFO] [stdout] 59 | impl<'a, T: ProbablyMutable> FXParent<'a, TrackFX<'a, Immutable>> [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 67 | fn get_fx(&'a self, index: usize) -> Option> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/send.rs:247:31 [INFO] [stdout] | [INFO] [stdout] 133 | pub trait GenericSend<'a, T: ProbablyMutable + 'a>: SendIntType { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 247 | ) -> Option, T>> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/send.rs:203:44 [INFO] [stdout] | [INFO] [stdout] 133 | pub trait GenericSend<'a, T: ProbablyMutable + 'a>: SendIntType { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 203 | fn dest_track(&'a self) -> Option> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/send.rs:222:46 [INFO] [stdout] | [INFO] [stdout] 133 | pub trait GenericSend<'a, T: ProbablyMutable + 'a>: SendIntType { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 222 | fn source_track(&'a self) -> Option> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/send.rs:247:25 [INFO] [stdout] | [INFO] [stdout] 133 | pub trait GenericSend<'a, T: ProbablyMutable + 'a>: SendIntType { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 247 | ) -> Option, T>> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/send.rs:247:31 [INFO] [stdout] | [INFO] [stdout] 133 | pub trait GenericSend<'a, T: ProbablyMutable + 'a>: SendIntType { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 247 | ) -> Option, T>> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/fx.rs:93:52 [INFO] [stdout] | [INFO] [stdout] 68 | impl<'a, T: ProbablyMutable> TrackFX<'a, T> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn iter_params(&'a self) -> FXParamIterator, Self> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/fx.rs:753:52 [INFO] [stdout] | [INFO] [stdout] 731 | impl<'a, T: ProbablyMutable> TakeFX<'a, T> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 753 | pub fn iter_params(&'a self) -> FXParamIterator, Self> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/midi_editor.rs:42:60 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn item<'a>(&'a self, project: &'a Project) -> Item { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/midi_editor.rs:45:68 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn item_mut<'a>(&'a mut self, project: &'a Project) -> Item { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/fx.rs:93:52 [INFO] [stdout] | [INFO] [stdout] 68 | impl<'a, T: ProbablyMutable> TrackFX<'a, T> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn iter_params(&'a self) -> FXParamIterator, Self> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/fx.rs:753:52 [INFO] [stdout] | [INFO] [stdout] 731 | impl<'a, T: ProbablyMutable> TakeFX<'a, T> { [INFO] [stdout] | -- lifetime `'a` declared here [INFO] [stdout] ... [INFO] [stdout] 753 | pub fn iter_params(&'a self) -> FXParamIterator, Self> { [INFO] [stdout] | ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/midi_editor.rs:42:60 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn item<'a>(&'a self, project: &'a Project) -> Item { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/midi_editor.rs:45:68 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn item_mut<'a>(&'a mut self, project: &'a Project) -> Item { [INFO] [stdout] | -- lifetime `'a` declared here ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `ReaperError` to `ReaperError` [INFO] [stdout] --> src/envelope.rs:221:26 [INFO] [stdout] | [INFO] [stdout] 221 | false => Err(ReaperError::UnsuccessfulOperation( [INFO] [stdout] | __________________________^ [INFO] [stdout] 222 | | "Can not set envelope point!", [INFO] [stdout] 223 | | ) [INFO] [stdout] 224 | | .into()), [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `f64` to `f64` [INFO] [stdout] --> src/envelope.rs:456:44 [INFO] [stdout] | [INFO] [stdout] 456 | let mut tension = MaybeUninit::new(point.tension.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `ReaperError` to `ReaperError` [INFO] [stdout] --> src/envelope.rs:473:26 [INFO] [stdout] | [INFO] [stdout] 473 | false => Err(ReaperError::UnsuccessfulOperation( [INFO] [stdout] | __________________________^ [INFO] [stdout] 474 | | "Can not set envelope point!", [INFO] [stdout] 475 | | ) [INFO] [stdout] 476 | | .into()), [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `f64` to `f64` [INFO] [stdout] --> src/envelope.rs:505:17 [INFO] [stdout] | [INFO] [stdout] 505 | point.tension.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `ReaperError` to `ReaperError` [INFO] [stdout] --> src/envelope.rs:512:26 [INFO] [stdout] | [INFO] [stdout] 512 | false => Err(ReaperError::UnsuccessfulOperation( [INFO] [stdout] | __________________________^ [INFO] [stdout] 513 | | "Can not insert envelope point!", [INFO] [stdout] 514 | | ) [INFO] [stdout] 515 | | .into()), [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `ReaperError` to `ReaperError` [INFO] [stdout] --> src/envelope.rs:538:26 [INFO] [stdout] | [INFO] [stdout] 538 | false => Err(ReaperError::UnsuccessfulOperation( [INFO] [stdout] | __________________________^ [INFO] [stdout] 539 | | "Can not delete envelope point!", [INFO] [stdout] 540 | | ) [INFO] [stdout] 541 | | .into()), [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `ReaperError` to `ReaperError` [INFO] [stdout] --> src/envelope.rs:570:26 [INFO] [stdout] | [INFO] [stdout] 570 | false => Err(ReaperError::UnsuccessfulOperation( [INFO] [stdout] | __________________________^ [INFO] [stdout] 571 | | "Can not delete envelope points!", [INFO] [stdout] 572 | | ) [INFO] [stdout] 573 | | .into()), [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/reaper.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 128 | unsafe { INSTANCE.is_some() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/reaper.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | / INSTANCE [INFO] [stdout] 141 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/reaper.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | / INSTANCE [INFO] [stdout] 148 | | .as_mut() [INFO] [stdout] | |_________________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rea-rs` (lib) due to 7 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this conversion is useless `ReaperError` to `ReaperError` [INFO] [stdout] --> src/envelope.rs:221:26 [INFO] [stdout] | [INFO] [stdout] 221 | false => Err(ReaperError::UnsuccessfulOperation( [INFO] [stdout] | __________________________^ [INFO] [stdout] 222 | | "Can not set envelope point!", [INFO] [stdout] 223 | | ) [INFO] [stdout] 224 | | .into()), [INFO] [stdout] | |___________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `f64` to `f64` [INFO] [stdout] --> src/envelope.rs:456:44 [INFO] [stdout] | [INFO] [stdout] 456 | let mut tension = MaybeUninit::new(point.tension.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `ReaperError` to `ReaperError` [INFO] [stdout] --> src/envelope.rs:473:26 [INFO] [stdout] | [INFO] [stdout] 473 | false => Err(ReaperError::UnsuccessfulOperation( [INFO] [stdout] | __________________________^ [INFO] [stdout] 474 | | "Can not set envelope point!", [INFO] [stdout] 475 | | ) [INFO] [stdout] 476 | | .into()), [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `f64` to `f64` [INFO] [stdout] --> src/envelope.rs:505:17 [INFO] [stdout] | [INFO] [stdout] 505 | point.tension.into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `ReaperError` to `ReaperError` [INFO] [stdout] --> src/envelope.rs:512:26 [INFO] [stdout] | [INFO] [stdout] 512 | false => Err(ReaperError::UnsuccessfulOperation( [INFO] [stdout] | __________________________^ [INFO] [stdout] 513 | | "Can not insert envelope point!", [INFO] [stdout] 514 | | ) [INFO] [stdout] 515 | | .into()), [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `ReaperError` to `ReaperError` [INFO] [stdout] --> src/envelope.rs:538:26 [INFO] [stdout] | [INFO] [stdout] 538 | false => Err(ReaperError::UnsuccessfulOperation( [INFO] [stdout] | __________________________^ [INFO] [stdout] 539 | | "Can not delete envelope point!", [INFO] [stdout] 540 | | ) [INFO] [stdout] 541 | | .into()), [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `ReaperError` to `ReaperError` [INFO] [stdout] --> src/envelope.rs:570:26 [INFO] [stdout] | [INFO] [stdout] 570 | false => Err(ReaperError::UnsuccessfulOperation( [INFO] [stdout] | __________________________^ [INFO] [stdout] 571 | | "Can not delete envelope points!", [INFO] [stdout] 572 | | ) [INFO] [stdout] 573 | | .into()), [INFO] [stdout] | |___________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/reaper.rs:128:18 [INFO] [stdout] | [INFO] [stdout] 128 | unsafe { INSTANCE.is_some() } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/reaper.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | / INSTANCE [INFO] [stdout] 141 | | .as_ref() [INFO] [stdout] | |_________________________^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [INFO] [stdout] --> src/reaper.rs:147:13 [INFO] [stdout] | [INFO] [stdout] 147 | / INSTANCE [INFO] [stdout] 148 | | .as_mut() [INFO] [stdout] | |_________________________^ mutable reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rea-rs` (lib test) due to 7 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "31da50d780f4f92b446c542d9a6a97a3196a01a28da61b0245e875d3d44c880f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31da50d780f4f92b446c542d9a6a97a3196a01a28da61b0245e875d3d44c880f", kill_on_drop: false }` [INFO] [stdout] 31da50d780f4f92b446c542d9a6a97a3196a01a28da61b0245e875d3d44c880f