[INFO] cloning repository https://github.com/0xlax/decimal
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/0xlax/decimal" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xlax%2Fdecimal", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xlax%2Fdecimal'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 7c899aa27ad73e2fee8fc7a88bda25a726a09f27
[INFO] testing 0xlax/decimal against beta-2023-04-20 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xlax%2Fdecimal" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/0xlax/decimal on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/0xlax/decimal
[INFO] finished tweaking git repo https://github.com/0xlax/decimal
[INFO] tweaked toml for git repo https://github.com/0xlax/decimal written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/0xlax/decimal 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" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fd0a55ed52c9edec8b4c2502af965b56abffc7f2e03af4c795aeb1f06fa92a01
[INFO] running `Command { std: "docker" "start" "-a" "fd0a55ed52c9edec8b4c2502af965b56abffc7f2e03af4c795aeb1f06fa92a01", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fd0a55ed52c9edec8b4c2502af965b56abffc7f2e03af4c795aeb1f06fa92a01", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fd0a55ed52c9edec8b4c2502af965b56abffc7f2e03af4c795aeb1f06fa92a01", kill_on_drop: false }`
[INFO] [stdout] fd0a55ed52c9edec8b4c2502af965b56abffc7f2e03af4c795aeb1f06fa92a01
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] dab826eb18082dc05824834b506d31baa1011c41d3c314844aac7105846d347d
[INFO] running `Command { std: "docker" "start" "-a" "dab826eb18082dc05824834b506d31baa1011c41d3c314844aac7105846d347d", kill_on_drop: false }`
[INFO] [stderr]    Compiling decimal v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `crate::*`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::*;
[INFO] [stdout]   |     ^^^^^^^^ cannot glob-import a module into itself
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `require` in this scope
[INFO] [stdout]    --> src/main.rs:271:9
[INFO] [stdout]     |
[INFO] [stdout] 271 |         require!(self.scale == other.scale, DifferentScale);
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `require` in this scope
[INFO] [stdout]    --> src/main.rs:267:9
[INFO] [stdout]     |
[INFO] [stdout] 267 |         require!(self.scale == other.scale, DifferentScale);
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `require` in this scope
[INFO] [stdout]    --> src/main.rs:263:9
[INFO] [stdout]     |
[INFO] [stdout] 263 |         require!(self.scale == other.scale, DifferentScale);
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `require` in this scope
[INFO] [stdout]    --> src/main.rs:259:9
[INFO] [stdout]     |
[INFO] [stdout] 259 |         require!(self.scale == other.scale, DifferentScale);
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `require` in this scope
[INFO] [stdout]    --> src/main.rs:255:9
[INFO] [stdout]     |
[INFO] [stdout] 255 |         require!(self.scale == other.scale, DifferentScale);
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `require` in this scope
[INFO] [stdout]    --> src/main.rs:158:9
[INFO] [stdout]     |
[INFO] [stdout] 158 |         require!(self.scale == value.scale, DifferentScale);
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot find macro `require` in this scope
[INFO] [stdout]    --> src/main.rs:148:9
[INFO] [stdout]     |
[INFO] [stdout] 148 |         require!(self.scale == value.scale, DifferentScale);
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]   --> src/main.rs:11:6
[INFO] [stdout]    |
[INFO] [stdout] 11 | impl Decimal {
[INFO] [stdout]    |      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Decimal` in this scope
[INFO] [stdout]   --> src/main.rs:19:9
[INFO] [stdout]    |
[INFO] [stdout] 19 |         Decimal {
[INFO] [stdout]    |         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Decimal` in this scope
[INFO] [stdout]   --> src/main.rs:28:9
[INFO] [stdout]    |
[INFO] [stdout] 28 |         Decimal {
[INFO] [stdout]    |         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Decimal` in this scope
[INFO] [stdout]   --> src/main.rs:34:9
[INFO] [stdout]    |
[INFO] [stdout] 34 |         Decimal {
[INFO] [stdout]    |         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Decimal` in this scope
[INFO] [stdout]   --> src/main.rs:40:9
[INFO] [stdout]    |
[INFO] [stdout] 40 |         Decimal {
[INFO] [stdout]    |         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Decimal` in this scope
[INFO] [stdout]   --> src/main.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |         Decimal {
[INFO] [stdout]    |         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Decimal` in this scope
[INFO] [stdout]   --> src/main.rs:52:9
[INFO] [stdout]    |
[INFO] [stdout] 52 |         Decimal {
[INFO] [stdout]    |         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]   --> src/main.rs:57:28
[INFO] [stdout]    |
[INFO] [stdout] 57 |     pub fn to_usd(self) -> Decimal {
[INFO] [stdout]    |                            ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]   --> src/main.rs:60:31
[INFO] [stdout]    |
[INFO] [stdout] 60 |     pub fn to_usd_up(self) -> Decimal {
[INFO] [stdout]    |                               ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]   --> src/main.rs:63:28
[INFO] [stdout]    |
[INFO] [stdout] 63 |     pub fn to_sny(self) -> Decimal {
[INFO] [stdout]    |                            ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]   --> src/main.rs:66:30
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn to_price(self) -> Decimal {
[INFO] [stdout]    |                              ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:108:10
[INFO] [stdout]     |
[INFO] [stdout] 108 | impl Mul<Decimal> for Decimal {
[INFO] [stdout]     |          ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 108 | impl<Decimal> Mul<Decimal> for Decimal {
[INFO] [stdout]     |     +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:108:23
[INFO] [stdout]     |
[INFO] [stdout] 108 | impl Mul<Decimal> for Decimal {
[INFO] [stdout]     |                       ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:109:25
[INFO] [stdout]     |
[INFO] [stdout] 109 |     fn mul(self, value: Decimal) -> Self {
[INFO] [stdout]     |                         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:121:20
[INFO] [stdout]     |
[INFO] [stdout] 121 | impl Mul<u128> for Decimal {
[INFO] [stdout]     |                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:129:12
[INFO] [stdout]     |
[INFO] [stdout] 129 | impl MulUp<Decimal> for Decimal {
[INFO] [stdout]     |            ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 129 | impl<Decimal> MulUp<Decimal> for Decimal {
[INFO] [stdout]     |     +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:129:25
[INFO] [stdout]     |
[INFO] [stdout] 129 | impl MulUp<Decimal> for Decimal {
[INFO] [stdout]     |                         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:130:28
[INFO] [stdout]     |
[INFO] [stdout] 130 |     fn mul_up(self, other: Decimal) -> Self {
[INFO] [stdout]     |                            ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:146:10
[INFO] [stdout]     |
[INFO] [stdout] 146 | impl Add<Decimal> for Decimal {
[INFO] [stdout]     |          ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 146 | impl<Decimal> Add<Decimal> for Decimal {
[INFO] [stdout]     |     +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:146:23
[INFO] [stdout]     |
[INFO] [stdout] 146 | impl Add<Decimal> for Decimal {
[INFO] [stdout]     |                       ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:147:25
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn add(self, value: Decimal) -> Result<Self> {
[INFO] [stdout]     |                         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:156:10
[INFO] [stdout]     |
[INFO] [stdout] 156 | impl Sub<Decimal> for Decimal {
[INFO] [stdout]     |          ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 156 | impl<Decimal> Sub<Decimal> for Decimal {
[INFO] [stdout]     |     +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:156:23
[INFO] [stdout]     |
[INFO] [stdout] 156 | impl Sub<Decimal> for Decimal {
[INFO] [stdout]     |                       ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:157:25
[INFO] [stdout]     |
[INFO] [stdout] 157 |     fn sub(self, value: Decimal) -> Result<Self> {
[INFO] [stdout]     |                         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:165:10
[INFO] [stdout]     |
[INFO] [stdout] 165 | impl Div<Decimal> for Decimal {
[INFO] [stdout]     |          ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 165 | impl<Decimal> Div<Decimal> for Decimal {
[INFO] [stdout]     |     +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:165:23
[INFO] [stdout]     |
[INFO] [stdout] 165 | impl Div<Decimal> for Decimal {
[INFO] [stdout]     |                       ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:166:25
[INFO] [stdout]     |
[INFO] [stdout] 166 |     fn div(self, other: Decimal) -> Self {
[INFO] [stdout]     |                         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:178:12
[INFO] [stdout]     |
[INFO] [stdout] 178 | impl DivUp<Decimal> for Decimal {
[INFO] [stdout]     |            ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 178 | impl<Decimal> DivUp<Decimal> for Decimal {
[INFO] [stdout]     |     +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:178:25
[INFO] [stdout]     |
[INFO] [stdout] 178 | impl DivUp<Decimal> for Decimal {
[INFO] [stdout]     |                         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:179:28
[INFO] [stdout]     |
[INFO] [stdout] 179 |     fn div_up(self, other: Decimal) -> Self {
[INFO] [stdout]     |                            ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:193:15
[INFO] [stdout]     |
[INFO] [stdout] 193 | impl DivScale<Decimal> for Decimal {
[INFO] [stdout]     |               ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 193 | impl<Decimal> DivScale<Decimal> for Decimal {
[INFO] [stdout]     |     +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:193:28
[INFO] [stdout]     |
[INFO] [stdout] 193 | impl DivScale<Decimal> for Decimal {
[INFO] [stdout]     |                            ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:194:34
[INFO] [stdout]     |
[INFO] [stdout] 194 |     fn div_to_scale(self, other: Decimal, to_scale: u8) -> Self {
[INFO] [stdout]     |                                  ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:220:28
[INFO] [stdout]     |
[INFO] [stdout] 220 | impl PowAccuracy<u128> for Decimal {
[INFO] [stdout]     |                            ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:222:19
[INFO] [stdout]     |
[INFO] [stdout] 222 |         let one = Decimal {
[INFO] [stdout]     |                   ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:243:20
[INFO] [stdout]     |
[INFO] [stdout] 243 | impl Into<u64> for Decimal {
[INFO] [stdout]     |                    ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:248:21
[INFO] [stdout]     |
[INFO] [stdout] 248 | impl Into<u128> for Decimal {
[INFO] [stdout]     |                     ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:253:14
[INFO] [stdout]     |
[INFO] [stdout] 253 | impl Compare<Decimal> for Decimal {
[INFO] [stdout]     |              ^^^^^^^ not found in this scope
[INFO] [stdout]     |
[INFO] [stdout] help: you might be missing a type parameter
[INFO] [stdout]     |
[INFO] [stdout] 253 | impl<Decimal> Compare<Decimal> for Decimal {
[INFO] [stdout]     |     +++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:253:27
[INFO] [stdout]     |
[INFO] [stdout] 253 | impl Compare<Decimal> for Decimal {
[INFO] [stdout]     |                           ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:254:25
[INFO] [stdout]     |
[INFO] [stdout] 254 |     fn lte(self, other: Decimal) -> Result<bool> {
[INFO] [stdout]     |                         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:258:24
[INFO] [stdout]     |
[INFO] [stdout] 258 |     fn lt(self, other: Decimal) -> Result<bool> {
[INFO] [stdout]     |                        ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:262:24
[INFO] [stdout]     |
[INFO] [stdout] 262 |     fn gt(self, other: Decimal) -> Result<bool> {
[INFO] [stdout]     |                        ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:266:25
[INFO] [stdout]     |
[INFO] [stdout] 266 |     fn gte(self, other: Decimal) -> Result<bool> {
[INFO] [stdout]     |                         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Decimal` in this scope
[INFO] [stdout]    --> src/main.rs:270:24
[INFO] [stdout]     |
[INFO] [stdout] 270 |     fn eq(self, other: Decimal) -> Result<bool> {
[INFO] [stdout]     |                        ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::*`
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::*;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0601]: `main` function not found in crate `decimal`
[INFO] [stdout]     --> src/main.rs:1277:2
[INFO] [stdout]      |
[INFO] [stdout] 1277 | }
[INFO] [stdout]      |  ^ consider adding a `main` function to `src/main.rs`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/main.rs:276:29
[INFO] [stdout]     |
[INFO] [stdout] 276 |     fn sub(self, rhs: T) -> Result<Self>;
[INFO] [stdout]     |                             ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 276 |     fn sub(self, rhs: T) -> Result<Self, E>;
[INFO] [stdout]     |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `decimal` (bin "decimal") due to 69 previous errors; 1 warning emitted
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/main.rs:279:29
[INFO] [stdout]     |
[INFO] [stdout] 279 |     fn add(self, rhs: T) -> Result<Self>;
[INFO] [stdout]     |                             ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 279 |     fn add(self, rhs: T) -> Result<Self, E>;
[INFO] [stdout]     |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/main.rs:300:28
[INFO] [stdout]     |
[INFO] [stdout] 300 |     fn eq(self, rhs: T) -> Result<bool>;
[INFO] [stdout]     |                            ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 300 |     fn eq(self, rhs: T) -> Result<bool, E>;
[INFO] [stdout]     |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/main.rs:301:28
[INFO] [stdout]     |
[INFO] [stdout] 301 |     fn lt(self, rhs: T) -> Result<bool>;
[INFO] [stdout]     |                            ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 301 |     fn lt(self, rhs: T) -> Result<bool, E>;
[INFO] [stdout]     |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/main.rs:302:28
[INFO] [stdout]     |
[INFO] [stdout] 302 |     fn gt(self, rhs: T) -> Result<bool>;
[INFO] [stdout]     |                            ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]     |                            |
[INFO] [stdout]     |                            expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 302 |     fn gt(self, rhs: T) -> Result<bool, E>;
[INFO] [stdout]     |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/main.rs:303:29
[INFO] [stdout]     |
[INFO] [stdout] 303 |     fn gte(self, rhs: T) -> Result<bool>;
[INFO] [stdout]     |                             ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 303 |     fn gte(self, rhs: T) -> Result<bool, E>;
[INFO] [stdout]     |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/main.rs:304:29
[INFO] [stdout]     |
[INFO] [stdout] 304 |     fn lte(self, rhs: T) -> Result<bool>;
[INFO] [stdout]     |                             ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]     |                             |
[INFO] [stdout]     |                             expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 304 |     fn lte(self, rhs: T) -> Result<bool, E>;
[INFO] [stdout]     |                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/main.rs:147:37
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn add(self, value: Decimal) -> Result<Self> {
[INFO] [stdout]     |                                     ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 147 |     fn add(self, value: Decimal) -> Result<Self, E> {
[INFO] [stdout]     |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/main.rs:157:37
[INFO] [stdout]     |
[INFO] [stdout] 157 |     fn sub(self, value: Decimal) -> Result<Self> {
[INFO] [stdout]     |                                     ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 157 |     fn sub(self, value: Decimal) -> Result<Self, E> {
[INFO] [stdout]     |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/main.rs:254:37
[INFO] [stdout]     |
[INFO] [stdout] 254 |     fn lte(self, other: Decimal) -> Result<bool> {
[INFO] [stdout]     |                                     ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 254 |     fn lte(self, other: Decimal) -> Result<bool, E> {
[INFO] [stdout]     |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/main.rs:258:36
[INFO] [stdout]     |
[INFO] [stdout] 258 |     fn lt(self, other: Decimal) -> Result<bool> {
[INFO] [stdout]     |                                    ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 258 |     fn lt(self, other: Decimal) -> Result<bool, E> {
[INFO] [stdout]     |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/main.rs:262:36
[INFO] [stdout]     |
[INFO] [stdout] 262 |     fn gt(self, other: Decimal) -> Result<bool> {
[INFO] [stdout]     |                                    ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 262 |     fn gt(self, other: Decimal) -> Result<bool, E> {
[INFO] [stdout]     |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/main.rs:266:37
[INFO] [stdout]     |
[INFO] [stdout] 266 |     fn gte(self, other: Decimal) -> Result<bool> {
[INFO] [stdout]     |                                     ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]     |                                     |
[INFO] [stdout]     |                                     expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 266 |     fn gte(self, other: Decimal) -> Result<bool, E> {
[INFO] [stdout]     |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/main.rs:270:36
[INFO] [stdout]     |
[INFO] [stdout] 270 |     fn eq(self, other: Decimal) -> Result<bool> {
[INFO] [stdout]     |                                    ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]     |                                    |
[INFO] [stdout]     |                                    expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 270 |     fn eq(self, other: Decimal) -> Result<bool, E> {
[INFO] [stdout]     |                                               +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Decimal`
[INFO] [stdout]   --> src/main.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |         Decimal::new(percent.into(), 2).to_percent()
[INFO] [stdout]    |         ^^^^^^^ use of undeclared type `Decimal`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 68 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0422, E0432, E0433, E0601.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "dab826eb18082dc05824834b506d31baa1011c41d3c314844aac7105846d347d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "dab826eb18082dc05824834b506d31baa1011c41d3c314844aac7105846d347d", kill_on_drop: false }`
[INFO] [stdout] dab826eb18082dc05824834b506d31baa1011c41d3c314844aac7105846d347d
