[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 master#5e3f1b148db5bfa27fee52464ae1f5d34c49d77b for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fstoryfeet%2Fdice_stats" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/storyfeet/dice_stats on toolchain 5e3f1b148db5bfa27fee52464ae1f5d34c49d77b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "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-10/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" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "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-10/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" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "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-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2dbe394bb513ae0b771abdf64ed9e875462f8a871124bb9aa4dd9c5c373451ce [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" "2dbe394bb513ae0b771abdf64ed9e875462f8a871124bb9aa4dd9c5c373451ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2dbe394bb513ae0b771abdf64ed9e875462f8a871124bb9aa4dd9c5c373451ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dbe394bb513ae0b771abdf64ed9e875462f8a871124bb9aa4dd9c5c373451ce", kill_on_drop: false }` [INFO] [stdout] 2dbe394bb513ae0b771abdf64ed9e875462f8a871124bb9aa4dd9c5c373451ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d50b97af7c1c0169aebc4c4d9bf616620f072465496b33d272a5a14df57bc8f3 [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" "d50b97af7c1c0169aebc4c4d9bf616620f072465496b33d272a5a14df57bc8f3", 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 proc-macro2 v1.0.19 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Checking thiserror v1.0.20 [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 or module `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 or module `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 or module `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 or module `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] error[E0277]: `(std::vec::Vec<(std::option::Option<::Out>, (std::vec::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] | ^ `(std::vec::Vec<(std::option::Option<::Out>, (std::vec::Vec<::Out>, _))>, ())` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::iter::Iterator` is not implemented for `(std::vec::Vec<(std::option::Option<::Out>, (std::vec::Vec<::Out>, _))>, ())` [INFO] [stdout] = note: required by `std::iter::IntoIterator::into_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `::Out` doesn't implement `std::fmt::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 `std::fmt::Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::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 `&[std::vec::Vec]` [INFO] [stdout] found reference `&::Out` [INFO] [stdout] = help: consider constraining the associated type `::Out` to `[std::vec::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] [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]: `(std::vec::Vec<(std::option::Option<::Out>, (std::vec::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] | ^ `(std::vec::Vec<(std::option::Option<::Out>, (std::vec::Vec<::Out>, _))>, ())` is not an iterator [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::iter::Iterator` is not implemented for `(std::vec::Vec<(std::option::Option<::Out>, (std::vec::Vec<::Out>, _))>, ())` [INFO] [stdout] = note: required by `std::iter::IntoIterator::into_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `::Out` doesn't implement `std::fmt::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 `std::fmt::Debug` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::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 `&[std::vec::Vec]` [INFO] [stdout] found reference `&::Out` [INFO] [stdout] = help: consider constraining the associated type `::Out` to `[std::vec::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] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "d50b97af7c1c0169aebc4c4d9bf616620f072465496b33d272a5a14df57bc8f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d50b97af7c1c0169aebc4c4d9bf616620f072465496b33d272a5a14df57bc8f3", kill_on_drop: false }` [INFO] [stdout] d50b97af7c1c0169aebc4c4d9bf616620f072465496b33d272a5a14df57bc8f3