[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 try#b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8 for pr-78363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstoryfeet%2Fdice_stats" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/storyfeet/dice_stats on toolchain b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "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-5/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" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "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-5/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" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18b39821d46d6f58e08ad2124b5ed64ea15c51b76d689d4de916dcdcd64f4a85 [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" "18b39821d46d6f58e08ad2124b5ed64ea15c51b76d689d4de916dcdcd64f4a85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18b39821d46d6f58e08ad2124b5ed64ea15c51b76d689d4de916dcdcd64f4a85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18b39821d46d6f58e08ad2124b5ed64ea15c51b76d689d4de916dcdcd64f4a85", kill_on_drop: false }` [INFO] [stdout] 18b39821d46d6f58e08ad2124b5ed64ea15c51b76d689d4de916dcdcd64f4a85 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+b2c2190fa7bf856bb0ed5e8806266e3a2135c6f8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 870f40caf58f75ee9c55ca395b057cd7228207831802a4d261b70f7ce466f567 [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" "870f40caf58f75ee9c55ca395b057cd7228207831802a4d261b70f7ce466f567", 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] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Checking thiserror v1.0.21 [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] 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] 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[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::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[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 because of the requirements on the impl of `IntoIterator` 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[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 because of the requirements on the impl of `IntoIterator` 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: 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] [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[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: build failed [INFO] running `Command { std: "docker" "inspect" "870f40caf58f75ee9c55ca395b057cd7228207831802a4d261b70f7ce466f567", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "870f40caf58f75ee9c55ca395b057cd7228207831802a4d261b70f7ce466f567", kill_on_drop: false }` [INFO] [stdout] 870f40caf58f75ee9c55ca395b057cd7228207831802a4d261b70f7ce466f567