[INFO] cloning repository https://github.com/BenediktMaag/pyo3-return-error
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BenediktMaag/pyo3-return-error" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenediktMaag%2Fpyo3-return-error", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenediktMaag%2Fpyo3-return-error'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c838745f008187a17adbb9231128cffb458ccb66
[INFO] checking BenediktMaag/pyo3-return-error against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBenediktMaag%2Fpyo3-return-error" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/BenediktMaag/pyo3-return-error
[INFO] finished tweaking git repo https://github.com/BenediktMaag/pyo3-return-error
[INFO] tweaked toml for git repo https://github.com/BenediktMaag/pyo3-return-error written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/BenediktMaag/pyo3-return-error on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/BenediktMaag/pyo3-return-error 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" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "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 pyo3-build-config v0.25.0
[INFO] [stderr]   Downloaded pyo3-ffi v0.25.0
[INFO] [stderr]   Downloaded pyo3-macros v0.25.0
[INFO] [stderr]   Downloaded pyo3-macros-backend v0.25.0
[INFO] [stderr]   Downloaded pyo3 v0.25.0
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] dcea284230b7d4bf2fd04017879b8597f7322f6eb754dcc144c30e8dfc04e52e
[INFO] running `Command { std: "docker" "start" "-a" "dcea284230b7d4bf2fd04017879b8597f7322f6eb754dcc144c30e8dfc04e52e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "dcea284230b7d4bf2fd04017879b8597f7322f6eb754dcc144c30e8dfc04e52e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dcea284230b7d4bf2fd04017879b8597f7322f6eb754dcc144c30e8dfc04e52e", kill_on_drop: false }`
[INFO] [stdout] dcea284230b7d4bf2fd04017879b8597f7322f6eb754dcc144c30e8dfc04e52e
[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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 561fefabdacc4c0c6ba33f4ed2c4ea0c99401986c76e920cd0822ff72edbfe94
[INFO] running `Command { std: "docker" "start" "-a" "561fefabdacc4c0c6ba33f4ed2c4ea0c99401986c76e920cd0822ff72edbfe94", kill_on_drop: false }`
[INFO] [stderr]    Compiling target-lexicon v0.13.2
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]     Checking unindent v0.2.4
[INFO] [stderr]    Compiling indoc v2.0.6
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling pyo3-build-config v0.25.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling pyo3-ffi v0.25.0
[INFO] [stderr]    Compiling pyo3-macros-backend v0.25.0
[INFO] [stderr]    Compiling pyo3 v0.25.0
[INFO] [stderr]    Compiling pyo3-macros v0.25.0
[INFO] [stderr]     Checking pyo3-return-error v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0277]: `Local` cannot be converted to a Python object
[INFO] [stdout]    --> src/lib.rs:5:23
[INFO] [stdout]     |
[INFO] [stdout]   5 | fn get_timestamp() -> Option<DateTime<Local>> {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^ the trait `IntoPyObject<'_>` is not implemented for `Local`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `IntoPyObject` is automatically implemented by the `#[pyclass]` macro
[INFO] [stdout]     = note: if you do not wish to have a corresponding Python type, implement it manually
[INFO] [stdout]     = note: if you do not own `Local` you can perform a manual conversion to one of the types in `pyo3::types::*`
[INFO] [stdout]     = help: the following other types implement trait `IntoPyObject<'py>`:
[INFO] [stdout]               &&'a T
[INFO] [stdout]               &&OsStr
[INFO] [stdout]               &&Path
[INFO] [stdout]               &&str
[INFO] [stdout]               &'a (T0, T1)
[INFO] [stdout]               &'a (T0, T1, T2)
[INFO] [stdout]               &'a (T0, T1, T2, T3)
[INFO] [stdout]               &'a (T0, T1, T2, T3, T4)
[INFO] [stdout]             and 152 others
[INFO] [stdout]     = note: required for `DateTime<Local>` to implement `IntoPyObject<'_>`
[INFO] [stdout]     = note: 1 redundant requirement hidden
[INFO] [stdout]     = note: required for `Option<DateTime<Local>>` to implement `IntoPyObject<'_>`
[INFO] [stdout] note: required by a bound in `UnknownReturnType::<T>::wrap`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pyo3-0.25.0/src/impl_/wrap.rs:123:12
[INFO] [stdout]     |
[INFO] [stdout] 121 |     pub fn wrap<'py>(&self, _: T) -> T
[INFO] [stdout]     |            ---- required by a bound in this associated function
[INFO] [stdout] 122 |     where
[INFO] [stdout] 123 |         T: IntoPyObject<'py>,
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^ required by this bound in `UnknownReturnType::<T>::wrap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: `Local` cannot be converted to a Python object
[INFO] [stdout]    --> src/lib.rs:5:23
[INFO] [stdout]     |
[INFO] [stdout]   5 | fn get_timestamp() -> Option<DateTime<Local>> {
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^ the trait `IntoPyObject<'_>` is not implemented for `Local`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `IntoPyObject` is automatically implemented by the `#[pyclass]` macro
[INFO] [stdout]     = note: if you do not wish to have a corresponding Python type, implement it manually
[INFO] [stdout]     = note: if you do not own `Local` you can perform a manual conversion to one of the types in `pyo3::types::*`
[INFO] [stdout]     = help: the following other types implement trait `IntoPyObject<'py>`:
[INFO] [stdout]               &&'a T
[INFO] [stdout]               &&OsStr
[INFO] [stdout]               &&Path
[INFO] [stdout]               &&str
[INFO] [stdout]               &'a (T0, T1)
[INFO] [stdout]               &'a (T0, T1, T2)
[INFO] [stdout]               &'a (T0, T1, T2, T3)
[INFO] [stdout]               &'a (T0, T1, T2, T3, T4)
[INFO] [stdout]             and 152 others
[INFO] [stdout]     = note: required for `DateTime<Local>` to implement `IntoPyObject<'_>`
[INFO] [stdout]     = note: 1 redundant requirement hidden
[INFO] [stdout]     = note: required for `Option<DateTime<Local>>` to implement `IntoPyObject<'_>`
[INFO] [stdout] note: required by a bound in `UnknownReturnType::<T>::wrap`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pyo3-0.25.0/src/impl_/wrap.rs:123:12
[INFO] [stdout]     |
[INFO] [stdout] 121 |     pub fn wrap<'py>(&self, _: T) -> T
[INFO] [stdout]     |            ---- required by a bound in this associated function
[INFO] [stdout] 122 |     where
[INFO] [stdout] 123 |         T: IntoPyObject<'py>,
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^ required by this bound in `UnknownReturnType::<T>::wrap`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `map_err` found for enum `Option<T>` in the current scope
[INFO] [stdout]  --> src/lib.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn get_timestamp() -> Option<DateTime<Local>> {
[INFO] [stdout]   |                       ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: there is a method `map_or` with a similar name, but with different arguments
[INFO] [stdout]  --> /rustc/779e19d8baa3e3625bd4fc5c85cbb2ad47b43155/library/core/src/option.rs:1218:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `map_err` found for enum `Option<T>` in the current scope
[INFO] [stdout]  --> src/lib.rs:5:23
[INFO] [stdout]   |
[INFO] [stdout] 5 | fn get_timestamp() -> Option<DateTime<Local>> {
[INFO] [stdout]   |                       ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout] help: there is a method `map_or` with a similar name, but with different arguments
[INFO] [stdout]  --> /rustc/779e19d8baa3e3625bd4fc5c85cbb2ad47b43155/library/core/src/option.rs:1218:5
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pyo3-return-error` (lib test) due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `pyo3-return-error` (lib) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "561fefabdacc4c0c6ba33f4ed2c4ea0c99401986c76e920cd0822ff72edbfe94", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "561fefabdacc4c0c6ba33f4ed2c4ea0c99401986c76e920cd0822ff72edbfe94", kill_on_drop: false }`
[INFO] [stdout] 561fefabdacc4c0c6ba33f4ed2c4ea0c99401986c76e920cd0822ff72edbfe94
