[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 against master#a5db378dc14a40dd1580c27fb8362156446382c3 for pr-136490 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrwilco%2Fnom-cheatsheet" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/drwilco/nom-cheatsheet on toolchain a5db378dc14a40dd1580c27fb8362156446382c3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5db378dc14a40dd1580c27fb8362156446382c3" "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-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5db378dc14a40dd1580c27fb8362156446382c3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 106 packages to latest compatible versions [INFO] [stderr] Adding comrak v0.15.0 (available: v0.35.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.14.0) [INFO] [stderr] Adding nom v7.1.3 (available: v8.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5db378dc14a40dd1580c27fb8362156446382c3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded comrak v0.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a5db378dc14a40dd1580c27fb8362156446382c3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f036a99fa215a3b255c24a6c891fcdf2facb2d4cd5840e599828cf5614cf211e [INFO] running `Command { std: "docker" "start" "-a" "f036a99fa215a3b255c24a6c891fcdf2facb2d4cd5840e599828cf5614cf211e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f036a99fa215a3b255c24a6c891fcdf2facb2d4cd5840e599828cf5614cf211e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f036a99fa215a3b255c24a6c891fcdf2facb2d4cd5840e599828cf5614cf211e", kill_on_drop: false }` [INFO] [stdout] f036a99fa215a3b255c24a6c891fcdf2facb2d4cd5840e599828cf5614cf211e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a5db378dc14a40dd1580c27fb8362156446382c3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a5b609f268ac7ab110633249499550fdc067b60f4bfe5793e94382d4d205f9f9 [INFO] running `Command { std: "docker" "start" "-a" "a5b609f268ac7ab110633249499550fdc067b60f4bfe5793e94382d4d205f9f9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking linux-raw-sys v0.4.15 [INFO] [stderr] Checking itoa v1.0.14 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking deranged v0.3.11 [INFO] [stderr] Compiling cc v1.2.11 [INFO] [stderr] Checking time-core v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.138 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking num-conv v0.1.0 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking bit-set v0.5.3 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking miniz_oxide v0.8.3 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking linked-hash-map v0.5.6 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Checking time v0.3.37 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking indexmap v2.7.1 [INFO] [stderr] Checking ryu v1.0.19 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking xdg v2.5.2 [INFO] [stderr] Checking entities v1.0.1 [INFO] [stderr] Checking typed-arena v2.0.2 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking quick-xml v0.32.0 [INFO] [stderr] Checking terminal_size v0.4.1 [INFO] [stderr] Checking unicode_categories v0.1.1 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking clap_builder v4.5.27 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling onig_sys v69.8.1 [INFO] [stderr] Checking regex-automata v0.4.9 [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-1949cf8c6b5b557f/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/a5db378dc14a40dd1580c27fb8362156446382c3/library/core/src/str/mod.rs:1190: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/a5db378dc14a40dd1580c27fb8362156446382c3/library/core/src/str/mod.rs:159: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/a5db378dc14a40dd1580c27fb8362156446382c3/library/alloc/src/string.rs:2721: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] 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 12 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "a5b609f268ac7ab110633249499550fdc067b60f4bfe5793e94382d4d205f9f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a5b609f268ac7ab110633249499550fdc067b60f4bfe5793e94382d4d205f9f9", kill_on_drop: false }` [INFO] [stdout] a5b609f268ac7ab110633249499550fdc067b60f4bfe5793e94382d4d205f9f9