[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#da0275e101cdc809ce291ed8b64d6f82c6b65467 for pr-134276 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmitchpk%2Fmathstools" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mitchpk/mathstools on toolchain da0275e101cdc809ce291ed8b64d6f82c6b65467 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da0275e101cdc809ce291ed8b64d6f82c6b65467" "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-5-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+da0275e101cdc809ce291ed8b64d6f82c6b65467" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+da0275e101cdc809ce291ed8b64d6f82c6b65467" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b2a5f948047a06fccd5f55d49d5cccc3d6a0ac7a23c0e164413889ce99b44af [INFO] running `Command { std: "docker" "start" "-a" "4b2a5f948047a06fccd5f55d49d5cccc3d6a0ac7a23c0e164413889ce99b44af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b2a5f948047a06fccd5f55d49d5cccc3d6a0ac7a23c0e164413889ce99b44af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b2a5f948047a06fccd5f55d49d5cccc3d6a0ac7a23c0e164413889ce99b44af", kill_on_drop: false }` [INFO] [stdout] 4b2a5f948047a06fccd5f55d49d5cccc3d6a0ac7a23c0e164413889ce99b44af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+da0275e101cdc809ce291ed8b64d6f82c6b65467" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4909c533b0654bcb85f0f39cc3309ac768e36b15d4bd13d2f7d657de00808b7 [INFO] running `Command { std: "docker" "start" "-a" "c4909c533b0654bcb85f0f39cc3309ac768e36b15d4bd13d2f7d657de00808b7", 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 syn v1.0.72 [INFO] [stderr] Compiling libc v0.2.94 [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] 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] | ^^^^^^^^^^^^^^^^^ expected `Result`, found `Num` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `num::Num` [INFO] [stdout] help: try wrapping the expression in `Ok` [INFO] [stdout] | [INFO] [stdout] 239 | Complex(c) => Ok(Num::from(c.ln())), [INFO] [stdout] | +++ + [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] | ^^^^^^^^^^^^^^^^^ expected `Result`, found `Num` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result` [INFO] [stdout] found enum `num::Num` [INFO] [stdout] help: try wrapping the expression in `Ok` [INFO] [stdout] | [INFO] [stdout] 239 | Complex(c) => Ok(Num::from(c.ln())), [INFO] [stdout] | +++ + [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 `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:252:61 [INFO] [stdout] | [INFO] [stdout] 252 | Integer(i2) => Ok(Num::from(c1.log10() / i2.log10())), [INFO] [stdout] | ^^^^^ method not found in `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 `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:253:62 [INFO] [stdout] | [INFO] [stdout] 253 | Rational(r2) => Ok(Num::from(c1.log10() / r2.log10())), [INFO] [stdout] | ^^^^^ method not found in `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 `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:265:46 [INFO] [stdout] | [INFO] [stdout] 265 | Float(d2) => Ok(Num::from(i1.log10() / d2)), [INFO] [stdout] | ^^^^^ method not found in `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 `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 `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 `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 `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 `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:273:46 [INFO] [stdout] | [INFO] [stdout] 273 | Float(d2) => Ok(Num::from(r1.log10() / d2)), [INFO] [stdout] | ^^^^^ method not found in `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 `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 `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 `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 `Rational` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/num.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | fn eval(self, env: &mut HashMap) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `env` [INFO] [stdout] --> src/num.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | fn eval(self, env: &mut HashMap) -> Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_env` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [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] 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: could not compile `mathstool` (lib) due to 9 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mathstool` (lib test) due to 12 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "c4909c533b0654bcb85f0f39cc3309ac768e36b15d4bd13d2f7d657de00808b7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4909c533b0654bcb85f0f39cc3309ac768e36b15d4bd13d2f7d657de00808b7", kill_on_drop: false }` [INFO] [stdout] c4909c533b0654bcb85f0f39cc3309ac768e36b15d4bd13d2f7d657de00808b7