[INFO] cloning repository https://github.com/akkuankka/matheriser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/akkuankka/matheriser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakkuankka%2Fmatheriser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakkuankka%2Fmatheriser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 73513df9814b5c2c70b3eb58e1d3afec626e954e [INFO] testing akkuankka/matheriser against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fakkuankka%2Fmatheriser" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/akkuankka/matheriser 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/akkuankka/matheriser [INFO] finished tweaking git repo https://github.com/akkuankka/matheriser [INFO] tweaked toml for git repo https://github.com/akkuankka/matheriser written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/akkuankka/matheriser 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] 81119a6088d1c5ce369d1dcc8db775492bdb1e539db0e188a23807a50d577722 [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" "81119a6088d1c5ce369d1dcc8db775492bdb1e539db0e188a23807a50d577722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "81119a6088d1c5ce369d1dcc8db775492bdb1e539db0e188a23807a50d577722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "81119a6088d1c5ce369d1dcc8db775492bdb1e539db0e188a23807a50d577722", kill_on_drop: false }` [INFO] [stdout] 81119a6088d1c5ce369d1dcc8db775492bdb1e539db0e188a23807a50d577722 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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] [stdout] b10cf7de26931c430e6cbc25282b0561e75e90ee3e8af140933f30474ad0ee89 [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" "b10cf7de26931c430e6cbc25282b0561e75e90ee3e8af140933f30474ad0ee89", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling beef v0.5.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.4.0 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling syn v1.0.64 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling num v0.4.0 [INFO] [stderr] Compiling logos-derive v0.12.0 [INFO] [stderr] Compiling logos v0.12.0 [INFO] [stderr] Compiling matheriser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `root::NthRoot` [INFO] [stdout] --> src/eval.rs:6:20 [INFO] [stdout] | [INFO] [stdout] 6 | use op::{pow::Pow, root::NthRoot}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Add`, `Div`, `Neg`, `Sub` [INFO] [stdout] --> src/eval.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | use std::ops::{Add, Div, Mul, Neg, Rem, Sub}; [INFO] [stdout] | ^^^ ^^^ ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `if` and `else` have incompatible types [INFO] [stdout] --> src/frontend/display.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 29 | let index = if a.index == 2 { [INFO] [stdout] | _____________________________- [INFO] [stdout] 30 | | "" [INFO] [stdout] | | -- expected because of this [INFO] [stdout] 31 | | } else { [INFO] [stdout] 32 | | format!("`{}`", a.index.to_string()) [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found struct `String` [INFO] [stdout] 33 | | }; [INFO] [stdout] | |_________________- `if` and `else` have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/frontend/display.rs:206:37 [INFO] [stdout] | [INFO] [stdout] 206 | output.push_str(format!("({}^{})", symb, exp)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found struct `String` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/frontend/display.rs:218:37 [INFO] [stdout] | [INFO] [stdout] 218 | output.push_str(format!("({})^{}", i.val, i.exponent)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found struct `String` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/frontend/display.rs:220:37 [INFO] [stdout] | [INFO] [stdout] 220 | output.push_str(format!("{} × ", i.val)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found struct `String` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/frontend/display.rs:222:37 [INFO] [stdout] | [INFO] [stdout] 222 | output.push_str(format!("({})^{} ×", i.val, i.exponent)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `&str`, found struct `String` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `matheriser` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "b10cf7de26931c430e6cbc25282b0561e75e90ee3e8af140933f30474ad0ee89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b10cf7de26931c430e6cbc25282b0561e75e90ee3e8af140933f30474ad0ee89", kill_on_drop: false }` [INFO] [stdout] b10cf7de26931c430e6cbc25282b0561e75e90ee3e8af140933f30474ad0ee89