[INFO] cloning repository https://github.com/endorsement/poke_calc_tool
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/endorsement/poke_calc_tool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fendorsement%2Fpoke_calc_tool", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fendorsement%2Fpoke_calc_tool'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] a64bccb493ad6c93b43327ca3334f914ab8f7d6c
[INFO] testing endorsement/poke_calc_tool against 1.62.0 for beta-1.63-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fendorsement%2Fpoke_calc_tool" "/workspace/builds/worker-0/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/endorsement/poke_calc_tool on toolchain 1.62.0
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/endorsement/poke_calc_tool
[INFO] finished tweaking git repo https://github.com/endorsement/poke_calc_tool
[INFO] tweaked toml for git repo https://github.com/endorsement/poke_calc_tool written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate git repo https://github.com/endorsement/poke_calc_tool already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.62.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 0e1f66e7dcbaae672e1e7885316c2632a94af5b252d60737da308c7c3328d661
[INFO] running `Command { std: "docker" "start" "-a" "0e1f66e7dcbaae672e1e7885316c2632a94af5b252d60737da308c7c3328d661", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0e1f66e7dcbaae672e1e7885316c2632a94af5b252d60737da308c7c3328d661", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e1f66e7dcbaae672e1e7885316c2632a94af5b252d60737da308c7c3328d661", kill_on_drop: false }`
[INFO] [stdout] 0e1f66e7dcbaae672e1e7885316c2632a94af5b252d60737da308c7c3328d661
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e083cf9c1c38ee16758a482decb2c596c91237a6ec0a31b11de5b35d92549521
[INFO] running `Command { std: "docker" "start" "-a" "e083cf9c1c38ee16758a482decb2c596c91237a6ec0a31b11de5b35d92549521", kill_on_drop: false }`
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling libc v0.2.119
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling xml-rs v0.8.4
[INFO] [stderr]    Compiling pkg-config v0.3.24
[INFO] [stderr]    Compiling once_cell v1.9.0
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling pin-project-lite v0.2.8
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling scoped-tls v1.0.0
[INFO] [stderr]    Compiling khronos_api v3.1.0
[INFO] [stderr]    Compiling downcast-rs v1.2.0
[INFO] [stderr]    Compiling minimal-lexical v0.2.1
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling cache-padded v1.2.0
[INFO] [stderr]    Compiling waker-fn v1.1.0
[INFO] [stderr]    Compiling ttf-parser v0.14.0
[INFO] [stderr]    Compiling fastrand v1.7.0
[INFO] [stderr]    Compiling slab v0.4.5
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling parking v2.0.0
[INFO] [stderr]    Compiling percent-encoding v2.1.0
[INFO] [stderr]    Compiling parking_lot_core v0.8.5
[INFO] [stderr]    Compiling tinyvec_macros v0.1.0
[INFO] [stderr]    Compiling futures-io v0.3.21
[INFO] [stderr]    Compiling event-listener v2.5.2
[INFO] [stderr]    Compiling ahash v0.4.7
[INFO] [stderr]    Compiling ab_glyph_rasterizer v0.1.5
[INFO] [stderr]    Compiling scopeguard v1.1.0
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling regex-syntax v0.6.25
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling byteorder v1.4.3
[INFO] [stderr]    Compiling matches v0.1.9
[INFO] [stderr]    Compiling async-trait v0.1.52
[INFO] [stderr]    Compiling easy-parallel v3.2.0
[INFO] [stderr]    Compiling sha1_smol v1.0.0
[INFO] [stderr]    Compiling unicode-bidi v0.3.7
[INFO] [stderr]    Compiling cty v0.2.2
[INFO] [stderr]    Compiling atomic_refcell v0.1.8
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling winit v0.26.1
[INFO] [stderr]    Compiling async-task v4.1.0
[INFO] [stderr]    Compiling nohash-hasher v0.2.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]    Compiling dark-light v0.2.1
[INFO] [stderr]    Compiling dconf_rs v0.3.0
[INFO] [stderr]    Compiling detect-desktop-environment v0.2.0
[INFO] [stderr]    Compiling glow v0.11.2
[INFO] [stderr]    Compiling tracing-core v0.1.22
[INFO] [stderr]    Compiling libloading v0.7.3
[INFO] [stderr]    Compiling instant v0.1.12
[INFO] [stderr]    Compiling concurrent-queue v1.2.2
[INFO] [stderr]    Compiling nom v7.1.0
[INFO] [stderr]    Compiling ahash v0.7.6
[INFO] [stderr]    Compiling tinyvec v1.5.1
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]    Compiling async-lock v2.5.0
[INFO] [stderr]    Compiling wayland-sys v0.29.4
[INFO] [stderr]    Compiling smithay-client-toolkit v0.15.3
[INFO] [stderr]    Compiling x11-dl v2.19.1
[INFO] [stderr]    Compiling lock_api v0.4.6
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling raw-window-handle v0.4.2
[INFO] [stderr]    Compiling sha1 v0.6.1
[INFO] [stderr]    Compiling dlib v0.5.0
[INFO] [stderr]    Compiling ordered-stream v0.0.1
[INFO] [stderr]    Compiling async-broadcast v0.3.4
[INFO] [stderr]    Compiling async-channel v1.6.1
[INFO] [stderr]    Compiling gl_generator v0.14.0
[INFO] [stderr]    Compiling owned_ttf_parser v0.14.0
[INFO] [stderr]    Compiling quick-xml v0.22.0
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling futures-lite v1.12.0
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]    Compiling ab_glyph v0.2.13
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling regex v1.5.4
[INFO] [stderr]    Compiling getrandom v0.2.5
[INFO] [stderr]    Compiling nix v0.22.3
[INFO] [stderr]    Compiling memmap2 v0.3.1
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling polling v2.2.0
[INFO] [stderr]    Compiling dirs-sys v0.3.6
[INFO] [stderr]    Compiling mio v0.8.0
[INFO] [stderr]    Compiling nix v0.23.1
[INFO] [stderr]    Compiling shared_library v0.1.9
[INFO] [stderr]    Compiling wayland-scanner v0.29.4
[INFO] [stderr]    Compiling xcb v0.10.1
[INFO] [stderr]    Compiling async-executor v1.4.1
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling glutin_egl_sys v0.1.5
[INFO] [stderr]    Compiling glutin_glx_sys v0.1.7
[INFO] [stderr]    Compiling toml v0.5.8
[INFO] [stderr]    Compiling async-io v1.6.0
[INFO] [stderr]    Compiling dirs v4.0.0
[INFO] [stderr]    Compiling xcursor v0.3.4
[INFO] [stderr]    Compiling parking_lot v0.11.2
[INFO] [stderr]    Compiling osmesa-sys v0.1.2
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling webbrowser v0.6.0
[INFO] [stderr]    Compiling wayland-client v0.29.4
[INFO] [stderr]    Compiling wayland-protocols v0.29.4
[INFO] [stderr]    Compiling wayland-commons v0.29.4
[INFO] [stderr]    Compiling calloop v0.9.3
[INFO] [stderr]    Compiling dlv-list v0.2.3
[INFO] [stderr]    Compiling ordered-multimap v0.3.1
[INFO] [stderr]    Compiling rust-ini v0.17.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling bytemuck_derive v1.0.1
[INFO] [stderr]    Compiling enumflags2_derive v0.7.3
[INFO] [stderr]    Compiling tracing-attributes v0.1.19
[INFO] [stderr]    Compiling async-recursion v0.3.2
[INFO] [stderr]    Compiling serde_repr v0.1.7
[INFO] [stderr]    Compiling derivative v2.2.0
[INFO] [stderr]    Compiling wayland-cursor v0.29.4
[INFO] [stderr]    Compiling wayland-egl v0.29.4
[INFO] [stderr]    Compiling x11-clipboard v0.5.3
[INFO] [stderr]    Compiling bytemuck v1.7.3
[INFO] [stderr]    Compiling emath v0.17.0
[INFO] [stderr]    Compiling epaint v0.17.0
[INFO] [stderr]    Compiling tracing v0.1.31
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]    Compiling proc-macro-crate v1.1.2
[INFO] [stderr]    Compiling zvariant_derive v3.1.2
[INFO] [stderr]    Compiling zbus_macros v2.1.1
[INFO] [stderr]    Compiling egui v0.17.0
[INFO] [stderr]    Compiling enumflags2 v0.7.3
[INFO] [stderr]    Compiling zvariant v3.1.2
[INFO] [stderr]    Compiling epi v0.17.0
[INFO] [stderr]    Compiling zbus_names v2.1.0
[INFO] [stderr]    Compiling zbus v2.1.1
[INFO] [stderr]    Compiling smithay-clipboard v0.6.5
[INFO] [stderr]    Compiling copypasta v0.7.1
[INFO] [stderr]    Compiling egui-winit v0.17.0
[INFO] [stderr]    Compiling glutin v0.28.0
[INFO] [stderr]    Compiling egui_glow v0.17.0
[INFO] [stderr]    Compiling eframe v0.17.0
[INFO] [stderr]    Compiling poke_calc_tool v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/poke_calc.rs:382:23
[INFO] [stdout]     |
[INFO] [stdout] 382 |             186 => if (def_ability_id == 188) {3072} else {5448}, // Dark-Aura
[INFO] [stdout]     |                       ^                     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 382 -             186 => if (def_ability_id == 188) {3072} else {5448}, // Dark-Aura
[INFO] [stdout] 382 +             186 => if def_ability_id == 188 {3072} else {5448}, // Dark-Aura
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/poke_calc.rs:383:23
[INFO] [stdout]     |
[INFO] [stdout] 383 |             187 => if (def_ability_id == 188) {3072} else {5448}, // Fairy-Aura
[INFO] [stdout]     |                       ^                     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 383 -             187 => if (def_ability_id == 188) {3072} else {5448}, // Fairy-Aura
[INFO] [stdout] 383 +             187 => if def_ability_id == 188 {3072} else {5448}, // Fairy-Aura
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ui`
[INFO] [stdout]    --> src/app.rs:250:17
[INFO] [stdout]     |
[INFO] [stdout] 250 | fn field_drawer(ui: &mut eframe::egui::Ui, poke_data: &mut poke_calc::FieldCondition) {
[INFO] [stdout]     |                 ^^ help: if this is intentional, prefix it with an underscore: `_ui`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `poke_data`
[INFO] [stdout]    --> src/app.rs:250:44
[INFO] [stdout]     |
[INFO] [stdout] 250 | fn field_drawer(ui: &mut eframe::egui::Ui, poke_data: &mut poke_calc::FieldCondition) {
[INFO] [stdout]     |                                            ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_poke_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `label`
[INFO] [stdout]   --> src/app.rs:64:20
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let Self { label, value, me, opponent } = self;
[INFO] [stdout]    |                    ^^^^^ help: try ignoring the field: `label: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/app.rs:64:27
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let Self { label, value, me, opponent } = self;
[INFO] [stdout]    |                           ^^^^^ help: try ignoring the field: `value: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `frame`
[INFO] [stdout]   --> src/app.rs:63:47
[INFO] [stdout]    |
[INFO] [stdout] 63 |     fn update(&mut self, ctx: &egui::Context, frame: &epi::Frame) {
[INFO] [stdout]    |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `dmg_` is never read
[INFO] [stdout]    --> src/poke_calc.rs:368:13
[INFO] [stdout]     |
[INFO] [stdout] 368 |     let mut dmg_ = 0_f64;
[INFO] [stdout]     |             ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k_move`
[INFO] [stdout]    --> src/poke_calc.rs:392:13
[INFO] [stdout]     |
[INFO] [stdout] 392 |     let mut k_move = 0_f64;
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_k_move`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ability_magnification`
[INFO] [stdout]    --> src/poke_calc.rs:391:16
[INFO] [stdout]     |
[INFO] [stdout] 391 | fn k_move_calc(ability_magnification: i32, move_dmg: i64) -> i64 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ability_magnification`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `move_dmg`
[INFO] [stdout]    --> src/poke_calc.rs:391:44
[INFO] [stdout]     |
[INFO] [stdout] 391 | fn k_move_calc(ability_magnification: i32, move_dmg: i64) -> i64 {
[INFO] [stdout]     |                                            ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_dmg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/poke_calc.rs:392:9
[INFO] [stdout]     |
[INFO] [stdout] 392 |     let mut k_move = 0_f64;
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `field_drawer`
[INFO] [stdout]    --> src/app.rs:250:4
[INFO] [stdout]     |
[INFO] [stdout] 250 | fn field_drawer(ui: &mut eframe::egui::Ui, poke_data: &mut poke_calc::FieldCondition) {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `id`
[INFO] [stdout]  --> src/poke_calc.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     id: i32,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Ability` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/poke_calc.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `name`
[INFO] [stdout]  --> src/poke_calc.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     name: String,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Ability` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/poke_calc.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `description`
[INFO] [stdout]  --> src/poke_calc.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     description: String,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Ability` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/poke_calc.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `pokemon_dt_test`
[INFO] [stdout]    --> src/poke_calc.rs:307:4
[INFO] [stdout]     |
[INFO] [stdout] 307 | fn pokemon_dt_test() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `calc_test`
[INFO] [stdout]    --> src/poke_calc.rs:356:4
[INFO] [stdout]     |
[INFO] [stdout] 356 | fn calc_test() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `dmg_calc`
[INFO] [stdout]    --> src/poke_calc.rs:367:4
[INFO] [stdout]     |
[INFO] [stdout] 367 | fn dmg_calc(lvat:i32, k_move:i64, k_at:i64, k_df:i64) -> i64 {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `k_move_ability`
[INFO] [stdout]    --> src/poke_calc.rs:375:4
[INFO] [stdout]     |
[INFO] [stdout] 375 | fn k_move_ability(atk_ability_id: i32, def_ability_id: i32, ability_enable: bool) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `k_move_calc`
[INFO] [stdout]    --> src/poke_calc.rs:391:4
[INFO] [stdout]     |
[INFO] [stdout] 391 | fn k_move_calc(ability_magnification: i32, move_dmg: i64) -> i64 {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 21 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 2m 08s
[INFO] running `Command { std: "docker" "inspect" "e083cf9c1c38ee16758a482decb2c596c91237a6ec0a31b11de5b35d92549521", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e083cf9c1c38ee16758a482decb2c596c91237a6ec0a31b11de5b35d92549521", kill_on_drop: false }`
[INFO] [stdout] e083cf9c1c38ee16758a482decb2c596c91237a6ec0a31b11de5b35d92549521
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6af5b7bd7785273e399ed24b7473c3d786e67be6b22fc589f9527c838cbd6064
[INFO] running `Command { std: "docker" "start" "-a" "6af5b7bd7785273e399ed24b7473c3d786e67be6b22fc589f9527c838cbd6064", kill_on_drop: false }`
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/poke_calc.rs:382:23
[INFO] [stdout]     |
[INFO] [stdout] 382 |             186 => if (def_ability_id == 188) {3072} else {5448}, // Dark-Aura
[INFO] [stdout]     |                       ^                     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 382 -             186 => if (def_ability_id == 188) {3072} else {5448}, // Dark-Aura
[INFO] [stdout] 382 +             186 => if def_ability_id == 188 {3072} else {5448}, // Dark-Aura
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/poke_calc.rs:383:23
[INFO] [stdout]     |
[INFO] [stdout] 383 |             187 => if (def_ability_id == 188) {3072} else {5448}, // Fairy-Aura
[INFO] [stdout]     |                       ^                     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 383 -             187 => if (def_ability_id == 188) {3072} else {5448}, // Fairy-Aura
[INFO] [stdout] 383 +             187 => if def_ability_id == 188 {3072} else {5448}, // Fairy-Aura
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ui`
[INFO] [stdout]    --> src/app.rs:250:17
[INFO] [stdout]     |
[INFO] [stdout] 250 | fn field_drawer(ui: &mut eframe::egui::Ui, poke_data: &mut poke_calc::FieldCondition) {
[INFO] [stdout]     |                 ^^ help: if this is intentional, prefix it with an underscore: `_ui`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `poke_data`
[INFO] [stdout]    --> src/app.rs:250:44
[INFO] [stdout]     |
[INFO] [stdout] 250 | fn field_drawer(ui: &mut eframe::egui::Ui, poke_data: &mut poke_calc::FieldCondition) {
[INFO] [stdout]     |                                            ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_poke_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `label`
[INFO] [stdout]   --> src/app.rs:64:20
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let Self { label, value, me, opponent } = self;
[INFO] [stdout]    |                    ^^^^^ help: try ignoring the field: `label: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/app.rs:64:27
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let Self { label, value, me, opponent } = self;
[INFO] [stdout]    |                           ^^^^^ help: try ignoring the field: `value: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `frame`
[INFO] [stdout]   --> src/app.rs:63:47
[INFO] [stdout]    |
[INFO] [stdout] 63 |     fn update(&mut self, ctx: &egui::Context, frame: &epi::Frame) {
[INFO] [stdout]    |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `dmg_` is never read
[INFO] [stdout]    --> src/poke_calc.rs:368:13
[INFO] [stdout]     |
[INFO] [stdout] 368 |     let mut dmg_ = 0_f64;
[INFO] [stdout]     |             ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k_move`
[INFO] [stdout]    --> src/poke_calc.rs:392:13
[INFO] [stdout]     |
[INFO] [stdout] 392 |     let mut k_move = 0_f64;
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_k_move`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ability_magnification`
[INFO] [stdout]    --> src/poke_calc.rs:391:16
[INFO] [stdout]     |
[INFO] [stdout] 391 | fn k_move_calc(ability_magnification: i32, move_dmg: i64) -> i64 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ability_magnification`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `move_dmg`
[INFO] [stdout]    --> src/poke_calc.rs:391:44
[INFO] [stdout]     |
[INFO] [stdout] 391 | fn k_move_calc(ability_magnification: i32, move_dmg: i64) -> i64 {
[INFO] [stdout]     |                                            ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_dmg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/poke_calc.rs:392:9
[INFO] [stdout]     |
[INFO] [stdout] 392 |     let mut k_move = 0_f64;
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `field_drawer`
[INFO] [stdout]    --> src/app.rs:250:4
[INFO] [stdout]     |
[INFO] [stdout] 250 | fn field_drawer(ui: &mut eframe::egui::Ui, poke_data: &mut poke_calc::FieldCondition) {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `id`
[INFO] [stdout]  --> src/poke_calc.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     id: i32,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Ability` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/poke_calc.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `name`
[INFO] [stdout]  --> src/poke_calc.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     name: String,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Ability` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/poke_calc.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `description`
[INFO] [stdout]  --> src/poke_calc.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     description: String,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Ability` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/poke_calc.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `pokemon_dt_test`
[INFO] [stdout]    --> src/poke_calc.rs:307:4
[INFO] [stdout]     |
[INFO] [stdout] 307 | fn pokemon_dt_test() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `calc_test`
[INFO] [stdout]    --> src/poke_calc.rs:356:4
[INFO] [stdout]     |
[INFO] [stdout] 356 | fn calc_test() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `dmg_calc`
[INFO] [stdout]    --> src/poke_calc.rs:367:4
[INFO] [stdout]     |
[INFO] [stdout] 367 | fn dmg_calc(lvat:i32, k_move:i64, k_at:i64, k_df:i64) -> i64 {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `k_move_ability`
[INFO] [stdout]    --> src/poke_calc.rs:375:4
[INFO] [stdout]     |
[INFO] [stdout] 375 | fn k_move_ability(atk_ability_id: i32, def_ability_id: i32, ability_enable: bool) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `k_move_calc`
[INFO] [stdout]    --> src/poke_calc.rs:391:4
[INFO] [stdout]     |
[INFO] [stdout] 391 | fn k_move_calc(ability_magnification: i32, move_dmg: i64) -> i64 {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling poke_calc_tool v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: 21 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/poke_calc.rs:382:23
[INFO] [stdout]     |
[INFO] [stdout] 382 |             186 => if (def_ability_id == 188) {3072} else {5448}, // Dark-Aura
[INFO] [stdout]     |                       ^                     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 382 -             186 => if (def_ability_id == 188) {3072} else {5448}, // Dark-Aura
[INFO] [stdout] 382 +             186 => if def_ability_id == 188 {3072} else {5448}, // Dark-Aura
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]    --> src/poke_calc.rs:383:23
[INFO] [stdout]     |
[INFO] [stdout] 383 |             187 => if (def_ability_id == 188) {3072} else {5448}, // Fairy-Aura
[INFO] [stdout]     |                       ^                     ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 383 -             187 => if (def_ability_id == 188) {3072} else {5448}, // Fairy-Aura
[INFO] [stdout] 383 +             187 => if def_ability_id == 188 {3072} else {5448}, // Fairy-Aura
[INFO] [stdout]     | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ui`
[INFO] [stdout]    --> src/app.rs:250:17
[INFO] [stdout]     |
[INFO] [stdout] 250 | fn field_drawer(ui: &mut eframe::egui::Ui, poke_data: &mut poke_calc::FieldCondition) {
[INFO] [stdout]     |                 ^^ help: if this is intentional, prefix it with an underscore: `_ui`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `poke_data`
[INFO] [stdout]    --> src/app.rs:250:44
[INFO] [stdout]     |
[INFO] [stdout] 250 | fn field_drawer(ui: &mut eframe::egui::Ui, poke_data: &mut poke_calc::FieldCondition) {
[INFO] [stdout]     |                                            ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_poke_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `label`
[INFO] [stdout]   --> src/app.rs:64:20
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let Self { label, value, me, opponent } = self;
[INFO] [stdout]    |                    ^^^^^ help: try ignoring the field: `label: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `value`
[INFO] [stdout]   --> src/app.rs:64:27
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let Self { label, value, me, opponent } = self;
[INFO] [stdout]    |                           ^^^^^ help: try ignoring the field: `value: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `frame`
[INFO] [stdout]   --> src/app.rs:63:47
[INFO] [stdout]    |
[INFO] [stdout] 63 |     fn update(&mut self, ctx: &egui::Context, frame: &epi::Frame) {
[INFO] [stdout]    |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `dmg_` is never read
[INFO] [stdout]    --> src/poke_calc.rs:368:13
[INFO] [stdout]     |
[INFO] [stdout] 368 |     let mut dmg_ = 0_f64;
[INFO] [stdout]     |             ^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k_move`
[INFO] [stdout]    --> src/poke_calc.rs:392:13
[INFO] [stdout]     |
[INFO] [stdout] 392 |     let mut k_move = 0_f64;
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_k_move`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ability_magnification`
[INFO] [stdout]    --> src/poke_calc.rs:391:16
[INFO] [stdout]     |
[INFO] [stdout] 391 | fn k_move_calc(ability_magnification: i32, move_dmg: i64) -> i64 {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ability_magnification`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `move_dmg`
[INFO] [stdout]    --> src/poke_calc.rs:391:44
[INFO] [stdout]     |
[INFO] [stdout] 391 | fn k_move_calc(ability_magnification: i32, move_dmg: i64) -> i64 {
[INFO] [stdout]     |                                            ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_dmg`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/poke_calc.rs:392:9
[INFO] [stdout]     |
[INFO] [stdout] 392 |     let mut k_move = 0_f64;
[INFO] [stdout]     |         ----^^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `field_drawer`
[INFO] [stdout]    --> src/app.rs:250:4
[INFO] [stdout]     |
[INFO] [stdout] 250 | fn field_drawer(ui: &mut eframe::egui::Ui, poke_data: &mut poke_calc::FieldCondition) {
[INFO] [stdout]     |    ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `id`
[INFO] [stdout]  --> src/poke_calc.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     id: i32,
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Ability` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/poke_calc.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `name`
[INFO] [stdout]  --> src/poke_calc.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     name: String,
[INFO] [stdout]   |     ^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Ability` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/poke_calc.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field is never read: `description`
[INFO] [stdout]  --> src/poke_calc.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     description: String,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] note: `Ability` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout]  --> src/poke_calc.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug)]
[INFO] [stdout]   |          ^^^^^
[INFO] [stdout]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `pokemon_dt_test`
[INFO] [stdout]    --> src/poke_calc.rs:307:4
[INFO] [stdout]     |
[INFO] [stdout] 307 | fn pokemon_dt_test() {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `calc_test`
[INFO] [stdout]    --> src/poke_calc.rs:356:4
[INFO] [stdout]     |
[INFO] [stdout] 356 | fn calc_test() {
[INFO] [stdout]     |    ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `dmg_calc`
[INFO] [stdout]    --> src/poke_calc.rs:367:4
[INFO] [stdout]     |
[INFO] [stdout] 367 | fn dmg_calc(lvat:i32, k_move:i64, k_at:i64, k_df:i64) -> i64 {
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `k_move_ability`
[INFO] [stdout]    --> src/poke_calc.rs:375:4
[INFO] [stdout]     |
[INFO] [stdout] 375 | fn k_move_ability(atk_ability_id: i32, def_ability_id: i32, ability_enable: bool) -> i32 {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function is never used: `k_move_calc`
[INFO] [stdout]    --> src/poke_calc.rs:391:4
[INFO] [stdout]     |
[INFO] [stdout] 391 | fn k_move_calc(ability_magnification: i32, move_dmg: i64) -> i64 {
[INFO] [stdout]     |    ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 21 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 6.32s
[INFO] [stderr]   Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/poke_calc_tool-227bb6bdc48bb368)
[INFO] [stderr]   Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/poke_calc_tool_bin-c44abc043b625690)
[INFO] running `Command { std: "docker" "inspect" "6af5b7bd7785273e399ed24b7473c3d786e67be6b22fc589f9527c838cbd6064", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6af5b7bd7785273e399ed24b7473c3d786e67be6b22fc589f9527c838cbd6064", kill_on_drop: false }`
[INFO] [stdout] 6af5b7bd7785273e399ed24b7473c3d786e67be6b22fc589f9527c838cbd6064
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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=warn" "-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:5873ed620acfc3295992aedd9294443d62a478a48ba243bc5e6c4f5abaffa05f" "/opt/rustwide/cargo-home/bin/cargo" "+1.62.0" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 51cbcf1ed2bf02209dab57f13686022f2a4d239d05a5092d519128554334032c
[INFO] running `Command { std: "docker" "start" "-a" "51cbcf1ed2bf02209dab57f13686022f2a4d239d05a5092d519128554334032c", kill_on_drop: false }`
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/poke_calc.rs:382:23
[INFO] [stderr]     |
[INFO] [stderr] 382 |             186 => if (def_ability_id == 188) {3072} else {5448}, // Dark-Aura
[INFO] [stderr]     |                       ^                     ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 382 -             186 => if (def_ability_id == 188) {3072} else {5448}, // Dark-Aura
[INFO] [stderr] 382 +             186 => if def_ability_id == 188 {3072} else {5448}, // Dark-Aura
[INFO] [stderr]     | 
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> src/poke_calc.rs:383:23
[INFO] [stderr]     |
[INFO] [stderr] 383 |             187 => if (def_ability_id == 188) {3072} else {5448}, // Fairy-Aura
[INFO] [stderr]     |                       ^                     ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 383 -             187 => if (def_ability_id == 188) {3072} else {5448}, // Fairy-Aura
[INFO] [stderr] 383 +             187 => if def_ability_id == 188 {3072} else {5448}, // Fairy-Aura
[INFO] [stderr]     | 
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ui`
[INFO] [stderr]    --> src/app.rs:250:17
[INFO] [stderr]     |
[INFO] [stderr] 250 | fn field_drawer(ui: &mut eframe::egui::Ui, poke_data: &mut poke_calc::FieldCondition) {
[INFO] [stderr]     |                 ^^ help: if this is intentional, prefix it with an underscore: `_ui`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `poke_data`
[INFO] [stderr]    --> src/app.rs:250:44
[INFO] [stderr]     |
[INFO] [stderr] 250 | fn field_drawer(ui: &mut eframe::egui::Ui, poke_data: &mut poke_calc::FieldCondition) {
[INFO] [stderr]     |                                            ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_poke_data`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `label`
[INFO] [stderr]   --> src/app.rs:64:20
[INFO] [stderr]    |
[INFO] [stderr] 64 |         let Self { label, value, me, opponent } = self;
[INFO] [stderr]    |                    ^^^^^ help: try ignoring the field: `label: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `value`
[INFO] [stderr]   --> src/app.rs:64:27
[INFO] [stderr]    |
[INFO] [stderr] 64 |         let Self { label, value, me, opponent } = self;
[INFO] [stderr]    |                           ^^^^^ help: try ignoring the field: `value: _`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `frame`
[INFO] [stderr]   --> src/app.rs:63:47
[INFO] [stderr]    |
[INFO] [stderr] 63 |     fn update(&mut self, ctx: &egui::Context, frame: &epi::Frame) {
[INFO] [stderr]    |                                               ^^^^^ help: if this is intentional, prefix it with an underscore: `_frame`
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `dmg_` is never read
[INFO] [stderr]    --> src/poke_calc.rs:368:13
[INFO] [stderr]     |
[INFO] [stderr] 368 |     let mut dmg_ = 0_f64;
[INFO] [stderr]     |             ^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` on by default
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `k_move`
[INFO] [stderr]    --> src/poke_calc.rs:392:13
[INFO] [stderr]     |
[INFO] [stderr] 392 |     let mut k_move = 0_f64;
[INFO] [stderr]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_k_move`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ability_magnification`
[INFO] [stderr]    --> src/poke_calc.rs:391:16
[INFO] [stderr]     |
[INFO] [stderr] 391 | fn k_move_calc(ability_magnification: i32, move_dmg: i64) -> i64 {
[INFO] [stderr]     |                ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ability_magnification`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `move_dmg`
[INFO] [stderr]    --> src/poke_calc.rs:391:44
[INFO] [stderr]     |
[INFO] [stderr] 391 | fn k_move_calc(ability_magnification: i32, move_dmg: i64) -> i64 {
[INFO] [stderr]     |                                            ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_move_dmg`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> src/poke_calc.rs:392:9
[INFO] [stderr]     |
[INFO] [stderr] 392 |     let mut k_move = 0_f64;
[INFO] [stderr]     |         ----^^^^^^
[INFO] [stderr]     |         |
[INFO] [stderr]     |         help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `field_drawer`
[INFO] [stderr]    --> src/app.rs:250:4
[INFO] [stderr]     |
[INFO] [stderr] 250 | fn field_drawer(ui: &mut eframe::egui::Ui, poke_data: &mut poke_calc::FieldCondition) {
[INFO] [stderr]     |    ^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `id`
[INFO] [stderr]  --> src/poke_calc.rs:5:5
[INFO] [stderr]   |
[INFO] [stderr] 5 |     id: i32,
[INFO] [stderr]   |     ^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] note: `Ability` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]  --> src/poke_calc.rs:3:10
[INFO] [stderr]   |
[INFO] [stderr] 3 | #[derive(Debug)]
[INFO] [stderr]   |          ^^^^^
[INFO] [stderr]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `name`
[INFO] [stderr]  --> src/poke_calc.rs:6:5
[INFO] [stderr]   |
[INFO] [stderr] 6 |     name: String,
[INFO] [stderr]   |     ^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] note: `Ability` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]  --> src/poke_calc.rs:3:10
[INFO] [stderr]   |
[INFO] [stderr] 3 | #[derive(Debug)]
[INFO] [stderr]   |          ^^^^^
[INFO] [stderr]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: field is never read: `description`
[INFO] [stderr]  --> src/poke_calc.rs:7:5
[INFO] [stderr]   |
[INFO] [stderr] 7 |     description: String,
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr] note: `Ability` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stderr]  --> src/poke_calc.rs:3:10
[INFO] [stderr]   |
[INFO] [stderr] 3 | #[derive(Debug)]
[INFO] [stderr]   |          ^^^^^
[INFO] [stderr]   = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `pokemon_dt_test`
[INFO] [stderr]    --> src/poke_calc.rs:307:4
[INFO] [stderr]     |
[INFO] [stderr] 307 | fn pokemon_dt_test() {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `calc_test`
[INFO] [stderr]    --> src/poke_calc.rs:356:4
[INFO] [stderr]     |
[INFO] [stderr] 356 | fn calc_test() {
[INFO] [stderr]     |    ^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `dmg_calc`
[INFO] [stderr]    --> src/poke_calc.rs:367:4
[INFO] [stderr]     |
[INFO] [stderr] 367 | fn dmg_calc(lvat:i32, k_move:i64, k_at:i64, k_df:i64) -> i64 {
[INFO] [stderr]     |    ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `k_move_ability`
[INFO] [stderr]    --> src/poke_calc.rs:375:4
[INFO] [stderr]     |
[INFO] [stderr] 375 | fn k_move_ability(atk_ability_id: i32, def_ability_id: i32, ability_enable: bool) -> i32 {
[INFO] [stderr]     |    ^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: function is never used: `k_move_calc`
[INFO] [stderr]    --> src/poke_calc.rs:391:4
[INFO] [stderr]     |
[INFO] [stderr] 391 | fn k_move_calc(ability_magnification: i32, move_dmg: i64) -> i64 {
[INFO] [stderr]     |    ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `poke_calc_tool` (lib) generated 21 warnings
[INFO] [stderr] warning: `poke_calc_tool` (lib test) generated 21 warnings (21 duplicates)
[INFO] [stderr]     Finished test [unoptimized + debuginfo] target(s) in 0.28s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/poke_calc_tool-227bb6bdc48bb368)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/poke_calc_tool_bin-c44abc043b625690)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests poke_calc_tool
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> /opt/rustwide/workdir/src/poke_calc.rs:382:23
[INFO] [stderr]     |
[INFO] [stderr] 382 |             186 => if (def_ability_id == 188) {3072} else {5448}, // Dark-Aura
[INFO] [stderr]     |                       ^                     ^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 382 -             186 => if (def_ability_id == 188) {3072} else {5448}, // Dark-Aura
[INFO] [stderr] 382 +             186 => if def_ability_id == 188 {3072} else {5448}, // Dark-Aura
[INFO] [stderr]     | 
[INFO] [stderr] 
[INFO] [stderr] warning: unnecessary parentheses around `if` condition
[INFO] [stderr]    --> /opt/rustwide/workdir/src/poke_calc.rs:383:23
[INFO] [stderr]     |
[INFO] [stderr] 383 |             187 => if (def_ability_id == 188) {3072} else {5448}, // Fairy-Aura
[INFO] [stderr]     |                       ^                     ^
[INFO] [stderr]     |
[INFO] [stderr] help: remove these parentheses
[INFO] [stderr]     |
[INFO] [stderr] 383 -             187 => if (def_ability_id == 188) {3072} else {5448}, // Fairy-Aura
[INFO] [stderr] 383 +             187 => if def_ability_id == 188 {3072} else {5448}, // Fairy-Aura
[INFO] [stderr]     | 
[INFO] [stderr] 
[INFO] [stderr] warning: 2 warnings emitted
[INFO] [stderr] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "51cbcf1ed2bf02209dab57f13686022f2a4d239d05a5092d519128554334032c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "51cbcf1ed2bf02209dab57f13686022f2a4d239d05a5092d519128554334032c", kill_on_drop: false }`
[INFO] [stdout] 51cbcf1ed2bf02209dab57f13686022f2a4d239d05a5092d519128554334032c
