[INFO] cloning repository https://github.com/mitchpk/mathstools [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mitchpk/mathstools" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmitchpk%2Fmathstools", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmitchpk%2Fmathstools'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a5444448de9eb98f06a6daab65e8d2d2a07b9afd [INFO] checking mitchpk/mathstools against try#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmitchpk%2Fmathstools" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mitchpk/mathstools on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mitchpk/mathstools [INFO] finished tweaking git repo https://github.com/mitchpk/mathstools [INFO] tweaked toml for git repo https://github.com/mitchpk/mathstools written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/mitchpk/mathstools already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded az v1.1.1 [INFO] [stderr] Downloaded rug v1.12.0 [INFO] [stderr] Downloaded gmp-mpfr-sys v1.4.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9219162a53a2383651741f3f312245d9f50578220642f115c14dd0a09eee5c3c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9219162a53a2383651741f3f312245d9f50578220642f115c14dd0a09eee5c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9219162a53a2383651741f3f312245d9f50578220642f115c14dd0a09eee5c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9219162a53a2383651741f3f312245d9f50578220642f115c14dd0a09eee5c3c", kill_on_drop: false }` [INFO] [stdout] 9219162a53a2383651741f3f312245d9f50578220642f115c14dd0a09eee5c3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 461dac0dd935295711cb5c0f8e835fe7f3d1b2d6c66bda6e8cf8c4b0cff15563 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "461dac0dd935295711cb5c0f8e835fe7f3d1b2d6c66bda6e8cf8c4b0cff15563", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling gmp-mpfr-sys v1.4.5 [INFO] [stderr] Compiling az v1.1.1 [INFO] [stderr] Compiling rug v1.12.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking mathstool v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Number` in module `expr` [INFO] [stdout] --> src/eval.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | let x = expr::Number { [INFO] [stdout] | ^^^^^^ not found in `expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Number` in module `expr` [INFO] [stdout] --> src/eval.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | let y = expr::Number { [INFO] [stdout] | ^^^^^^ not found in `expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Number` in module `expr` [INFO] [stdout] --> src/eval.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | value: expr::Number { value: num }, [INFO] [stdout] | ^^^^^^ not found in `expr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/num.rs:239:27 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn to_float(self) -> Result { [INFO] [stdout] | ---------------------- expected `Result` because of return type [INFO] [stdout] ... [INFO] [stdout] 239 | Complex(c) => Num::from(c.ln()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `Result`, found enum `num::Num` [INFO] [stdout] | help: try using a variant of the expected enum: `Ok(Num::from(c.ln()))` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `num::Num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `log10` found for struct `rug::Integer` in the current scope [INFO] [stdout] --> src/num.rs:252:61 [INFO] [stdout] | [INFO] [stdout] 252 | Integer(i2) => Ok(Num::from(c1.log10() / i2.log10())), [INFO] [stdout] | ^^^^^ method not found in `rug::Integer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `log10` found for struct `rug::Rational` in the current scope [INFO] [stdout] --> src/num.rs:253:62 [INFO] [stdout] | [INFO] [stdout] 253 | Rational(r2) => Ok(Num::from(c1.log10() / r2.log10())), [INFO] [stdout] | ^^^^^ method not found in `rug::Rational` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `log10` found for struct `rug::Integer` in the current scope [INFO] [stdout] --> src/num.rs:265:46 [INFO] [stdout] | [INFO] [stdout] 265 | Float(d2) => Ok(Num::from(i1.log10() / d2)), [INFO] [stdout] | ^^^^^ method not found in `rug::Integer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `log10` found for struct `rug::Integer` in the current scope [INFO] [stdout] --> src/num.rs:266:48 [INFO] [stdout] | [INFO] [stdout] 266 | Integer(i2) => Ok(Num::from(i1.log10() / i2)), [INFO] [stdout] | ^^^^^ method not found in `rug::Integer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `log10` found for struct `rug::Integer` in the current scope [INFO] [stdout] --> src/num.rs:267:49 [INFO] [stdout] | [INFO] [stdout] 267 | Rational(r2) => Ok(Num::from(i1.log10() / r2)), [INFO] [stdout] | ^^^^^ method not found in `rug::Integer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `log10` found for struct `rug::Rational` in the current scope [INFO] [stdout] --> src/num.rs:273:46 [INFO] [stdout] | [INFO] [stdout] 273 | Float(d2) => Ok(Num::from(r1.log10() / d2)), [INFO] [stdout] | ^^^^^ method not found in `rug::Rational` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/num.rs:239:27 [INFO] [stdout] | [INFO] [stdout] 236 | pub fn to_float(self) -> Result { [INFO] [stdout] | ---------------------- expected `Result` because of return type [INFO] [stdout] ... [INFO] [stdout] 239 | Complex(c) => Num::from(c.ln()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected enum `Result`, found enum `num::Num` [INFO] [stdout] | help: try using a variant of the expected enum: `Ok(Num::from(c.ln()))` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `num::Num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `log10` found for struct `rug::Rational` in the current scope [INFO] [stdout] --> src/num.rs:274:48 [INFO] [stdout] | [INFO] [stdout] 274 | Integer(i2) => Ok(Num::from(r1.log10() / i2)), [INFO] [stdout] | ^^^^^ method not found in `rug::Rational` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `log10` found for struct `rug::Rational` in the current scope [INFO] [stdout] --> src/num.rs:275:49 [INFO] [stdout] | [INFO] [stdout] 275 | Rational(r2) => Ok(Num::from(r1.log10() / r2)), [INFO] [stdout] | ^^^^^ method not found in `rug::Rational` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `log10` found for struct `rug::Integer` in the current scope [INFO] [stdout] --> src/num.rs:252:61 [INFO] [stdout] | [INFO] [stdout] 252 | Integer(i2) => Ok(Num::from(c1.log10() / i2.log10())), [INFO] [stdout] | ^^^^^ method not found in `rug::Integer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `log10` found for struct `rug::Rational` in the current scope [INFO] [stdout] --> src/num.rs:253:62 [INFO] [stdout] | [INFO] [stdout] 253 | Rational(r2) => Ok(Num::from(c1.log10() / r2.log10())), [INFO] [stdout] | ^^^^^ method not found in `rug::Rational` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `log10` found for struct `rug::Integer` in the current scope [INFO] [stdout] --> src/num.rs:265:46 [INFO] [stdout] | [INFO] [stdout] 265 | Float(d2) => Ok(Num::from(i1.log10() / d2)), [INFO] [stdout] | ^^^^^ method not found in `rug::Integer` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mathstool` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `log10` found for struct `rug::Integer` in the current scope [INFO] [stdout] --> src/num.rs:266:48 [INFO] [stdout] | [INFO] [stdout] 266 | Integer(i2) => Ok(Num::from(i1.log10() / i2)), [INFO] [stdout] | ^^^^^ method not found in `rug::Integer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `log10` found for struct `rug::Integer` in the current scope [INFO] [stdout] --> src/num.rs:267:49 [INFO] [stdout] | [INFO] [stdout] 267 | Rational(r2) => Ok(Num::from(i1.log10() / r2)), [INFO] [stdout] | ^^^^^ method not found in `rug::Integer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `log10` found for struct `rug::Rational` in the current scope [INFO] [stdout] --> src/num.rs:273:46 [INFO] [stdout] | [INFO] [stdout] 273 | Float(d2) => Ok(Num::from(r1.log10() / d2)), [INFO] [stdout] | ^^^^^ method not found in `rug::Rational` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `log10` found for struct `rug::Rational` in the current scope [INFO] [stdout] --> src/num.rs:274:48 [INFO] [stdout] | [INFO] [stdout] 274 | Integer(i2) => Ok(Num::from(r1.log10() / i2)), [INFO] [stdout] | ^^^^^ method not found in `rug::Rational` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `log10` found for struct `rug::Rational` in the current scope [INFO] [stdout] --> src/num.rs:275:49 [INFO] [stdout] | [INFO] [stdout] 275 | Rational(r2) => Ok(Num::from(r1.log10() / r2)), [INFO] [stdout] | ^^^^^ method not found in `rug::Rational` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0422, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "461dac0dd935295711cb5c0f8e835fe7f3d1b2d6c66bda6e8cf8c4b0cff15563", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "461dac0dd935295711cb5c0f8e835fe7f3d1b2d6c66bda6e8cf8c4b0cff15563", kill_on_drop: false }` [INFO] [stdout] 461dac0dd935295711cb5c0f8e835fe7f3d1b2d6c66bda6e8cf8c4b0cff15563