[INFO] fetching crate boss 0.0.3... [INFO] testing boss-0.0.3 against 1.63.0 for beta-1.64-2 [INFO] extracting crate boss 0.0.3 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate boss 0.0.3 on toolchain 1.63.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.63.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate boss 0.0.3 [INFO] finished tweaking crates.io crate boss 0.0.3 [INFO] tweaked toml for crates.io crate boss 0.0.3 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate crates.io crate boss 0.0.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.63.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded sluice v0.5.0 [INFO] [stderr] Downloaded http v0.1.20 [INFO] [stderr] Downloaded isahc v0.8.1 [INFO] [stderr] Downloaded syn v1.0.9 [INFO] [stderr] Downloaded curl-sys v0.4.24 [INFO] [stderr] Downloaded libnghttp2-sys v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24c7001fcfb4851e1c7540ab37a8f03db4aa2d7d5acd591bef3b8f65eae327bc [INFO] running `Command { std: "docker" "start" "-a" "24c7001fcfb4851e1c7540ab37a8f03db4aa2d7d5acd591bef3b8f65eae327bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24c7001fcfb4851e1c7540ab37a8f03db4aa2d7d5acd591bef3b8f65eae327bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24c7001fcfb4851e1c7540ab37a8f03db4aa2d7d5acd591bef3b8f65eae327bc", kill_on_drop: false }` [INFO] [stdout] 24c7001fcfb4851e1c7540ab37a8f03db4aa2d7d5acd591bef3b8f65eae327bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "RUSTDOCFLAGS=--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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9234410dc34a499d25862af9fb99736e82b367d03b64d68ad37f8cd669025bb [INFO] running `Command { std: "docker" "start" "-a" "a9234410dc34a499d25862af9fb99736e82b367d03b64d68ad37f8cd669025bb", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling cc v1.0.47 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.9 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling serde v1.0.103 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling scopeguard v1.0.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling futures-core v0.3.1 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling rayon-core v1.6.1 [INFO] [stderr] Compiling curl v0.4.25 [INFO] [stderr] Compiling futures-io v0.3.1 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling isahc v0.8.1 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling futures-channel v0.3.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling openssl-sys v0.9.53 [INFO] [stderr] Compiling libz-sys v1.0.25 [INFO] [stderr] Compiling libnghttp2-sys v0.1.2 [INFO] [stderr] Compiling curl-sys v0.4.24 [INFO] [stderr] Compiling regex-automata v0.1.8 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling socket2 v0.3.11 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling crossbeam-queue v0.2.0 [INFO] [stderr] Compiling crossbeam-channel v0.4.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling csv-core v0.1.6 [INFO] [stderr] Compiling http v0.1.20 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling rayon v1.2.1 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling serde_derive v1.0.103 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Compiling futures-util v0.3.1 [INFO] [stderr] Compiling sluice v0.5.0 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling serde_json v1.0.42 [INFO] [stderr] Compiling csv v1.1.1 [INFO] [stderr] Compiling boss v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/play_by_play.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 71 | #[serde(rename_all="camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 72 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `all_plays` is never read [INFO] [stdout] --> src/play_by_play.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub (crate) struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 27 | all_plays: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `result`, `about`, `matchup`, `runners` and `play_events` are never read [INFO] [stdout] --> src/play_by_play.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub (crate) struct AllPlays { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 32 | result: PlateAppearanceData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | about: About, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 34 | matchup: MatchupData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | runners: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | play_events: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AllPlays` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/play_by_play.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub (crate) struct PitchDataParse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 52 | strike_zone_top: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | strike_zone_bottom: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | coordinates: PitchCoordinates, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | start_speed: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | end_speed: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | breaks: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 58 | plate_time: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | extension: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PitchDataParse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `break_length`, `break_y`, `spin_rate` and `spin_direction` are never read [INFO] [stdout] --> src/play_by_play.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub (crate) struct PitchBreaks { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 65 | break_length: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | break_y: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 67 | spin_rate: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 68 | spin_direction: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PitchBreaks` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/play_by_play.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub (crate) struct PitchCoordinates { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 74 | // x,y are the pixel coordinates on the screen. Mildly useful for minor league strike zone data [INFO] [stdout] 75 | x: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 76 | y: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 77 | // The rest of the fields relate to Pitch/Fx or StatCast data [INFO] [stdout] 78 | a_x: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 79 | a_y: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 80 | a_z: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 81 | pfx_x: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 82 | pfx_z: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 83 | p_x: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | p_z: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 85 | v_x0: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 86 | v_y0: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 87 | v_z0: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 88 | x0: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 89 | y0: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | z0: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PitchCoordinates` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/play_by_play.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub (crate) struct HitCoordinates { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 96 | #[serde(alias="coordX")] [INFO] [stdout] 97 | x: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 98 | #[serde(alias="coordY")] [INFO] [stdout] 99 | y: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HitCoordinates` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `trajectory`, `hardness`, `coordinates`, `launch_speed`, `launch_angle` and `total_distance` are never read [INFO] [stdout] --> src/play_by_play.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub (crate) struct HitData { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 105 | trajectory: Trajectory, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 106 | hardness: Hardness, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 107 | coordinates: HitCoordinates, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 108 | launch_speed: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 109 | launch_angle: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 110 | total_distance: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HitData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `description` are never read [INFO] [stdout] --> src/play_by_play.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub (crate) struct PitchType { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 136 | code: PitchTypeCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 137 | description: PitchTypeDescription, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PitchType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `details`, `is_pitch`, `play_event_type`, `pitch_data` and `hit_data` are never read [INFO] [stdout] --> src/play_by_play.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 193 | pub (crate) struct PlayEvent { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 194 | details: PlayEventDetails, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 195 | is_pitch: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 196 | #[serde(rename="type")] [INFO] [stdout] 197 | play_event_type: PlayEventType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 198 | pitch_data: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 199 | hit_data: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `event`, `event_type`, `has_review`, `is_in_play` and `pitch_type` are never read [INFO] [stdout] --> src/play_by_play.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 205 | pub (crate) struct PlayEventDetails { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 206 | event: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 207 | event_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 208 | has_review: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 209 | is_in_play: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 210 | #[serde(rename="type")] [INFO] [stdout] 211 | pitch_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayEventDetails` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `result_type`, `plate_appearance_result` and `plate_appearance_result_type` are never read [INFO] [stdout] --> src/play_by_play.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 218 | pub (crate) struct PlateAppearanceData { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 219 | #[serde(rename="type")] [INFO] [stdout] 220 | result_type: ResultType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 221 | #[serde(rename="event")] [INFO] [stdout] 222 | plate_appearance_result: Event, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 223 | #[serde(rename="eventType")] [INFO] [stdout] 224 | plate_appearance_result_type: EventType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlateAppearanceData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `plate_appearance_index`, `half_inning` and `inning_num` are never read [INFO] [stdout] --> src/play_by_play.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub (crate) struct About { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 240 | plate_appearance_index: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 241 | #[serde(rename="halfInning")] [INFO] [stdout] 242 | half_inning: HalfInning, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 243 | #[serde(rename="inning")] [INFO] [stdout] 244 | inning_num: u8 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `About` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/play_by_play.rs:349:5 [INFO] [stdout] | [INFO] [stdout] 348 | pub(crate) struct RunnerData { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 349 | runner_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 350 | start_base_value: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 351 | end_base_value: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 352 | runs: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 353 | event: Event, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 354 | event_type: EventType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 355 | rbi: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 356 | earned: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RunnerData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `batter_id`, `batter_bat_side_code`, `batter_bat_side_desc`, `pitcher_id`, `pitcher_pitch_hand_code` and `pitcher_pitch_hand_desc` are never read [INFO] [stdout] --> src/play_by_play.rs:362:5 [INFO] [stdout] | [INFO] [stdout] 361 | pub(crate) struct MatchupData { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 362 | batter_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 363 | batter_bat_side_code: SideCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 364 | batter_bat_side_desc: SideDescription, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 365 | pitcher_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 366 | pitcher_pitch_hand_code: SideCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 367 | pitcher_pitch_hand_desc: SideDescription, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatchupData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `result_type`, `event` and `event_type` are never read [INFO] [stdout] --> src/play_by_play.rs:557:5 [INFO] [stdout] | [INFO] [stdout] 555 | pub (crate) struct PlateAppearance { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 556 | #[serde(rename="type")] [INFO] [stdout] 557 | result_type: ResultType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 558 | event: Event, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 559 | event_type: EventType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlateAppearance` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 39s [INFO] running `Command { std: "docker" "inspect" "a9234410dc34a499d25862af9fb99736e82b367d03b64d68ad37f8cd669025bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9234410dc34a499d25862af9fb99736e82b367d03b64d68ad37f8cd669025bb", kill_on_drop: false }` [INFO] [stdout] a9234410dc34a499d25862af9fb99736e82b367d03b64d68ad37f8cd669025bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "RUSTDOCFLAGS=--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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b5241808b0853c4f36f8b524d5a70a27de682bef749b82a2b93162159fc3948 [INFO] running `Command { std: "docker" "start" "-a" "1b5241808b0853c4f36f8b524d5a70a27de682bef749b82a2b93162159fc3948", kill_on_drop: false }` [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/play_by_play.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 71 | #[serde(rename_all="camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 72 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `all_plays` is never read [INFO] [stdout] --> src/play_by_play.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub (crate) struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 27 | all_plays: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `result`, `about`, `matchup`, `runners` and `play_events` are never read [INFO] [stdout] --> src/play_by_play.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub (crate) struct AllPlays { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 32 | result: PlateAppearanceData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | about: About, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 34 | matchup: MatchupData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | runners: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | play_events: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AllPlays` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/play_by_play.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub (crate) struct PitchDataParse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 52 | strike_zone_top: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | strike_zone_bottom: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | coordinates: PitchCoordinates, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | start_speed: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | end_speed: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | breaks: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 58 | plate_time: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | extension: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PitchDataParse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `break_length`, `break_y`, `spin_rate` and `spin_direction` are never read [INFO] [stdout] --> src/play_by_play.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub (crate) struct PitchBreaks { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 65 | break_length: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | break_y: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 67 | spin_rate: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 68 | spin_direction: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PitchBreaks` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/play_by_play.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub (crate) struct PitchCoordinates { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 74 | // x,y are the pixel coordinates on the screen. Mildly useful for minor league strike zone data [INFO] [stdout] 75 | x: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 76 | y: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 77 | // The rest of the fields relate to Pitch/Fx or StatCast data [INFO] [stdout] 78 | a_x: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 79 | a_y: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 80 | a_z: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 81 | pfx_x: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 82 | pfx_z: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 83 | p_x: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | p_z: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 85 | v_x0: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 86 | v_y0: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 87 | v_z0: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 88 | x0: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 89 | y0: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | z0: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PitchCoordinates` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/play_by_play.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub (crate) struct HitCoordinates { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 96 | #[serde(alias="coordX")] [INFO] [stdout] 97 | x: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 98 | #[serde(alias="coordY")] [INFO] [stdout] 99 | y: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HitCoordinates` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `trajectory`, `hardness`, `coordinates`, `launch_speed`, `launch_angle` and `total_distance` are never read [INFO] [stdout] --> src/play_by_play.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub (crate) struct HitData { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 105 | trajectory: Trajectory, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 106 | hardness: Hardness, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 107 | coordinates: HitCoordinates, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 108 | launch_speed: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 109 | launch_angle: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 110 | total_distance: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HitData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `description` are never read [INFO] [stdout] --> src/play_by_play.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub (crate) struct PitchType { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 136 | code: PitchTypeCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 137 | description: PitchTypeDescription, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PitchType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `details`, `is_pitch`, `play_event_type`, `pitch_data` and `hit_data` are never read [INFO] [stdout] --> src/play_by_play.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 193 | pub (crate) struct PlayEvent { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 194 | details: PlayEventDetails, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 195 | is_pitch: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 196 | #[serde(rename="type")] [INFO] [stdout] 197 | play_event_type: PlayEventType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 198 | pitch_data: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 199 | hit_data: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `event`, `event_type`, `has_review`, `is_in_play` and `pitch_type` are never read [INFO] [stdout] --> src/play_by_play.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 205 | pub (crate) struct PlayEventDetails { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 206 | event: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 207 | event_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 208 | has_review: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 209 | is_in_play: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 210 | #[serde(rename="type")] [INFO] [stdout] 211 | pitch_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayEventDetails` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `result_type`, `plate_appearance_result` and `plate_appearance_result_type` are never read [INFO] [stdout] --> src/play_by_play.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 218 | pub (crate) struct PlateAppearanceData { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 219 | #[serde(rename="type")] [INFO] [stdout] 220 | result_type: ResultType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 221 | #[serde(rename="event")] [INFO] [stdout] 222 | plate_appearance_result: Event, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 223 | #[serde(rename="eventType")] [INFO] [stdout] 224 | plate_appearance_result_type: EventType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlateAppearanceData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `plate_appearance_index`, `half_inning` and `inning_num` are never read [INFO] [stdout] --> src/play_by_play.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub (crate) struct About { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 240 | plate_appearance_index: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 241 | #[serde(rename="halfInning")] [INFO] [stdout] 242 | half_inning: HalfInning, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 243 | #[serde(rename="inning")] [INFO] [stdout] 244 | inning_num: u8 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `About` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/play_by_play.rs:349:5 [INFO] [stdout] | [INFO] [stdout] 348 | pub(crate) struct RunnerData { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 349 | runner_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 350 | start_base_value: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 351 | end_base_value: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 352 | runs: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 353 | event: Event, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 354 | event_type: EventType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 355 | rbi: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 356 | earned: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RunnerData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `batter_id`, `batter_bat_side_code`, `batter_bat_side_desc`, `pitcher_id`, `pitcher_pitch_hand_code` and `pitcher_pitch_hand_desc` are never read [INFO] [stdout] --> src/play_by_play.rs:362:5 [INFO] [stdout] | [INFO] [stdout] 361 | pub(crate) struct MatchupData { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 362 | batter_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 363 | batter_bat_side_code: SideCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 364 | batter_bat_side_desc: SideDescription, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 365 | pitcher_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 366 | pitcher_pitch_hand_code: SideCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 367 | pitcher_pitch_hand_desc: SideDescription, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatchupData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `result_type`, `event` and `event_type` are never read [INFO] [stdout] --> src/play_by_play.rs:557:5 [INFO] [stdout] | [INFO] [stdout] 555 | pub (crate) struct PlateAppearance { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 556 | #[serde(rename="type")] [INFO] [stdout] 557 | result_type: ResultType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 558 | event: Event, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 559 | event_type: EventType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlateAppearance` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling boss v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> src/play_by_play.rs:71:3 [INFO] [stdout] | [INFO] [stdout] 71 | #[serde(rename_all="camelCase")] [INFO] [stdout] | ^^^^^ [INFO] [stdout] 72 | #[derive(Deserialize, Debug)] [INFO] [stdout] | ----------- the attribute is introduced here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `all_plays` is never read [INFO] [stdout] --> src/play_by_play.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub (crate) struct Game { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 27 | all_plays: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `result`, `about`, `matchup`, `runners` and `play_events` are never read [INFO] [stdout] --> src/play_by_play.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub (crate) struct AllPlays { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 32 | result: PlateAppearanceData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | about: About, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 34 | matchup: MatchupData, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 35 | runners: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | play_events: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AllPlays` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/play_by_play.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 51 | pub (crate) struct PitchDataParse { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 52 | strike_zone_top: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | strike_zone_bottom: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | coordinates: PitchCoordinates, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 55 | start_speed: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 56 | end_speed: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 57 | breaks: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 58 | plate_time: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 59 | extension: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PitchDataParse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `break_length`, `break_y`, `spin_rate` and `spin_direction` are never read [INFO] [stdout] --> src/play_by_play.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 64 | pub (crate) struct PitchBreaks { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 65 | break_length: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 66 | break_y: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 67 | spin_rate: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 68 | spin_direction: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PitchBreaks` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/play_by_play.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub (crate) struct PitchCoordinates { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 74 | // x,y are the pixel coordinates on the screen. Mildly useful for minor league strike zone data [INFO] [stdout] 75 | x: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 76 | y: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 77 | // The rest of the fields relate to Pitch/Fx or StatCast data [INFO] [stdout] 78 | a_x: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 79 | a_y: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 80 | a_z: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 81 | pfx_x: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 82 | pfx_z: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 83 | p_x: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 84 | p_z: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 85 | v_x0: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 86 | v_y0: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 87 | v_z0: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 88 | x0: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 89 | y0: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | z0: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PitchCoordinates` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/play_by_play.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 95 | pub (crate) struct HitCoordinates { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 96 | #[serde(alias="coordX")] [INFO] [stdout] 97 | x: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 98 | #[serde(alias="coordY")] [INFO] [stdout] 99 | y: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HitCoordinates` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `trajectory`, `hardness`, `coordinates`, `launch_speed`, `launch_angle` and `total_distance` are never read [INFO] [stdout] --> src/play_by_play.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 104 | pub (crate) struct HitData { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 105 | trajectory: Trajectory, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 106 | hardness: Hardness, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 107 | coordinates: HitCoordinates, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 108 | launch_speed: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 109 | launch_angle: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 110 | total_distance: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HitData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `code` and `description` are never read [INFO] [stdout] --> src/play_by_play.rs:136:5 [INFO] [stdout] | [INFO] [stdout] 135 | pub (crate) struct PitchType { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 136 | code: PitchTypeCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 137 | description: PitchTypeDescription, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PitchType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `details`, `is_pitch`, `play_event_type`, `pitch_data` and `hit_data` are never read [INFO] [stdout] --> src/play_by_play.rs:194:5 [INFO] [stdout] | [INFO] [stdout] 193 | pub (crate) struct PlayEvent { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 194 | details: PlayEventDetails, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 195 | is_pitch: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 196 | #[serde(rename="type")] [INFO] [stdout] 197 | play_event_type: PlayEventType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 198 | pitch_data: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 199 | hit_data: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `event`, `event_type`, `has_review`, `is_in_play` and `pitch_type` are never read [INFO] [stdout] --> src/play_by_play.rs:206:5 [INFO] [stdout] | [INFO] [stdout] 205 | pub (crate) struct PlayEventDetails { [INFO] [stdout] | ---------------- fields in this struct [INFO] [stdout] 206 | event: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 207 | event_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 208 | has_review: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 209 | is_in_play: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 210 | #[serde(rename="type")] [INFO] [stdout] 211 | pitch_type: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlayEventDetails` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `result_type`, `plate_appearance_result` and `plate_appearance_result_type` are never read [INFO] [stdout] --> src/play_by_play.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 218 | pub (crate) struct PlateAppearanceData { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] 219 | #[serde(rename="type")] [INFO] [stdout] 220 | result_type: ResultType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 221 | #[serde(rename="event")] [INFO] [stdout] 222 | plate_appearance_result: Event, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 223 | #[serde(rename="eventType")] [INFO] [stdout] 224 | plate_appearance_result_type: EventType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlateAppearanceData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `plate_appearance_index`, `half_inning` and `inning_num` are never read [INFO] [stdout] --> src/play_by_play.rs:240:5 [INFO] [stdout] | [INFO] [stdout] 237 | pub (crate) struct About { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 240 | plate_appearance_index: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 241 | #[serde(rename="halfInning")] [INFO] [stdout] 242 | half_inning: HalfInning, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 243 | #[serde(rename="inning")] [INFO] [stdout] 244 | inning_num: u8 [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `About` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/play_by_play.rs:349:5 [INFO] [stdout] | [INFO] [stdout] 348 | pub(crate) struct RunnerData { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 349 | runner_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 350 | start_base_value: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 351 | end_base_value: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 352 | runs: u8, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 353 | event: Event, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 354 | event_type: EventType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 355 | rbi: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 356 | earned: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RunnerData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `batter_id`, `batter_bat_side_code`, `batter_bat_side_desc`, `pitcher_id`, `pitcher_pitch_hand_code` and `pitcher_pitch_hand_desc` are never read [INFO] [stdout] --> src/play_by_play.rs:362:5 [INFO] [stdout] | [INFO] [stdout] 361 | pub(crate) struct MatchupData { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 362 | batter_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 363 | batter_bat_side_code: SideCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 364 | batter_bat_side_desc: SideDescription, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 365 | pitcher_id: u32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 366 | pitcher_pitch_hand_code: SideCode, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 367 | pitcher_pitch_hand_desc: SideDescription, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MatchupData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `result_type`, `event` and `event_type` are never read [INFO] [stdout] --> src/play_by_play.rs:557:5 [INFO] [stdout] | [INFO] [stdout] 555 | pub (crate) struct PlateAppearance { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 556 | #[serde(rename="type")] [INFO] [stdout] 557 | result_type: ResultType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 558 | event: Event, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 559 | event_type: EventType, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlateAppearance` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.38s [INFO] running `Command { std: "docker" "inspect" "1b5241808b0853c4f36f8b524d5a70a27de682bef749b82a2b93162159fc3948", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b5241808b0853c4f36f8b524d5a70a27de682bef749b82a2b93162159fc3948", kill_on_drop: false }` [INFO] [stdout] 1b5241808b0853c4f36f8b524d5a70a27de682bef749b82a2b93162159fc3948 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "RUSTDOCFLAGS=--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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 167661c781a05db5142cd284c63566ff3340417c745d7acd554f5369c40a8ebf [INFO] running `Command { std: "docker" "start" "-a" "167661c781a05db5142cd284c63566ff3340417c745d7acd554f5369c40a8ebf", kill_on_drop: false }` [INFO] [stderr] warning: derive helper attribute is used before it is introduced [INFO] [stderr] --> src/play_by_play.rs:71:3 [INFO] [stderr] | [INFO] [stderr] 71 | #[serde(rename_all="camelCase")] [INFO] [stderr] | ^^^^^ [INFO] [stderr] 72 | #[derive(Deserialize, Debug)] [INFO] [stderr] | ----------- the attribute is introduced here [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #79202 [INFO] [stderr] [INFO] [stderr] warning: field `all_plays` is never read [INFO] [stderr] --> src/play_by_play.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 26 | pub (crate) struct Game { [INFO] [stderr] | ---- field in this struct [INFO] [stderr] 27 | all_plays: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `result`, `about`, `matchup`, `runners` and `play_events` are never read [INFO] [stderr] --> src/play_by_play.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 31 | pub (crate) struct AllPlays { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 32 | result: PlateAppearanceData, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 33 | about: About, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 34 | matchup: MatchupData, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 35 | runners: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 38 | play_events: Vec, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AllPlays` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/play_by_play.rs:52:5 [INFO] [stderr] | [INFO] [stderr] 51 | pub (crate) struct PitchDataParse { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 52 | strike_zone_top: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 53 | strike_zone_bottom: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 54 | coordinates: PitchCoordinates, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 55 | start_speed: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 56 | end_speed: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 57 | breaks: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 58 | plate_time: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 59 | extension: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PitchDataParse` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `break_length`, `break_y`, `spin_rate` and `spin_direction` are never read [INFO] [stderr] --> src/play_by_play.rs:65:5 [INFO] [stderr] | [INFO] [stderr] 64 | pub (crate) struct PitchBreaks { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 65 | break_length: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 66 | break_y: f32, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 67 | spin_rate: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 68 | spin_direction: f32, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PitchBreaks` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/play_by_play.rs:75:5 [INFO] [stderr] | [INFO] [stderr] 73 | pub (crate) struct PitchCoordinates { [INFO] [stderr] | ---------------- fields in this struct [INFO] [stderr] 74 | // x,y are the pixel coordinates on the screen. Mildly useful for minor league strike zone data [INFO] [stderr] 75 | x: f32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 76 | y: f32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 77 | // The rest of the fields relate to Pitch/Fx or StatCast data [INFO] [stderr] 78 | a_x: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 79 | a_y: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 80 | a_z: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 81 | pfx_x: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 82 | pfx_z: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 83 | p_x: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 84 | p_z: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 85 | v_x0: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 86 | v_y0: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 87 | v_z0: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 88 | x0: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 89 | y0: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 90 | z0: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PitchCoordinates` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `x` and `y` are never read [INFO] [stderr] --> src/play_by_play.rs:97:5 [INFO] [stderr] | [INFO] [stderr] 95 | pub (crate) struct HitCoordinates { [INFO] [stderr] | -------------- fields in this struct [INFO] [stderr] 96 | #[serde(alias="coordX")] [INFO] [stderr] 97 | x: f32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 98 | #[serde(alias="coordY")] [INFO] [stderr] 99 | y: f32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `HitCoordinates` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `trajectory`, `hardness`, `coordinates`, `launch_speed`, `launch_angle` and `total_distance` are never read [INFO] [stderr] --> src/play_by_play.rs:105:5 [INFO] [stderr] | [INFO] [stderr] 104 | pub (crate) struct HitData { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] 105 | trajectory: Trajectory, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 106 | hardness: Hardness, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 107 | coordinates: HitCoordinates, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 108 | launch_speed: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 109 | launch_angle: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 110 | total_distance: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `HitData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `code` and `description` are never read [INFO] [stderr] --> src/play_by_play.rs:136:5 [INFO] [stderr] | [INFO] [stderr] 135 | pub (crate) struct PitchType { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 136 | code: PitchTypeCode, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 137 | description: PitchTypeDescription, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PitchType` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `details`, `is_pitch`, `play_event_type`, `pitch_data` and `hit_data` are never read [INFO] [stderr] --> src/play_by_play.rs:194:5 [INFO] [stderr] | [INFO] [stderr] 193 | pub (crate) struct PlayEvent { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 194 | details: PlayEventDetails, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 195 | is_pitch: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 196 | #[serde(rename="type")] [INFO] [stderr] 197 | play_event_type: PlayEventType, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 198 | pitch_data: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 199 | hit_data: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PlayEvent` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `event`, `event_type`, `has_review`, `is_in_play` and `pitch_type` are never read [INFO] [stderr] --> src/play_by_play.rs:206:5 [INFO] [stderr] | [INFO] [stderr] 205 | pub (crate) struct PlayEventDetails { [INFO] [stderr] | ---------------- fields in this struct [INFO] [stderr] 206 | event: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 207 | event_type: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 208 | has_review: bool, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 209 | is_in_play: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 210 | #[serde(rename="type")] [INFO] [stderr] 211 | pitch_type: Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PlayEventDetails` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `result_type`, `plate_appearance_result` and `plate_appearance_result_type` are never read [INFO] [stderr] --> src/play_by_play.rs:220:5 [INFO] [stderr] | [INFO] [stderr] 218 | pub (crate) struct PlateAppearanceData { [INFO] [stderr] | ------------------- fields in this struct [INFO] [stderr] 219 | #[serde(rename="type")] [INFO] [stderr] 220 | result_type: ResultType, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 221 | #[serde(rename="event")] [INFO] [stderr] 222 | plate_appearance_result: Event, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 223 | #[serde(rename="eventType")] [INFO] [stderr] 224 | plate_appearance_result_type: EventType, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PlateAppearanceData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `plate_appearance_index`, `half_inning` and `inning_num` are never read [INFO] [stderr] --> src/play_by_play.rs:240:5 [INFO] [stderr] | [INFO] [stderr] 237 | pub (crate) struct About { [INFO] [stderr] | ----- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 240 | plate_appearance_index: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 241 | #[serde(rename="halfInning")] [INFO] [stderr] 242 | half_inning: HalfInning, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 243 | #[serde(rename="inning")] [INFO] [stderr] 244 | inning_num: u8 [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `About` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/play_by_play.rs:349:5 [INFO] [stderr] | [INFO] [stderr] 348 | pub(crate) struct RunnerData { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 349 | runner_id: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 350 | start_base_value: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 351 | end_base_value: u8, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 352 | runs: u8, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 353 | event: Event, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 354 | event_type: EventType, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 355 | rbi: bool, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 356 | earned: bool, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RunnerData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `batter_id`, `batter_bat_side_code`, `batter_bat_side_desc`, `pitcher_id`, `pitcher_pitch_hand_code` and `pitcher_pitch_hand_desc` are never read [INFO] [stderr] --> src/play_by_play.rs:362:5 [INFO] [stderr] | [INFO] [stderr] 361 | pub(crate) struct MatchupData { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] 362 | batter_id: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 363 | batter_bat_side_code: SideCode, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 364 | batter_bat_side_desc: SideDescription, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 365 | pitcher_id: u32, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 366 | pitcher_pitch_hand_code: SideCode, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 367 | pitcher_pitch_hand_desc: SideDescription, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MatchupData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `result_type`, `event` and `event_type` are never read [INFO] [stderr] --> src/play_by_play.rs:557:5 [INFO] [stderr] | [INFO] [stderr] 555 | pub (crate) struct PlateAppearance { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 556 | #[serde(rename="type")] [INFO] [stderr] 557 | result_type: ResultType, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 558 | event: Event, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 559 | event_type: EventType, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PlateAppearance` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `boss` (lib) generated 16 warnings [INFO] [stderr] warning: `boss` (lib test) generated 16 warnings (16 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/boss-df4adaa8f7909b90) [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/bin/test.rs (/opt/rustwide/target/debug/deps/boss-4b968011b96792ab) [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 boss [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.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "167661c781a05db5142cd284c63566ff3340417c745d7acd554f5369c40a8ebf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "167661c781a05db5142cd284c63566ff3340417c745d7acd554f5369c40a8ebf", kill_on_drop: false }` [INFO] [stdout] 167661c781a05db5142cd284c63566ff3340417c745d7acd554f5369c40a8ebf