[INFO] cloning repository https://github.com/starkat99/manabase [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/starkat99/manabase" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstarkat99%2Fmanabase", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstarkat99%2Fmanabase'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 98c1744f7e78868468ab28dc5110cb1c585a8452 [INFO] linting starkat99/manabase against nightly for clippy-nonminimal_bool-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstarkat99%2Fmanabase" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/starkat99/manabase [INFO] finished tweaking git repo https://github.com/starkat99/manabase [INFO] tweaked toml for git repo https://github.com/starkat99/manabase written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/starkat99/manabase 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 git repo https://github.com/starkat99/manabase 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] Downloading crates ... [INFO] [stderr] Downloaded basic-toml v0.1.4 [INFO] [stderr] Downloaded askama v0.12.0 [INFO] [stderr] Downloaded askama_derive v0.12.1 [INFO] [stderr] Downloaded winnow v0.5.3 [INFO] [stderr] Downloaded rustix v0.38.6 [INFO] [stderr] Downloaded cc v1.0.81 [INFO] [stderr] Downloaded serde_derive v1.0.181 [INFO] [stderr] Downloaded serde v1.0.181 [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] 275953cbdcc17c14a93a10dee0bf37d100371df3be9e65abe81738753205a939 [INFO] running `Command { std: "docker" "start" "-a" "275953cbdcc17c14a93a10dee0bf37d100371df3be9e65abe81738753205a939", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "275953cbdcc17c14a93a10dee0bf37d100371df3be9e65abe81738753205a939", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "275953cbdcc17c14a93a10dee0bf37d100371df3be9e65abe81738753205a939", kill_on_drop: false }` [INFO] [stdout] 275953cbdcc17c14a93a10dee0bf37d100371df3be9e65abe81738753205a939 [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] cec294e6a2d09b90fd8288193f5d28b0a48eddf6c27c9da02fb70fbdc689bf1d [INFO] running `Command { std: "docker" "start" "-a" "cec294e6a2d09b90fd8288193f5d28b0a48eddf6c27c9da02fb70fbdc689bf1d", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.32 [INFO] [stderr] Compiling serde v1.0.181 [INFO] [stderr] Compiling serde_derive v1.0.181 [INFO] [stderr] Compiling tokio v1.29.1 [INFO] [stderr] Compiling cc v1.0.81 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Compiling rustix v0.38.6 [INFO] [stderr] Checking parking_lot_core v0.9.8 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking linux-raw-sys v0.4.5 [INFO] [stderr] Compiling openssl v0.10.55 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling syn v2.0.28 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Compiling serde_json v1.0.104 [INFO] [stderr] Checking unicode-bidi v0.3.13 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking hashbrown v0.14.0 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking regex-automata v0.3.4 [INFO] [stderr] Checking winnow v0.5.3 [INFO] [stderr] Checking indexmap v2.0.0 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking askama_escape v0.10.3 [INFO] [stderr] Checking idna v0.4.0 [INFO] [stderr] Checking base64 v0.21.2 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking itertools v0.11.0 [INFO] [stderr] Compiling openssl-sys v0.9.90 [INFO] [stderr] Checking url v2.4.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking regex v1.9.1 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking is-terminal v0.4.9 [INFO] [stderr] Checking anstream v0.3.2 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking toml_datetime v0.6.3 [INFO] [stderr] Checking serde_spanned v0.6.3 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking chrono v0.4.26 [INFO] [stderr] Checking clap_builder v4.3.19 [INFO] [stderr] Compiling basic-toml v0.1.4 [INFO] [stderr] Checking toml_edit v0.19.14 [INFO] [stderr] Compiling askama_derive v0.12.1 [INFO] [stderr] Checking clap v4.3.19 [INFO] [stderr] Checking toml v0.7.6 [INFO] [stderr] Checking askama v0.12.0 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking h2 v0.3.20 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking reqwest v0.11.18 [INFO] [stderr] Checking manabase v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/main.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | static BULK_DATA_API_URL: &'static str = "https://api.scryfall.com/bulk-data/oracle-cards"; [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] = note: `#[warn(clippy::redundant_static_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: statics have by default a `'static` lifetime [INFO] [stdout] --> src/main.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | static BULK_DATA_API_URL: &'static str = "https://api.scryfall.com/bulk-data/oracle-cards"; [INFO] [stdout] | -^^^^^^^---- help: consider removing `'static`: `&str` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_static_lifetimes [INFO] [stdout] = note: `#[warn(clippy::redundant_static_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/card.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | let mut card_tag_index: HashMap, HashSet>> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `TagRef<'_>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `&TagData`, which has interior mutability [INFO] [stdout] = note: ... because it contains `TagData`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Regex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Regex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Pool Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Box Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Pool Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Mutex>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Mutex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] = note: `#[warn(clippy::mutable_key_type)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/card.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | / let mut tags: HashSet<_> = tags [INFO] [stdout] 174 | | .iter() [INFO] [stdout] 175 | | .map(|tag| tag_index.get(&tag).expect(&format!("invalid tag {}", &tag))) [INFO] [stdout] 176 | | .collect(); [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `TagRef<'_>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `&TagData`, which has interior mutability [INFO] [stdout] = note: ... because it contains `TagData`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Regex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Regex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Pool Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Box Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Pool Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Mutex>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Mutex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function call inside of `expect` [INFO] [stdout] --> src/card.rs:175:48 [INFO] [stdout] | [INFO] [stdout] 175 | .map(|tag| tag_index.get(&tag).expect(&format!("invalid tag {}", &tag))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_else(|| panic!("invalid tag {}", &tag))` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stdout] = note: `#[warn(clippy::expect_fun_call)]` 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/card.rs:175:42 [INFO] [stdout] | [INFO] [stdout] 175 | .map(|tag| tag_index.get(&tag).expect(&format!("invalid tag {}", &tag))) [INFO] [stdout] | ^^^^ help: change this to: `tag` [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/card.rs:178:37 [INFO] [stdout] | [INFO] [stdout] 178 | if tag_ref.is_match(&card, &type_line) { [INFO] [stdout] | ^^^^^ help: change this to: `card` [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: using `clone` on type `TagRef<'_>` which implements the `Copy` trait [INFO] [stdout] --> src/card.rs:189:43 [INFO] [stdout] | [INFO] [stdout] 189 | card_tag_index.insert(tag.clone(), set); [INFO] [stdout] | ^^^^^^^^^^^ help: try dereferencing it: `*tag` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] = note: `#[warn(clippy::clone_on_copy)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `TagRef<'_>` which implements the `Copy` trait [INFO] [stdout] --> src/card.rs:196:33 [INFO] [stdout] | [INFO] [stdout] 196 | .insert(tag.clone()); [INFO] [stdout] | ^^^^^^^^^^^ help: try dereferencing it: `*tag` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/card.rs:217:32 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn tag_index(&self) -> &HashMap, HashSet>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `TagRef<'a>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `&TagData`, which has interior mutability [INFO] [stdout] = note: ... because it contains `TagData`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Regex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Regex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Pool Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Box Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Pool Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Mutex>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Mutex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/card.rs:227:38 [INFO] [stdout] | [INFO] [stdout] 227 | fn new(card: &'a Card<'a>, tags: HashSet>, types: BTreeSet) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `TagRef<'a>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `&TagData`, which has interior mutability [INFO] [stdout] = note: ... because it contains `TagData`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Regex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Regex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Pool Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Box Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Pool Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Mutex>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Mutex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `card.card_faces [INFO] [stdout] .as_ref() [INFO] [stdout] .unwrap().get(0)` [INFO] [stdout] --> src/card.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | / card.card_faces [INFO] [stdout] 238 | | .as_ref() [INFO] [stdout] 239 | | .unwrap() [INFO] [stdout] 240 | | .get(0) [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] = note: `#[warn(clippy::get_first)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 237 ~ card.card_faces [INFO] [stdout] 238 + .as_ref() [INFO] [stdout] 239 + .unwrap().first() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/card.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | &self.card [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `self.card` [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: mutable key type [INFO] [stdout] --> src/card.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | pub fn tag_set(&self) -> &HashSet> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `TagRef<'a>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `&TagData`, which has interior mutability [INFO] [stdout] = note: ... because it contains `TagData`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Regex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Regex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Pool Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Box Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Pool Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Mutex>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Mutex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-canonical implementation of `clone` on a `Copy` type [INFO] [stdout] --> src/card.rs:303:35 [INFO] [stdout] | [INFO] [stdout] 303 | fn clone(&self) -> CardId<'a> { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 304 | | CardId(self.0) [INFO] [stdout] 305 | | } [INFO] [stdout] | |_____^ help: change this to: `{ *self }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_clone_impl [INFO] [stdout] = note: `#[warn(clippy::non_canonical_clone_impl)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/card.rs:144:9 [INFO] [stdout] | [INFO] [stdout] 144 | let mut card_tag_index: HashMap, HashSet>> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `TagRef<'_>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `&TagData`, which has interior mutability [INFO] [stdout] = note: ... because it contains `TagData`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Regex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Regex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Pool Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Box Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Pool Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Mutex>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Mutex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] = note: `#[warn(clippy::mutable_key_type)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/card.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | / let mut tags: HashSet<_> = tags [INFO] [stdout] 174 | | .iter() [INFO] [stdout] 175 | | .map(|tag| tag_index.get(&tag).expect(&format!("invalid tag {}", &tag))) [INFO] [stdout] 176 | | .collect(); [INFO] [stdout] | |___________________________^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `TagRef<'_>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `&TagData`, which has interior mutability [INFO] [stdout] = note: ... because it contains `TagData`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Regex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Regex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Pool Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Box Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Pool Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Mutex>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Mutex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function call inside of `expect` [INFO] [stdout] --> src/card.rs:175:48 [INFO] [stdout] | [INFO] [stdout] 175 | .map(|tag| tag_index.get(&tag).expect(&format!("invalid tag {}", &tag))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `unwrap_or_else(|| panic!("invalid tag {}", &tag))` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call [INFO] [stdout] = note: `#[warn(clippy::expect_fun_call)]` 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/card.rs:175:42 [INFO] [stdout] | [INFO] [stdout] 175 | .map(|tag| tag_index.get(&tag).expect(&format!("invalid tag {}", &tag))) [INFO] [stdout] | ^^^^ help: change this to: `tag` [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/card.rs:178:37 [INFO] [stdout] | [INFO] [stdout] 178 | if tag_ref.is_match(&card, &type_line) { [INFO] [stdout] | ^^^^^ help: change this to: `card` [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: using `clone` on type `TagRef<'_>` which implements the `Copy` trait [INFO] [stdout] --> src/card.rs:189:43 [INFO] [stdout] | [INFO] [stdout] 189 | card_tag_index.insert(tag.clone(), set); [INFO] [stdout] | ^^^^^^^^^^^ help: try dereferencing it: `*tag` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] = note: `#[warn(clippy::clone_on_copy)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `TagRef<'_>` which implements the `Copy` trait [INFO] [stdout] --> src/card.rs:196:33 [INFO] [stdout] | [INFO] [stdout] 196 | .insert(tag.clone()); [INFO] [stdout] | ^^^^^^^^^^^ help: try dereferencing it: `*tag` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/card.rs:217:32 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn tag_index(&self) -> &HashMap, HashSet>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `TagRef<'a>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `&TagData`, which has interior mutability [INFO] [stdout] = note: ... because it contains `TagData`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Regex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Regex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Pool Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Box Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Pool Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Mutex>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Mutex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/card.rs:227:38 [INFO] [stdout] | [INFO] [stdout] 227 | fn new(card: &'a Card<'a>, tags: HashSet>, types: BTreeSet) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `TagRef<'a>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `&TagData`, which has interior mutability [INFO] [stdout] = note: ... because it contains `TagData`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Regex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Regex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Pool Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Box Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Pool Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Mutex>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Mutex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: accessing first element with `card.card_faces [INFO] [stdout] .as_ref() [INFO] [stdout] .unwrap().get(0)` [INFO] [stdout] --> src/card.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | / card.card_faces [INFO] [stdout] 238 | | .as_ref() [INFO] [stdout] 239 | | .unwrap() [INFO] [stdout] 240 | | .get(0) [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first [INFO] [stdout] = note: `#[warn(clippy::get_first)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 237 ~ card.card_faces [INFO] [stdout] 238 + .as_ref() [INFO] [stdout] 239 + .unwrap().first() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/card.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | &self.card [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `self.card` [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: mutable key type [INFO] [stdout] --> src/card.rs:271:30 [INFO] [stdout] | [INFO] [stdout] 271 | pub fn tag_set(&self) -> &HashSet> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `TagRef<'a>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `&TagData`, which has interior mutability [INFO] [stdout] = note: ... because it contains `TagData`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Regex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Regex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Pool Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Box Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Pool Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Mutex>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Mutex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-canonical implementation of `clone` on a `Copy` type [INFO] [stdout] --> src/card.rs:303:35 [INFO] [stdout] | [INFO] [stdout] 303 | fn clone(&self) -> CardId<'a> { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 304 | | CardId(self.0) [INFO] [stdout] 305 | | } [INFO] [stdout] | |_____^ help: change this to: `{ *self }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_clone_impl [INFO] [stdout] = note: `#[warn(clippy::non_canonical_clone_impl)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/tags.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 137 | if !kind_index.get(&tag.kind).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `kind_index.get(&tag.kind).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: unnecessary use of `get(&tag.kind).is_some()` [INFO] [stdout] --> src/tags.rs:137:28 [INFO] [stdout] | [INFO] [stdout] 137 | if !kind_index.get(&tag.kind).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `contains_key(&tag.kind)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_get_then_check [INFO] [stdout] = note: `#[warn(clippy::unnecessary_get_then_check)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/tags.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | name.clone().into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `name.clone()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] = note: `#[warn(clippy::useless_conversion)]` 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/tags.rs:221:57 [INFO] [stdout] | [INFO] [stdout] 221 | let mut builder = RegexBuilder::new(&s); [INFO] [stdout] | ^^ help: change this to: `s` [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: this `impl` can be derived [INFO] [stdout] --> src/tags.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | / impl Default for TagKind { [INFO] [stdout] 331 | | fn default() -> Self { [INFO] [stdout] 332 | | TagKind::Other [INFO] [stdout] 333 | | } [INFO] [stdout] 334 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 25 + #[derive(Default)] [INFO] [stdout] 26 | pub enum TagKind { [INFO] [stdout] 27 | ColorIdentity, [INFO] [stdout] ... [INFO] [stdout] 32 | Format, [INFO] [stdout] 33 ~ #[default] [INFO] [stdout] 34 ~ Other, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-canonical implementation of `clone` on a `Copy` type [INFO] [stdout] --> src/tags.rs:368:35 [INFO] [stdout] | [INFO] [stdout] 368 | fn clone(&self) -> TagRef<'a> { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 369 | | TagRef(self.0) [INFO] [stdout] 370 | | } [INFO] [stdout] | |_____^ help: change this to: `{ *self }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_clone_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/tags.rs:137:16 [INFO] [stdout] | [INFO] [stdout] 137 | if !kind_index.get(&tag.kind).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `kind_index.get(&tag.kind).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: unnecessary use of `get(&tag.kind).is_some()` [INFO] [stdout] --> src/tags.rs:137:28 [INFO] [stdout] | [INFO] [stdout] 137 | if !kind_index.get(&tag.kind).is_some() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `contains_key(&tag.kind)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_get_then_check [INFO] [stdout] = note: `#[warn(clippy::unnecessary_get_then_check)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: useless conversion to the same type: `std::string::String` [INFO] [stdout] --> src/tags.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | name.clone().into(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `name.clone()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion [INFO] [stdout] = note: `#[warn(clippy::useless_conversion)]` 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/tags.rs:221:57 [INFO] [stdout] | [INFO] [stdout] 221 | let mut builder = RegexBuilder::new(&s); [INFO] [stdout] | ^^ help: change this to: `s` [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: this `impl` can be derived [INFO] [stdout] --> src/tags.rs:330:1 [INFO] [stdout] | [INFO] [stdout] 330 | / impl Default for TagKind { [INFO] [stdout] 331 | | fn default() -> Self { [INFO] [stdout] 332 | | TagKind::Other [INFO] [stdout] 333 | | } [INFO] [stdout] 334 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls [INFO] [stdout] = note: `#[warn(clippy::derivable_impls)]` on by default [INFO] [stdout] help: replace the manual implementation with a derive attribute and mark the default variant [INFO] [stdout] | [INFO] [stdout] 25 + #[derive(Default)] [INFO] [stdout] 26 | pub enum TagKind { [INFO] [stdout] 27 | ColorIdentity, [INFO] [stdout] ... [INFO] [stdout] 32 | Format, [INFO] [stdout] 33 ~ #[default] [INFO] [stdout] 34 ~ Other, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-canonical implementation of `clone` on a `Copy` type [INFO] [stdout] --> src/tags.rs:368:35 [INFO] [stdout] | [INFO] [stdout] 368 | fn clone(&self) -> TagRef<'a> { [INFO] [stdout] | ___________________________________^ [INFO] [stdout] 369 | | TagRef(self.0) [INFO] [stdout] 370 | | } [INFO] [stdout] | |_____^ help: change this to: `{ *self }` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#non_canonical_clone_impl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/templates.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | / let subtags: HashSet<_> = tag [INFO] [stdout] 180 | | .subtags() [INFO] [stdout] 181 | | .iter() [INFO] [stdout] 182 | | .filter_map(|name| tag_index.get(name)) [INFO] [stdout] 183 | | .collect(); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `TagRef<'_>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `&TagData`, which has interior mutability [INFO] [stdout] = note: ... because it contains `TagData`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Regex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Regex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Pool Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Box Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Pool Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Mutex>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Mutex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/templates.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | let mut tag_map: HashMap<_, Vec<_>> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `Option>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `TagRef<'_>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `&TagData`, which has interior mutability [INFO] [stdout] = note: ... because it contains `TagData`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Regex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Regex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Pool Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Box Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Pool Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Mutex>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Mutex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you are using an explicit closure for copying elements [INFO] [stdout] --> src/templates.rs:195:40 [INFO] [stdout] | [INFO] [stdout] 195 | let mut tagcards: Vec<_> = cards [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 196 | | .iter() [INFO] [stdout] 197 | | .map(|card| *card) [INFO] [stdout] | |__________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone [INFO] [stdout] = note: `#[warn(clippy::map_clone)]` on by default [INFO] [stdout] help: consider calling the dedicated `copied` method [INFO] [stdout] | [INFO] [stdout] 195 ~ let mut tagcards: Vec<_> = cards [INFO] [stdout] 196 + .iter().copied() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you are using an explicit closure for copying elements [INFO] [stdout] --> src/templates.rs:203:36 [INFO] [stdout] | [INFO] [stdout] 203 | let mut untagged: Vec<_> = cards [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 204 | | .iter() [INFO] [stdout] 205 | | .map(|card| *card) [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone [INFO] [stdout] help: consider calling the dedicated `copied` method [INFO] [stdout] | [INFO] [stdout] 203 ~ let mut untagged: Vec<_> = cards [INFO] [stdout] 204 + .iter().copied() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `TagRef<'_>` which implements the `Copy` trait [INFO] [stdout] --> src/templates.rs:245:30 [INFO] [stdout] | [INFO] [stdout] 245 | self.cards.get(&Some(tag.clone())) [INFO] [stdout] | ^^^^^^^^^^^ help: try removing the `clone` call: `tag` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/main.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | std::fs::create_dir_all(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:82:48 [INFO] [stdout] | [INFO] [stdout] 82 | templates::IndexPage::new(&tagdb, &carddb, timestamp.clone(), data_updated.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:82:67 [INFO] [stdout] | [INFO] [stdout] 82 | templates::IndexPage::new(&tagdb, &carddb, timestamp.clone(), data_updated.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:85:39 [INFO] [stdout] | [INFO] [stdout] 85 | templates::AllCards::new(&carddb, timestamp.clone(), data_updated.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:85:58 [INFO] [stdout] | [INFO] [stdout] 85 | templates::AllCards::new(&carddb, timestamp.clone(), data_updated.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:86:23 [INFO] [stdout] | [INFO] [stdout] 86 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 94 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:122:19 [INFO] [stdout] | [INFO] [stdout] 122 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:129:19 [INFO] [stdout] | [INFO] [stdout] 129 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 136 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 143 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:152:19 [INFO] [stdout] | [INFO] [stdout] 152 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:160:19 [INFO] [stdout] | [INFO] [stdout] 160 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:168:19 [INFO] [stdout] | [INFO] [stdout] 168 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:176:19 [INFO] [stdout] | [INFO] [stdout] 176 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:184:19 [INFO] [stdout] | [INFO] [stdout] 184 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:200:19 [INFO] [stdout] | [INFO] [stdout] 200 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:208:19 [INFO] [stdout] | [INFO] [stdout] 208 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:218:23 [INFO] [stdout] | [INFO] [stdout] 218 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: mutable key type [INFO] [stdout] --> src/templates.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | / let subtags: HashSet<_> = tag [INFO] [stdout] 180 | | .subtags() [INFO] [stdout] 181 | | .iter() [INFO] [stdout] 182 | | .filter_map(|name| tag_index.get(name)) [INFO] [stdout] 183 | | .collect(); [INFO] [stdout] | |_______________________^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `TagRef<'_>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `&TagData`, which has interior mutability [INFO] [stdout] = note: ... because it contains `TagData`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Regex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Regex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Pool Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Box Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Pool Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Mutex>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Mutex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: mutable key type [INFO] [stdout] --> src/templates.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | let mut tag_map: HashMap<_, Vec<_>> = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: ... because it contains `Option>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `TagRef<'_>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `&TagData`, which has interior mutability [INFO] [stdout] = note: ... because it contains `TagData`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Option`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Regex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Regex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Pool Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Box Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Pool Cache + RefUnwindSafe + Send + Sync + UnwindSafe>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Mutex>>`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Mutex`, which has interior mutability [INFO] [stdout] = note: ... because it contains `Atomic`, which has interior mutability [INFO] [stdout] = note: ... because it contains `UnsafeCell<::Storage>`, which has interior mutability [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#mutable_key_type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you are using an explicit closure for copying elements [INFO] [stdout] --> src/templates.rs:195:40 [INFO] [stdout] | [INFO] [stdout] 195 | let mut tagcards: Vec<_> = cards [INFO] [stdout] | ________________________________________^ [INFO] [stdout] 196 | | .iter() [INFO] [stdout] 197 | | .map(|card| *card) [INFO] [stdout] | |__________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone [INFO] [stdout] = note: `#[warn(clippy::map_clone)]` on by default [INFO] [stdout] help: consider calling the dedicated `copied` method [INFO] [stdout] | [INFO] [stdout] 195 ~ let mut tagcards: Vec<_> = cards [INFO] [stdout] 196 + .iter().copied() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you are using an explicit closure for copying elements [INFO] [stdout] --> src/templates.rs:203:36 [INFO] [stdout] | [INFO] [stdout] 203 | let mut untagged: Vec<_> = cards [INFO] [stdout] | ____________________________________^ [INFO] [stdout] 204 | | .iter() [INFO] [stdout] 205 | | .map(|card| *card) [INFO] [stdout] | |______________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#map_clone [INFO] [stdout] help: consider calling the dedicated `copied` method [INFO] [stdout] | [INFO] [stdout] 203 ~ let mut untagged: Vec<_> = cards [INFO] [stdout] 204 + .iter().copied() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `TagRef<'_>` which implements the `Copy` trait [INFO] [stdout] --> src/templates.rs:245:30 [INFO] [stdout] | [INFO] [stdout] 245 | self.cards.get(&Some(tag.clone())) [INFO] [stdout] | ^^^^^^^^^^^ help: try removing the `clone` call: `tag` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the borrowed expression implements the required traits [INFO] [stdout] --> src/main.rs:42:29 [INFO] [stdout] | [INFO] [stdout] 42 | std::fs::create_dir_all(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args [INFO] [stdout] = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:82:48 [INFO] [stdout] | [INFO] [stdout] 82 | templates::IndexPage::new(&tagdb, &carddb, timestamp.clone(), data_updated.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:82:67 [INFO] [stdout] | [INFO] [stdout] 82 | templates::IndexPage::new(&tagdb, &carddb, timestamp.clone(), data_updated.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:83:23 [INFO] [stdout] | [INFO] [stdout] 83 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:85:39 [INFO] [stdout] | [INFO] [stdout] 85 | templates::AllCards::new(&carddb, timestamp.clone(), data_updated.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:85:58 [INFO] [stdout] | [INFO] [stdout] 85 | templates::AllCards::new(&carddb, timestamp.clone(), data_updated.clone()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:86:23 [INFO] [stdout] | [INFO] [stdout] 86 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:94:19 [INFO] [stdout] | [INFO] [stdout] 94 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:105:9 [INFO] [stdout] | [INFO] [stdout] 105 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 119 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:122:19 [INFO] [stdout] | [INFO] [stdout] 122 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:129:19 [INFO] [stdout] | [INFO] [stdout] 129 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 136 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:140:9 [INFO] [stdout] | [INFO] [stdout] 140 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:143:19 [INFO] [stdout] | [INFO] [stdout] 143 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:149:9 [INFO] [stdout] | [INFO] [stdout] 149 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:152:19 [INFO] [stdout] | [INFO] [stdout] 152 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:158:9 [INFO] [stdout] | [INFO] [stdout] 158 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:160:19 [INFO] [stdout] | [INFO] [stdout] 160 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:165:9 [INFO] [stdout] | [INFO] [stdout] 165 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:166:9 [INFO] [stdout] | [INFO] [stdout] 166 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:168:19 [INFO] [stdout] | [INFO] [stdout] 168 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:176:19 [INFO] [stdout] | [INFO] [stdout] 176 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:184:19 [INFO] [stdout] | [INFO] [stdout] 184 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:198:9 [INFO] [stdout] | [INFO] [stdout] 198 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:200:19 [INFO] [stdout] | [INFO] [stdout] 200 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:205:9 [INFO] [stdout] | [INFO] [stdout] 205 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:206:9 [INFO] [stdout] | [INFO] [stdout] 206 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:208:19 [INFO] [stdout] | [INFO] [stdout] 208 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:215:13 [INFO] [stdout] | [INFO] [stdout] 215 | timestamp.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `timestamp` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `clone` on type `DateTime` which implements the `Copy` trait [INFO] [stdout] --> src/main.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | data_updated.clone(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: try removing the `clone` call: `data_updated` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/main.rs:218:23 [INFO] [stdout] | [INFO] [stdout] 218 | .write_output(&output_dir)?; [INFO] [stdout] | ^^^^^^^^^^^ help: change this to: `output_dir` [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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 21.58s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: openssl v0.10.55 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "cec294e6a2d09b90fd8288193f5d28b0a48eddf6c27c9da02fb70fbdc689bf1d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cec294e6a2d09b90fd8288193f5d28b0a48eddf6c27c9da02fb70fbdc689bf1d", kill_on_drop: false }` [INFO] [stdout] cec294e6a2d09b90fd8288193f5d28b0a48eddf6c27c9da02fb70fbdc689bf1d