[INFO] fetching crate kconfig-linux 0.1.1... [INFO] checking kconfig-linux-0.1.1 against try#38c2997544af84fe301d600d6896397738163002 for pr-154205-1 [INFO] extracting crate kconfig-linux 0.1.1 into /workspace/builds/worker-6-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate kconfig-linux 0.1.1 on toolchain 38c2997544af84fe301d600d6896397738163002 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "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" "+38c2997544af84fe301d600d6896397738163002" "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.18) [INFO] [stderr] Adding uuid v0.8.2 (available: v1.22.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7de99847b9ee846d0210d342b7118e97d2c59da5f0fcc9acb62853aaf6454da5 [INFO] running `Command { std: "docker" "start" "-a" "7de99847b9ee846d0210d342b7118e97d2c59da5f0fcc9acb62853aaf6454da5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7de99847b9ee846d0210d342b7118e97d2c59da5f0fcc9acb62853aaf6454da5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7de99847b9ee846d0210d342b7118e97d2c59da5f0fcc9acb62853aaf6454da5", kill_on_drop: false }` [INFO] [stdout] 7de99847b9ee846d0210d342b7118e97d2c59da5f0fcc9acb62853aaf6454da5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+38c2997544af84fe301d600d6896397738163002" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 63b1afd2d4bddcb16d9f010b1c7358c822f67a580efb9e8f8ac103b9c46c53a3 [INFO] running `Command { std: "docker" "start" "-a" "63b1afd2d4bddcb16d9f010b1c7358c822f67a580efb9e8f8ac103b9c46c53a3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.183 [INFO] [stderr] Checking memchr v2.8.0 [INFO] [stderr] Compiling anyhow v1.0.102 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking getrandom v0.2.17 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking regex-automata v0.4.14 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking regex v1.12.3 [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [FMTARGS] {"crate":"kconfig_linux","loc":"src/errors/parser_error.rs:27:16","p":2,"ph":3,"wa":0,"pa":0,"a":3,"pos":3,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":3,"a_opt":3,"sz_no_dedup":48,"sz_old":48,"sz_opt":48} [INFO] [stderr] [FMTARGS] {"crate":"kconfig_linux","loc":"src/errors/parser_error.rs:38:16","p":2,"ph":3,"wa":0,"pa":0,"a":3,"pos":3,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":3,"a_opt":3,"sz_no_dedup":48,"sz_old":48,"sz_opt":48} [INFO] [stderr] [FMTARGS] {"crate":"kconfig_linux","loc":"src/parser/kconfig_parser_impl/source_line_parser.rs:21:36","p":2,"ph":2,"wa":0,"pa":0,"a":2,"pos":2,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stderr] [FMTARGS] {"crate":"kconfig_linux","loc":"src/parser/kconfig_parser_impl/source_line_parser.rs:41:53","p":1,"ph":2,"wa":0,"pa":0,"a":2,"pos":2,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stderr] [FMTARGS] {"crate":"kconfig_linux","loc":"src/parser/utils/parse_node_header_and_get_name.rs:15:21","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"kconfig_linux","loc":"src/parser/utils/parse_node_header_and_get_name.rs:22:21","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"kconfig_linux","loc":"src/parser/utils/substitute_variables_in_string.rs:10:43","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"kconfig_linux","loc":"src/parser/utils/substitute_variables_in_string.rs:11:43","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"kconfig_linux","loc":"src/errors/parser_error.rs:6:12","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":0,"named":1,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"kconfig_linux","loc":"src/errors/parser_error.rs:9:12","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":0,"named":1,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"kconfig_linux","loc":"src/errors/parser_error.rs:12:12","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":0,"named":1,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"kconfig_linux","loc":"src/errors/parser_error.rs:15:12","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":0,"named":1,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [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] 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/38c2997544af84fe301d600d6896397738163002/library/core/src/str/mod.rs:1363:4 [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/38c2997544af84fe301d600d6896397738163002/library/core/src/str/mod.rs:1363:4 [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/38c2997544af84fe301d600d6896397738163002/library/core/src/str/mod.rs:1363:4 [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] 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)]` (part of `#[warn(unused)]`) 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[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/38c2997544af84fe301d600d6896397738163002/library/core/src/str/mod.rs:1363:4 [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/38c2997544af84fe301d600d6896397738163002/library/core/src/str/mod.rs:1363:4 [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] [stderr] [FMTARGS] {"crate":"kconfig_linux","loc":"src/errors/parser_error.rs:27:16","p":2,"ph":3,"wa":0,"pa":0,"a":3,"pos":3,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":3,"a_opt":3,"sz_no_dedup":48,"sz_old":48,"sz_opt":48} [INFO] [stderr] [FMTARGS] {"crate":"kconfig_linux","loc":"src/errors/parser_error.rs:38:16","p":2,"ph":3,"wa":0,"pa":0,"a":3,"pos":3,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":3,"a_opt":3,"sz_no_dedup":48,"sz_old":48,"sz_opt":48} [INFO] [stderr] [FMTARGS] {"crate":"kconfig_linux","loc":"src/parser/kconfig_parser_impl/source_line_parser.rs:21:36","p":2,"ph":2,"wa":0,"pa":0,"a":2,"pos":2,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stderr] [FMTARGS] {"crate":"kconfig_linux","loc":"src/parser/kconfig_parser_impl/source_line_parser.rs:41:53","p":1,"ph":2,"wa":0,"pa":0,"a":2,"pos":2,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [INFO] [stderr] [FMTARGS] {"crate":"kconfig_linux","loc":"src/parser/utils/parse_node_header_and_get_name.rs:15:21","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"kconfig_linux","loc":"src/parser/utils/parse_node_header_and_get_name.rs:22:21","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"kconfig_linux","loc":"src/parser/utils/substitute_variables_in_string.rs:10:43","p":1,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"kconfig_linux","loc":"src/parser/utils/substitute_variables_in_string.rs:11:43","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"kconfig_linux","loc":"src/errors/parser_error.rs:6:12","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":0,"named":1,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"kconfig_linux","loc":"src/errors/parser_error.rs:9:12","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":0,"named":1,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"kconfig_linux","loc":"src/errors/parser_error.rs:12:12","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":0,"named":1,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"kconfig_linux","loc":"src/errors/parser_error.rs:15:12","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":0,"named":1,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"kconfig_linux","loc":"src/test_suite/basic.rs:16:13","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"kconfig_linux","loc":"src/test_suite/basic.rs:17:13","p":2,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"kconfig_linux","loc":"src/test_suite/live.rs:18:23","p":0,"ph":1,"wa":0,"pa":0,"a":1,"pos":1,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":1,"a_opt":1,"sz_no_dedup":16,"sz_old":16,"sz_opt":16} [INFO] [stderr] [FMTARGS] {"crate":"kconfig_linux","loc":"src/test_suite/live.rs:19:13","p":3,"ph":2,"wa":0,"pa":0,"a":2,"pos":2,"named":0,"cap":0,"ucap":0,"dup":0,"const":0,"constparam":0,"other_dup":0,"d2":0,"d3":0,"d4p":0,"deduped":0,"remaining":0,"a_old":2,"a_opt":2,"sz_no_dedup":32,"sz_old":32,"sz_opt":32} [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_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/38c2997544af84fe301d600d6896397738163002/library/core/src/str/mod.rs:1363:4 [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/38c2997544af84fe301d600d6896397738163002/library/core/src/str/mod.rs:1363:4 [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/38c2997544af84fe301d600d6896397738163002/library/core/src/str/mod.rs:1363:4 [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_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/38c2997544af84fe301d600d6896397738163002/library/core/src/str/mod.rs:1363:4 [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/38c2997544af84fe301d600d6896397738163002/library/core/src/str/mod.rs:1363:4 [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/38c2997544af84fe301d600d6896397738163002/library/core/src/str/mod.rs:1363:4 [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/38c2997544af84fe301d600d6896397738163002/library/core/src/str/mod.rs:1363:4 [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/38c2997544af84fe301d600d6896397738163002/library/core/src/str/mod.rs:1363:4 [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/38c2997544af84fe301d600d6896397738163002/library/core/src/str/mod.rs:1363:4 [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] Some errors have detailed explanations: E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [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/38c2997544af84fe301d600d6896397738163002/library/core/src/str/mod.rs:1363:4 [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] [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] 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/38c2997544af84fe301d600d6896397738163002/library/core/src/str/mod.rs:1363:4 [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] 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)]` (part of `#[warn(unused)]`) 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" "63b1afd2d4bddcb16d9f010b1c7358c822f67a580efb9e8f8ac103b9c46c53a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63b1afd2d4bddcb16d9f010b1c7358c822f67a580efb9e8f8ac103b9c46c53a3", kill_on_drop: false }` [INFO] [stdout] 63b1afd2d4bddcb16d9f010b1c7358c822f67a580efb9e8f8ac103b9c46c53a3