[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 try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmitchpk%2Fmathstools" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mitchpk/mathstools on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-15/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [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-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4edb12ea836276fdf15ccbadcbc8e62a3f97dff3bd62e65de218b7885dd29985 [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" "4edb12ea836276fdf15ccbadcbc8e62a3f97dff3bd62e65de218b7885dd29985", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4edb12ea836276fdf15ccbadcbc8e62a3f97dff3bd62e65de218b7885dd29985", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4edb12ea836276fdf15ccbadcbc8e62a3f97dff3bd62e65de218b7885dd29985", kill_on_drop: false }` [INFO] [stdout] 4edb12ea836276fdf15ccbadcbc8e62a3f97dff3bd62e65de218b7885dd29985 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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] caed1d074948a6275831c2c0095687d823bebf2f23572a16d197827078c959d8 [INFO] running `Command { std: "docker" "start" "-a" "caed1d074948a6275831c2c0095687d823bebf2f23572a16d197827078c959d8", 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 libc v0.2.94 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling az v1.1.1 [INFO] [stderr] Compiling rug v1.12.0 [INFO] [stderr] Compiling quote v1.0.9 [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" "caed1d074948a6275831c2c0095687d823bebf2f23572a16d197827078c959d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caed1d074948a6275831c2c0095687d823bebf2f23572a16d197827078c959d8", kill_on_drop: false }` [INFO] [stdout] caed1d074948a6275831c2c0095687d823bebf2f23572a16d197827078c959d8