[INFO] cloning repository https://github.com/joelpalmer/mlb-unofficial [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joelpalmer/mlb-unofficial" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoelpalmer%2Fmlb-unofficial", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoelpalmer%2Fmlb-unofficial'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d8cb015dc4be35bdb0bf9e9f6e8bdd53944ccd70 [INFO] building joelpalmer/mlb-unofficial against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoelpalmer%2Fmlb-unofficial" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joelpalmer/mlb-unofficial on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/joelpalmer/mlb-unofficial [INFO] finished tweaking git repo https://github.com/joelpalmer/mlb-unofficial [INFO] tweaked toml for git repo https://github.com/joelpalmer/mlb-unofficial written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/joelpalmer/mlb-unofficial already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 516b077a62ab1107b480fb98729988d7f11bc19c946c2620d7cf15e30ae4463d [INFO] running `Command { std: "docker" "start" "-a" "516b077a62ab1107b480fb98729988d7f11bc19c946c2620d7cf15e30ae4463d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "516b077a62ab1107b480fb98729988d7f11bc19c946c2620d7cf15e30ae4463d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "516b077a62ab1107b480fb98729988d7f11bc19c946c2620d7cf15e30ae4463d", kill_on_drop: false }` [INFO] [stdout] 516b077a62ab1107b480fb98729988d7f11bc19c946c2620d7cf15e30ae4463d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 75409283c46426339671ba08d2a44e4e47f33e4a6f71195a0fe34cf7e702e0ed [INFO] running `Command { std: "docker" "start" "-a" "75409283c46426339671ba08d2a44e4e47f33e4a6f71195a0fe34cf7e702e0ed", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.4 [INFO] [stderr] Compiling libc v0.2.58 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling unicode-width v0.1.5 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling mlb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `chrono::offset::LocalResult` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::offset::LocalResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SubCommand` [INFO] [stdout] --> src/main.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use clap::{App, Arg, SubCommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `team` [INFO] [stdout] --> src/game.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | fn get_game_data<'a>(team: &str, date: &str) -> Option<&'a str> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_team` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `date` [INFO] [stdout] --> src/game.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | fn get_game_data<'a>(team: &str, date: &str) -> Option<&'a str> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `team` [INFO] [stdout] --> src/game.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(team: &str, date: &str) -> Game { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_team` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `date` [INFO] [stdout] --> src/game.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(team: &str, date: &str) -> Game { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GameState` is never used [INFO] [stdout] --> src/game.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum GameState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_game_data` is never used [INFO] [stdout] --> src/game.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Game { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 19 | fn get_game_data<'a>(team: &str, date: &str) -> Option<&'a str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RequestType` is never used [INFO] [stdout] --> src/game/mlbapi.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum RequestType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Request` is never constructed [INFO] [stdout] --> src/game/mlbapi.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Request { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/mlbapi.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | struct HttpMethod(String); [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.42s [INFO] running `Command { std: "docker" "inspect" "75409283c46426339671ba08d2a44e4e47f33e4a6f71195a0fe34cf7e702e0ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75409283c46426339671ba08d2a44e4e47f33e4a6f71195a0fe34cf7e702e0ed", kill_on_drop: false }` [INFO] [stdout] 75409283c46426339671ba08d2a44e4e47f33e4a6f71195a0fe34cf7e702e0ed [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 747e8407fc7d1cf95909d176f326a5b5c9022241e15e87ffd9ca297cc74e9423 [INFO] running `Command { std: "docker" "start" "-a" "747e8407fc7d1cf95909d176f326a5b5c9022241e15e87ffd9ca297cc74e9423", kill_on_drop: false }` [INFO] [stderr] Compiling mlb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `chrono::offset::LocalResult` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use chrono::offset::LocalResult; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SubCommand` [INFO] [stdout] --> src/main.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use clap::{App, Arg, SubCommand}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `team` [INFO] [stdout] --> src/game.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | fn get_game_data<'a>(team: &str, date: &str) -> Option<&'a str> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_team` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `date` [INFO] [stdout] --> src/game.rs:19:38 [INFO] [stdout] | [INFO] [stdout] 19 | fn get_game_data<'a>(team: &str, date: &str) -> Option<&'a str> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `team` [INFO] [stdout] --> src/game.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(team: &str, date: &str) -> Game { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_team` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `date` [INFO] [stdout] --> src/game.rs:24:28 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn new(team: &str, date: &str) -> Game { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `GameState` is never used [INFO] [stdout] --> src/game.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub enum GameState { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `get_game_data` is never used [INFO] [stdout] --> src/game.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Game { [INFO] [stdout] | --------- associated function in this implementation [INFO] [stdout] 19 | fn get_game_data<'a>(team: &str, date: &str) -> Option<&'a str> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `RequestType` is never used [INFO] [stdout] --> src/game/mlbapi.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum RequestType { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Request` is never constructed [INFO] [stdout] --> src/game/mlbapi.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Request { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/game/mlbapi.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | struct HttpMethod(String); [INFO] [stdout] | ---------- ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "747e8407fc7d1cf95909d176f326a5b5c9022241e15e87ffd9ca297cc74e9423", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "747e8407fc7d1cf95909d176f326a5b5c9022241e15e87ffd9ca297cc74e9423", kill_on_drop: false }` [INFO] [stdout] 747e8407fc7d1cf95909d176f326a5b5c9022241e15e87ffd9ca297cc74e9423