[INFO] fetching crate kcheck 0.1.3... [INFO] checking kcheck-0.1.3 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate kcheck 0.1.3 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate kcheck 0.1.3 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate kcheck 0.1.3 [INFO] finished tweaking crates.io crate kcheck 0.1.3 [INFO] tweaked toml for crates.io crate kcheck 0.1.3 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate crates.io crate kcheck 0.1.3 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_spanned v0.6.4 [INFO] [stderr] Downloaded kcheck-utils v0.1.3 [INFO] [stderr] Downloaded toml v0.8.6 [INFO] [stderr] Downloaded winnow v0.5.17 [INFO] [stderr] Downloaded nix v0.27.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e0121e0b75f3033bd70ec237caef08ae5ab3e426a7aad5d893031a8f7b3cba4 [INFO] running `Command { std: "docker" "start" "-a" "7e0121e0b75f3033bd70ec237caef08ae5ab3e426a7aad5d893031a8f7b3cba4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e0121e0b75f3033bd70ec237caef08ae5ab3e426a7aad5d893031a8f7b3cba4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e0121e0b75f3033bd70ec237caef08ae5ab3e426a7aad5d893031a8f7b3cba4", kill_on_drop: false }` [INFO] [stdout] 7e0121e0b75f3033bd70ec237caef08ae5ab3e426a7aad5d893031a8f7b3cba4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b1032585304296f20da50fa9236e8e8e03f034803109b4197a3f99bb48bcce4 [INFO] running `Command { std: "docker" "start" "-a" "8b1032585304296f20da50fa9236e8e8e03f034803109b4197a3f99bb48bcce4", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.69 [INFO] [stderr] Compiling serde v1.0.190 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking hashbrown v0.14.2 [INFO] [stderr] Compiling libc v0.2.149 [INFO] [stderr] Compiling serde_json v1.0.107 [INFO] [stderr] Checking winnow v0.5.17 [INFO] [stderr] Compiling thiserror v1.0.50 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking kcheck-utils v0.1.3 [INFO] [stderr] Checking indexmap v2.0.2 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.38 [INFO] [stderr] Checking nix v0.27.1 [INFO] [stderr] Compiling serde_derive v1.0.190 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Checking serde_spanned v0.6.4 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking toml_edit v0.20.7 [INFO] [stderr] Checking toml v0.8.6 [INFO] [stderr] Checking kcheck v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/config.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/config.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use serde_json; [INFO] [stdout] | ^^^^^^^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fragment` [INFO] [stdout] --> src/config.rs:127:32 [INFO] [stdout] | [INFO] [stdout] 127 | fn add_fragment(&mut self, fragment: KcheckConfigFragment) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fragment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/kconfig.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | fn new(name: String, state: KconfigState) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/kconfig.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | fn new(name: String, state: KconfigState) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `option` [INFO] [stdout] --> src/kernel.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | fn get_option(&self, option: String) -> KconfigState { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `desired_option` [INFO] [stdout] --> src/kernel.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | fn check_option(&self, desired_option: String, desired_state: KconfigState) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_desired_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `desired_state` [INFO] [stdout] --> src/kernel.rs:62:52 [INFO] [stdout] | [INFO] [stdout] 62 | fn check_option(&self, desired_option: String, desired_state: KconfigState) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_desired_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_fragment` and `is_empty` are never used [INFO] [stdout] --> src/config.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl KcheckConfig { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 127 | fn add_fragment(&mut self, fragment: KcheckConfigFragment) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/kconfig.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl KconfigOption { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 54 | /// Create a new `KconfigOption` [INFO] [stdout] 55 | fn new(name: String, state: KconfigState) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/kernel.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct KernelConfig(String); [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `KernelConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | pub struct KernelConfig(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_option` and `check_option` are never used [INFO] [stdout] --> src/kernel.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl KernelConfig { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | fn get_option(&self, option: String) -> KconfigState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn check_option(&self, desired_option: String, desired_state: KconfigState) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fragment` [INFO] [stdout] --> src/config.rs:127:32 [INFO] [stdout] | [INFO] [stdout] 127 | fn add_fragment(&mut self, fragment: KcheckConfigFragment) { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fragment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/kconfig.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 55 | fn new(name: String, state: KconfigState) -> Self { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/kconfig.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | fn new(name: String, state: KconfigState) -> Self { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `option` [INFO] [stdout] --> src/kernel.rs:55:26 [INFO] [stdout] | [INFO] [stdout] 55 | fn get_option(&self, option: String) -> KconfigState { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `desired_option` [INFO] [stdout] --> src/kernel.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | fn check_option(&self, desired_option: String, desired_state: KconfigState) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_desired_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `desired_state` [INFO] [stdout] --> src/kernel.rs:62:52 [INFO] [stdout] | [INFO] [stdout] 62 | fn check_option(&self, desired_option: String, desired_state: KconfigState) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_desired_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_fragment` and `is_empty` are never used [INFO] [stdout] --> src/config.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 56 | impl KcheckConfig { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 127 | fn add_fragment(&mut self, fragment: KcheckConfigFragment) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/kconfig.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl KconfigOption { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 54 | /// Create a new `KconfigOption` [INFO] [stdout] 55 | fn new(name: String, state: KconfigState) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/kernel.rs:15:25 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct KernelConfig(String); [INFO] [stdout] | ------------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `KernelConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | pub struct KernelConfig(()); [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_option` and `check_option` are never used [INFO] [stdout] --> src/kernel.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 17 | impl KernelConfig { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 55 | fn get_option(&self, option: String) -> KconfigState { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | fn check_option(&self, desired_option: String, desired_state: KconfigState) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.04s [INFO] running `Command { std: "docker" "inspect" "8b1032585304296f20da50fa9236e8e8e03f034803109b4197a3f99bb48bcce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b1032585304296f20da50fa9236e8e8e03f034803109b4197a3f99bb48bcce4", kill_on_drop: false }` [INFO] [stdout] 8b1032585304296f20da50fa9236e8e8e03f034803109b4197a3f99bb48bcce4