[INFO] cloning repository https://github.com/shika-blyat/math_parser [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shika-blyat/math_parser" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshika-blyat%2Fmath_parser", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshika-blyat%2Fmath_parser'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b78f2904280e7d02f0227d2bd51ef5744295c9d8 [INFO] checking shika-blyat/math_parser against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshika-blyat%2Fmath_parser" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shika-blyat/math_parser on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shika-blyat/math_parser [INFO] finished tweaking git repo https://github.com/shika-blyat/math_parser [INFO] tweaked toml for git repo https://github.com/shika-blyat/math_parser written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/shika-blyat/math_parser 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e864c4c0d2aadcf0571459ef4a19b3444948a50006fa7a63e0cec6c7d8a4b249 [INFO] running `Command { std: "docker" "start" "-a" "e864c4c0d2aadcf0571459ef4a19b3444948a50006fa7a63e0cec6c7d8a4b249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e864c4c0d2aadcf0571459ef4a19b3444948a50006fa7a63e0cec6c7d8a4b249", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e864c4c0d2aadcf0571459ef4a19b3444948a50006fa7a63e0cec6c7d8a4b249", kill_on_drop: false }` [INFO] [stdout] e864c4c0d2aadcf0571459ef4a19b3444948a50006fa7a63e0cec6c7d8a4b249 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2be624d5d0c2ed6eb256f9ffa6d3af436a8afdc1f41bd1203bf73ea516688d68 [INFO] running `Command { std: "docker" "start" "-a" "2be624d5d0c2ed6eb256f9ffa6d3af436a8afdc1f41bd1203bf73ea516688d68", kill_on_drop: false }` [INFO] [stderr] Checking cmd_parser v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/math.rs:396:13 [INFO] [stdout] | [INFO] [stdout] 396 | Ok(("".to_string(), 1 + 2 * 3)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(String, f32), ParserError>`, found `Result<(String, {integer}), _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(String, f32), ParserError>` [INFO] [stdout] found enum `Result<(String, {integer}), _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/math.rs:400:13 [INFO] [stdout] | [INFO] [stdout] 400 | Ok(("".to_string(), (1 + 2) * 3)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(String, f32), ParserError>`, found `Result<(String, {integer}), _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(String, f32), ParserError>` [INFO] [stdout] found enum `Result<(String, {integer}), _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/math.rs:404:13 [INFO] [stdout] | [INFO] [stdout] 404 | Ok(("".to_string(), (12 + (2 - 3)) * (5 + (3 / 8)) + 3)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(String, f32), ParserError>`, found `Result<(String, {integer}), _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(String, f32), ParserError>` [INFO] [stdout] found enum `Result<(String, {integer}), _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:131:13 [INFO] [stdout] | [INFO] [stdout] 131 | Ok(("".to_string(), 30)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(String, f32), ParserError>`, found `Result<(String, {integer}), _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(String, f32), ParserError>` [INFO] [stdout] found enum `Result<(String, {integer}), _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:135:31 [INFO] [stdout] | [INFO] [stdout] 134 | to_compare.insert("a".to_string(), 30); [INFO] [stdout] | ---------- -- this argument has type `{integer}`... [INFO] [stdout] | | [INFO] [stdout] | ... which causes `to_compare` to have type `HashMap` [INFO] [stdout] 135 | assert_eq!(variables, to_compare); [INFO] [stdout] | ^^^^^^^^^^ expected `HashMap`, found `HashMap` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `HashMap<_, f32>` [INFO] [stdout] found struct `HashMap<_, {integer}>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:138:13 [INFO] [stdout] | [INFO] [stdout] 138 | Ok(("".to_string(), (30 + 2) * 3)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(String, f32), ParserError>`, found `Result<(String, {integer}), _>` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(String, f32), ParserError>` [INFO] [stdout] found enum `Result<(String, {integer}), _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cmd_parser` (bin "cmd_parser" test) due to 7 previous errors [INFO] running `Command { std: "docker" "inspect" "2be624d5d0c2ed6eb256f9ffa6d3af436a8afdc1f41bd1203bf73ea516688d68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2be624d5d0c2ed6eb256f9ffa6d3af436a8afdc1f41bd1203bf73ea516688d68", kill_on_drop: false }` [INFO] [stdout] 2be624d5d0c2ed6eb256f9ffa6d3af436a8afdc1f41bd1203bf73ea516688d68