[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#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpsobczak%2Fsun_time_calculator" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/psobczak/sun_time_calculator on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-4-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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded test-case v1.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f551883097c3155d184771eca2d320302f394af1129440c68a547a9c5a39ac60 [INFO] running `Command { std: "docker" "start" "-a" "f551883097c3155d184771eca2d320302f394af1129440c68a547a9c5a39ac60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f551883097c3155d184771eca2d320302f394af1129440c68a547a9c5a39ac60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f551883097c3155d184771eca2d320302f394af1129440c68a547a9c5a39ac60", kill_on_drop: false }` [INFO] [stdout] f551883097c3155d184771eca2d320302f394af1129440c68a547a9c5a39ac60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1849b0d4f6f14fd0bb16f038b10ffc46ecf6d935a810ffb4fbfe36a394cfb22a [INFO] running `Command { std: "docker" "start" "-a" "1849b0d4f6f14fd0bb16f038b10ffc46ecf6d935a810ffb4fbfe36a394cfb22a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking regex-automata v0.1.10 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Compiling test-case v1.2.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [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" "1849b0d4f6f14fd0bb16f038b10ffc46ecf6d935a810ffb4fbfe36a394cfb22a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1849b0d4f6f14fd0bb16f038b10ffc46ecf6d935a810ffb4fbfe36a394cfb22a", kill_on_drop: false }` [INFO] [stdout] 1849b0d4f6f14fd0bb16f038b10ffc46ecf6d935a810ffb4fbfe36a394cfb22a