[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 try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshika-blyat%2Fmath_parser" "/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/shika-blyat/math_parser on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-15/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: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66d70a1445c318039cad319cc53a03e36d2d774be869613584101381a54fdf8e [INFO] running `Command { std: "docker" "start" "-a" "66d70a1445c318039cad319cc53a03e36d2d774be869613584101381a54fdf8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66d70a1445c318039cad319cc53a03e36d2d774be869613584101381a54fdf8e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66d70a1445c318039cad319cc53a03e36d2d774be869613584101381a54fdf8e", kill_on_drop: false }` [INFO] [stdout] 66d70a1445c318039cad319cc53a03e36d2d774be869613584101381a54fdf8e [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c0ffd79d65fbc411bb97a7558ce2f83c5e9428462cc50780508afc87c8a43914 [INFO] running `Command { std: "docker" "start" "-a" "c0ffd79d65fbc411bb97a7558ce2f83c5e9428462cc50780508afc87c8a43914", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking cmd_parser v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/math.rs (3 fixes) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | eval_line(input.to_string(), &mut variables); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | / assert_eq!( [INFO] [stdout] 130 | | eval_line("let a = 15 * 2;".to_string(), &mut variables), [INFO] [stdout] 131 | | Ok(("".to_string(), 30)) [INFO] [stdout] 132 | | ); [INFO] [stdout] | |__________^ expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(String, f32), ParserError>` [INFO] [stdout] found enum `Result<(String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | assert_eq!(variables, to_compare); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected struct `HashMap<_, f32>` [INFO] [stdout] found struct `HashMap<_, {integer}>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | / assert_eq!( [INFO] [stdout] 137 | | eval_line("(a + 2) * 3".to_string(), &mut variables), [INFO] [stdout] 138 | | Ok(("".to_string(), (30 + 2) * 3)) [INFO] [stdout] 139 | | ); [INFO] [stdout] | |__________^ expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(String, f32), ParserError>` [INFO] [stdout] found enum `Result<(String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/math.rs:394:9 [INFO] [stdout] | [INFO] [stdout] 394 | / assert_eq!( [INFO] [stdout] 395 | | eval_expr("1 + 2 * 3".to_string(), &mut var), [INFO] [stdout] 396 | | Ok(("".to_string(), 1 + 2 * 3)) [INFO] [stdout] 397 | | ); [INFO] [stdout] | |__________^ expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(String, f32), ParserError>` [INFO] [stdout] found enum `Result<(String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/math.rs:398:9 [INFO] [stdout] | [INFO] [stdout] 398 | / assert_eq!( [INFO] [stdout] 399 | | eval_expr("(1 + 2) * 3".to_string(), &mut var), [INFO] [stdout] 400 | | Ok(("".to_string(), (1 + 2) * 3)) [INFO] [stdout] 401 | | ); [INFO] [stdout] | |__________^ expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(String, f32), ParserError>` [INFO] [stdout] found enum `Result<(String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/math.rs:402:9 [INFO] [stdout] | [INFO] [stdout] 402 | / assert_eq!( [INFO] [stdout] 403 | | eval_expr("(12 + (2 - 3)) * ( 5 +(3 / 8)) + 3".to_string(), &mut var), [INFO] [stdout] 404 | | Ok(("".to_string(), (12 + (2 - 3)) * (5 + (3 / 8)) + 3)) [INFO] [stdout] 405 | | ); [INFO] [stdout] | |__________^ expected `f32`, found integer [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(String, f32), ParserError>` [INFO] [stdout] found enum `Result<(String, {integer}), _>` [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [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` due to 7 previous errors [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "c0ffd79d65fbc411bb97a7558ce2f83c5e9428462cc50780508afc87c8a43914", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0ffd79d65fbc411bb97a7558ce2f83c5e9428462cc50780508afc87c8a43914", kill_on_drop: false }` [INFO] [stdout] c0ffd79d65fbc411bb97a7558ce2f83c5e9428462cc50780508afc87c8a43914