[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 try#51de2e90f91fdec6cf64ff542a4e15b9c177a797 for pr-147294 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrwilco%2Fnom-cheatsheet" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/drwilco/nom-cheatsheet on toolchain 51de2e90f91fdec6cf64ff542a4e15b9c177a797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking drwilco/nom-cheatsheet against try#51de2e90f91fdec6cf64ff542a4e15b9c177a797 for pr-147294 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdrwilco%2Fnom-cheatsheet" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [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-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/drwilco/nom-cheatsheet on toolchain 51de2e90f91fdec6cf64ff542a4e15b9c177a797 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 109 packages to latest compatible versions [INFO] [stderr] Adding comrak v0.15.0 (available: v0.43.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" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded onig v6.5.1 [INFO] [stderr] Downloaded pest_derive v2.8.3 [INFO] [stderr] Downloaded plist v1.8.0 [INFO] [stderr] Downloaded comrak v0.15.0 [INFO] [stderr] Downloaded pest_meta v2.8.3 [INFO] [stderr] Downloaded pest_generator v2.8.3 [INFO] [stderr] Downloaded fancy-regex v0.16.2 [INFO] [stderr] Downloaded pest v2.8.3 [INFO] [stderr] Downloaded quick-xml v0.38.3 [INFO] [stderr] Downloaded onig_sys v69.9.1 [INFO] [stderr] Downloaded syntect v5.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fb21154d7bd4e3b3c62cc8427b4f2050bc67227b907c1fc6629e6666bccadf9a [INFO] running `Command { std: "docker" "start" "-a" "fb21154d7bd4e3b3c62cc8427b4f2050bc67227b907c1fc6629e6666bccadf9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fb21154d7bd4e3b3c62cc8427b4f2050bc67227b907c1fc6629e6666bccadf9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fb21154d7bd4e3b3c62cc8427b4f2050bc67227b907c1fc6629e6666bccadf9a", kill_on_drop: false }` [INFO] [stdout] fb21154d7bd4e3b3c62cc8427b4f2050bc67227b907c1fc6629e6666bccadf9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+51de2e90f91fdec6cf64ff542a4e15b9c177a797" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2bd2b921406e8a75d338b2f976af068c69ec4647fe630d73d2427523b2bca64 [INFO] running `Command { std: "docker" "start" "-a" "d2bd2b921406e8a75d338b2f976af068c69ec4647fe630d73d2427523b2bca64", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Compiling find-msvc-tools v0.1.3 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rustix v1.1.2 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Checking deranged v0.5.4 [INFO] [stderr] Checking bit-vec v0.8.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking hashbrown v0.16.0 [INFO] [stderr] Checking time-core v0.1.6 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking crc32fast v1.5.0 [INFO] [stderr] Compiling cc v1.2.40 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking bit-set v0.8.0 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking entities v1.0.1 [INFO] [stderr] Checking flate2 v1.1.4 [INFO] [stderr] Checking xdg v2.5.2 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking quick-xml v0.38.3 [INFO] [stderr] Checking serde_json v1.0.145 [INFO] [stderr] Checking pest v2.8.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking indexmap v2.11.4 [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stderr] Checking terminal_size v0.4.3 [INFO] [stderr] Checking clap_builder v4.5.48 [INFO] [stderr] Compiling pest_meta v2.8.3 [INFO] [stderr] Compiling onig_sys v69.9.1 [INFO] [stderr] Checking regex-automata v0.4.11 [INFO] [stderr] Checking time v0.3.44 [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/51de2e90f91fdec6cf64ff542a4e15b9c177a797/library/core/src/str/mod.rs:1378: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] | required by this formatting parameter [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] 178 | "let output: IResult<_, _> = {}({});\n", [INFO] [stdout] | -- required by this formatting parameter [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] | required by this formatting parameter [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/51de2e90f91fdec6cf64ff542a4e15b9c177a797/library/core/src/str/mod.rs:161: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/51de2e90f91fdec6cf64ff542a4e15b9c177a797/library/alloc/src/string.rs:2772: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" "d2bd2b921406e8a75d338b2f976af068c69ec4647fe630d73d2427523b2bca64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2bd2b921406e8a75d338b2f976af068c69ec4647fe630d73d2427523b2bca64", kill_on_drop: false }` [INFO] [stdout] d2bd2b921406e8a75d338b2f976af068c69ec4647fe630d73d2427523b2bca64