[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#db1fb85cff63ad5fffe435e17128f99f9e1d970c for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNilstrieb%2Fdumb-json" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nilstrieb/dumb-json on toolchain db1fb85cff63ad5fffe435e17128f99f9e1d970c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6/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-6/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" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] eef15f8f6b0446f5b1d020f7e526c7d6e566d712c67e662bd2ea1f467be28ce0 [INFO] running `Command { std: "docker" "start" "-a" "eef15f8f6b0446f5b1d020f7e526c7d6e566d712c67e662bd2ea1f467be28ce0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eef15f8f6b0446f5b1d020f7e526c7d6e566d712c67e662bd2ea1f467be28ce0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eef15f8f6b0446f5b1d020f7e526c7d6e566d712c67e662bd2ea1f467be28ce0", kill_on_drop: false }` [INFO] [stdout] eef15f8f6b0446f5b1d020f7e526c7d6e566d712c67e662bd2ea1f467be28ce0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+db1fb85cff63ad5fffe435e17128f99f9e1d970c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b458654f4dc570c6d7b40939f9688c02642a6b441fdf01d48e22b0fb930c5ec5 [INFO] running `Command { std: "docker" "start" "-a" "b458654f4dc570c6d7b40939f9688c02642a6b441fdf01d48e22b0fb930c5ec5", 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] [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: could not compile `dumb-json` due to 4 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 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" "b458654f4dc570c6d7b40939f9688c02642a6b441fdf01d48e22b0fb930c5ec5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b458654f4dc570c6d7b40939f9688c02642a6b441fdf01d48e22b0fb930c5ec5", kill_on_drop: false }` [INFO] [stdout] b458654f4dc570c6d7b40939f9688c02642a6b441fdf01d48e22b0fb930c5ec5