[INFO] cloning repository https://github.com/drwilco/nom-cheatsheet [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/drwilco/nom-cheatsheet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrwilco%2Fnom-cheatsheet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrwilco%2Fnom-cheatsheet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 55494a7418682d4f3a10a593533e24afa87591e9 [INFO] checking drwilco/nom-cheatsheet/55494a7418682d4f3a10a593533e24afa87591e9 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrwilco%2Fnom-cheatsheet" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/drwilco/nom-cheatsheet on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/drwilco/nom-cheatsheet [INFO] finished tweaking git repo https://github.com/drwilco/nom-cheatsheet [INFO] tweaked toml for git repo https://github.com/drwilco/nom-cheatsheet written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 114 packages to latest compatible versions [INFO] [stderr] Adding bit-set v0.5.3 (available: v0.8.0) [INFO] [stderr] Adding bit-vec v0.6.3 (available: v0.8.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding comrak v0.15.0 (available: v0.28.0) [INFO] [stderr] Adding fancy-regex v0.11.0 (available: v0.13.0) [INFO] [stderr] Adding generic-array v0.14.7 (available: v1.1.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (available: v0.6.5) [INFO] [stderr] Adding quick-xml v0.32.0 (available: v0.36.2) [INFO] [stderr] Adding terminal_size v0.3.0 (available: v0.4.0) [INFO] [stderr] Adding windows-sys v0.48.0 (available: v0.59.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] [stderr] Adding windows-targets v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (available: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (available: v0.52.6) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pest_generator v2.7.13 [INFO] [stderr] Downloaded thiserror-impl v1.0.64 [INFO] [stderr] Downloaded thiserror v1.0.64 [INFO] [stderr] Downloaded pest_meta v2.7.13 [INFO] [stderr] Downloaded pest_derive v2.7.13 [INFO] [stderr] Downloaded comrak v0.15.0 [INFO] [stderr] Downloaded pest v2.7.13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f8e9c9b5ad3ecf4e10e9ff0f88ebf600436270a5fad551b0857780cc71403e3 [INFO] running `Command { std: "docker" "start" "-a" "1f8e9c9b5ad3ecf4e10e9ff0f88ebf600436270a5fad551b0857780cc71403e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f8e9c9b5ad3ecf4e10e9ff0f88ebf600436270a5fad551b0857780cc71403e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f8e9c9b5ad3ecf4e10e9ff0f88ebf600436270a5fad551b0857780cc71403e3", kill_on_drop: false }` [INFO] [stdout] 1f8e9c9b5ad3ecf4e10e9ff0f88ebf600436270a5fad551b0857780cc71403e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61fbb37d6609c4d40d6b329d1896b59e78b644b6d2b9c5e164450d978110c72b [INFO] running `Command { std: "docker" "start" "-a" "61fbb37d6609c4d40d6b329d1896b59e78b644b6d2b9c5e164450d978110c72b", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling thiserror v1.0.64 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling cc v1.1.22 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.128 [INFO] [stderr] Checking anstyle v1.0.8 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking time v0.3.36 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking clap_lex v0.7.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking flate2 v1.0.34 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking quick-xml v0.32.0 [INFO] [stderr] Checking xdg v2.5.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking entities v1.0.1 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Compiling syn v2.0.79 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Checking terminal_size v0.3.0 [INFO] [stderr] Checking clap_builder v4.5.18 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling nom-cheatsheet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `sep` in this scope [INFO] [stdout] --> build.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | let (input, _) = tag(sep)(input)?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `sep` in this scope [INFO] [stdout] --> build.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | let (input, _) = tag(sep)(input)?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `sep` in this scope [INFO] [stdout] --> build.rs:56:26 [INFO] [stdout] | [INFO] [stdout] 56 | let (input, _) = tag(sep)(input)?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `sep` in this scope [INFO] [stdout] --> build.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | let (input, _) = tag(sep)(input)?; [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> build.rs:47:39 [INFO] [stdout] | [INFO] [stdout] 47 | let (input, urls): (&str, &str) = take_until()(input)?; [INFO] [stdout] | ^^^^^^^^^^-- argument #1 is missing [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/nom-7.1.3/src/bytes/complete.rs:435:8 [INFO] [stdout] | [INFO] [stdout] 435 | pub fn take_until>( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 47 | let (input, urls): (&str, &str) = take_until(/* tag */)(input)?; [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> build.rs:97:13 [INFO] [stdout] | [INFO] [stdout] 97 | usage, [INFO] [stdout] | ^^^^^ expected `Option<&str>`, found `&str` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option<&str>` [INFO] [stdout] found reference `&str` [INFO] [stdout] help: try wrapping the expression in `Some` [INFO] [stdout] | [INFO] [stdout] 97 | usage: Some(usage), [INFO] [stdout] | ++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `starts_with` found for enum `Option` in the current scope [INFO] [stdout] --> build.rs:174:58 [INFO] [stdout] | [INFO] [stdout] 174 | let assignment: String = if combinator.usage.starts_with("let output") { [INFO] [stdout] | ^^^^^^^^^^^ method not found in `Option<&str>` [INFO] [stdout] | [INFO] [stdout] note: the method `starts_with` exists on the type `&str` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/str/mod.rs:1159:5 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `&str` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 174 | let assignment: String = if combinator.usage.expect("REASON").starts_with("let output") { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Option<&str>` doesn't implement `std::fmt::Display` [INFO] [stdout] --> build.rs:175:38 [INFO] [stdout] | [INFO] [stdout] 175 | format!("{}({});\n", combinator.usage, input) [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `Option<&str>` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Option<&str>` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Option<&str>` doesn't implement `std::fmt::Display` [INFO] [stdout] --> build.rs:179:21 [INFO] [stdout] | [INFO] [stdout] 179 | combinator.usage, input [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `Option<&str>` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Option<&str>` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::__export::format_args` which comes from the expansion of the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `Option<&str>` doesn't implement `std::fmt::Display` [INFO] [stdout] --> build.rs:186:49 [INFO] [stdout] | [INFO] [stdout] 186 | println!("cargo:warning=usage: {}", combinator.usage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ `Option<&str>` cannot be formatted with the default formatter [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::fmt::Display` is not implemented for `Option<&str>` [INFO] [stdout] = note: in format strings you may be able to use `{:?}` (or {:#?} for pretty-print) instead [INFO] [stdout] = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `is_empty` found for enum `Option` in the current scope [INFO] [stdout] --> build.rs:187:45 [INFO] [stdout] | [INFO] [stdout] 187 | let usage = if combinator.usage.is_empty() { [INFO] [stdout] | ^^^^^^^^ method not found in `Option<&str>` [INFO] [stdout] | [INFO] [stdout] note: the method `is_empty` exists on the type `&str` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/core/src/str/mod.rs:158:5 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `&str` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 187 | let usage = if combinator.usage.expect("REASON").is_empty() { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `to_string` exists for enum `Option<&str>`, but its trait bounds were not satisfied [INFO] [stdout] --> build.rs:192:34 [INFO] [stdout] | [INFO] [stdout] 192 | combinator.usage.to_string() [INFO] [stdout] | ^^^^^^^^^ method cannot be called on `Option<&str>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `Option<&str>: std::fmt::Display` [INFO] [stdout] which is required by `Option<&str>: ToString` [INFO] [stdout] note: the method `to_string` exists on the type `&str` [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/alloc/src/string.rs:2619:5 [INFO] [stdout] help: consider using `Option::expect` to unwrap the `&str` value, panicking if the value is an `Option::None` [INFO] [stdout] | [INFO] [stdout] 192 | combinator.usage.expect("REASON").to_string() [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0425, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nom-cheatsheet` (build script) due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "61fbb37d6609c4d40d6b329d1896b59e78b644b6d2b9c5e164450d978110c72b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61fbb37d6609c4d40d6b329d1896b59e78b644b6d2b9c5e164450d978110c72b", kill_on_drop: false }` [INFO] [stdout] 61fbb37d6609c4d40d6b329d1896b59e78b644b6d2b9c5e164450d978110c72b