[INFO] cloning repository https://github.com/Nilstrieb/dumb-json [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nilstrieb/dumb-json" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNilstrieb%2Fdumb-json", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNilstrieb%2Fdumb-json'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1620b2455b1483ed8357eb5255a89b9ab1696de0 [INFO] checking Nilstrieb/dumb-json against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNilstrieb%2Fdumb-json" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nilstrieb/dumb-json 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] removed /workspace/builds/worker-9/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/Nilstrieb/dumb-json [INFO] finished tweaking git repo https://github.com/Nilstrieb/dumb-json [INFO] tweaked toml for git repo https://github.com/Nilstrieb/dumb-json written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/Nilstrieb/dumb-json 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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] e94d44923c705f55d630986ee81c5ff9bfb99cc3a3f3808ba32b4095fe5e7065 [INFO] running `Command { std: "docker" "start" "-a" "e94d44923c705f55d630986ee81c5ff9bfb99cc3a3f3808ba32b4095fe5e7065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e94d44923c705f55d630986ee81c5ff9bfb99cc3a3f3808ba32b4095fe5e7065", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e94d44923c705f55d630986ee81c5ff9bfb99cc3a3f3808ba32b4095fe5e7065", kill_on_drop: false }` [INFO] [stdout] e94d44923c705f55d630986ee81c5ff9bfb99cc3a3f3808ba32b4095fe5e7065 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] 360d066e9d90ee2a87589641068844a71065ca0c69dc68d624cc58d1e6f397b9 [INFO] running `Command { std: "docker" "start" "-a" "360d066e9d90ee2a87589641068844a71065ca0c69dc68d624cc58d1e6f397b9", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking dumb-json v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] error[E0425]: cannot find function `parse_json` in this scope [INFO] [stdout] --> src/lib.rs:58:21 [INFO] [stdout] | [INFO] [stdout] 58 | let value = parse_json("null").unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_json` in this scope [INFO] [stdout] --> src/lib.rs:64:21 [INFO] [stdout] | [INFO] [stdout] 64 | let value = parse_json("1353").unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_json` in this scope [INFO] [stdout] --> src/lib.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | let value = parse_json("1353.1").unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_json` in this scope [INFO] [stdout] --> src/lib.rs:68:21 [INFO] [stdout] | [INFO] [stdout] 68 | let value = parse_json("0.0").unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_json` in this scope [INFO] [stdout] --> src/lib.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let value = parse_json("6.6.6"); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_json` in this scope [INFO] [stdout] --> src/lib.rs:76:21 [INFO] [stdout] | [INFO] [stdout] 76 | let value = parse_json(r#""test""#).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_json` in this scope [INFO] [stdout] --> src/lib.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | let value = parse_json(r#""test ttttt test""#).unwrap(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_json` in this scope [INFO] [stdout] --> src/lib.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | let value = parse_json(r#""hi"#); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_json` in this scope [INFO] [stdout] --> src/lib.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 82 | let value = parse_json(r#"hi""#); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: a value of type `(&str, Vec)` cannot be built from an iterator over elements of type `(&str, char)` [INFO] [stdout] --> src/lib.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | .collect::>>() [INFO] [stdout] | ^^^^^^^ value of type `(&str, Vec)` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<(&str, char)>` is not implemented for `(&str, Vec)` [INFO] [stdout] = note: required because of the requirements on the impl of `FromIterator>` for `Result<(&str, Vec), ParseErr>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `for<'r> <[closure@src/lib.rs:22:21: 34:6] as FnOnce<(&'r str,)>>::Output == Result<(&'r str, &str), ParseErr>` [INFO] [stdout] --> src/lib.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | Parser(inner) [INFO] [stdout] | ^^^^^ expected struct `ParseErr`, found struct `String` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(&str, &str), ParseErr>` [INFO] [stdout] found enum `Result<_, String>` [INFO] [stdout] = note: required for the cast to the object type `dyn for<'r> Fn(&'r str) -> Result<(&str, &str), ParseErr>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | Parser(inner) [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(&str, _), _>` [INFO] [stdout] found enum `Result<(&str, _), _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0277, E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dumb-json` due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: a value of type `(&str, Vec)` cannot be built from an iterator over elements of type `(&str, char)` [INFO] [stdout] --> src/lib.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | .collect::>>() [INFO] [stdout] | ^^^^^^^ value of type `(&str, Vec)` cannot be built from `std::iter::Iterator` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromIterator<(&str, char)>` is not implemented for `(&str, Vec)` [INFO] [stdout] = note: required because of the requirements on the impl of `FromIterator>` for `Result<(&str, Vec), ParseErr>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0271]: type mismatch resolving `for<'r> <[closure@src/lib.rs:22:21: 34:6] as FnOnce<(&'r str,)>>::Output == Result<(&'r str, &str), ParseErr>` [INFO] [stdout] --> src/lib.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | Parser(inner) [INFO] [stdout] | ^^^^^ expected struct `ParseErr`, found struct `String` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(&str, &str), ParseErr>` [INFO] [stdout] found enum `Result<_, String>` [INFO] [stdout] = note: required for the cast to the object type `dyn for<'r> Fn(&'r str) -> Result<(&str, &str), ParseErr>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | Parser(inner) [INFO] [stdout] | ^^^^^ one type is more general than the other [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Result<(&str, _), _>` [INFO] [stdout] found enum `Result<(&str, _), _>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0271, E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0271`. [INFO] [stdout] [INFO] [stderr] error: build failed [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" "360d066e9d90ee2a87589641068844a71065ca0c69dc68d624cc58d1e6f397b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "360d066e9d90ee2a87589641068844a71065ca0c69dc68d624cc58d1e6f397b9", kill_on_drop: false }` [INFO] [stdout] 360d066e9d90ee2a87589641068844a71065ca0c69dc68d624cc58d1e6f397b9