[INFO] fetching crate singleton-manager 0.1.4... [INFO] testing singleton-manager-0.1.4 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate singleton-manager 0.1.4 into /workspace/builds/worker-3-tc2/source [INFO] removed /workspace/builds/worker-3-tc2/source/rust-toolchain [INFO] started tweaking crates.io crate singleton-manager 0.1.4 [INFO] finished tweaking crates.io crate singleton-manager 0.1.4 [INFO] tweaked toml for crates.io crate singleton-manager 0.1.4 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate singleton-manager 0.1.4 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 21 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fae0552d4d327a6d52de9df8e393a0060e1db3d0ac74d5fe441b2d3d54c9196f [INFO] running `Command { std: "docker" "start" "-a" "fae0552d4d327a6d52de9df8e393a0060e1db3d0ac74d5fe441b2d3d54c9196f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fae0552d4d327a6d52de9df8e393a0060e1db3d0ac74d5fe441b2d3d54c9196f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fae0552d4d327a6d52de9df8e393a0060e1db3d0ac74d5fe441b2d3d54c9196f", kill_on_drop: false }` [INFO] [stdout] fae0552d4d327a6d52de9df8e393a0060e1db3d0ac74d5fe441b2d3d54c9196f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e3909bde83c7129608444916f6b7912bc58cb45eb5d09aaa5a1048cbc3d2013 [INFO] running `Command { std: "docker" "start" "-a" "5e3909bde83c7129608444916f6b7912bc58cb45eb5d09aaa5a1048cbc3d2013", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling singleton-manager v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | ONCE.call_once(|| INSTANCE = Cell::new(Some(SingletonManager::new()))); [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:175:20 [INFO] [stdout] | [INFO] [stdout] 175 | match *INSTANCE.as_ptr() { [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: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:342:65 [INFO] [stdout] | [INFO] [stdout] 342 | fn singleton_get(&'static mut self, alias: &Uuid) -> Result<&mut Box> { [INFO] [stdout] | ------- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same 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: consistently use `'static` [INFO] [stdout] | [INFO] [stdout] 342 | fn singleton_get(&'static mut self, alias: &Uuid) -> Result<&'static mut Box> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:381:59 [INFO] [stdout] | [INFO] [stdout] 381 | fn factory(&'static mut self, alias: &Uuid) -> Result<&mut Box> { [INFO] [stdout] | ------- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same 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: consistently use `'static` [INFO] [stdout] | [INFO] [stdout] 381 | fn factory(&'static mut self, alias: &Uuid) -> Result<&'static mut Box> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.76s [INFO] running `Command { std: "docker" "inspect" "5e3909bde83c7129608444916f6b7912bc58cb45eb5d09aaa5a1048cbc3d2013", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e3909bde83c7129608444916f6b7912bc58cb45eb5d09aaa5a1048cbc3d2013", kill_on_drop: false }` [INFO] [stdout] 5e3909bde83c7129608444916f6b7912bc58cb45eb5d09aaa5a1048cbc3d2013 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 03e1c0d8ff694e1b36dbeaffe02933baa396419cae09976d96cee61603cd3e20 [INFO] running `Command { std: "docker" "start" "-a" "03e1c0d8ff694e1b36dbeaffe02933baa396419cae09976d96cee61603cd3e20", kill_on_drop: false }` [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | ONCE.call_once(|| INSTANCE = Cell::new(Some(SingletonManager::new()))); [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:175:20 [INFO] [stdout] | [INFO] [stdout] 175 | match *INSTANCE.as_ptr() { [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: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:342:65 [INFO] [stdout] | [INFO] [stdout] 342 | fn singleton_get(&'static mut self, alias: &Uuid) -> Result<&mut Box> { [INFO] [stdout] | ------- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same 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: consistently use `'static` [INFO] [stdout] | [INFO] [stdout] 342 | fn singleton_get(&'static mut self, alias: &Uuid) -> Result<&'static mut Box> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:381:59 [INFO] [stdout] | [INFO] [stdout] 381 | fn factory(&'static mut self, alias: &Uuid) -> Result<&mut Box> { [INFO] [stdout] | ------- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same 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: consistently use `'static` [INFO] [stdout] | [INFO] [stdout] 381 | fn factory(&'static mut self, alias: &Uuid) -> Result<&'static mut Box> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling singleton-manager v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/lib.rs:434:9 [INFO] [stdout] | [INFO] [stdout] 434 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | ONCE.call_once(|| INSTANCE = Cell::new(Some(SingletonManager::new()))); [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)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/lib.rs:175:20 [INFO] [stdout] | [INFO] [stdout] 175 | match *INSTANCE.as_ptr() { [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: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:342:65 [INFO] [stdout] | [INFO] [stdout] 342 | fn singleton_get(&'static mut self, alias: &Uuid) -> Result<&mut Box> { [INFO] [stdout] | ------- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same 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: consistently use `'static` [INFO] [stdout] | [INFO] [stdout] 342 | fn singleton_get(&'static mut self, alias: &Uuid) -> Result<&'static mut Box> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:381:59 [INFO] [stdout] | [INFO] [stdout] 381 | fn factory(&'static mut self, alias: &Uuid) -> Result<&mut Box> { [INFO] [stdout] | ------- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same 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: consistently use `'static` [INFO] [stdout] | [INFO] [stdout] 381 | fn factory(&'static mut self, alias: &Uuid) -> Result<&'static mut Box> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "03e1c0d8ff694e1b36dbeaffe02933baa396419cae09976d96cee61603cd3e20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "03e1c0d8ff694e1b36dbeaffe02933baa396419cae09976d96cee61603cd3e20", kill_on_drop: false }` [INFO] [stdout] 03e1c0d8ff694e1b36dbeaffe02933baa396419cae09976d96cee61603cd3e20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 15bf6f832b6245de64a8bfc41133309a4099b91703fde3cd189cf059d248af45 [INFO] running `Command { std: "docker" "start" "-a" "15bf6f832b6245de64a8bfc41133309a4099b91703fde3cd189cf059d248af45", kill_on_drop: false }` [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/lib.rs:174:13 [INFO] [stderr] | [INFO] [stderr] 174 | ONCE.call_once(|| INSTANCE = Cell::new(Some(SingletonManager::new()))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/lib.rs:175:20 [INFO] [stderr] | [INFO] [stderr] 175 | match *INSTANCE.as_ptr() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = 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] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:342:65 [INFO] [stderr] | [INFO] [stderr] 342 | fn singleton_get(&'static mut self, alias: &Uuid) -> Result<&mut Box> { [INFO] [stderr] | ------- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same lifetime is elided 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: consistently use `'static` [INFO] [stderr] | [INFO] [stderr] 342 | fn singleton_get(&'static mut self, alias: &Uuid) -> Result<&'static mut Box> { [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:381:59 [INFO] [stderr] | [INFO] [stderr] 381 | fn factory(&'static mut self, alias: &Uuid) -> Result<&mut Box> { [INFO] [stderr] | ------- the lifetime is named here ^^^^^^^^^^^^^^^^^ the same 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: consistently use `'static` [INFO] [stderr] | [INFO] [stderr] 381 | fn factory(&'static mut self, alias: &Uuid) -> Result<&'static mut Box> { [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ops::Deref` [INFO] [stderr] --> src/lib.rs:434:9 [INFO] [stderr] | [INFO] [stderr] 434 | use std::ops::Deref; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `singleton-manager` (lib) generated 4 warnings (run `cargo fix --lib -p singleton-manager` to apply 2 suggestions) [INFO] [stderr] warning: `singleton-manager` (lib test) generated 5 warnings (4 duplicates) (run `cargo fix --lib -p singleton-manager --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/singleton_manager-81d243eca2875bb8) [INFO] [stdout] [INFO] [stdout] running 6 tests [INFO] [stdout] test test::set_singleton ... ok [INFO] [stdout] test test::test_setting_and_getting_from_example ... ok [INFO] [stdout] test test::set_get_singleton ... ok [INFO] [stdout] test test::test_instance ... ok [INFO] [stdout] test test::test_setting_and_getting_from_example_default_factory ... ok [INFO] [stdout] test test::test_setting_and_getting_from_example_factory ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests singleton_manager [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test src/lib.rs - SingletonManager::instance (line 166) ... ok [INFO] [stdout] test src/lib.rs - Error (line 130) ... ok [INFO] [stdout] test src/lib.rs - SingletonManager::get (line 280) ... ok [INFO] [stdout] test src/lib.rs - (line 21) ... ok [INFO] [stdout] test src/lib.rs - SingletonManager::provide (line 195) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.19s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "15bf6f832b6245de64a8bfc41133309a4099b91703fde3cd189cf059d248af45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15bf6f832b6245de64a8bfc41133309a4099b91703fde3cd189cf059d248af45", kill_on_drop: false }` [INFO] [stdout] 15bf6f832b6245de64a8bfc41133309a4099b91703fde3cd189cf059d248af45