[INFO] cloning repository https://github.com/two-horned/smort
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/two-horned/smort" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwo-horned%2Fsmort", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwo-horned%2Fsmort'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8adf4375168884d05968f3e60e6db44ccd992849
[INFO] checking two-horned/smort against try#f3d95de532264a1215023baa665c0028aecf74b1 for pr-148477
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftwo-horned%2Fsmort" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/two-horned/smort
[INFO] finished tweaking git repo https://github.com/two-horned/smort
[INFO] tweaked toml for git repo https://github.com/two-horned/smort written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/two-horned/smort on toolchain f3d95de532264a1215023baa665c0028aecf74b1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f3d95de532264a1215023baa665c0028aecf74b1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/two-horned/smort 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" "+f3d95de532264a1215023baa665c0028aecf74b1" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f3d95de532264a1215023baa665c0028aecf74b1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 34b1f4f329a1d9ff5692a156a7fd51d110ebef1bde5c55175058c9cf594fbd5a
[INFO] running `Command { std: "docker" "start" "-a" "34b1f4f329a1d9ff5692a156a7fd51d110ebef1bde5c55175058c9cf594fbd5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "34b1f4f329a1d9ff5692a156a7fd51d110ebef1bde5c55175058c9cf594fbd5a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "34b1f4f329a1d9ff5692a156a7fd51d110ebef1bde5c55175058c9cf594fbd5a", kill_on_drop: false }`
[INFO] [stdout] 34b1f4f329a1d9ff5692a156a7fd51d110ebef1bde5c55175058c9cf594fbd5a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+f3d95de532264a1215023baa665c0028aecf74b1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ca3c1fa7b01ee262ffab2a3ffe8b86cbb204b80cc2d0f4e23239edd0a9f50757
[INFO] running `Command { std: "docker" "start" "-a" "ca3c1fa7b01ee262ffab2a3ffe8b86cbb204b80cc2d0f4e23239edd0a9f50757", kill_on_drop: false }`
[INFO] [stderr]     Checking smort v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected expression, found `}`
[INFO] [stdout]   --> src/number.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     }
[INFO] [stdout]    |     ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `}`
[INFO] [stdout]   --> src/number.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     }
[INFO] [stdout]    |     ^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RemAssign`
[INFO] [stdout]  --> src/number.rs:1:70
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::ops::{Add, AddAssign, Div, DivAssign, Mul, MulAssign, Rem, RemAssign, Sub, SubAssign, Neg};
[INFO] [stdout]   |                                                                      ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `RemAssign`
[INFO] [stdout]  --> src/number.rs:1:70
[INFO] [stdout]   |
[INFO] [stdout] 1 | use core::ops::{Add, AddAssign, Div, DivAssign, Mul, MulAssign, Rem, RemAssign, Sub, SubAssign, Neg};
[INFO] [stdout]   |                                                                      ^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Output`
[INFO] [stdout]    --> src/number.rs:131:1
[INFO] [stdout]     |
[INFO] [stdout] 131 | / impl<T> Rem for Number<T>
[INFO] [stdout] 132 | | where T: Mul<Output = T>
[INFO] [stdout] 133 | |         + Div<Output = T>
[INFO] [stdout] 134 | |         + Add<Output = T>
[INFO] [stdout] 135 | |         + Sub<Output = T>
[INFO] [stdout] 136 | |         + Copy
[INFO] [stdout]     | |______________^ missing `Output` in implementation
[INFO] [stdout]     |
[INFO] [stdout]     = help: implement the missing item: `type Output = /* Type */;`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0046]: not all trait items implemented, missing: `Output`
[INFO] [stdout]    --> src/number.rs:131:1
[INFO] [stdout]     |
[INFO] [stdout] 131 | / impl<T> Rem for Number<T>
[INFO] [stdout] 132 | | where T: Mul<Output = T>
[INFO] [stdout] 133 | |         + Div<Output = T>
[INFO] [stdout] 134 | |         + Add<Output = T>
[INFO] [stdout] 135 | |         + Sub<Output = T>
[INFO] [stdout] 136 | |         + Copy
[INFO] [stdout]     | |______________^ missing `Output` in implementation
[INFO] [stdout]     |
[INFO] [stdout]     = help: implement the missing item: `type Output = /* Type */;`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `&Number<T>`
[INFO] [stdout]   --> src/number.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 |         self == Self{re: self.zero(), im: self.zero()}
[INFO] [stdout]    |         ---- ^^ -------------------------------------- Number<T>
[INFO] [stdout]    |         |
[INFO] [stdout]    |         &Number<T>
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn is_zero(&self) -> T where &Number<T>: PartialEq<Number<T>> {
[INFO] [stdout]    |                            ++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] help: consider extending the `where` clause, but there might be an alternative better way to express this requirement
[INFO] [stdout]    |
[INFO] [stdout]  5 | where T: Sub<Output = T>, &Number<T>: PartialEq<Number<T>>
[INFO] [stdout]    |                         ++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `&Number<T>`
[INFO] [stdout]   --> src/number.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 |         self == Self{re: self.zero(), im: self.zero()}
[INFO] [stdout]    |         ---- ^^ -------------------------------------- Number<T>
[INFO] [stdout]    |         |
[INFO] [stdout]    |         &Number<T>
[INFO] [stdout]    |
[INFO] [stdout] help: consider introducing a `where` clause, but there might be an alternative better way to express this requirement
[INFO] [stdout]    |
[INFO] [stdout] 15 |     fn is_zero(&self) -> T where &Number<T>: PartialEq<Number<T>> {
[INFO] [stdout]    |                            ++++++++++++++++++++++++++++++++++++++
[INFO] [stdout] help: consider extending the `where` clause, but there might be an alternative better way to express this requirement
[INFO] [stdout]    |
[INFO] [stdout]  5 | where T: Sub<Output = T>, &Number<T>: PartialEq<Number<T>>
[INFO] [stdout]    |                         ++++++++++++++++++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.re` which is behind a shared reference
[INFO] [stdout]   --> src/number.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         self.re - self.re
[INFO] [stdout]    |         ^^^^^^^----------
[INFO] [stdout]    |         |
[INFO] [stdout]    |         `self.re` moved due to usage in operator
[INFO] [stdout]    |         move occurs because `self.re` has type `T`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] note: calling this operator moves the left-hand side
[INFO] [stdout]   --> /rustc/f3d95de532264a1215023baa665c0028aecf74b1/library/core/src/ops/arith.rs:205:12
[INFO] [stdout] help: if `T` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> src/number.rs:4:6
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl<T> Number<T>
[INFO] [stdout]    |      ^ consider constraining this type parameter with `Clone`
[INFO] [stdout] ...
[INFO] [stdout] 12 |         self.re - self.re
[INFO] [stdout]    |         ------- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.re` which is behind a shared reference
[INFO] [stdout]   --> src/number.rs:12:19
[INFO] [stdout]    |
[INFO] [stdout] 12 |         self.re - self.re
[INFO] [stdout]    |                   ^^^^^^^ move occurs because `self.re` has type `T`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] help: if `T` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> src/number.rs:4:6
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl<T> Number<T>
[INFO] [stdout]    |      ^ consider constraining this type parameter with `Clone`
[INFO] [stdout] ...
[INFO] [stdout] 12 |         self.re - self.re
[INFO] [stdout]    |                   ------- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.re` which is behind a shared reference
[INFO] [stdout]   --> src/number.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |         self.re - self.re
[INFO] [stdout]    |         ^^^^^^^----------
[INFO] [stdout]    |         |
[INFO] [stdout]    |         `self.re` moved due to usage in operator
[INFO] [stdout]    |         move occurs because `self.re` has type `T`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] note: calling this operator moves the left-hand side
[INFO] [stdout]   --> /rustc/f3d95de532264a1215023baa665c0028aecf74b1/library/core/src/ops/arith.rs:205:12
[INFO] [stdout] help: if `T` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> src/number.rs:4:6
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl<T> Number<T>
[INFO] [stdout]    |      ^ consider constraining this type parameter with `Clone`
[INFO] [stdout] ...
[INFO] [stdout] 12 |         self.re - self.re
[INFO] [stdout]    |         ------- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `self.re` which is behind a shared reference
[INFO] [stdout]   --> src/number.rs:12:19
[INFO] [stdout]    |
[INFO] [stdout] 12 |         self.re - self.re
[INFO] [stdout]    |                   ^^^^^^^ move occurs because `self.re` has type `T`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] help: if `T` implemented `Clone`, you could clone the value
[INFO] [stdout]   --> src/number.rs:4:6
[INFO] [stdout]    |
[INFO] [stdout]  4 | impl<T> Number<T>
[INFO] [stdout]    |      ^ consider constraining this type parameter with `Clone`
[INFO] [stdout] ...
[INFO] [stdout] 12 |         self.re - self.re
[INFO] [stdout]    |                   ------- you could clone this value
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0369, E0507.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0046, E0369, E0507.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0046`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `smort` (lib) due to 5 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `smort` (lib test) due to 5 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "ca3c1fa7b01ee262ffab2a3ffe8b86cbb204b80cc2d0f4e23239edd0a9f50757", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ca3c1fa7b01ee262ffab2a3ffe8b86cbb204b80cc2d0f4e23239edd0a9f50757", kill_on_drop: false }`
[INFO] [stdout] ca3c1fa7b01ee262ffab2a3ffe8b86cbb204b80cc2d0f4e23239edd0a9f50757
