[INFO] cloning repository https://github.com/Bwallker/day-of-days
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bwallker/day-of-days" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBwallker%2Fday-of-days", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBwallker%2Fday-of-days'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 50caf529c004cf212a6354190abd0324413d66a1
[INFO] building Bwallker/day-of-days against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBwallker%2Fday-of-days" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Bwallker/day-of-days on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Bwallker/day-of-days
[INFO] finished tweaking git repo https://github.com/Bwallker/day-of-days
[INFO] tweaked toml for git repo https://github.com/Bwallker/day-of-days written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/Bwallker/day-of-days 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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num v0.4.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] afdb8ddcd6a71050709b3bb7fba342ca2f21609734cc5083daf1a31c56ea2946
[INFO] running `Command { std: "docker" "start" "-a" "afdb8ddcd6a71050709b3bb7fba342ca2f21609734cc5083daf1a31c56ea2946", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "afdb8ddcd6a71050709b3bb7fba342ca2f21609734cc5083daf1a31c56ea2946", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "afdb8ddcd6a71050709b3bb7fba342ca2f21609734cc5083daf1a31c56ea2946", kill_on_drop: false }`
[INFO] [stdout] afdb8ddcd6a71050709b3bb7fba342ca2f21609734cc5083daf1a31c56ea2946
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6a8521c5c952cb92cf3130f10d22dc0b010106ca6ff6538780404dcbce4e730f
[INFO] running `Command { std: "docker" "start" "-a" "6a8521c5c952cb92cf3130f10d22dc0b010106ca6ff6538780404dcbce4e730f", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling proc-macro2 v1.0.32
[INFO] [stderr]    Compiling num-bigint v0.4.3
[INFO] [stderr]    Compiling syn v1.0.81
[INFO] [stderr]    Compiling num-iter v0.1.42
[INFO] [stderr]    Compiling num-rational v0.4.0
[INFO] [stderr]    Compiling unicode-segmentation v1.8.0
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling num-complex v0.4.0
[INFO] [stderr]    Compiling num v0.4.0
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling strum_macros v0.22.0
[INFO] [stderr]    Compiling day-of-days v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `first_year_doomsday`
[INFO] [stdout]    --> src/main.rs:126:13
[INFO] [stdout]     |
[INFO] [stdout] 126 |         let first_year_doomsday = YEAR2000.doomsday.next_day(1);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_year_doomsday`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `alternating_next_year`, `next_doomsday`, and `is_leap_year` are never used
[INFO] [stdout]   --> src/main.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl Year {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 42 |     fn alternating_next_year(year: &mut i128, last_was_negative: &mut bool) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     fn next_doomsday(self, reference_year: Option<Year>) -> Day {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     fn is_leap_year(year: i128) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `stdin`, `stdout`, and `input` are never read
[INFO] [stdout]    --> src/main.rs:135:5
[INFO] [stdout]     |
[INFO] [stdout] 131 | struct State {
[INFO] [stdout]     |        ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 135 |     stdin: std::io::Stdin,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 136 |     stdout: std::io::Stdout,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 137 |     input: String
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/main.rs:7:32
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, PartialEq, Eq, FromPrimitive, Copy, Clone)]
[INFO] [stdout]   |                                ^------------
[INFO] [stdout]   |                                |
[INFO] [stdout]   |                                `FromPrimitive` is not local
[INFO] [stdout]   |                                move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Day`
[INFO] [stdout] 8 | enum Day {
[INFO] [stdout]   |      --- `Day` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.23s
[INFO] running `Command { std: "docker" "inspect" "6a8521c5c952cb92cf3130f10d22dc0b010106ca6ff6538780404dcbce4e730f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a8521c5c952cb92cf3130f10d22dc0b010106ca6ff6538780404dcbce4e730f", kill_on_drop: false }`
[INFO] [stdout] 6a8521c5c952cb92cf3130f10d22dc0b010106ca6ff6538780404dcbce4e730f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 462d46f91485d9265fb90517609b3ec6a703ec8dc4b3eb12d6f009492e40318a
[INFO] running `Command { std: "docker" "start" "-a" "462d46f91485d9265fb90517609b3ec6a703ec8dc4b3eb12d6f009492e40318a", kill_on_drop: false }`
[INFO] [stderr]    Compiling day-of-days v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `first_year_doomsday`
[INFO] [stdout]    --> src/main.rs:126:13
[INFO] [stdout]     |
[INFO] [stdout] 126 |         let first_year_doomsday = YEAR2000.doomsday.next_day(1);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_year_doomsday`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `alternating_next_year`, `next_doomsday`, and `is_leap_year` are never used
[INFO] [stdout]   --> src/main.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl Year {
[INFO] [stdout]    | --------- associated items in this implementation
[INFO] [stdout] 42 |     fn alternating_next_year(year: &mut i128, last_was_negative: &mut bool) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 50 |     fn next_doomsday(self, reference_year: Option<Year>) -> Day {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73 |     fn is_leap_year(year: i128) -> bool {
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `stdin`, `stdout`, and `input` are never read
[INFO] [stdout]    --> src/main.rs:135:5
[INFO] [stdout]     |
[INFO] [stdout] 131 | struct State {
[INFO] [stdout]     |        ----- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 135 |     stdin: std::io::Stdin,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 136 |     stdout: std::io::Stdout,
[INFO] [stdout]     |     ^^^^^^
[INFO] [stdout] 137 |     input: String
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/main.rs:7:32
[INFO] [stdout]   |
[INFO] [stdout] 7 | #[derive(Debug, PartialEq, Eq, FromPrimitive, Copy, Clone)]
[INFO] [stdout]   |                                ^------------
[INFO] [stdout]   |                                |
[INFO] [stdout]   |                                `FromPrimitive` is not local
[INFO] [stdout]   |                                move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Day`
[INFO] [stdout] 8 | enum Day {
[INFO] [stdout]   |      --- `Day` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.29s
[INFO] running `Command { std: "docker" "inspect" "462d46f91485d9265fb90517609b3ec6a703ec8dc4b3eb12d6f009492e40318a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "462d46f91485d9265fb90517609b3ec6a703ec8dc4b3eb12d6f009492e40318a", kill_on_drop: false }`
[INFO] [stdout] 462d46f91485d9265fb90517609b3ec6a703ec8dc4b3eb12d6f009492e40318a
