[INFO] fetching crate kconfig-linux 0.1.1... [INFO] checking kconfig-linux-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate kconfig-linux 0.1.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate kconfig-linux 0.1.1 [INFO] finished tweaking crates.io crate kconfig-linux 0.1.1 [INFO] tweaked toml for crates.io crate kconfig-linux 0.1.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate kconfig-linux 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 17 packages to latest compatible versions [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] [stderr] Adding uuid v0.8.2 (available: v1.18.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44a6068e082302553bfbdd1033676998bc9a6e4b8f1bb4d013a4f9ecc4aa2e45 [INFO] running `Command { std: "docker" "start" "-a" "44a6068e082302553bfbdd1033676998bc9a6e4b8f1bb4d013a4f9ecc4aa2e45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44a6068e082302553bfbdd1033676998bc9a6e4b8f1bb4d013a4f9ecc4aa2e45", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44a6068e082302553bfbdd1033676998bc9a6e4b8f1bb4d013a4f9ecc4aa2e45", kill_on_drop: false }` [INFO] [stdout] 44a6068e082302553bfbdd1033676998bc9a6e4b8f1bb4d013a4f9ecc4aa2e45 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aab35b8d38a13f596e6f648a0f7227a0a5adc5dd70e6b2fba267e4397a246d28 [INFO] running `Command { std: "docker" "start" "-a" "aab35b8d38a13f596e6f648a0f7227a0a5adc5dd70e6b2fba267e4397a246d28", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking regex-syntax v0.8.6 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking kconfig-linux v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/parser/kconfig_parser_impl/kconfig_config_node_parser.rs:47:43 [INFO] [stdout] | [INFO] [stdout] 47 | \tdepends on SAJTOS && KIFLI\n\ [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 48 | | [INFO] [stdout] 49 | | \thelp\n\ [INFO] [stdout] | |____________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::structure::kconfig_node_children::KconfigNodeChildren` [INFO] [stdout] --> src/structure/nodes/kconfig_menuconfig_node.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::structure::kconfig_node_children::KconfigNodeChildren; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `option_result_contains` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(option_result_contains)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple lines skipped by escaped newline [INFO] [stdout] --> src/parser/kconfig_parser_impl/kconfig_config_node_parser.rs:47:43 [INFO] [stdout] | [INFO] [stdout] 47 | \tdepends on SAJTOS && KIFLI\n\ [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 48 | | [INFO] [stdout] 49 | | \thelp\n\ [INFO] [stdout] | |____________^ skipping everything up to and including this point [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ParseableWithUnknownSpan` and `ParsingContext` [INFO] [stdout] --> src/structure/kconfig_node_children.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | ParseableWithUnknownSpan, ParsingContext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::utils::parse_span::ParseSpan` [INFO] [stdout] --> src/structure/kconfig_node_children.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | use crate::parser::utils::parse_span::ParseSpan; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KconfigHelpProperty` [INFO] [stdout] --> src/structure/kconfig_node_children.rs:57:50 [INFO] [stdout] | [INFO] [stdout] 57 | ConfigType, KconfigDependenciesProperty, KconfigHelpProperty, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::structure::kconfig_node_children::KconfigNodeChildren` [INFO] [stdout] --> src/structure/nodes/kconfig_menuconfig_node.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::structure::kconfig_node_children::KconfigNodeChildren; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `option_result_contains` [INFO] [stdout] --> src/lib.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(option_result_contains)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Option` in the current scope [INFO] [stdout] --> src/parser/kconfig_parser_impl/kconfig_menu_node_parser.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 16 | if !header_tokens.next() [INFO] [stdout] | _________- [INFO] [stdout] 17 | | .contains(&MENU_KEYWORD) { [INFO] [stdout] | | -^^^^^^^^ method not found in `Option<&str>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] note: the method `contains` exists on the type `&str` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:1340: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] 16 | if !header_tokens.next().expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Option` in the current scope [INFO] [stdout] --> src/parser/kconfig_parser_impl/kconfig_dependency_parser.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 12 | if !tokens.next() [INFO] [stdout] | _____________- [INFO] [stdout] 13 | | .contains(&DEPENDS_KEYWORD) { [INFO] [stdout] | | -^^^^^^^^ method not found in `Option<&str>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] note: the method `contains` exists on the type `&str` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:1340: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] 12 | if !tokens.next().expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Option` in the current scope [INFO] [stdout] --> src/parser/kconfig_parser_impl/kconfig_dependency_parser.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 17 | if !tokens.next() [INFO] [stdout] | _____________- [INFO] [stdout] 18 | | .contains(&ON_KEYWORD) { [INFO] [stdout] | | -^^^^^^^^ method not found in `Option<&str>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] note: the method `contains` exists on the type `&str` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:1340: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] 17 | if !tokens.next().expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Option` in the current scope [INFO] [stdout] --> src/parser/kconfig_parser_impl/kconfig_if_node_parser.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 15 | if !header_tokens.next() [INFO] [stdout] | _____________- [INFO] [stdout] 16 | | .contains(&IF_KEYWORD) [INFO] [stdout] | | -^^^^^^^^ method not found in `Option<&str>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] note: the method `contains` exists on the type `&str` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:1340: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] 15 | if !header_tokens.next().expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Option` in the current scope [INFO] [stdout] --> src/parser/kconfig_parser_impl/source_line_parser.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | if !tokens.next().contains(&SOURCE_KEYWORD) { [INFO] [stdout] | ^^^^^^^^ method not found in `Option<&str>` [INFO] [stdout] | [INFO] [stdout] note: the method `contains` exists on the type `&str` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:1340: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] 17 | if !tokens.next().expect("REASON").contains(&SOURCE_KEYWORD) { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Option` in the current scope [INFO] [stdout] --> src/parser/kconfig_parser_impl/kconfig_reverse_dependency_parser.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | if tokens.next().contains(&IF_KEYWORD) { [INFO] [stdout] | ^^^^^^^^ method not found in `Option<&str>` [INFO] [stdout] | [INFO] [stdout] note: the method `contains` exists on the type `&str` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:1340:5 [INFO] [stdout] help: use the `?` operator to extract the `&str` value, propagating an `Option::None` value to the caller [INFO] [stdout] | [INFO] [stdout] 10 | if tokens.next()?.contains(&IF_KEYWORD) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Option` in the current scope [INFO] [stdout] --> src/parser/kconfig_parser_impl/kconfig_reverse_dependency_parser.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 25 | if !tokens.next() [INFO] [stdout] | _____________- [INFO] [stdout] 26 | | .contains(&SELECT_KEYWORD) { [INFO] [stdout] | | -^^^^^^^^ method not found in `Option<&str>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] note: the method `contains` exists on the type `&str` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:1340: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] 25 | if !tokens.next().expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Option` in the current scope [INFO] [stdout] --> src/parser/kconfig_parser_impl/kconfig_menu_node_parser.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 16 | if !header_tokens.next() [INFO] [stdout] | _________- [INFO] [stdout] 17 | | .contains(&MENU_KEYWORD) { [INFO] [stdout] | | -^^^^^^^^ method not found in `Option<&str>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] note: the method `contains` exists on the type `&str` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:1340: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] 16 | if !header_tokens.next().expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Option` in the current scope [INFO] [stdout] --> src/parser/utils/tokenizer.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | if self.at_char.contains(&'"') { [INFO] [stdout] | ^^^^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Option` in the current scope [INFO] [stdout] --> src/parser/utils/tokenizer.rs:69:55 [INFO] [stdout] | [INFO] [stdout] 69 | at_char != '"' && !iter.last_char.contains(&'\\') [INFO] [stdout] | ^^^^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Option` in the current scope [INFO] [stdout] --> src/parser/kconfig_parser_impl/kconfig_dependency_parser.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 12 | if !tokens.next() [INFO] [stdout] | _____________- [INFO] [stdout] 13 | | .contains(&DEPENDS_KEYWORD) { [INFO] [stdout] | | -^^^^^^^^ method not found in `Option<&str>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] note: the method `contains` exists on the type `&str` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:1340: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] 12 | if !tokens.next().expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Option` in the current scope [INFO] [stdout] --> src/parser/utils/tokenizer.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | } else if self.at_char.contains(&'#') { [INFO] [stdout] | ^^^^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Option` in the current scope [INFO] [stdout] --> src/parser/kconfig_parser_impl/kconfig_dependency_parser.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 17 | if !tokens.next() [INFO] [stdout] | _____________- [INFO] [stdout] 18 | | .contains(&ON_KEYWORD) { [INFO] [stdout] | | -^^^^^^^^ method not found in `Option<&str>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] note: the method `contains` exists on the type `&str` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:1340: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] 17 | if !tokens.next().expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Option` in the current scope [INFO] [stdout] --> src/parser/utils/parse_node_header_and_get_name.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 12 | if !header_tokens.next() [INFO] [stdout] | _________- [INFO] [stdout] 13 | | .contains(&expected_keyword) { [INFO] [stdout] | | -^^^^^^^^ method not found in `Option<&str>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] note: the method `contains` exists on the type `&str` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:1340: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] 12 | if !header_tokens.next().expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Option` in the current scope [INFO] [stdout] --> src/parser/kconfig_parser_impl/kconfig_if_node_parser.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 15 | if !header_tokens.next() [INFO] [stdout] | _____________- [INFO] [stdout] 16 | | .contains(&IF_KEYWORD) [INFO] [stdout] | | -^^^^^^^^ method not found in `Option<&str>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] note: the method `contains` exists on the type `&str` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:1340: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] 15 | if !header_tokens.next().expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Option` in the current scope [INFO] [stdout] --> src/parser/kconfig_parser_impl/source_line_parser.rs:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | if !tokens.next().contains(&SOURCE_KEYWORD) { [INFO] [stdout] | ^^^^^^^^ method not found in `Option<&str>` [INFO] [stdout] | [INFO] [stdout] note: the method `contains` exists on the type `&str` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:1340: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] 17 | if !tokens.next().expect("REASON").contains(&SOURCE_KEYWORD) { [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Option` in the current scope [INFO] [stdout] --> src/parser/kconfig_parser_impl/kconfig_reverse_dependency_parser.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | if tokens.next().contains(&IF_KEYWORD) { [INFO] [stdout] | ^^^^^^^^ method not found in `Option<&str>` [INFO] [stdout] | [INFO] [stdout] note: the method `contains` exists on the type `&str` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:1340:5 [INFO] [stdout] help: use the `?` operator to extract the `&str` value, propagating an `Option::None` value to the caller [INFO] [stdout] | [INFO] [stdout] 10 | if tokens.next()?.contains(&IF_KEYWORD) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Option` in the current scope [INFO] [stdout] --> src/parser/kconfig_parser_impl/kconfig_reverse_dependency_parser.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 25 | if !tokens.next() [INFO] [stdout] | _____________- [INFO] [stdout] 26 | | .contains(&SELECT_KEYWORD) { [INFO] [stdout] | | -^^^^^^^^ method not found in `Option<&str>` [INFO] [stdout] | |_____________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] note: the method `contains` exists on the type `&str` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:1340: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] 25 | if !tokens.next().expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Option` in the current scope [INFO] [stdout] --> src/parser/utils/tokenizer.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | if self.at_char.contains(&'"') { [INFO] [stdout] | ^^^^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Option` in the current scope [INFO] [stdout] --> src/parser/utils/tokenizer.rs:69:55 [INFO] [stdout] | [INFO] [stdout] 69 | at_char != '"' && !iter.last_char.contains(&'\\') [INFO] [stdout] | ^^^^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Option` in the current scope [INFO] [stdout] --> src/parser/utils/tokenizer.rs:74:32 [INFO] [stdout] | [INFO] [stdout] 74 | } else if self.at_char.contains(&'#') { [INFO] [stdout] | ^^^^^^^^ method not found in `Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `contains` found for enum `Option` in the current scope [INFO] [stdout] --> src/parser/utils/parse_node_header_and_get_name.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 12 | if !header_tokens.next() [INFO] [stdout] | _________- [INFO] [stdout] 13 | | .contains(&expected_keyword) { [INFO] [stdout] | | -^^^^^^^^ method not found in `Option<&str>` [INFO] [stdout] | |_________| [INFO] [stdout] | [INFO] [stdout] | [INFO] [stdout] note: the method `contains` exists on the type `&str` [INFO] [stdout] --> /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/str/mod.rs:1340: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] 12 | if !header_tokens.next().expect("REASON") [INFO] [stdout] | +++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kconfig-linux` (lib) due to 12 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `span` [INFO] [stdout] --> src/parser/kconfig_parser_impl/kconfig_config_node_parser.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | let (config, span) = KconfigConfigNode::parse_with_unknown_span( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_span` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `kconfig-linux` (lib test) due to 12 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "aab35b8d38a13f596e6f648a0f7227a0a5adc5dd70e6b2fba267e4397a246d28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aab35b8d38a13f596e6f648a0f7227a0a5adc5dd70e6b2fba267e4397a246d28", kill_on_drop: false }` [INFO] [stdout] aab35b8d38a13f596e6f648a0f7227a0a5adc5dd70e6b2fba267e4397a246d28