[INFO] cloning repository https://github.com/storyfeet/dice_stats [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/storyfeet/dice_stats" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstoryfeet%2Fdice_stats", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstoryfeet%2Fdice_stats'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0c1a18c84ae21f1839d231d3efaa49c7caecff35 [INFO] checking storyfeet/dice_stats against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstoryfeet%2Fdice_stats" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/storyfeet/dice_stats on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/storyfeet/dice_stats [INFO] removed path dependency gobble from git repo https://github.com/storyfeet/dice_stats [INFO] finished tweaking git repo https://github.com/storyfeet/dice_stats [INFO] tweaked toml for git repo https://github.com/storyfeet/dice_stats written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/storyfeet/dice_stats already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (gobble) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-3/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (gobble) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65e18a0a3bc74a3a36ed91289d09d35ad20d2bd310a7e2ac9c390b2095040c0e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "65e18a0a3bc74a3a36ed91289d09d35ad20d2bd310a7e2ac9c390b2095040c0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65e18a0a3bc74a3a36ed91289d09d35ad20d2bd310a7e2ac9c390b2095040c0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65e18a0a3bc74a3a36ed91289d09d35ad20d2bd310a7e2ac9c390b2095040c0e", kill_on_drop: false }` [INFO] [stdout] 65e18a0a3bc74a3a36ed91289d09d35ad20d2bd310a7e2ac9c390b2095040c0e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "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] 9cea6be5092794dee23e3acfff7bf616cdadabe728ab8d6e2d0e8f1ab43a2523 [INFO] running `Command { std: "docker" "start" "-a" "9cea6be5092794dee23e3acfff7bf616cdadabe728ab8d6e2d0e8f1ab43a2523", kill_on_drop: false }` [INFO] [stderr] warning: dependency (gobble) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling thiserror-impl v1.0.22 [INFO] [stderr] Checking thiserror v1.0.22 [INFO] [stderr] Checking gobble v0.6.3 [INFO] [stderr] Checking dice_stats v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ECode` [INFO] [stdout] --> src/main.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | .map_err(|_| ECode::SMess("Too long int"))?; [INFO] [stdout] | ^^^^^ use of undeclared type `ECode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `s_tag` in this scope [INFO] [stdout] --> src/main.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | maybe(s_tag("-")) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_fs` in this scope [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | .then(read_fs(is_num, 1)) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `s_tag` in this scope [INFO] [stdout] --> src/main.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | .then_ig(s_tag("[")) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `s_tag` in this scope [INFO] [stdout] --> src/main.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 23 | .then(sep_until(p_int(), s_tag(","), s_tag("]"))), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `s_tag` in this scope [INFO] [stdout] --> src/main.rs:23:50 [INFO] [stdout] | [INFO] [stdout] 23 | .then(sep_until(p_int(), s_tag(","), s_tag("]"))), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ECode` [INFO] [stdout] --> src/main.rs:11:30 [INFO] [stdout] | [INFO] [stdout] 11 | .map_err(|_| ECode::SMess("Too long int"))?; [INFO] [stdout] | ^^^^^ use of undeclared type `ECode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `s_tag` in this scope [INFO] [stdout] --> src/main.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | maybe(s_tag("-")) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `read_fs` in this scope [INFO] [stdout] --> src/main.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | .then(read_fs(is_num, 1)) [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `s_tag` in this scope [INFO] [stdout] --> src/main.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | .then_ig(s_tag("[")) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `s_tag` in this scope [INFO] [stdout] --> src/main.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 23 | .then(sep_until(p_int(), s_tag(","), s_tag("]"))), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `s_tag` in this scope [INFO] [stdout] --> src/main.rs:23:50 [INFO] [stdout] | [INFO] [stdout] 23 | .then(sep_until(p_int(), s_tag(","), s_tag("]"))), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gobble::repeat_until`: use star_until instead [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | repeat_until( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gobble::repeat_until`: use star_until instead [INFO] [stdout] --> src/main.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | repeat_until( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gobble::s_`: use ws__ instead, to match convention __ means wrap around [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | s_(eoi), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 0, found 1 [INFO] [stdout] --> src/main.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | fn p_int() -> impl Parser { [INFO] [stdout] | ^^^ unexpected type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `gobble::s_`: use ws__ instead, to match convention __ means wrap around [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | s_(eoi), [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 0, found 1 [INFO] [stdout] --> src/main.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | fn p_int() -> impl Parser { [INFO] [stdout] | ^^^ unexpected type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 0, found 1 [INFO] [stdout] --> src/main.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | fn parse_dice() -> impl Parser>> { [INFO] [stdout] | ^^^^^^^^^^^^^ unexpected type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 0, found 1 [INFO] [stdout] --> src/main.rs:19:32 [INFO] [stdout] | [INFO] [stdout] 19 | fn parse_dice() -> impl Parser>> { [INFO] [stdout] | ^^^^^^^^^^^^^ unexpected type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(Vec<(Option<::Out>, (Vec<::Out>, _))>, ())` is not an iterator [INFO] [stdout] --> src/main.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | for (nop, ar) in v { [INFO] [stdout] | ^ `(Vec<(Option<::Out>, (Vec<::Out>, _))>, ())` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `(Vec<(Option<::Out>, (Vec<::Out>, _))>, ())` [INFO] [stdout] = note: required by `into_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `::Out` doesn't implement `Debug` [INFO] [stdout] --> src/main.rs:57:48 [INFO] [stdout] | [INFO] [stdout] 57 | println!("Parsed dice = {:?}", r); [INFO] [stdout] | ^ `::Out` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `::Out` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(Vec<(Option<::Out>, (Vec<::Out>, _))>, ())` is not an iterator [INFO] [stdout] --> src/main.rs:28:26 [INFO] [stdout] | [INFO] [stdout] 28 | for (nop, ar) in v { [INFO] [stdout] | ^ `(Vec<(Option<::Out>, (Vec<::Out>, _))>, ())` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `Iterator` is not implemented for `(Vec<(Option<::Out>, (Vec<::Out>, _))>, ())` [INFO] [stdout] = note: required by `into_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `::Out` doesn't implement `Debug` [INFO] [stdout] --> src/main.rs:57:48 [INFO] [stdout] | [INFO] [stdout] 57 | println!("Parsed dice = {:?}", r); [INFO] [stdout] | ^ `::Out` cannot be formatted using `{:?}` because it doesn't implement `Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Debug` is not implemented for `::Out` [INFO] [stdout] = note: required by `std::fmt::Debug::fmt` [INFO] [stdout] = note: this error originates in a macro (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:58:36 [INFO] [stdout] | [INFO] [stdout] 19 | fn parse_dice() -> impl Parser>> { [INFO] [stdout] | -------------------------- the found opaque type [INFO] [stdout] ... [INFO] [stdout] 58 | let p = calc_probs(&r); [INFO] [stdout] | ^^ expected slice, found associated type [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Vec]` [INFO] [stdout] found reference `&::Out` [INFO] [stdout] = help: consider constraining the associated type `::Out` to `[Vec]` [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0277, E0308, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dice_stats` [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:58:36 [INFO] [stdout] | [INFO] [stdout] 19 | fn parse_dice() -> impl Parser>> { [INFO] [stdout] | -------------------------- the found opaque type [INFO] [stdout] ... [INFO] [stdout] 58 | let p = calc_probs(&r); [INFO] [stdout] | ^^ expected slice, found associated type [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[Vec]` [INFO] [stdout] found reference `&::Out` [INFO] [stdout] = help: consider constraining the associated type `::Out` to `[Vec]` [INFO] [stdout] = note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 11 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0277, E0308, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9cea6be5092794dee23e3acfff7bf616cdadabe728ab8d6e2d0e8f1ab43a2523", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cea6be5092794dee23e3acfff7bf616cdadabe728ab8d6e2d0e8f1ab43a2523", kill_on_drop: false }` [INFO] [stdout] 9cea6be5092794dee23e3acfff7bf616cdadabe728ab8d6e2d0e8f1ab43a2523