[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] documenting 0xlax/decimal against beta-2022-05-20 for beta-1.62-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F0xlax%2Fdecimal" "/workspace/builds/worker-28/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-28/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/0xlax/decimal on toolchain beta-2022-05-20 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-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-28/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-05-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b5da7a4a0d5ba503d69265543fd922adb537d5375018dfb4279decbb8365cde [INFO] running `Command { std: "docker" "start" "-a" "0b5da7a4a0d5ba503d69265543fd922adb537d5375018dfb4279decbb8365cde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b5da7a4a0d5ba503d69265543fd922adb537d5375018dfb4279decbb8365cde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b5da7a4a0d5ba503d69265543fd922adb537d5375018dfb4279decbb8365cde", kill_on_drop: false }` [INFO] [stdout] 0b5da7a4a0d5ba503d69265543fd922adb537d5375018dfb4279decbb8365cde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-28/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" "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:d190cb871061d98bc6d0581d85cb2ecb09a0f8a142ba5463de30be9999fc3251" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-05-20" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84417842a67df03d09369572e75b52a48a1f3c95b723cd6ecc2835f3c9fe271f [INFO] running `Command { std: "docker" "start" "-a" "84417842a67df03d09369572e75b52a48a1f3c95b723cd6ecc2835f3c9fe271f", kill_on_drop: false }` [INFO] [stderr] Documenting 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[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 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] [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 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 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 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] [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 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 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] [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 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 { [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 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] [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 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 { [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 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] [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 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 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] [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 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 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] [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 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 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:243:20 [INFO] [stdout] | [INFO] [stdout] 243 | impl Into 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 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 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] [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 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 { [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 { [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 { [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 { [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 { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Compilation failed, aborting rustdoc [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 46 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not document `decimal` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `rustdoc --edition=2021 --crate-type bin --crate-name decimal src/main.rs -o /opt/rustwide/target/doc --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --document-private-items '-Arustdoc::private-intra-doc-links' -C metadata=d6793999a9b00861 -L dependency=/opt/rustwide/target/debug/deps --cap-lints=warn --crate-version 0.1.0` (exit status: 1) [INFO] running `Command { std: "docker" "inspect" "84417842a67df03d09369572e75b52a48a1f3c95b723cd6ecc2835f3c9fe271f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84417842a67df03d09369572e75b52a48a1f3c95b723cd6ecc2835f3c9fe271f", kill_on_drop: false }` [INFO] [stdout] 84417842a67df03d09369572e75b52a48a1f3c95b723cd6ecc2835f3c9fe271f