[INFO] cloning repository https://github.com/LordAfterEight/equation-solver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LordAfterEight/equation-solver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLordAfterEight%2Fequation-solver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLordAfterEight%2Fequation-solver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 753e9b40f8d19eceebcb0cf9263c72f6c0b59baf [INFO] building LordAfterEight/equation-solver against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLordAfterEight%2Fequation-solver" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LordAfterEight/equation-solver [INFO] finished tweaking git repo https://github.com/LordAfterEight/equation-solver [INFO] tweaked toml for git repo https://github.com/LordAfterEight/equation-solver written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LordAfterEight/equation-solver on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LordAfterEight/equation-solver 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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 22562294cca1347f898eb341de5a0e6ff001aa4de3c1d03c13fe2b735178e14d [INFO] running `Command { std: "docker" "start" "-a" "22562294cca1347f898eb341de5a0e6ff001aa4de3c1d03c13fe2b735178e14d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "22562294cca1347f898eb341de5a0e6ff001aa4de3c1d03c13fe2b735178e14d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "22562294cca1347f898eb341de5a0e6ff001aa4de3c1d03c13fe2b735178e14d", kill_on_drop: false }` [INFO] [stdout] 22562294cca1347f898eb341de5a0e6ff001aa4de3c1d03c13fe2b735178e14d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 555dc5c80e905b1e65b997d3b88458692bf17e2028606578397d6e9ebc4649fb [INFO] running `Command { std: "docker" "start" "-a" "555dc5c80e905b1e65b997d3b88458692bf17e2028606578397d6e9ebc4649fb", kill_on_drop: false }` [INFO] [stderr] Compiling equation-solver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/equation-solver.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 72 | let result = match self.left_operators[i].chars().next().unwrap() { [INFO] [stdout] | ---------------------------------------------------- `match` arms have incompatible types [INFO] [stdout] ... [INFO] [stdout] 79 | Some(format!("{}", val1+val2)) [INFO] [stdout] | ------------------------------ this is found to be of type `Option` [INFO] [stdout] 80 | }, [INFO] [stdout] 81 | '-' => { [INFO] [stdout] | ________________________^ [INFO] [stdout] 82 | | }, [INFO] [stdout] | |_________________^ expected `Option`, found `()` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/equation-solver.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | let mut equation = Equation::from_string(&input); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/equation-solver.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | let mut split: Vec<&str> = input.split("=").collect(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `equation-solver` (bin "equation-solver") due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "555dc5c80e905b1e65b997d3b88458692bf17e2028606578397d6e9ebc4649fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "555dc5c80e905b1e65b997d3b88458692bf17e2028606578397d6e9ebc4649fb", kill_on_drop: false }` [INFO] [stdout] 555dc5c80e905b1e65b997d3b88458692bf17e2028606578397d6e9ebc4649fb