[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 master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a 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-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nilstrieb/dumb-json on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-13/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-13/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac406b1971a054afd4073ef2587eae28b1be535fdad38d524ebc092f0cb60c89 [INFO] running `Command { std: "docker" "start" "-a" "ac406b1971a054afd4073ef2587eae28b1be535fdad38d524ebc092f0cb60c89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac406b1971a054afd4073ef2587eae28b1be535fdad38d524ebc092f0cb60c89", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac406b1971a054afd4073ef2587eae28b1be535fdad38d524ebc092f0cb60c89", kill_on_drop: false }` [INFO] [stdout] ac406b1971a054afd4073ef2587eae28b1be535fdad38d524ebc092f0cb60c89 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d1b02f3e19f7b5d9281558e16a01d22999132a0143c9ec249d1c54040fa0ed5 [INFO] running `Command { std: "docker" "start" "-a" "5d1b02f3e19f7b5d9281558e16a01d22999132a0143c9ec249d1c54040fa0ed5", kill_on_drop: false }` [INFO] [stderr] Checking dumb-json v0.1.0 (/opt/rustwide/workdir) [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] [stderr] error: could not compile `dumb-json` due to 4 previous errors [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] [stderr] warning: build failed, waiting for other jobs to finish... [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] [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: build failed [INFO] running `Command { std: "docker" "inspect" "5d1b02f3e19f7b5d9281558e16a01d22999132a0143c9ec249d1c54040fa0ed5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d1b02f3e19f7b5d9281558e16a01d22999132a0143c9ec249d1c54040fa0ed5", kill_on_drop: false }` [INFO] [stdout] 5d1b02f3e19f7b5d9281558e16a01d22999132a0143c9ec249d1c54040fa0ed5