[INFO] cloning repository https://github.com/psobczak/sun_time_calculator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/psobczak/sun_time_calculator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsobczak%2Fsun_time_calculator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsobczak%2Fsun_time_calculator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e385552b8be20eeb63863ea8440dfc3b0c11e628 [INFO] checking psobczak/sun_time_calculator against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsobczak%2Fsun_time_calculator" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/psobczak/sun_time_calculator on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/psobczak/sun_time_calculator [INFO] finished tweaking git repo https://github.com/psobczak/sun_time_calculator [INFO] tweaked toml for git repo https://github.com/psobczak/sun_time_calculator written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/psobczak/sun_time_calculator 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71de96c2fa272b759b0e7863b35784f70d9b91b68e74403e5d305540a7c34412 [INFO] running `Command { std: "docker" "start" "-a" "71de96c2fa272b759b0e7863b35784f70d9b91b68e74403e5d305540a7c34412", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71de96c2fa272b759b0e7863b35784f70d9b91b68e74403e5d305540a7c34412", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71de96c2fa272b759b0e7863b35784f70d9b91b68e74403e5d305540a7c34412", kill_on_drop: false }` [INFO] [stdout] 71de96c2fa272b759b0e7863b35784f70d9b91b68e74403e5d305540a7c34412 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee7102ed405027d276989b2b90e53dd5afe25eb298c301d30de61bec7c503b95 [INFO] running `Command { std: "docker" "start" "-a" "ee7102ed405027d276989b2b90e53dd5afe25eb298c301d30de61bec7c503b95", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling test-case v1.2.0 [INFO] [stderr] Checking csv-core v0.1.10 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking bstr v0.2.17 [INFO] [stderr] Checking csv v1.1.6 [INFO] [stderr] Checking sun_time_calculator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/time_calculator.rs:38:61 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn sun_time_diff(&self, coordinate: &Coordinate) -> DateTime { [INFO] [stdout] | ------------- ^^^^^^^^^^^^^ expected `DateTime`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected struct `DateTime` [INFO] [stdout] found unit type `()` [INFO] [stdout] help: consider returning the local binding `dt` [INFO] [stdout] | [INFO] [stdout] 58 ~ self.time.sub(dt); [INFO] [stdout] 59 + dt [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/time_calculator.rs:38:61 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn sun_time_diff(&self, coordinate: &Coordinate) -> DateTime { [INFO] [stdout] | ------------- ^^^^^^^^^^^^^ expected `DateTime`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected struct `chrono::DateTime` [INFO] [stdout] found unit type `()` [INFO] [stdout] help: consider returning the local binding `dt` [INFO] [stdout] | [INFO] [stdout] 58 ~ self.time.sub(dt); [INFO] [stdout] 59 + dt [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/time_calculator.rs:97:28 [INFO] [stdout] | [INFO] [stdout] 97 | assert_eq!(actual, DateTime::from_str("2021-09-01:02:16:00")) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `DateTime<_>`, found `Result, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `chrono::DateTime<_>` [INFO] [stdout] found enum `Result, _>` [INFO] [stdout] help: consider using `Result::expect` to unwrap the `Result, _>` value, panicking if the value is a `Result::Err` [INFO] [stdout] | [INFO] [stdout] 97 | assert_eq!(actual, DateTime::from_str("2021-09-01:02:16:00").expect("REASON")) [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sun_time_calculator` (bin "sun_time_calculator") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `sun_time_calculator` (bin "sun_time_calculator" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "ee7102ed405027d276989b2b90e53dd5afe25eb298c301d30de61bec7c503b95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee7102ed405027d276989b2b90e53dd5afe25eb298c301d30de61bec7c503b95", kill_on_drop: false }` [INFO] [stdout] ee7102ed405027d276989b2b90e53dd5afe25eb298c301d30de61bec7c503b95 [INFO] checking psobczak/sun_time_calculator against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsobczak%2Fsun_time_calculator" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/psobczak/sun_time_calculator on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/psobczak/sun_time_calculator [INFO] finished tweaking git repo https://github.com/psobczak/sun_time_calculator [INFO] tweaked toml for git repo https://github.com/psobczak/sun_time_calculator written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/psobczak/sun_time_calculator 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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2c1f9571ce3fac0cfd8512afc25408fb5cd5bbf8194ca12951cde695cbc1599f [INFO] running `Command { std: "docker" "start" "-a" "2c1f9571ce3fac0cfd8512afc25408fb5cd5bbf8194ca12951cde695cbc1599f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2c1f9571ce3fac0cfd8512afc25408fb5cd5bbf8194ca12951cde695cbc1599f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c1f9571ce3fac0cfd8512afc25408fb5cd5bbf8194ca12951cde695cbc1599f", kill_on_drop: false }` [INFO] [stdout] 2c1f9571ce3fac0cfd8512afc25408fb5cd5bbf8194ca12951cde695cbc1599f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9580618ff9e8cd9ffd7ce4ca8c0761fbaf4fb99cef4420978dba6e48beafe4a9 [INFO] running `Command { std: "docker" "start" "-a" "9580618ff9e8cd9ffd7ce4ca8c0761fbaf4fb99cef4420978dba6e48beafe4a9", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "9580618ff9e8cd9ffd7ce4ca8c0761fbaf4fb99cef4420978dba6e48beafe4a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9580618ff9e8cd9ffd7ce4ca8c0761fbaf4fb99cef4420978dba6e48beafe4a9", kill_on_drop: false }` [INFO] [stdout] 9580618ff9e8cd9ffd7ce4ca8c0761fbaf4fb99cef4420978dba6e48beafe4a9