[INFO] cloning repository https://github.com/Enzo1603/word_counter
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Enzo1603/word_counter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEnzo1603%2Fword_counter", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEnzo1603%2Fword_counter'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 6deabcc3cb6db44b378dac95c5f1bae7afca7112
[INFO] checking Enzo1603/word_counter against master#8f21a5c92ea55c348c275a1bc4fedbdf181e0d64 for pr-143011
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEnzo1603%2Fword_counter" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Enzo1603/word_counter
[INFO] finished tweaking git repo https://github.com/Enzo1603/word_counter
[INFO] tweaked toml for git repo https://github.com/Enzo1603/word_counter written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Enzo1603/word_counter on toolchain 8f21a5c92ea55c348c275a1bc4fedbdf181e0d64
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Enzo1603/word_counter 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" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded unindent v0.1.10
[INFO] [stderr]   Downloaded target-lexicon v0.12.4
[INFO] [stderr]   Downloaded indoc v1.0.7
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] e8d600d22e9f46e5c7c63960f39be5bc6af7cc988bf4a8fc60384e81141abc71
[INFO] running `Command { std: "docker" "start" "-a" "e8d600d22e9f46e5c7c63960f39be5bc6af7cc988bf4a8fc60384e81141abc71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "e8d600d22e9f46e5c7c63960f39be5bc6af7cc988bf4a8fc60384e81141abc71", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e8d600d22e9f46e5c7c63960f39be5bc6af7cc988bf4a8fc60384e81141abc71", kill_on_drop: false }`
[INFO] [stdout] e8d600d22e9f46e5c7c63960f39be5bc6af7cc988bf4a8fc60384e81141abc71
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8f21a5c92ea55c348c275a1bc4fedbdf181e0d64" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 08ae27ec0dae2ac2c9789c136c6c5f0efd9e903a8b978e592534813f339bc871
[INFO] running `Command { std: "docker" "start" "-a" "08ae27ec0dae2ac2c9789c136c6c5f0efd9e903a8b978e592534813f339bc871", kill_on_drop: false }`
[INFO] [stderr]    Compiling target-lexicon v0.12.4
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling once_cell v1.13.1
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling libc v0.2.132
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]     Checking smallvec v1.9.0
[INFO] [stderr]     Checking unindent v0.1.10
[INFO] [stderr]    Compiling indoc v1.0.7
[INFO] [stderr]    Compiling lock_api v0.4.8
[INFO] [stderr]    Compiling pyo3-build-config v0.16.6
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling pyo3-ffi v0.16.6
[INFO] [stderr]    Compiling pyo3 v0.16.6
[INFO] [stderr]    Compiling pyo3-macros-backend v0.16.6
[INFO] [stderr]    Compiling pyo3-macros v0.16.6
[INFO] [stderr]     Checking word_counter v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::process::Output`
[INFO] [stdout]  --> src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::process::Output;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::process::Output`
[INFO] [stdout]  --> src/lib.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::process::Output;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot multiply `Result<pyo3::PyAny, PyErr>` by `Result<pyo3::PyAny, PyErr>`
[INFO] [stdout]   --> src/lib.rs:31:27
[INFO] [stdout]    |
[INFO] [stdout] 31 |         Ok(val) => square(val),
[INFO] [stdout]    |                    ------ ^^^ no implementation for `Result<pyo3::PyAny, PyErr> * Result<pyo3::PyAny, PyErr>`
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Mul` is not implemented for `Result<pyo3::PyAny, PyErr>`
[INFO] [stdout] note: required by a bound in `square`
[INFO] [stdout]   --> src/lib.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn square<T>(n: T) -> T
[INFO] [stdout]    |    ------ required by a bound in this function
[INFO] [stdout] 37 | where
[INFO] [stdout] 38 |     T: std::ops::Mul<Output = T>,
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `square`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<pyo3::PyAny, PyErr>: TryFrom<pyo3::PyAny>` is not satisfied
[INFO] [stdout]   --> src/lib.rs:29:31
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let val: Result<_, _> = n.try_into();
[INFO] [stdout]    |                               ^^^^^^^^ the trait `From<pyo3::PyAny>` is not implemented for `Result<pyo3::PyAny, PyErr>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required for `pyo3::PyAny` to implement `Into<Result<pyo3::PyAny, PyErr>>`
[INFO] [stdout]    = note: required for `Result<pyo3::PyAny, PyErr>` to implement `TryFrom<pyo3::PyAny>`
[INFO] [stdout]    = note: required for `pyo3::PyAny` to implement `TryInto<Result<pyo3::PyAny, PyErr>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot multiply `Result<pyo3::PyAny, PyErr>` by `Result<pyo3::PyAny, PyErr>`
[INFO] [stdout]   --> src/lib.rs:31:27
[INFO] [stdout]    |
[INFO] [stdout] 31 |         Ok(val) => square(val),
[INFO] [stdout]    |                    ------ ^^^ no implementation for `Result<pyo3::PyAny, PyErr> * Result<pyo3::PyAny, PyErr>`
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    required by a bound introduced by this call
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Mul` is not implemented for `Result<pyo3::PyAny, PyErr>`
[INFO] [stdout] note: required by a bound in `square`
[INFO] [stdout]   --> src/lib.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn square<T>(n: T) -> T
[INFO] [stdout]    |    ------ required by a bound in this function
[INFO] [stdout] 37 | where
[INFO] [stdout] 38 |     T: std::ops::Mul<Output = T>,
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `square`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<pyo3::PyAny, PyErr>: TryFrom<pyo3::PyAny>` is not satisfied
[INFO] [stdout]   --> src/lib.rs:29:31
[INFO] [stdout]    |
[INFO] [stdout] 29 |     let val: Result<_, _> = n.try_into();
[INFO] [stdout]    |                               ^^^^^^^^ the trait `From<pyo3::PyAny>` is not implemented for `Result<pyo3::PyAny, PyErr>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: required for `pyo3::PyAny` to implement `Into<Result<pyo3::PyAny, PyErr>>`
[INFO] [stdout]    = note: required for `Result<pyo3::PyAny, PyErr>` to implement `TryFrom<pyo3::PyAny>`
[INFO] [stdout]    = note: required for `pyo3::PyAny` to implement `TryInto<Result<pyo3::PyAny, PyErr>>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:32:23
[INFO] [stdout]    |
[INFO] [stdout] 32 |         Err(e) => Err(e),
[INFO] [stdout]    |                   --- ^ expected `PyErr`, found `Infallible`
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   arguments to this enum variant are incorrect
[INFO] [stdout]    |
[INFO] [stdout] help: the type constructed contains `Infallible` due to the type of the argument passed
[INFO] [stdout]   --> src/lib.rs:32:19
[INFO] [stdout]    |
[INFO] [stdout] 32 |         Err(e) => Err(e),
[INFO] [stdout]    |                   ^^^^-^
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       this argument influences the type of `Err`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]   --> /rustc/8f21a5c92ea55c348c275a1bc4fedbdf181e0d64/library/core/src/result.rs:557:5
[INFO] [stdout] help: call `Into::into` on this expression to convert `Infallible` into `PyErr`
[INFO] [stdout]    |
[INFO] [stdout] 32 |         Err(e) => Err(e.into()),
[INFO] [stdout]    |                        +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/lib.rs:32:23
[INFO] [stdout]    |
[INFO] [stdout] 32 |         Err(e) => Err(e),
[INFO] [stdout]    |                   --- ^ expected `PyErr`, found `Infallible`
[INFO] [stdout]    |                   |
[INFO] [stdout]    |                   arguments to this enum variant are incorrect
[INFO] [stdout]    |
[INFO] [stdout] help: the type constructed contains `Infallible` due to the type of the argument passed
[INFO] [stdout]   --> src/lib.rs:32:19
[INFO] [stdout]    |
[INFO] [stdout] 32 |         Err(e) => Err(e),
[INFO] [stdout]    |                   ^^^^-^
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       this argument influences the type of `Err`
[INFO] [stdout] note: tuple variant defined here
[INFO] [stdout]   --> /rustc/8f21a5c92ea55c348c275a1bc4fedbdf181e0d64/library/core/src/result.rs:557:5
[INFO] [stdout] help: call `Into::into` on this expression to convert `Infallible` into `PyErr`
[INFO] [stdout]    |
[INFO] [stdout] 32 |         Err(e) => Err(e.into()),
[INFO] [stdout]    |                        +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `pyo3::PyAny: FromPyObject<'_>` is not satisfied
[INFO] [stdout]   --> src/lib.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn sq(n: PyAny) -> PyResult<PyAny> {
[INFO] [stdout]    |          ^^^^^ the trait `PyClass` is not implemented for `pyo3::PyAny`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromPyObject<'_>` is not implemented for `pyo3::PyAny`
[INFO] [stdout]            but it is implemented for `&pyo3::PyAny`
[INFO] [stdout]    = help: for that trait implementation, expected `&pyo3::PyAny`, found `pyo3::PyAny`
[INFO] [stdout]    = note: required for `pyo3::PyAny` to implement `FromPyObject<'_>`
[INFO] [stdout] note: required by a bound in `extract_argument`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pyo3-0.16.6/src/impl_/extract_argument.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn extract_argument<'py, T>(obj: &'py PyAny, arg_name: &str) -> PyResult<T>
[INFO] [stdout]    |        ---------------- required by a bound in this function
[INFO] [stdout] 13 | where
[INFO] [stdout] 14 |     T: FromPyObject<'py>,
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^ required by this bound in `extract_argument`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `pyo3::PyAny: FromPyObject<'_>` is not satisfied
[INFO] [stdout]   --> src/lib.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn sq(n: PyAny) -> PyResult<PyAny> {
[INFO] [stdout]    |          ^^^^^ the trait `PyClass` is not implemented for `pyo3::PyAny`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromPyObject<'_>` is not implemented for `pyo3::PyAny`
[INFO] [stdout]            but it is implemented for `&pyo3::PyAny`
[INFO] [stdout]    = help: for that trait implementation, expected `&pyo3::PyAny`, found `pyo3::PyAny`
[INFO] [stdout]    = note: required for `pyo3::PyAny` to implement `FromPyObject<'_>`
[INFO] [stdout] note: required by a bound in `extract_argument`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pyo3-0.16.6/src/impl_/extract_argument.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn extract_argument<'py, T>(obj: &'py PyAny, arg_name: &str) -> PyResult<T>
[INFO] [stdout]    |        ---------------- required by a bound in this function
[INFO] [stdout] 13 | where
[INFO] [stdout] 14 |     T: FromPyObject<'py>,
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^ required by this bound in `extract_argument`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `pyo3::PyAny: FromPyObject<'_>` is not satisfied
[INFO] [stdout]   --> src/lib.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn sq(n: PyAny) -> PyResult<PyAny> {
[INFO] [stdout]    |          ^^^^^ the trait `Clone` is not implemented for `pyo3::PyAny`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromPyObject<'_>` is not implemented for `pyo3::PyAny`
[INFO] [stdout]            but it is implemented for `&pyo3::PyAny`
[INFO] [stdout]    = help: for that trait implementation, expected `&pyo3::PyAny`, found `pyo3::PyAny`
[INFO] [stdout]    = note: required for `pyo3::PyAny` to implement `FromPyObject<'_>`
[INFO] [stdout] note: required by a bound in `extract_argument`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pyo3-0.16.6/src/impl_/extract_argument.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn extract_argument<'py, T>(obj: &'py PyAny, arg_name: &str) -> PyResult<T>
[INFO] [stdout]    |        ---------------- required by a bound in this function
[INFO] [stdout] 13 | where
[INFO] [stdout] 14 |     T: FromPyObject<'py>,
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^ required by this bound in `extract_argument`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `pyo3::PyAny: FromPyObject<'_>` is not satisfied
[INFO] [stdout]   --> src/lib.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 | fn sq(n: PyAny) -> PyResult<PyAny> {
[INFO] [stdout]    |          ^^^^^ the trait `Clone` is not implemented for `pyo3::PyAny`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `FromPyObject<'_>` is not implemented for `pyo3::PyAny`
[INFO] [stdout]            but it is implemented for `&pyo3::PyAny`
[INFO] [stdout]    = help: for that trait implementation, expected `&pyo3::PyAny`, found `pyo3::PyAny`
[INFO] [stdout]    = note: required for `pyo3::PyAny` to implement `FromPyObject<'_>`
[INFO] [stdout] note: required by a bound in `extract_argument`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pyo3-0.16.6/src/impl_/extract_argument.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub fn extract_argument<'py, T>(obj: &'py PyAny, arg_name: &str) -> PyResult<T>
[INFO] [stdout]    |        ---------------- required by a bound in this function
[INFO] [stdout] 13 | where
[INFO] [stdout] 14 |     T: FromPyObject<'py>,
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^ required by this bound in `extract_argument`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<pyo3::PyAny, PyErr>: IntoPyCallbackOutput<_>` is not satisfied
[INFO] [stdout]    --> src/lib.rs:27:1
[INFO] [stdout]     |
[INFO] [stdout] 27  | #[pyfunction]
[INFO] [stdout]     | ^^^^^^^^^^^^^ the trait `IntoPyCallbackOutput<_>` is not implemented for `Result<pyo3::PyAny, PyErr>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `IntoPyCallbackOutput<U>` is implemented for `Result<T, E>`
[INFO] [stdout] note: required by a bound in `pyo3::callback::convert`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pyo3-0.16.6/src/callback.rs:183:8
[INFO] [stdout]     |
[INFO] [stdout] 181 | pub fn convert<T, U>(py: Python<'_>, value: T) -> PyResult<U>
[INFO] [stdout]     |        ------- required by a bound in this function
[INFO] [stdout] 182 | where
[INFO] [stdout] 183 |     T: IntoPyCallbackOutput<U>,
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `convert`
[INFO] [stdout]     = note: this error originates in the attribute macro `pyfunction` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `Result<pyo3::PyAny, PyErr>: IntoPyCallbackOutput<_>` is not satisfied
[INFO] [stdout]    --> src/lib.rs:27:1
[INFO] [stdout]     |
[INFO] [stdout] 27  | #[pyfunction]
[INFO] [stdout]     | ^^^^^^^^^^^^^ the trait `IntoPyCallbackOutput<_>` is not implemented for `Result<pyo3::PyAny, PyErr>`
[INFO] [stdout]     |
[INFO] [stdout]     = help: the trait `IntoPyCallbackOutput<U>` is implemented for `Result<T, E>`
[INFO] [stdout] note: required by a bound in `pyo3::callback::convert`
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pyo3-0.16.6/src/callback.rs:183:8
[INFO] [stdout]     |
[INFO] [stdout] 181 | pub fn convert<T, U>(py: Python<'_>, value: T) -> PyResult<U>
[INFO] [stdout]     |        ------- required by a bound in this function
[INFO] [stdout] 182 | where
[INFO] [stdout] 183 |     T: IntoPyCallbackOutput<U>,
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `convert`
[INFO] [stdout]     = note: this error originates in the attribute macro `pyfunction` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `n`
[INFO] [stdout]   --> src/lib.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn square<T>(n: T) -> T
[INFO] [stdout]    |              - move occurs because `n` has type `T`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 40 |     n * n
[INFO] [stdout]    |     ----^
[INFO] [stdout]    |     |   |
[INFO] [stdout]    |     |   value used here after move
[INFO] [stdout]    |     `n` moved due to usage in operator
[INFO] [stdout]    |
[INFO] [stdout] help: if `T` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> src/lib.rs:36:11
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn square<T>(n: T) -> T
[INFO] [stdout]    |           ^ consider constraining this type parameter with `Clone`
[INFO] [stdout] ...
[INFO] [stdout] 40 |     n * n
[INFO] [stdout]    |     - you could clone this value
[INFO] [stdout] note: calling this operator moves the left-hand side
[INFO] [stdout]   --> /rustc/8f21a5c92ea55c348c275a1bc4fedbdf181e0d64/library/core/src/ops/arith.rs:338:12
[INFO] [stdout] help: consider further restricting type parameter `T` with trait `Copy`
[INFO] [stdout]    |
[INFO] [stdout] 38 |     T: std::ops::Mul<Output = T> + Copy,
[INFO] [stdout]    |                                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: use of moved value: `n`
[INFO] [stdout]   --> src/lib.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn square<T>(n: T) -> T
[INFO] [stdout]    |              - move occurs because `n` has type `T`, which does not implement the `Copy` trait
[INFO] [stdout] ...
[INFO] [stdout] 40 |     n * n
[INFO] [stdout]    |     ----^
[INFO] [stdout]    |     |   |
[INFO] [stdout]    |     |   value used here after move
[INFO] [stdout]    |     `n` moved due to usage in operator
[INFO] [stdout]    |
[INFO] [stdout] help: if `T` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> src/lib.rs:36:11
[INFO] [stdout]    |
[INFO] [stdout] 36 | fn square<T>(n: T) -> T
[INFO] [stdout]    |           ^ consider constraining this type parameter with `Clone`
[INFO] [stdout] ...
[INFO] [stdout] 40 |     n * n
[INFO] [stdout]    |     - you could clone this value
[INFO] [stdout] note: calling this operator moves the left-hand side
[INFO] [stdout]   --> /rustc/8f21a5c92ea55c348c275a1bc4fedbdf181e0d64/library/core/src/ops/arith.rs:338:12
[INFO] [stdout] help: consider further restricting type parameter `T` with trait `Copy`
[INFO] [stdout]    |
[INFO] [stdout] 38 |     T: std::ops::Mul<Output = T> + Copy,
[INFO] [stdout]    |                                  ++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0382.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0382.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `word_counter` (lib) due to 7 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `word_counter` (lib test) due to 7 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "08ae27ec0dae2ac2c9789c136c6c5f0efd9e903a8b978e592534813f339bc871", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "08ae27ec0dae2ac2c9789c136c6c5f0efd9e903a8b978e592534813f339bc871", kill_on_drop: false }`
[INFO] [stdout] 08ae27ec0dae2ac2c9789c136c6c5f0efd9e903a8b978e592534813f339bc871
