[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] testing mitchpk/mathstools against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmitchpk%2Fmathstools" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mitchpk/mathstools on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-9/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" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0e879049f1da5547ef35defd13a3f5a9ee3c733562b53c151333243e2139ba74 [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" "0e879049f1da5547ef35defd13a3f5a9ee3c733562b53c151333243e2139ba74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0e879049f1da5547ef35defd13a3f5a9ee3c733562b53c151333243e2139ba74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e879049f1da5547ef35defd13a3f5a9ee3c733562b53c151333243e2139ba74", kill_on_drop: false }` [INFO] [stdout] 0e879049f1da5547ef35defd13a3f5a9ee3c733562b53c151333243e2139ba74 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 49d41b4aa0fa71510ae07f9d331dfda6febb83a428f2bfa8235c633deea22a5c [INFO] running `Command { std: "docker" "start" "-a" "49d41b4aa0fa71510ae07f9d331dfda6febb83a428f2bfa8235c633deea22a5c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling libc v0.2.94 [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] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling mathstool v0.1.0 (/opt/rustwide/workdir) [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[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 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] [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "49d41b4aa0fa71510ae07f9d331dfda6febb83a428f2bfa8235c633deea22a5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49d41b4aa0fa71510ae07f9d331dfda6febb83a428f2bfa8235c633deea22a5c", kill_on_drop: false }` [INFO] [stdout] 49d41b4aa0fa71510ae07f9d331dfda6febb83a428f2bfa8235c633deea22a5c