[INFO] fetching crate platoon 0.0.2-beta... [INFO] linting platoon-0.0.2-beta against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate platoon 0.0.2-beta into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate platoon 0.0.2-beta [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate platoon 0.0.2-beta [INFO] tweaked toml for crates.io crate platoon 0.0.2-beta written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate platoon 0.0.2-beta on toolchain nightly [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate platoon 0.0.2-beta 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" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-stream-impl v0.3.2 [INFO] [stderr] Downloaded httpdate v1.0.1 [INFO] [stderr] Downloaded tokio-test v0.4.2 [INFO] [stderr] Downloaded async-stream v0.3.2 [INFO] [stderr] Downloaded futures-io v0.3.17 [INFO] [stderr] Downloaded futures-macro v0.3.17 [INFO] [stderr] Downloaded futures-channel v0.3.17 [INFO] [stderr] Downloaded futures-task v0.3.17 [INFO] [stderr] Downloaded mio v0.8.0 [INFO] [stderr] Downloaded futures-sink v0.3.17 [INFO] [stderr] Downloaded futures-core v0.3.17 [INFO] [stderr] Downloaded hyper v0.14.14 [INFO] [stderr] Downloaded futures-util v0.3.17 [INFO] [stderr] Downloaded libc v0.2.107 [INFO] [stderr] Downloaded tokio v1.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5653fb4d3da8b7748fc57d75721b8475670f40c10cb0562416ea80df5ed94b94 [INFO] running `Command { std: "docker" "start" "-a" "5653fb4d3da8b7748fc57d75721b8475670f40c10cb0562416ea80df5ed94b94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5653fb4d3da8b7748fc57d75721b8475670f40c10cb0562416ea80df5ed94b94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5653fb4d3da8b7748fc57d75721b8475670f40c10cb0562416ea80df5ed94b94", kill_on_drop: false }` [INFO] [stdout] 5653fb4d3da8b7748fc57d75721b8475670f40c10cb0562416ea80df5ed94b94 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "clippy" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d6c029814f8f59a68774a96e3a31a932bd5946a3be58c48db0bb5fa46d0a7cd6 [INFO] running `Command { std: "docker" "start" "-a" "d6c029814f8f59a68774a96e3a31a932bd5946a3be58c48db0bb5fa46d0a7cd6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Compiling tokio v1.13.0 [INFO] [stderr] Checking once_cell v1.9.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Checking tracing-core v0.1.21 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Checking futures-sink v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking http v0.2.5 [INFO] [stderr] Checking tracing v0.1.29 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking mio v0.7.14 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.4.2 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking platoon v0.0.2-beta (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary `pub(self)` [INFO] [stdout] --> src/net/mod.rs:197:1 [INFO] [stdout] | [INFO] [stdout] 197 | pub(self) use {as_raw, async_read_write, from_into_std}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self [INFO] [stdout] = note: `#[warn(clippy::needless_pub_self)]` on by default [INFO] [stdout] = help: remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/sync/mutex.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | &*self.value [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `&self.value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] = note: `#[warn(clippy::explicit_auto_deref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/sync/mutex.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | &mut *self.value [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `&mut self.value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/sync/mutex.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | ::fmt(&*self, f) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] = note: `#[warn(clippy::borrow_deref_ref)]` on by default [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 76 - ::fmt(&*self, f) [INFO] [stdout] 76 + ::fmt(self, f) [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 76 | ::fmt(&**self, f) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/sync/mutex.rs:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | ::fmt(&*self, f) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 82 - ::fmt(&*self, f) [INFO] [stdout] 82 + ::fmt(self, f) [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 82 | ::fmt(&**self, f) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/sync/rwlock.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | &*self.value [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `&self.value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/sync/rwlock.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | ::fmt(&*self, f) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 90 - ::fmt(&*self, f) [INFO] [stdout] 90 + ::fmt(self, f) [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 90 | ::fmt(&**self, f) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/sync/rwlock.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | ::fmt(&*self, f) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 96 - ::fmt(&*self, f) [INFO] [stdout] 96 + ::fmt(self, f) [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 96 | ::fmt(&**self, f) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/sync/rwlock.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | &*self.value [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `&self.value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/sync/rwlock.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | &mut *self.value [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `&mut self.value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/sync/rwlock.rs:122:27 [INFO] [stdout] | [INFO] [stdout] 122 | ::fmt(&*self, f) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 122 - ::fmt(&*self, f) [INFO] [stdout] 122 + ::fmt(self, f) [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 122 | ::fmt(&**self, f) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/sync/rwlock.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | ::fmt(&*self, f) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 128 - ::fmt(&*self, f) [INFO] [stdout] 128 + ::fmt(self, f) [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 128 | ::fmt(&**self, f) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/runtime/reactor.rs:91:46 [INFO] [stdout] | [INFO] [stdout] 91 | None => Reactor::update_interest(&poller, key, source)?, [INFO] [stdout] | ^^^^^^^ help: change this to: `poller` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/runtime/reactor.rs:129:54 [INFO] [stdout] | [INFO] [stdout] 129 | ... Reactor::update_interest(&poller, e.key, source)?; [INFO] [stdout] | ^^^^^^^ help: change this to: `poller` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: initializer for `thread_local` value can be made `const` [INFO] [stdout] --> src/runtime/mod.rs:17:48 [INFO] [stdout] | [INFO] [stdout] 17 | static RUNTIME: RefCell> = RefCell::new(None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace with: `const { RefCell::new(None) }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_thread_local [INFO] [stdout] = note: `#[warn(clippy::missing_const_for_thread_local)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Checking async-stream v0.3.2 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking tokio-stream v0.1.8 [INFO] [stderr] Checking h2 v0.3.7 [INFO] [stderr] Checking tokio-test v0.4.2 [INFO] [stderr] Checking hyper v0.14.14 [INFO] [stdout] warning: unnecessary `pub(self)` [INFO] [stdout] --> src/net/mod.rs:197:1 [INFO] [stdout] | [INFO] [stdout] 197 | pub(self) use {as_raw, async_read_write, from_into_std}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pub_self [INFO] [stdout] = note: `#[warn(clippy::needless_pub_self)]` on by default [INFO] [stdout] = help: remove it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `Arc` that is not `Send` and `Sync` [INFO] [stdout] --> tests/mutex.rs:35:14 [INFO] [stdout] | [INFO] [stdout] 35 | let l1 = Arc::new(Mutex::new(100)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arc>` is not `Send` and `Sync` as `Mutex` is not `Sync` [INFO] [stdout] = help: if the `Arc` will not be used across threads replace it with an `Rc` [INFO] [stdout] = help: otherwise make `Mutex` `Send` and `Sync` or consider a wrapper type such as `Mutex` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync [INFO] [stdout] = note: `#[warn(clippy::arc_with_non_send_sync)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `Arc` that is not `Send` and `Sync` [INFO] [stdout] --> tests/mutex.rs:56:37 [INFO] [stdout] | [INFO] [stdout] 56 | let m1: Arc> = Arc::new(Mutex::new(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arc>` is not `Send` and `Sync` as `Mutex` is not `Sync` [INFO] [stdout] = help: if the `Arc` will not be used across threads replace it with an `Rc` [INFO] [stdout] = help: otherwise make `Mutex` `Send` and `Sync` or consider a wrapper type such as `Mutex` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: usage of an `Arc` that is not `Send` and `Sync` [INFO] [stdout] --> tests/mutex.rs:83:37 [INFO] [stdout] | [INFO] [stdout] 83 | let m1: Arc> = Arc::new(Mutex::new(0)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Arc>` is not `Send` and `Sync` as `Mutex` is not `Sync` [INFO] [stdout] = help: if the `Arc` will not be used across threads replace it with an `Rc` [INFO] [stdout] = help: otherwise make `Mutex` `Send` and `Sync` or consider a wrapper type such as `Mutex` [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#arc_with_non_send_sync [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> tests/mutex.rs:113:17 [INFO] [stdout] | [INFO] [stdout] 113 | assert!(!g2.is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^ help: try: `g2.is_none()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] = note: `#[warn(clippy::nonminimal_bool)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/sync/mutex.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | &*self.value [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `&self.value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] = note: `#[warn(clippy::explicit_auto_deref)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/sync/mutex.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | &mut *self.value [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `&mut self.value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/sync/mutex.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | ::fmt(&*self, f) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] = note: `#[warn(clippy::borrow_deref_ref)]` on by default [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 76 - ::fmt(&*self, f) [INFO] [stdout] 76 + ::fmt(self, f) [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 76 | ::fmt(&**self, f) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/sync/mutex.rs:82:29 [INFO] [stdout] | [INFO] [stdout] 82 | ::fmt(&*self, f) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 82 - ::fmt(&*self, f) [INFO] [stdout] 82 + ::fmt(self, f) [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 82 | ::fmt(&**self, f) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/sync/rwlock.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | &*self.value [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `&self.value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/sync/rwlock.rs:90:27 [INFO] [stdout] | [INFO] [stdout] 90 | ::fmt(&*self, f) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 90 - ::fmt(&*self, f) [INFO] [stdout] 90 + ::fmt(self, f) [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 90 | ::fmt(&**self, f) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/sync/rwlock.rs:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | ::fmt(&*self, f) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 96 - ::fmt(&*self, f) [INFO] [stdout] 96 + ::fmt(self, f) [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 96 | ::fmt(&**self, f) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/sync/rwlock.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | &*self.value [INFO] [stdout] | ^^^^^^^^^^^^ help: try: `&self.value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref which would be done by auto-deref [INFO] [stdout] --> src/sync/rwlock.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | &mut *self.value [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: try: `&mut self.value` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/sync/rwlock.rs:122:27 [INFO] [stdout] | [INFO] [stdout] 122 | ::fmt(&*self, f) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 122 - ::fmt(&*self, f) [INFO] [stdout] 122 + ::fmt(self, f) [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 122 | ::fmt(&**self, f) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: deref on an immutable reference [INFO] [stdout] --> src/sync/rwlock.rs:128:29 [INFO] [stdout] | [INFO] [stdout] 128 | ::fmt(&*self, f) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#borrow_deref_ref [INFO] [stdout] help: if you would like to reborrow, try removing `&*` [INFO] [stdout] | [INFO] [stdout] 128 - ::fmt(&*self, f) [INFO] [stdout] 128 + ::fmt(self, f) [INFO] [stdout] | [INFO] [stdout] help: if you would like to deref, try using `&**` [INFO] [stdout] | [INFO] [stdout] 128 | ::fmt(&**self, f) [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/runtime/reactor.rs:91:46 [INFO] [stdout] | [INFO] [stdout] 91 | None => Reactor::update_interest(&poller, key, source)?, [INFO] [stdout] | ^^^^^^^ help: change this to: `poller` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] = note: `#[warn(clippy::needless_borrow)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/runtime/reactor.rs:129:54 [INFO] [stdout] | [INFO] [stdout] 129 | ... Reactor::update_interest(&poller, e.key, source)?; [INFO] [stdout] | ^^^^^^^ help: change this to: `poller` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: initializer for `thread_local` value can be made `const` [INFO] [stdout] --> src/runtime/mod.rs:17:48 [INFO] [stdout] | [INFO] [stdout] 17 | static RUNTIME: RefCell> = RefCell::new(None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace with: `const { RefCell::new(None) }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_const_for_thread_local [INFO] [stdout] = note: `#[warn(clippy::missing_const_for_thread_local)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.97s [INFO] running `Command { std: "docker" "inspect" "d6c029814f8f59a68774a96e3a31a932bd5946a3be58c48db0bb5fa46d0a7cd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d6c029814f8f59a68774a96e3a31a932bd5946a3be58c48db0bb5fa46d0a7cd6", kill_on_drop: false }` [INFO] [stdout] d6c029814f8f59a68774a96e3a31a932bd5946a3be58c48db0bb5fa46d0a7cd6