[INFO] fetching crate landlord 0.1.1... [INFO] linting landlord-0.1.1 against nightly for clippy-nonminimal_bool-denied [INFO] extracting crate landlord 0.1.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate landlord 0.1.1 [INFO] finished tweaking crates.io crate landlord 0.1.1 [INFO] tweaked toml for crates.io crate landlord 0.1.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate landlord 0.1.1 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 79 packages to latest compatible versions [INFO] [stderr] Adding bincode v1.3.3 (available: v3.0.0) [INFO] [stderr] Adding criterion v0.3.6 (available: v0.8.2) [INFO] [stderr] Adding rand v0.7.3 (available: v0.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] 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] f0d8c47d7bfebe40b5b664219bd9cd1737348ae526f9facdddb6edf57b5f4b06 [INFO] running `Command { std: "docker" "start" "-a" "f0d8c47d7bfebe40b5b664219bd9cd1737348ae526f9facdddb6edf57b5f4b06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0d8c47d7bfebe40b5b664219bd9cd1737348ae526f9facdddb6edf57b5f4b06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0d8c47d7bfebe40b5b664219bd9cd1737348ae526f9facdddb6edf57b5f4b06", kill_on_drop: false }` [INFO] [stdout] f0d8c47d7bfebe40b5b664219bd9cd1737348ae526f9facdddb6edf57b5f4b06 [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] c279078927049f01a9e302d2c14472039f112677f473a6297f722c08ee9ac01c [INFO] running `Command { std: "docker" "start" "-a" "c279078927049f01a9e302d2c14472039f112677f473a6297f722c08ee9ac01c", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking simd-adler32 v0.3.8 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking serde_cbor v0.11.2 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking wasm-bindgen v0.2.114 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking regex v1.12.3 [INFO] [stderr] Checking criterion v0.3.6 [INFO] [stderr] Checking landlord v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> src/mtgoncurve.rs:90:36 [INFO] [stdout] | [INFO] [stdout] 90 | let input: Input = match input.into_serde() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `wasm_bindgen::JsValue::from_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> src/mtgoncurve.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | JsValue::from_serde(&result).expect("this can't fail") [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/card.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | / impl Default for CardKind { [INFO] [stdout] 121 | | fn default() -> Self { [INFO] [stdout] 122 | | Self::Unknown [INFO] [stdout] 123 | | } [INFO] [stdout] 124 | | } [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] 70 + #[derive(Default)] [INFO] [stdout] 71 | pub enum CardKind { [INFO] [stdout] 72 | // Lands [INFO] [stdout] ... [INFO] [stdout] 86 | Artifact, [INFO] [stdout] 87 ~ #[default] [INFO] [stdout] 88 ~ Unknown, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this operation has no effect [INFO] [stdout] --> src/card.rs:175:10 [INFO] [stdout] | [INFO] [stdout] 175 | (min(1, r) << 0 & Self::R_BITS) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: consider reducing it to: `min(1, r)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stdout] = note: `#[warn(clippy::identity_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `from_str` can be confused for the standard trait method `std::str::FromStr::from_str` [INFO] [stdout] --> src/card.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | / pub fn from_str(color: &str) -> Self { [INFO] [stdout] 199 | | match color.chars().next() { [INFO] [stdout] 200 | | Some('B') => Self::Black, [INFO] [stdout] 201 | | Some('U') => Self::Blue, [INFO] [stdout] ... | [INFO] [stdout] 207 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: consider implementing the trait `std::str::FromStr` or choosing a less ambiguous method name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#should_implement_trait [INFO] [stdout] = note: `#[warn(clippy::should_implement_trait)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/card.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | / self == Self::BasicLand [INFO] [stdout] 215 | | || self == Self::ShockLand [INFO] [stdout] 216 | | || self == Self::CheckLand [INFO] [stdout] 217 | | || self == Self::BasicLand [INFO] [stdout] 218 | | || self == Self::TapLand [INFO] [stdout] 219 | | || self == Self::OtherLand [INFO] [stdout] 220 | | || self == Self::ForcedLand [INFO] [stdout] | |_______________________________________^ [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] help: try [INFO] [stdout] | [INFO] [stdout] 214 - self == Self::BasicLand [INFO] [stdout] 215 - || self == Self::ShockLand [INFO] [stdout] 216 - || self == Self::CheckLand [INFO] [stdout] 217 - || self == Self::BasicLand [INFO] [stdout] 218 - || self == Self::TapLand [INFO] [stdout] 219 - || self == Self::OtherLand [INFO] [stdout] 220 - || self == Self::ForcedLand [INFO] [stdout] 214 + !(self != Self::BasicLand && self != Self::ShockLand && self != Self::CheckLand && self != Self::TapLand && self != Self::OtherLand && self != Self::ForcedLand) [INFO] [stdout] | [INFO] [stdout] 214 - self == Self::BasicLand [INFO] [stdout] 215 - || self == Self::ShockLand [INFO] [stdout] 216 - || self == Self::CheckLand [INFO] [stdout] 217 - || self == Self::BasicLand [INFO] [stdout] 218 - || self == Self::TapLand [INFO] [stdout] 219 - || self == Self::OtherLand [INFO] [stdout] 220 - || self == Self::ForcedLand [INFO] [stdout] 214 + self == Self::BasicLand || self == Self::ShockLand || self == Self::CheckLand || self == Self::TapLand || self == Self::OtherLand || self == Self::ForcedLand [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/card.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | / self == Self::BasicLand [INFO] [stdout] 215 | | || self == Self::ShockLand [INFO] [stdout] 216 | | || self == Self::CheckLand [INFO] [stdout] 217 | | || self == Self::BasicLand [INFO] [stdout] 218 | | || self == Self::TapLand [INFO] [stdout] 219 | | || self == Self::OtherLand [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 214 - self == Self::BasicLand [INFO] [stdout] 215 - || self == Self::ShockLand [INFO] [stdout] 216 - || self == Self::CheckLand [INFO] [stdout] 217 - || self == Self::BasicLand [INFO] [stdout] 218 - || self == Self::TapLand [INFO] [stdout] 219 - || self == Self::OtherLand [INFO] [stdout] 214 + !(self != Self::BasicLand && self != Self::ShockLand && self != Self::CheckLand && self != Self::TapLand && self != Self::OtherLand) [INFO] [stdout] | [INFO] [stdout] 214 - self == Self::BasicLand [INFO] [stdout] 215 - || self == Self::ShockLand [INFO] [stdout] 216 - || self == Self::CheckLand [INFO] [stdout] 217 - || self == Self::BasicLand [INFO] [stdout] 218 - || self == Self::TapLand [INFO] [stdout] 219 - || self == Self::OtherLand [INFO] [stdout] 214 + self == Self::BasicLand || self == Self::ShockLand || self == Self::CheckLand || self == Self::TapLand || self == Self::OtherLand [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/card.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | / self == Self::BasicLand [INFO] [stdout] 215 | | || self == Self::ShockLand [INFO] [stdout] 216 | | || self == Self::CheckLand [INFO] [stdout] 217 | | || self == Self::BasicLand [INFO] [stdout] 218 | | || self == Self::TapLand [INFO] [stdout] | |____________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 214 - self == Self::BasicLand [INFO] [stdout] 215 - || self == Self::ShockLand [INFO] [stdout] 216 - || self == Self::CheckLand [INFO] [stdout] 217 - || self == Self::BasicLand [INFO] [stdout] 218 - || self == Self::TapLand [INFO] [stdout] 214 + !(self != Self::BasicLand && self != Self::ShockLand && self != Self::CheckLand && self != Self::TapLand) [INFO] [stdout] | [INFO] [stdout] 214 - self == Self::BasicLand [INFO] [stdout] 215 - || self == Self::ShockLand [INFO] [stdout] 216 - || self == Self::CheckLand [INFO] [stdout] 217 - || self == Self::BasicLand [INFO] [stdout] 218 - || self == Self::TapLand [INFO] [stdout] 214 + self == Self::BasicLand || self == Self::ShockLand || self == Self::CheckLand || self == Self::TapLand [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/card.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | / self == Self::BasicLand [INFO] [stdout] 215 | | || self == Self::ShockLand [INFO] [stdout] 216 | | || self == Self::CheckLand [INFO] [stdout] 217 | | || self == Self::BasicLand [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 214 - self == Self::BasicLand [INFO] [stdout] 215 - || self == Self::ShockLand [INFO] [stdout] 216 - || self == Self::CheckLand [INFO] [stdout] 217 - || self == Self::BasicLand [INFO] [stdout] 214 + !(self != Self::BasicLand && self != Self::ShockLand && self != Self::CheckLand) [INFO] [stdout] | [INFO] [stdout] 214 - self == Self::BasicLand [INFO] [stdout] 215 - || self == Self::ShockLand [INFO] [stdout] 216 - || self == Self::CheckLand [INFO] [stdout] 217 - || self == Self::BasicLand [INFO] [stdout] 214 + self == Self::BasicLand || self == Self::ShockLand || self == Self::CheckLand [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `Result.or_else(|x| Err(y))`, which is more succinctly expressed as `map_err(|x| y)` [INFO] [stdout] --> src/card.rs:290:26 [INFO] [stdout] | [INFO] [stdout] 290 | let amount = caps["amount"].parse::().or_else(|_| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 291 | | Err(DeckcodeError(format!( [INFO] [stdout] 292 | | "Cannot parse usize card amount from deck list line: {}", [INFO] [stdout] 293 | | line [INFO] [stdout] 294 | | ))) [INFO] [stdout] 295 | | })?; [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map [INFO] [stdout] = note: `#[warn(clippy::bind_instead_of_map)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 290 ~ let amount = caps["amount"].parse::().map_err(|_| DeckcodeError(format!( [INFO] [stdout] 291 + "Cannot parse usize card amount from deck list line: {}", [INFO] [stdout] 292 + line [INFO] [stdout] 293 ~ )))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `Result.or_else(|x| Err(y))`, which is more succinctly expressed as `map_err(|x| y)` [INFO] [stdout] --> src/card.rs:319:33 [INFO] [stdout] | [INFO] [stdout] 319 | let x_val = x_val.as_str().parse::().or_else(|_| { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 320 | | Err(DeckcodeError(format!( [INFO] [stdout] 321 | | "Cannot parse u8 X= value from deck list line: {}", [INFO] [stdout] 322 | | line [INFO] [stdout] 323 | | ))) [INFO] [stdout] 324 | | })?; [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 319 ~ let x_val = x_val.as_str().parse::().map_err(|_| DeckcodeError(format!( [INFO] [stdout] 320 + "Cannot parse u8 X= value from deck list line: {}", [INFO] [stdout] 321 + line [INFO] [stdout] 322 ~ )))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `Result.or_else(|x| Err(y))`, which is more succinctly expressed as `map_err(|x| y)` [INFO] [stdout] --> src/card.rs:351:32 [INFO] [stdout] | [INFO] [stdout] 351 | let turn_val = turn_val.as_str().parse::().or_else(|_| { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 352 | | Err(DeckcodeError(format!( [INFO] [stdout] 353 | | "Cannot parse u8 T= value from deck list line: {}", [INFO] [stdout] 354 | | line [INFO] [stdout] 355 | | ))) [INFO] [stdout] 356 | | })?; [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 351 ~ let turn_val = turn_val.as_str().parse::().map_err(|_| DeckcodeError(format!( [INFO] [stdout] 352 + "Cannot parse u8 T= value from deck list line: {}", [INFO] [stdout] 353 + line [INFO] [stdout] 354 ~ )))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `SimCard` [INFO] [stdout] --> src/hand.rs:52:3 [INFO] [stdout] | [INFO] [stdout] 52 | / pub fn new() -> Self { [INFO] [stdout] 53 | | Self { [INFO] [stdout] 54 | | kind: CardKind::Unknown, [INFO] [stdout] 55 | | hash: 0, [INFO] [stdout] ... | [INFO] [stdout] 58 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] = note: `#[warn(clippy::new_without_default)]` on by default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 51 + impl Default for SimCard { [INFO] [stdout] 52 + fn default() -> Self { [INFO] [stdout] 53 + Self::new() [INFO] [stdout] 54 + } [INFO] [stdout] 55 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Hand` has a public `len` method, but no `is_empty` method [INFO] [stdout] --> src/hand.rs:175:3 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty [INFO] [stdout] = note: `#[warn(clippy::len_without_is_empty)]` 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/hand.rs:201:14 [INFO] [stdout] | [INFO] [stdout] 201 | unsafe { &self.cards.get_unchecked(from..to) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.cards.get_unchecked(from..to)` [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/mtgoncurve.rs:126:53 [INFO] [stdout] | [INFO] [stdout] 126 | if let Some(card) = deck.card_from_name(&card_name) { [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `card_name` [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 expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/mtgoncurve.rs:151:55 [INFO] [stdout] | [INFO] [stdout] 151 | let o = sim.observations_for_card_by_turn(&card, card.turn as usize); [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: consider using `sort_by_key` [INFO] [stdout] --> src/mtgoncurve.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | / outputs [INFO] [stdout] 168 | | .card_observations [INFO] [stdout] 169 | | .sort_by(|a, b| a.card.mana_cost.cmc().cmp(&b.card.mana_cost.cmc())); [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_sort_by [INFO] [stdout] = note: `#[warn(clippy::unnecessary_sort_by)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 169 - .sort_by(|a, b| a.card.mana_cost.cmc().cmp(&b.card.mana_cost.cmc())); [INFO] [stdout] 169 + .sort_by_key(|a| a.card.mana_cost.cmc()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider using `sort_by_key` [INFO] [stdout] --> src/mtgoncurve.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / outputs [INFO] [stdout] 191 | | .land_counts [INFO] [stdout] 192 | | .sort_by(|a, b| a.card.kind.cmp(&b.card.kind)); [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_sort_by [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 192 - .sort_by(|a, b| a.card.kind.cmp(&b.card.kind)); [INFO] [stdout] 192 + .sort_by_key(|a| a.card.kind); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/mtgoncurve.rs:196:35 [INFO] [stdout] | [INFO] [stdout] 196 | outputs.deck_average_cmc = if non_land_cards.len() == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `non_land_cards.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] = note: `#[warn(clippy::len_zero)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module has the same name as its containing module [INFO] [stdout] --> src/mulligan/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod mulligan; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception [INFO] [stdout] = note: `#[warn(clippy::module_inception)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constructor `never` has the same name as the type [INFO] [stdout] --> src/mulligan/never.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | / pub fn never() -> Self { [INFO] [stdout] 24 | | Self::new() [INFO] [stdout] 25 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#self_named_constructors [INFO] [stdout] = note: `#[warn(clippy::self_named_constructors)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/mulligan/never.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / return Hand::from_opening_and_draws( [INFO] [stdout] 48 | | &shuffled_deck[..starting_hand_size], [INFO] [stdout] 49 | | &shuffled_deck[starting_hand_size..], [INFO] [stdout] 50 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 47 ~ Hand::from_opening_and_draws( [INFO] [stdout] 48 + &shuffled_deck[..starting_hand_size], [INFO] [stdout] 49 + &shuffled_deck[starting_hand_size..], [INFO] [stdout] 50 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `criterion::Criterion::::bench_function_over_inputs`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/cards_in_hand.rs:14:7 [INFO] [stdout] | [INFO] [stdout] 14 | c.bench_function_over_inputs( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> benches/cards_in_hand.rs:32:47 [INFO] [stdout] | [INFO] [stdout] 32 | sim.observations_for_card(&c); [INFO] [stdout] | ^^ help: change this to: `c` [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: use of deprecated method `criterion::Criterion::::bench_function_over_inputs`: Please use BenchmarkGroups instead. [INFO] [stdout] --> benches/card_observations_perf_1.rs:33:7 [INFO] [stdout] | [INFO] [stdout] 33 | c.bench_function_over_inputs( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> benches/card_observations_perf_1.rs:51:47 [INFO] [stdout] | [INFO] [stdout] 51 | sim.observations_for_card(&c); [INFO] [stdout] | ^^ help: change this to: `c` [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: use of deprecated method `wasm_bindgen::JsValue::into_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> src/mtgoncurve.rs:90:36 [INFO] [stdout] | [INFO] [stdout] 90 | let input: Input = match input.into_serde() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `wasm_bindgen::JsValue::from_serde`: causes dependency cycles, use `serde-wasm-bindgen` or `gloo_utils::format::JsValueSerdeExt` instead [INFO] [stdout] --> src/mtgoncurve.rs:102:14 [INFO] [stdout] | [INFO] [stdout] 102 | JsValue::from_serde(&result).expect("this can't fail") [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this `impl` can be derived [INFO] [stdout] --> src/card.rs:120:1 [INFO] [stdout] | [INFO] [stdout] 120 | / impl Default for CardKind { [INFO] [stdout] 121 | | fn default() -> Self { [INFO] [stdout] 122 | | Self::Unknown [INFO] [stdout] 123 | | } [INFO] [stdout] 124 | | } [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] 70 + #[derive(Default)] [INFO] [stdout] 71 | pub enum CardKind { [INFO] [stdout] 72 | // Lands [INFO] [stdout] ... [INFO] [stdout] 86 | Artifact, [INFO] [stdout] 87 ~ #[default] [INFO] [stdout] 88 ~ Unknown, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this operation has no effect [INFO] [stdout] --> src/card.rs:175:10 [INFO] [stdout] | [INFO] [stdout] 175 | (min(1, r) << 0 & Self::R_BITS) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: consider reducing it to: `min(1, r)` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#identity_op [INFO] [stdout] = note: `#[warn(clippy::identity_op)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `from_str` can be confused for the standard trait method `std::str::FromStr::from_str` [INFO] [stdout] --> src/card.rs:198:5 [INFO] [stdout] | [INFO] [stdout] 198 | / pub fn from_str(color: &str) -> Self { [INFO] [stdout] 199 | | match color.chars().next() { [INFO] [stdout] 200 | | Some('B') => Self::Black, [INFO] [stdout] 201 | | Some('U') => Self::Blue, [INFO] [stdout] ... | [INFO] [stdout] 207 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: consider implementing the trait `std::str::FromStr` or choosing a less ambiguous method name [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#should_implement_trait [INFO] [stdout] = note: `#[warn(clippy::should_implement_trait)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/card.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | / self == Self::BasicLand [INFO] [stdout] 215 | | || self == Self::ShockLand [INFO] [stdout] 216 | | || self == Self::CheckLand [INFO] [stdout] 217 | | || self == Self::BasicLand [INFO] [stdout] 218 | | || self == Self::TapLand [INFO] [stdout] 219 | | || self == Self::OtherLand [INFO] [stdout] 220 | | || self == Self::ForcedLand [INFO] [stdout] | |_______________________________________^ [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] help: try [INFO] [stdout] | [INFO] [stdout] 214 - self == Self::BasicLand [INFO] [stdout] 215 - || self == Self::ShockLand [INFO] [stdout] 216 - || self == Self::CheckLand [INFO] [stdout] 217 - || self == Self::BasicLand [INFO] [stdout] 218 - || self == Self::TapLand [INFO] [stdout] 219 - || self == Self::OtherLand [INFO] [stdout] 220 - || self == Self::ForcedLand [INFO] [stdout] 214 + !(self != Self::BasicLand && self != Self::ShockLand && self != Self::CheckLand && self != Self::TapLand && self != Self::OtherLand && self != Self::ForcedLand) [INFO] [stdout] | [INFO] [stdout] 214 - self == Self::BasicLand [INFO] [stdout] 215 - || self == Self::ShockLand [INFO] [stdout] 216 - || self == Self::CheckLand [INFO] [stdout] 217 - || self == Self::BasicLand [INFO] [stdout] 218 - || self == Self::TapLand [INFO] [stdout] 219 - || self == Self::OtherLand [INFO] [stdout] 220 - || self == Self::ForcedLand [INFO] [stdout] 214 + self == Self::BasicLand || self == Self::ShockLand || self == Self::CheckLand || self == Self::TapLand || self == Self::OtherLand || self == Self::ForcedLand [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/card.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | / self == Self::BasicLand [INFO] [stdout] 215 | | || self == Self::ShockLand [INFO] [stdout] 216 | | || self == Self::CheckLand [INFO] [stdout] 217 | | || self == Self::BasicLand [INFO] [stdout] 218 | | || self == Self::TapLand [INFO] [stdout] 219 | | || self == Self::OtherLand [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 214 - self == Self::BasicLand [INFO] [stdout] 215 - || self == Self::ShockLand [INFO] [stdout] 216 - || self == Self::CheckLand [INFO] [stdout] 217 - || self == Self::BasicLand [INFO] [stdout] 218 - || self == Self::TapLand [INFO] [stdout] 219 - || self == Self::OtherLand [INFO] [stdout] 214 + !(self != Self::BasicLand && self != Self::ShockLand && self != Self::CheckLand && self != Self::TapLand && self != Self::OtherLand) [INFO] [stdout] | [INFO] [stdout] 214 - self == Self::BasicLand [INFO] [stdout] 215 - || self == Self::ShockLand [INFO] [stdout] 216 - || self == Self::CheckLand [INFO] [stdout] 217 - || self == Self::BasicLand [INFO] [stdout] 218 - || self == Self::TapLand [INFO] [stdout] 219 - || self == Self::OtherLand [INFO] [stdout] 214 + self == Self::BasicLand || self == Self::ShockLand || self == Self::CheckLand || self == Self::TapLand || self == Self::OtherLand [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/card.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | / self == Self::BasicLand [INFO] [stdout] 215 | | || self == Self::ShockLand [INFO] [stdout] 216 | | || self == Self::CheckLand [INFO] [stdout] 217 | | || self == Self::BasicLand [INFO] [stdout] 218 | | || self == Self::TapLand [INFO] [stdout] | |____________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 214 - self == Self::BasicLand [INFO] [stdout] 215 - || self == Self::ShockLand [INFO] [stdout] 216 - || self == Self::CheckLand [INFO] [stdout] 217 - || self == Self::BasicLand [INFO] [stdout] 218 - || self == Self::TapLand [INFO] [stdout] 214 + !(self != Self::BasicLand && self != Self::ShockLand && self != Self::CheckLand && self != Self::TapLand) [INFO] [stdout] | [INFO] [stdout] 214 - self == Self::BasicLand [INFO] [stdout] 215 - || self == Self::ShockLand [INFO] [stdout] 216 - || self == Self::CheckLand [INFO] [stdout] 217 - || self == Self::BasicLand [INFO] [stdout] 218 - || self == Self::TapLand [INFO] [stdout] 214 + self == Self::BasicLand || self == Self::ShockLand || self == Self::CheckLand || self == Self::TapLand [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this boolean expression can be simplified [INFO] [stdout] --> src/card.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | / self == Self::BasicLand [INFO] [stdout] 215 | | || self == Self::ShockLand [INFO] [stdout] 216 | | || self == Self::CheckLand [INFO] [stdout] 217 | | || self == Self::BasicLand [INFO] [stdout] | |______________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#nonminimal_bool [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 214 - self == Self::BasicLand [INFO] [stdout] 215 - || self == Self::ShockLand [INFO] [stdout] 216 - || self == Self::CheckLand [INFO] [stdout] 217 - || self == Self::BasicLand [INFO] [stdout] 214 + !(self != Self::BasicLand && self != Self::ShockLand && self != Self::CheckLand) [INFO] [stdout] | [INFO] [stdout] 214 - self == Self::BasicLand [INFO] [stdout] 215 - || self == Self::ShockLand [INFO] [stdout] 216 - || self == Self::CheckLand [INFO] [stdout] 217 - || self == Self::BasicLand [INFO] [stdout] 214 + self == Self::BasicLand || self == Self::ShockLand || self == Self::CheckLand [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `Result.or_else(|x| Err(y))`, which is more succinctly expressed as `map_err(|x| y)` [INFO] [stdout] --> src/card.rs:290:26 [INFO] [stdout] | [INFO] [stdout] 290 | let amount = caps["amount"].parse::().or_else(|_| { [INFO] [stdout] | __________________________^ [INFO] [stdout] 291 | | Err(DeckcodeError(format!( [INFO] [stdout] 292 | | "Cannot parse usize card amount from deck list line: {}", [INFO] [stdout] 293 | | line [INFO] [stdout] 294 | | ))) [INFO] [stdout] 295 | | })?; [INFO] [stdout] | |______________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map [INFO] [stdout] = note: `#[warn(clippy::bind_instead_of_map)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 290 ~ let amount = caps["amount"].parse::().map_err(|_| DeckcodeError(format!( [INFO] [stdout] 291 + "Cannot parse usize card amount from deck list line: {}", [INFO] [stdout] 292 + line [INFO] [stdout] 293 ~ )))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `Result.or_else(|x| Err(y))`, which is more succinctly expressed as `map_err(|x| y)` [INFO] [stdout] --> src/card.rs:319:33 [INFO] [stdout] | [INFO] [stdout] 319 | let x_val = x_val.as_str().parse::().or_else(|_| { [INFO] [stdout] | _________________________________^ [INFO] [stdout] 320 | | Err(DeckcodeError(format!( [INFO] [stdout] 321 | | "Cannot parse u8 X= value from deck list line: {}", [INFO] [stdout] 322 | | line [INFO] [stdout] 323 | | ))) [INFO] [stdout] 324 | | })?; [INFO] [stdout] | |______________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 319 ~ let x_val = x_val.as_str().parse::().map_err(|_| DeckcodeError(format!( [INFO] [stdout] 320 + "Cannot parse u8 X= value from deck list line: {}", [INFO] [stdout] 321 + line [INFO] [stdout] 322 ~ )))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: using `Result.or_else(|x| Err(y))`, which is more succinctly expressed as `map_err(|x| y)` [INFO] [stdout] --> src/card.rs:351:32 [INFO] [stdout] | [INFO] [stdout] 351 | let turn_val = turn_val.as_str().parse::().or_else(|_| { [INFO] [stdout] | ________________________________^ [INFO] [stdout] 352 | | Err(DeckcodeError(format!( [INFO] [stdout] 353 | | "Cannot parse u8 T= value from deck list line: {}", [INFO] [stdout] 354 | | line [INFO] [stdout] 355 | | ))) [INFO] [stdout] 356 | | })?; [INFO] [stdout] | |__________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 351 ~ let turn_val = turn_val.as_str().parse::().map_err(|_| DeckcodeError(format!( [INFO] [stdout] 352 + "Cannot parse u8 T= value from deck list line: {}", [INFO] [stdout] 353 + line [INFO] [stdout] 354 ~ )))?; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:391:9 [INFO] [stdout] | [INFO] [stdout] 391 | assert_eq!(card.is_land(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] = note: `#[warn(clippy::bool_assert_comparison)]` on by default [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 391 - assert_eq!(card.is_land(), true); [INFO] [stdout] 391 + assert!(card.is_land()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:425:9 [INFO] [stdout] | [INFO] [stdout] 425 | assert_eq!(card.is_land(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 425 - assert_eq!(card.is_land(), true); [INFO] [stdout] 425 + assert!(card.is_land()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | assert_eq!(card.is_land(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 439 - assert_eq!(card.is_land(), true); [INFO] [stdout] 439 + assert!(card.is_land()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:455:9 [INFO] [stdout] | [INFO] [stdout] 455 | assert_eq!(card.is_land(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 455 - assert_eq!(card.is_land(), true); [INFO] [stdout] 455 + assert!(card.is_land()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:471:9 [INFO] [stdout] | [INFO] [stdout] 471 | assert_eq!(card.is_land(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 471 - assert_eq!(card.is_land(), false); [INFO] [stdout] 471 + assert!(!card.is_land()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:486:9 [INFO] [stdout] | [INFO] [stdout] 486 | assert_eq!(card.is_land(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 486 - assert_eq!(card.is_land(), true); [INFO] [stdout] 486 + assert!(card.is_land()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:502:9 [INFO] [stdout] | [INFO] [stdout] 502 | assert_eq!(card.is_land(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 502 - assert_eq!(card.is_land(), true); [INFO] [stdout] 502 + assert!(card.is_land()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:518:9 [INFO] [stdout] | [INFO] [stdout] 518 | assert_eq!(card.is_land(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 518 - assert_eq!(card.is_land(), true); [INFO] [stdout] 518 + assert!(card.is_land()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:534:9 [INFO] [stdout] | [INFO] [stdout] 534 | assert_eq!(card.is_land(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 534 - assert_eq!(card.is_land(), true); [INFO] [stdout] 534 + assert!(card.is_land()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:550:9 [INFO] [stdout] | [INFO] [stdout] 550 | assert_eq!(card.is_land(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 550 - assert_eq!(card.is_land(), true); [INFO] [stdout] 550 + assert!(card.is_land()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:566:9 [INFO] [stdout] | [INFO] [stdout] 566 | assert_eq!(card.is_land(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 566 - assert_eq!(card.is_land(), true); [INFO] [stdout] 566 + assert!(card.is_land()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:582:9 [INFO] [stdout] | [INFO] [stdout] 582 | assert_eq!(card.is_land(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 582 - assert_eq!(card.is_land(), true); [INFO] [stdout] 582 + assert!(card.is_land()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:598:9 [INFO] [stdout] | [INFO] [stdout] 598 | assert_eq!(card.is_land(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 598 - assert_eq!(card.is_land(), true); [INFO] [stdout] 598 + assert!(card.is_land()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:614:9 [INFO] [stdout] | [INFO] [stdout] 614 | assert_eq!(card.is_land(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 614 - assert_eq!(card.is_land(), true); [INFO] [stdout] 614 + assert!(card.is_land()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:631:9 [INFO] [stdout] | [INFO] [stdout] 631 | assert_eq!(card.is_land(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 631 - assert_eq!(card.is_land(), false); [INFO] [stdout] 631 + assert!(!card.is_land()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:645:9 [INFO] [stdout] | [INFO] [stdout] 645 | assert_eq!(card.is_land(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 645 - assert_eq!(card.is_land(), false); [INFO] [stdout] 645 + assert!(!card.is_land()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:658:9 [INFO] [stdout] | [INFO] [stdout] 658 | assert_eq!(card.is_land(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 658 - assert_eq!(card.is_land(), true); [INFO] [stdout] 658 + assert!(card.is_land()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:673:9 [INFO] [stdout] | [INFO] [stdout] 673 | assert_eq!(card.is_land(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 673 - assert_eq!(card.is_land(), false); [INFO] [stdout] 673 + assert!(!card.is_land()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:688:9 [INFO] [stdout] | [INFO] [stdout] 688 | assert_eq!(card.is_land(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 688 - assert_eq!(card.is_land(), false); [INFO] [stdout] 688 + assert!(!card.is_land()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:704:9 [INFO] [stdout] | [INFO] [stdout] 704 | assert_eq!(card.is_land(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 704 - assert_eq!(card.is_land(), false); [INFO] [stdout] 704 + assert!(!card.is_land()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:713:9 [INFO] [stdout] | [INFO] [stdout] 713 | assert_eq!(card.is_land(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 713 - assert_eq!(card.is_land(), false); [INFO] [stdout] 713 + assert!(!card.is_land()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:728:9 [INFO] [stdout] | [INFO] [stdout] 728 | assert_eq!(card.is_land(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 728 - assert_eq!(card.is_land(), false); [INFO] [stdout] 728 + assert!(!card.is_land()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:743:9 [INFO] [stdout] | [INFO] [stdout] 743 | assert_eq!(card.is_land(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 743 - assert_eq!(card.is_land(), true); [INFO] [stdout] 743 + assert!(card.is_land()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:759:9 [INFO] [stdout] | [INFO] [stdout] 759 | assert_eq!(card.is_land(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 759 - assert_eq!(card.is_land(), false); [INFO] [stdout] 759 + assert!(!card.is_land()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:778:9 [INFO] [stdout] | [INFO] [stdout] 778 | assert_eq!(card.is_land(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 778 - assert_eq!(card.is_land(), false); [INFO] [stdout] 778 + assert!(!card.is_land()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:801:9 [INFO] [stdout] | [INFO] [stdout] 801 | assert_eq!(card.is_land(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 801 - assert_eq!(card.is_land(), false); [INFO] [stdout] 801 + assert!(!card.is_land()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:831:9 [INFO] [stdout] | [INFO] [stdout] 831 | assert_eq!(card.is_land(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 831 - assert_eq!(card.is_land(), false); [INFO] [stdout] 831 + assert!(!card.is_land()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:847:9 [INFO] [stdout] | [INFO] [stdout] 847 | assert_eq!(card.is_land(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 847 - assert_eq!(card.is_land(), true); [INFO] [stdout] 847 + assert!(card.is_land()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:863:9 [INFO] [stdout] | [INFO] [stdout] 863 | assert_eq!(card.is_land(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 863 - assert_eq!(card.is_land(), true); [INFO] [stdout] 863 + assert!(card.is_land()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:877:9 [INFO] [stdout] | [INFO] [stdout] 877 | assert_eq!(any_empty_image_uri, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 877 - assert_eq!(any_empty_image_uri, false); [INFO] [stdout] 877 + assert!(!any_empty_image_uri); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:885:9 [INFO] [stdout] | [INFO] [stdout] 885 | assert_eq!(card.is_land(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 885 - assert_eq!(card.is_land(), true); [INFO] [stdout] 885 + assert!(card.is_land()); [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:915:45 [INFO] [stdout] | [INFO] [stdout] 915 | let deck = ALL_CARDS.from_deck_list(&code); [INFO] [stdout] | ^^^^^ help: change this to: `code` [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:916:9 [INFO] [stdout] | [INFO] [stdout] 916 | assert_eq!(deck.is_ok(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 916 - assert_eq!(deck.is_ok(), true); [INFO] [stdout] 916 + assert!(deck.is_ok()); [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:940:45 [INFO] [stdout] | [INFO] [stdout] 940 | let deck = ALL_CARDS.from_deck_list(&code); [INFO] [stdout] | ^^^^^ help: change this to: `code` [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:941:9 [INFO] [stdout] | [INFO] [stdout] 941 | assert_eq!(deck.is_ok(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 941 - assert_eq!(deck.is_ok(), true); [INFO] [stdout] 941 + assert!(deck.is_ok()); [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:967:45 [INFO] [stdout] | [INFO] [stdout] 967 | let deck = ALL_CARDS.from_deck_list(&code); [INFO] [stdout] | ^^^^^ help: change this to: `code` [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:968:9 [INFO] [stdout] | [INFO] [stdout] 968 | assert_eq!(deck.is_ok(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 968 - assert_eq!(deck.is_ok(), true); [INFO] [stdout] 968 + assert!(deck.is_ok()); [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:1007:45 [INFO] [stdout] | [INFO] [stdout] 1007 | let deck = ALL_CARDS.from_deck_list(&code); [INFO] [stdout] | ^^^^^ help: change this to: `code` [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:1008:9 [INFO] [stdout] | [INFO] [stdout] 1008 | assert_eq!(deck.is_ok(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1008 - assert_eq!(deck.is_ok(), true); [INFO] [stdout] 1008 + assert!(deck.is_ok()); [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:1047:45 [INFO] [stdout] | [INFO] [stdout] 1047 | let deck = ALL_CARDS.from_deck_list(&code); [INFO] [stdout] | ^^^^^ help: change this to: `code` [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:1048:9 [INFO] [stdout] | [INFO] [stdout] 1048 | assert_eq!(deck.is_ok(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1048 - assert_eq!(deck.is_ok(), true); [INFO] [stdout] 1048 + assert!(deck.is_ok()); [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:1087:45 [INFO] [stdout] | [INFO] [stdout] 1087 | let deck = ALL_CARDS.from_deck_list(&code); [INFO] [stdout] | ^^^^^ help: change this to: `code` [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:1088:9 [INFO] [stdout] | [INFO] [stdout] 1088 | assert_eq!(deck.is_ok(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1088 - assert_eq!(deck.is_ok(), true); [INFO] [stdout] 1088 + assert!(deck.is_ok()); [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:1130:45 [INFO] [stdout] | [INFO] [stdout] 1130 | let deck = ALL_CARDS.from_deck_list(&code); [INFO] [stdout] | ^^^^^ help: change this to: `code` [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:1131:9 [INFO] [stdout] | [INFO] [stdout] 1131 | assert_eq!(deck.is_ok(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1131 - assert_eq!(deck.is_ok(), true); [INFO] [stdout] 1131 + assert!(deck.is_ok()); [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:1173:45 [INFO] [stdout] | [INFO] [stdout] 1173 | let deck = ALL_CARDS.from_deck_list(&code); [INFO] [stdout] | ^^^^^ help: change this to: `code` [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:1174:9 [INFO] [stdout] | [INFO] [stdout] 1174 | assert_eq!(deck.is_ok(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1174 - assert_eq!(deck.is_ok(), true); [INFO] [stdout] 1174 + assert!(deck.is_ok()); [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:1207:45 [INFO] [stdout] | [INFO] [stdout] 1207 | let deck = ALL_CARDS.from_deck_list(&code); [INFO] [stdout] | ^^^^^ help: change this to: `code` [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:1208:9 [INFO] [stdout] | [INFO] [stdout] 1208 | assert_eq!(deck.is_ok(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1208 - assert_eq!(deck.is_ok(), true); [INFO] [stdout] 1208 + assert!(deck.is_ok()); [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:1238:45 [INFO] [stdout] | [INFO] [stdout] 1238 | let deck = ALL_CARDS.from_deck_list(&code); [INFO] [stdout] | ^^^^^ help: change this to: `code` [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:1239:9 [INFO] [stdout] | [INFO] [stdout] 1239 | assert_eq!(deck.is_ok(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1239 - assert_eq!(deck.is_ok(), true); [INFO] [stdout] 1239 + assert!(deck.is_ok()); [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:1267:45 [INFO] [stdout] | [INFO] [stdout] 1267 | let deck = ALL_CARDS.from_deck_list(&code); [INFO] [stdout] | ^^^^^ help: change this to: `code` [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:1268:9 [INFO] [stdout] | [INFO] [stdout] 1268 | assert_eq!(deck.is_ok(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1268 - assert_eq!(deck.is_ok(), false); [INFO] [stdout] 1268 + assert!(!deck.is_ok()); [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:1291:45 [INFO] [stdout] | [INFO] [stdout] 1291 | let deck = ALL_CARDS.from_deck_list(&code); [INFO] [stdout] | ^^^^^ help: change this to: `code` [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/card.rs:1292:9 [INFO] [stdout] | [INFO] [stdout] 1292 | assert_eq!(deck.is_ok(), true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1292 - assert_eq!(deck.is_ok(), true); [INFO] [stdout] 1292 + assert!(deck.is_ok()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: you should consider adding a `Default` implementation for `SimCard` [INFO] [stdout] --> src/hand.rs:52:3 [INFO] [stdout] | [INFO] [stdout] 52 | / pub fn new() -> Self { [INFO] [stdout] 53 | | Self { [INFO] [stdout] 54 | | kind: CardKind::Unknown, [INFO] [stdout] 55 | | hash: 0, [INFO] [stdout] ... | [INFO] [stdout] 58 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#new_without_default [INFO] [stdout] = note: `#[warn(clippy::new_without_default)]` on by default [INFO] [stdout] help: try adding this [INFO] [stdout] | [INFO] [stdout] 51 + impl Default for SimCard { [INFO] [stdout] 52 + fn default() -> Self { [INFO] [stdout] 53 + Self::new() [INFO] [stdout] 54 + } [INFO] [stdout] 55 + } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Hand` has a public `len` method, but no `is_empty` method [INFO] [stdout] --> src/hand.rs:175:3 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty [INFO] [stdout] = note: `#[warn(clippy::len_without_is_empty)]` 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/hand.rs:201:14 [INFO] [stdout] | [INFO] [stdout] 201 | unsafe { &self.cards.get_unchecked(from..to) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `self.cards.get_unchecked(from..to)` [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:387:5 [INFO] [stdout] | [INFO] [stdout] 387 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 387 - assert_eq!(hand.play_cmc_auto_tap(&card).paid, false); [INFO] [stdout] 387 + assert!(!hand.play_cmc_auto_tap(&card).paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:387:39 [INFO] [stdout] | [INFO] [stdout] 387 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, false); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:407:5 [INFO] [stdout] | [INFO] [stdout] 407 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 407 - assert_eq!(hand.play_cmc_auto_tap(&card).paid, false); [INFO] [stdout] 407 + assert!(!hand.play_cmc_auto_tap(&card).paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:407:39 [INFO] [stdout] | [INFO] [stdout] 407 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, false); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:427:5 [INFO] [stdout] | [INFO] [stdout] 427 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 427 - assert_eq!(hand.play_cmc_auto_tap(&card).paid, false); [INFO] [stdout] 427 + assert!(!hand.play_cmc_auto_tap(&card).paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:427:39 [INFO] [stdout] | [INFO] [stdout] 427 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, false); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:447:5 [INFO] [stdout] | [INFO] [stdout] 447 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 447 - assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] 447 + assert!(hand.play_cmc_auto_tap(&card).paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:447:39 [INFO] [stdout] | [INFO] [stdout] 447 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:467:5 [INFO] [stdout] | [INFO] [stdout] 467 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 467 - assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] 467 + assert!(hand.play_cmc_auto_tap(&card).paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:467:39 [INFO] [stdout] | [INFO] [stdout] 467 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:487:5 [INFO] [stdout] | [INFO] [stdout] 487 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 487 - assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] 487 + assert!(hand.play_cmc_auto_tap(&card).paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:487:39 [INFO] [stdout] | [INFO] [stdout] 487 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:510:5 [INFO] [stdout] | [INFO] [stdout] 510 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 510 - assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] 510 + assert!(hand.play_cmc_auto_tap(&card).paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:510:39 [INFO] [stdout] | [INFO] [stdout] 510 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:525:5 [INFO] [stdout] | [INFO] [stdout] 525 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 525 - assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] 525 + assert!(hand.play_cmc_auto_tap(&card).paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:525:39 [INFO] [stdout] | [INFO] [stdout] 525 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:548:5 [INFO] [stdout] | [INFO] [stdout] 548 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 548 - assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] 548 + assert!(hand.play_cmc_auto_tap(&card).paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:548:39 [INFO] [stdout] | [INFO] [stdout] 548 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:568:5 [INFO] [stdout] | [INFO] [stdout] 568 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 568 - assert_eq!(hand.play_cmc_auto_tap(&card).paid, false); [INFO] [stdout] 568 + assert!(!hand.play_cmc_auto_tap(&card).paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:568:39 [INFO] [stdout] | [INFO] [stdout] 568 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, false); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:583:5 [INFO] [stdout] | [INFO] [stdout] 583 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 583 - assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] 583 + assert!(hand.play_cmc_auto_tap(&card).paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:583:39 [INFO] [stdout] | [INFO] [stdout] 583 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [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: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:598:41 [INFO] [stdout] | [INFO] [stdout] 598 | let result = hand.play_cmc_auto_tap(&card); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:599:5 [INFO] [stdout] | [INFO] [stdout] 599 | assert_eq!(result.paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 599 - assert_eq!(result.paid, true); [INFO] [stdout] 599 + assert!(result.paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:614:41 [INFO] [stdout] | [INFO] [stdout] 614 | let result = hand.play_cmc_auto_tap(&card); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:615:5 [INFO] [stdout] | [INFO] [stdout] 615 | assert_eq!(result.paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 615 - assert_eq!(result.paid, true); [INFO] [stdout] 615 + assert!(result.paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:632:38 [INFO] [stdout] | [INFO] [stdout] 632 | let res = hand.play_cmc_auto_tap(&card); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:633:5 [INFO] [stdout] | [INFO] [stdout] 633 | assert_eq!(res.paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 633 - assert_eq!(res.paid, true); [INFO] [stdout] 633 + assert!(res.paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:650:5 [INFO] [stdout] | [INFO] [stdout] 650 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 650 - assert_eq!(hand.play_cmc_auto_tap(&card).paid, false); [INFO] [stdout] 650 + assert!(!hand.play_cmc_auto_tap(&card).paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:650:39 [INFO] [stdout] | [INFO] [stdout] 650 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, false); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:667:5 [INFO] [stdout] | [INFO] [stdout] 667 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 667 - assert_eq!(hand.play_cmc_auto_tap(&card).paid, false); [INFO] [stdout] 667 + assert!(!hand.play_cmc_auto_tap(&card).paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:667:39 [INFO] [stdout] | [INFO] [stdout] 667 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, false); [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: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:685:41 [INFO] [stdout] | [INFO] [stdout] 685 | let result = hand.play_cmc_auto_tap(&card); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:686:5 [INFO] [stdout] | [INFO] [stdout] 686 | assert_eq!(result.paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 686 - assert_eq!(result.paid, true); [INFO] [stdout] 686 + assert!(result.paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:704:41 [INFO] [stdout] | [INFO] [stdout] 704 | let result = hand.play_cmc_auto_tap(&card); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:705:5 [INFO] [stdout] | [INFO] [stdout] 705 | assert_eq!(result.paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 705 - assert_eq!(result.paid, true); [INFO] [stdout] 705 + assert!(result.paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:723:41 [INFO] [stdout] | [INFO] [stdout] 723 | let result = hand.play_cmc_auto_tap(&card); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:724:5 [INFO] [stdout] | [INFO] [stdout] 724 | assert_eq!(result.paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 724 - assert_eq!(result.paid, true); [INFO] [stdout] 724 + assert!(result.paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:742:41 [INFO] [stdout] | [INFO] [stdout] 742 | let result = hand.play_cmc_auto_tap(&card); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:743:5 [INFO] [stdout] | [INFO] [stdout] 743 | assert_eq!(result.paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 743 - assert_eq!(result.paid, true); [INFO] [stdout] 743 + assert!(result.paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:760:41 [INFO] [stdout] | [INFO] [stdout] 760 | let result = hand.play_cmc_auto_tap(&card); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:761:5 [INFO] [stdout] | [INFO] [stdout] 761 | assert_eq!(result.paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 761 - assert_eq!(result.paid, true); [INFO] [stdout] 761 + assert!(result.paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:778:41 [INFO] [stdout] | [INFO] [stdout] 778 | let result = hand.play_cmc_auto_tap(&card); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:781:5 [INFO] [stdout] | [INFO] [stdout] 781 | assert_eq!(result.paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 781 - assert_eq!(result.paid, true); [INFO] [stdout] 781 + assert!(result.paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:782:5 [INFO] [stdout] | [INFO] [stdout] 782 | assert_eq!(result.cmc, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 782 - assert_eq!(result.cmc, true); [INFO] [stdout] 782 + assert!(result.cmc); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:799:41 [INFO] [stdout] | [INFO] [stdout] 799 | let result = hand.play_cmc_auto_tap(&card); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:800:5 [INFO] [stdout] | [INFO] [stdout] 800 | assert_eq!(result.paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 800 - assert_eq!(result.paid, true); [INFO] [stdout] 800 + assert!(result.paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:801:5 [INFO] [stdout] | [INFO] [stdout] 801 | assert_eq!(result.cmc, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 801 - assert_eq!(result.cmc, true); [INFO] [stdout] 801 + assert!(result.cmc); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:818:41 [INFO] [stdout] | [INFO] [stdout] 818 | let result = hand.play_cmc_auto_tap(&card); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:819:5 [INFO] [stdout] | [INFO] [stdout] 819 | assert_eq!(result.paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 819 - assert_eq!(result.paid, true); [INFO] [stdout] 819 + assert!(result.paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:836:41 [INFO] [stdout] | [INFO] [stdout] 836 | let result = hand.play_cmc_auto_tap(&card); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:837:5 [INFO] [stdout] | [INFO] [stdout] 837 | assert_eq!(result.paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 837 - assert_eq!(result.paid, true); [INFO] [stdout] 837 + assert!(result.paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:854:41 [INFO] [stdout] | [INFO] [stdout] 854 | let result = hand.play_cmc_auto_tap(&card); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:855:5 [INFO] [stdout] | [INFO] [stdout] 855 | assert_eq!(result.paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 855 - assert_eq!(result.paid, true); [INFO] [stdout] 855 + assert!(result.paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:872:41 [INFO] [stdout] | [INFO] [stdout] 872 | let result = hand.play_cmc_auto_tap(&card); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:873:5 [INFO] [stdout] | [INFO] [stdout] 873 | assert_eq!(result.paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 873 - assert_eq!(result.paid, true); [INFO] [stdout] 873 + assert!(result.paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:890:41 [INFO] [stdout] | [INFO] [stdout] 890 | let result = hand.play_cmc_auto_tap(&card); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:891:5 [INFO] [stdout] | [INFO] [stdout] 891 | assert_eq!(result.paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 891 - assert_eq!(result.paid, true); [INFO] [stdout] 891 + assert!(result.paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:908:41 [INFO] [stdout] | [INFO] [stdout] 908 | let result = hand.play_cmc_auto_tap(&card); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:909:5 [INFO] [stdout] | [INFO] [stdout] 909 | assert_eq!(result.paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 909 - assert_eq!(result.paid, true); [INFO] [stdout] 909 + assert!(result.paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:926:41 [INFO] [stdout] | [INFO] [stdout] 926 | let result = hand.play_cmc_auto_tap(&card); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:927:5 [INFO] [stdout] | [INFO] [stdout] 927 | assert_eq!(result.paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 927 - assert_eq!(result.paid, true); [INFO] [stdout] 927 + assert!(result.paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:928:5 [INFO] [stdout] | [INFO] [stdout] 928 | assert_eq!(result.cmc, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 928 - assert_eq!(result.cmc, true); [INFO] [stdout] 928 + assert!(result.cmc); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:945:41 [INFO] [stdout] | [INFO] [stdout] 945 | let result = hand.play_cmc_auto_tap(&card); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:946:5 [INFO] [stdout] | [INFO] [stdout] 946 | assert_eq!(result.paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 946 - assert_eq!(result.paid, true); [INFO] [stdout] 946 + assert!(result.paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:964:41 [INFO] [stdout] | [INFO] [stdout] 964 | let result = hand.play_cmc_auto_tap(&card); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:965:5 [INFO] [stdout] | [INFO] [stdout] 965 | assert_eq!(result.paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 965 - assert_eq!(result.paid, true); [INFO] [stdout] 965 + assert!(result.paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:994:5 [INFO] [stdout] | [INFO] [stdout] 994 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 994 - assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] 994 + assert!(hand.play_cmc_auto_tap(&card).paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:994:39 [INFO] [stdout] | [INFO] [stdout] 994 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:1023:5 [INFO] [stdout] | [INFO] [stdout] 1023 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1023 - assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] 1023 + assert!(hand.play_cmc_auto_tap(&card).paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:1023:39 [INFO] [stdout] | [INFO] [stdout] 1023 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:1040:5 [INFO] [stdout] | [INFO] [stdout] 1040 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1040 - assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] 1040 + assert!(hand.play_cmc_auto_tap(&card).paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:1040:39 [INFO] [stdout] | [INFO] [stdout] 1040 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:1057:5 [INFO] [stdout] | [INFO] [stdout] 1057 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1057 - assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] 1057 + assert!(hand.play_cmc_auto_tap(&card).paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:1057:39 [INFO] [stdout] | [INFO] [stdout] 1057 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:1069:5 [INFO] [stdout] | [INFO] [stdout] 1069 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1069 - assert_eq!(hand.play_cmc_auto_tap(&card).paid, false); [INFO] [stdout] 1069 + assert!(!hand.play_cmc_auto_tap(&card).paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:1069:39 [INFO] [stdout] | [INFO] [stdout] 1069 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, false); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:1083:5 [INFO] [stdout] | [INFO] [stdout] 1083 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1083 - assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] 1083 + assert!(hand.play_cmc_auto_tap(&card).paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:1083:39 [INFO] [stdout] | [INFO] [stdout] 1083 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:1100:5 [INFO] [stdout] | [INFO] [stdout] 1100 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1100 - assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] 1100 + assert!(hand.play_cmc_auto_tap(&card).paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:1100:39 [INFO] [stdout] | [INFO] [stdout] 1100 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:1117:5 [INFO] [stdout] | [INFO] [stdout] 1117 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1117 - assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] 1117 + assert!(hand.play_cmc_auto_tap(&card).paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:1117:39 [INFO] [stdout] | [INFO] [stdout] 1117 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:1134:5 [INFO] [stdout] | [INFO] [stdout] 1134 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1134 - assert_eq!(hand.play_cmc_auto_tap(&card).paid, false); [INFO] [stdout] 1134 + assert!(!hand.play_cmc_auto_tap(&card).paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:1134:39 [INFO] [stdout] | [INFO] [stdout] 1134 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, false); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:1163:5 [INFO] [stdout] | [INFO] [stdout] 1163 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1163 - assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] 1163 + assert!(hand.play_cmc_auto_tap(&card).paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:1163:39 [INFO] [stdout] | [INFO] [stdout] 1163 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:1178:5 [INFO] [stdout] | [INFO] [stdout] 1178 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1178 - assert_eq!(hand.play_cmc_auto_tap(&card).paid, false); [INFO] [stdout] 1178 + assert!(!hand.play_cmc_auto_tap(&card).paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:1178:39 [INFO] [stdout] | [INFO] [stdout] 1178 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, false); [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: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:1186:38 [INFO] [stdout] | [INFO] [stdout] 1186 | let res = hand.play_cmc_auto_tap(&card); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:1187:5 [INFO] [stdout] | [INFO] [stdout] 1187 | assert_eq!(res.paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1187 - assert_eq!(res.paid, true); [INFO] [stdout] 1187 + assert!(res.paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:1209:5 [INFO] [stdout] | [INFO] [stdout] 1209 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1209 - assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] 1209 + assert!(hand.play_cmc_auto_tap(&card).paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:1209:39 [INFO] [stdout] | [INFO] [stdout] 1209 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:1231:5 [INFO] [stdout] | [INFO] [stdout] 1231 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1231 - assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [INFO] [stdout] 1231 + assert!(hand.play_cmc_auto_tap(&card).paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:1231:39 [INFO] [stdout] | [INFO] [stdout] 1231 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, true); [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: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:1240:41 [INFO] [stdout] | [INFO] [stdout] 1240 | let result = hand.draw_cmc_auto_tap(&card); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:1241:5 [INFO] [stdout] | [INFO] [stdout] 1241 | assert_eq!(result.paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1241 - assert_eq!(result.paid, true); [INFO] [stdout] 1241 + assert!(result.paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:1242:5 [INFO] [stdout] | [INFO] [stdout] 1242 | assert_eq!(result.cmc, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1242 - assert_eq!(result.cmc, true); [INFO] [stdout] 1242 + assert!(result.cmc); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:1251:41 [INFO] [stdout] | [INFO] [stdout] 1251 | let result = hand.draw_cmc_auto_tap(&card); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:1252:5 [INFO] [stdout] | [INFO] [stdout] 1252 | assert_eq!(result.paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1252 - assert_eq!(result.paid, true); [INFO] [stdout] 1252 + assert!(result.paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:1253:5 [INFO] [stdout] | [INFO] [stdout] 1253 | assert_eq!(result.cmc, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1253 - assert_eq!(result.cmc, true); [INFO] [stdout] 1253 + assert!(result.cmc); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:1263:41 [INFO] [stdout] | [INFO] [stdout] 1263 | let result = hand.draw_cmc_auto_tap(&card); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:1264:5 [INFO] [stdout] | [INFO] [stdout] 1264 | assert_eq!(result.paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1264 - assert_eq!(result.paid, true); [INFO] [stdout] 1264 + assert!(result.paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:1265:5 [INFO] [stdout] | [INFO] [stdout] 1265 | assert_eq!(result.cmc, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1265 - assert_eq!(result.cmc, true); [INFO] [stdout] 1265 + assert!(result.cmc); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:1275:38 [INFO] [stdout] | [INFO] [stdout] 1275 | let res = hand.play_cmc_auto_tap(&card); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:1276:5 [INFO] [stdout] | [INFO] [stdout] 1276 | assert_eq!(res.paid, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1276 - assert_eq!(res.paid, false); [INFO] [stdout] 1276 + assert!(!res.paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:1277:5 [INFO] [stdout] | [INFO] [stdout] 1277 | assert_eq!(res.cmc, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1277 - assert_eq!(res.cmc, false); [INFO] [stdout] 1277 + assert!(!res.cmc); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:1287:5 [INFO] [stdout] | [INFO] [stdout] 1287 | assert_eq!(res.paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1287 - assert_eq!(res.paid, true); [INFO] [stdout] 1287 + assert!(res.paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:1288:5 [INFO] [stdout] | [INFO] [stdout] 1288 | assert_eq!(res.cmc, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1288 - assert_eq!(res.cmc, true); [INFO] [stdout] 1288 + assert!(res.cmc); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:1298:5 [INFO] [stdout] | [INFO] [stdout] 1298 | assert_eq!(result.paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1298 - assert_eq!(result.paid, true); [INFO] [stdout] 1298 + assert!(result.paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:1299:5 [INFO] [stdout] | [INFO] [stdout] 1299 | assert_eq!(result.cmc, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1299 - assert_eq!(result.cmc, true); [INFO] [stdout] 1299 + assert!(result.cmc); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:1305:5 [INFO] [stdout] | [INFO] [stdout] 1305 | assert_eq!(hand.play_cmc_auto_tap(&Card::new()).paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1305 - assert_eq!(hand.play_cmc_auto_tap(&Card::new()).paid, true); [INFO] [stdout] 1305 + assert!(hand.play_cmc_auto_tap(&Card::new()).paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:1313:5 [INFO] [stdout] | [INFO] [stdout] 1313 | assert_eq!(hand.play_cmc_auto_tap(&card).paid, false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1313 - assert_eq!(hand.play_cmc_auto_tap(&card).paid, false); [INFO] [stdout] 1313 + assert!(!hand.play_cmc_auto_tap(&card).paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:1321:38 [INFO] [stdout] | [INFO] [stdout] 1321 | let obs = hand.play_cmc_auto_tap(&card); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:1322:5 [INFO] [stdout] | [INFO] [stdout] 1322 | assert_eq!(obs.paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1322 - assert_eq!(obs.paid, true); [INFO] [stdout] 1322 + assert!(obs.paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:1323:5 [INFO] [stdout] | [INFO] [stdout] 1323 | assert_eq!(obs.cmc, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1323 - assert_eq!(obs.cmc, true); [INFO] [stdout] 1323 + assert!(obs.cmc); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/hand.rs:1337:41 [INFO] [stdout] | [INFO] [stdout] 1337 | let result = hand.play_cmc_auto_tap(&card); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:1338:5 [INFO] [stdout] | [INFO] [stdout] 1338 | assert_eq!(result.paid, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1338 - assert_eq!(result.paid, true); [INFO] [stdout] 1338 + assert!(result.paid); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/hand.rs:1339:5 [INFO] [stdout] | [INFO] [stdout] 1339 | assert_eq!(result.cmc, true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 1339 - assert_eq!(result.cmc, true); [INFO] [stdout] 1339 + assert!(result.cmc); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/mtgoncurve.rs:126:53 [INFO] [stdout] | [INFO] [stdout] 126 | if let Some(card) = deck.card_from_name(&card_name) { [INFO] [stdout] | ^^^^^^^^^^ help: change this to: `card_name` [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 expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/mtgoncurve.rs:151:55 [INFO] [stdout] | [INFO] [stdout] 151 | let o = sim.observations_for_card_by_turn(&card, card.turn as usize); [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: consider using `sort_by_key` [INFO] [stdout] --> src/mtgoncurve.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | / outputs [INFO] [stdout] 168 | | .card_observations [INFO] [stdout] 169 | | .sort_by(|a, b| a.card.mana_cost.cmc().cmp(&b.card.mana_cost.cmc())); [INFO] [stdout] | |____________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_sort_by [INFO] [stdout] = note: `#[warn(clippy::unnecessary_sort_by)]` on by default [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 169 - .sort_by(|a, b| a.card.mana_cost.cmc().cmp(&b.card.mana_cost.cmc())); [INFO] [stdout] 169 + .sort_by_key(|a| a.card.mana_cost.cmc()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: consider using `sort_by_key` [INFO] [stdout] --> src/mtgoncurve.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | / outputs [INFO] [stdout] 191 | | .land_counts [INFO] [stdout] 192 | | .sort_by(|a, b| a.card.kind.cmp(&b.card.kind)); [INFO] [stdout] | |______________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_sort_by [INFO] [stdout] help: try [INFO] [stdout] | [INFO] [stdout] 192 - .sort_by(|a, b| a.card.kind.cmp(&b.card.kind)); [INFO] [stdout] 192 + .sort_by_key(|a| a.card.kind); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: length comparison to zero [INFO] [stdout] --> src/mtgoncurve.rs:196:35 [INFO] [stdout] | [INFO] [stdout] 196 | outputs.deck_average_cmc = if non_land_cards.len() == 0 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: using `is_empty` is clearer and more explicit: `non_land_cards.is_empty()` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_zero [INFO] [stdout] = note: `#[warn(clippy::len_zero)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `push` immediately after creation [INFO] [stdout] --> src/mtgoncurve.rs:439:9 [INFO] [stdout] | [INFO] [stdout] 439 | / let mut acceptable_hand_list = Vec::new(); [INFO] [stdout] 440 | | acceptable_hand_list.push(vec!["Forest".to_string()].into_iter().collect()); [INFO] [stdout] | |____________________________________________________________________________________^ help: consider using the `vec![]` macro: `let acceptable_hand_list = vec![..];` [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#vec_init_then_push [INFO] [stdout] = note: `#[warn(clippy::vec_init_then_push)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module has the same name as its containing module [INFO] [stdout] --> src/mulligan/mod.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod mulligan; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#module_inception [INFO] [stdout] = note: `#[warn(clippy::module_inception)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constructor `never` has the same name as the type [INFO] [stdout] --> src/mulligan/never.rs:23:3 [INFO] [stdout] | [INFO] [stdout] 23 | / pub fn never() -> Self { [INFO] [stdout] 24 | | Self::new() [INFO] [stdout] 25 | | } [INFO] [stdout] | |___^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#self_named_constructors [INFO] [stdout] = note: `#[warn(clippy::self_named_constructors)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unneeded `return` statement [INFO] [stdout] --> src/mulligan/never.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / return Hand::from_opening_and_draws( [INFO] [stdout] 48 | | &shuffled_deck[..starting_hand_size], [INFO] [stdout] 49 | | &shuffled_deck[starting_hand_size..], [INFO] [stdout] 50 | | ); [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return [INFO] [stdout] = note: `#[warn(clippy::needless_return)]` on by default [INFO] [stdout] help: remove `return` [INFO] [stdout] | [INFO] [stdout] 47 ~ Hand::from_opening_and_draws( [INFO] [stdout] 48 + &shuffled_deck[..starting_hand_size], [INFO] [stdout] 49 + &shuffled_deck[starting_hand_size..], [INFO] [stdout] 50 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/simulation.rs:158:41 [INFO] [stdout] | [INFO] [stdout] 158 | let obs = sim.observations_for_card(&card); [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: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/simulation.rs:283:41 [INFO] [stdout] | [INFO] [stdout] 283 | let obs = sim.observations_for_card(&card); [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: this expression creates a reference which is immediately dereferenced by the compiler [INFO] [stdout] --> src/simulation.rs:304:41 [INFO] [stdout] | [INFO] [stdout] 304 | let obs = sim.observations_for_card(&card); [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: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/simulation.rs:613:5 [INFO] [stdout] | [INFO] [stdout] 613 | assert_eq!(card.kind.is_land(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 613 - assert_eq!(card.kind.is_land(), false); [INFO] [stdout] 613 + assert!(!card.kind.is_land()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: used `assert_eq!` with a literal bool [INFO] [stdout] --> src/simulation.rs:652:5 [INFO] [stdout] | [INFO] [stdout] 652 | assert_eq!(card.kind.is_land(), false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_assert_comparison [INFO] [stdout] help: replace it with `assert!(..)` [INFO] [stdout] | [INFO] [stdout] 652 - assert_eq!(card.kind.is_land(), false); [INFO] [stdout] 652 + assert!(!card.kind.is_land()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 522 | karsten_check!(obs, "Appetite for Brains", 0.702); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 523 | karsten_check!(obs, "Abnormal Endurance", 0.756); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 524 | karsten_check!(obs, "Bloodghast", 0.322); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 526 | karsten_check!(obs, "Ammit Eternal", 0.822); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 527 | karsten_check!(obs, "Blood Operative", 0.415); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 528 | karsten_check!(obs, "Doomsday", 0.111); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 530 | karsten_check!(obs, "Ancient Craving", 0.881); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 531 | karsten_check!(obs, "Akuta, Born of Ash", 0.525); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 532 | karsten_check!(obs, "Grave Pact", 0.177); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 534 | karsten_check!(obs, "Anointed Deacon", 0.924); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 535 | karsten_check!(obs, "Aku Djinn", 0.635); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 536 | karsten_check!(obs, "Hellfire", 0.265); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 538 | karsten_check!(obs, "Acid-Spewer Dragon", 0.953); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 539 | karsten_check!(obs, "Bogstomper", 0.733); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 540 | karsten_check!(obs, "Cosmic Horror", 0.368); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 562 | karsten_check!(obs, "Appetite for Brains", 0.914); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 563 | karsten_check!(obs, "Abnormal Endurance", 0.942); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 564 | karsten_check!(obs, "Bloodghast", 0.680); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 566 | karsten_check!(obs, "Ammit Eternal", 0.973); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 567 | karsten_check!(obs, "Blood Operative", 0.798); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 568 | karsten_check!(obs, "Doomsday", 0.440); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 570 | karsten_check!(obs, "Ancient Craving", 0.989); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 571 | karsten_check!(obs, "Akuta, Born of Ash", 0.892); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 572 | karsten_check!(obs, "Grave Pact", 0.609); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 574 | karsten_check!(obs, "Anointed Deacon", 0.996); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 575 | karsten_check!(obs, "Aku Djinn", 0.951); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 576 | karsten_check!(obs, "Hellfire", 0.761); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 578 | karsten_check!(obs, "Acid-Spewer Dragon", 0.999); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 579 | karsten_check!(obs, "Bogstomper", 0.981); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 580 | karsten_check!(obs, "Cosmic Horror", 0.875); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 602 | karsten_check!(obs, "Appetite for Brains", 0.671); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 603 | karsten_check!(obs, "Abnormal Endurance", 0.728); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 604 | karsten_check!(obs, "Bloodghast", 0.275); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 606 | karsten_check!(obs, "Ammit Eternal", 0.794); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 607 | karsten_check!(obs, "Blood Operative", 0.355); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 608 | karsten_check!(obs, "Doomsday", 0.074); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 610 | karsten_check!(obs, "Ancient Craving", 0.855); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 611 | karsten_check!(obs, "Akuta, Born of Ash", 0.455); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 612 | karsten_check!(obs, "Grave Pact", 0.118); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 614 | karsten_check!(obs, "Anointed Deacon", 0.906); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 615 | karsten_check!(obs, "Aku Djinn", 0.562); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 616 | karsten_check!(obs, "Hellfire", 0.182); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 618 | karsten_check!(obs, "Acid-Spewer Dragon", 0.942); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 619 | karsten_check!(obs, "Bogstomper", 0.664); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 620 | karsten_check!(obs, "Cosmic Horror", 0.266); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 642 | karsten_check!(obs, "Appetite for Brains", 0.745); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 643 | karsten_check!(obs, "Abnormal Endurance", 0.796); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 644 | karsten_check!(obs, "Bloodghast", 0.389); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 646 | karsten_check!(obs, "Ammit Eternal", 0.855); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 647 | karsten_check!(obs, "Blood Operative", 0.491); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 648 | karsten_check!(obs, "Doomsday", 0.167); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 650 | karsten_check!(obs, "Ancient Craving", 0.905); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 651 | karsten_check!(obs, "Akuta, Born of Ash", 0.602); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 652 | karsten_check!(obs, "Grave Pact", 0.253); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 654 | karsten_check!(obs, "Anointed Deacon", 0.941); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 655 | karsten_check!(obs, "Aku Djinn", 0.706); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 656 | karsten_check!(obs, "Hellfire", 0.361); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 658 | karsten_check!(obs, "Acid-Spewer Dragon", 0.964); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 659 | karsten_check!(obs, "Bogstomper", 0.793); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 660 | karsten_check!(obs, "Cosmic Horror", 0.476); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 709 | karsten_check!(obs, "Hydroid Krasis", 0.94); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 758 | karsten_check!(obs, "Hydroid Krasis", 0.98); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 806 | karsten_check!(obs, "Frilled Mystic", 0.819); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 807 | karsten_check!(obs, "History of Benalia", 0.882); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 845 | karsten_check!(obs, "Deputy of Detention", 0.858); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 846 | karsten_check!(obs, "Benalish Marshal", 1.0); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 887 | karsten_check!(obs, "Deputy of Detention", 0.896); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 888 | karsten_check!(obs, "Benalish Marshal", 0.941); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 933 | karsten_check!(obs, "Absorb", 0.826); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 934 | karsten_check!(obs, "Kaya's Wrath", 0.822); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 974 | karsten_check!(obs, "Burglar Rat", 0.991); // 1C [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 975 | karsten_check!(obs, "Yarok's Fenlurker", 0.888); // CC [INFO] [stdout] | ----------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 976 | karsten_check!(obs, "Plaguecrafter", 0.998); // 2C [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 977 | karsten_check!(obs, "Drag to the Underworld", 0.991); // 2CC [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 978 | karsten_check!(obs, "Gray Merchant of Asphodel", 0.999); // 3CC [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/mtgoncurve.rs:489:28 [INFO] [stdout] | [INFO] [stdout] 489 | panic!(format!("No card named: {}", $name)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 979 | karsten_check!(obs, "Bolas's Citadel", 0.996); // 3CCC [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `karsten_check_raw` which comes from the expansion of the macro `karsten_check` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 489 - panic!(format!("No card named: {}", $name)); [INFO] [stdout] 489 + panic!("No card named: {}", $name); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.61s [INFO] running `Command { std: "docker" "inspect" "c279078927049f01a9e302d2c14472039f112677f473a6297f722c08ee9ac01c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c279078927049f01a9e302d2c14472039f112677f473a6297f722c08ee9ac01c", kill_on_drop: false }` [INFO] [stdout] c279078927049f01a9e302d2c14472039f112677f473a6297f722c08ee9ac01c