[INFO] fetching crate macos-config-check 0.0.1-alpha.1... [INFO] checking macos-config-check-0.0.1-alpha.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate macos-config-check 0.0.1-alpha.1 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate macos-config-check 0.0.1-alpha.1 [INFO] finished tweaking crates.io crate macos-config-check 0.0.1-alpha.1 [INFO] tweaked toml for crates.io crate macos-config-check 0.0.1-alpha.1 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate macos-config-check 0.0.1-alpha.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] crate crates.io crate macos-config-check 0.0.1-alpha.1 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded urlencoding v1.1.1 [INFO] [stderr] Downloaded open v1.4.0 [INFO] [stderr] Downloaded predicates-core v1.0.1 [INFO] [stderr] Downloaded predicates-tree v1.0.1 [INFO] [stderr] Downloaded anyhow v1.0.37 [INFO] [stderr] Downloaded predicates v1.0.6 [INFO] [stderr] Downloaded assert_cmd v1.0.2 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e587b060dc61009ecbdadc8426d86dde0f14ac2f05a50efe6aba6b4ee473be4 [INFO] running `Command { std: "docker" "start" "-a" "6e587b060dc61009ecbdadc8426d86dde0f14ac2f05a50efe6aba6b4ee473be4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e587b060dc61009ecbdadc8426d86dde0f14ac2f05a50efe6aba6b4ee473be4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e587b060dc61009ecbdadc8426d86dde0f14ac2f05a50efe6aba6b4ee473be4", kill_on_drop: false }` [INFO] [stdout] 6e587b060dc61009ecbdadc8426d86dde0f14ac2f05a50efe6aba6b4ee473be4 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 44aeb7db948d03853b906aae8c21f62c2175ac8d24c0a8859bfa11455b899834 [INFO] running `Command { std: "docker" "start" "-a" "44aeb7db948d03853b906aae8c21f62c2175ac8d24c0a8859bfa11455b899834", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking predicates-core v1.0.1 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling anyhow v1.0.37 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Checking textwrap v0.12.1 [INFO] [stderr] Checking os_str_bytes v2.4.0 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking normalize-line-endings v0.3.0 [INFO] [stderr] Checking treeline v0.1.0 [INFO] [stderr] Checking predicates-tree v1.0.1 [INFO] [stderr] Checking urlencoding v1.1.1 [INFO] [stderr] Checking open v1.4.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking colored v2.0.0 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking float-cmp v0.8.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Checking predicates v1.0.6 [INFO] [stderr] Checking simplelog v0.9.0 [INFO] [stderr] Checking assert_cmd v1.0.2 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling clap_derive v3.0.0-beta.2 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking which v4.0.2 [INFO] [stderr] Checking clap v3.0.0-beta.2 [INFO] [stderr] Checking os_info v3.0.1 [INFO] [stderr] Checking macos-config-check v0.0.1-alpha.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `http` [INFO] [stdout] --> src/cmd/bug_report.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "http")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `http` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `http` [INFO] [stdout] --> src/cmd/bug_report.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[cfg(feature = "http")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `http` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `http` [INFO] [stdout] --> src/cmd/bug_report.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | #[cfg(not(feature = "http"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `http` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `http` [INFO] [stdout] --> src/cmd/bug_report.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | #[cfg(feature = "http")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `http` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `http` [INFO] [stdout] --> src/cmd/bug_report.rs:51:7 [INFO] [stdout] | [INFO] [stdout] 51 | #[cfg(feature = "http")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `http` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `http` [INFO] [stdout] --> src/cmd/bug_report.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | #[cfg(not(feature = "http"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `http` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reference` and `confidence` are never read [INFO] [stdout] --> src/checks/model.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct TestConfig<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub reference: &'a str, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | /// indicates subjective estimation of negative side-effects. valid values: "required", "recommended", "experimental". (REQUIRED FIELD) [INFO] [stdout] 8 | pub confidence: Confidence, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `command_fail` and `case_sensitive` are never read [INFO] [stdout] --> src/checks/model.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Test<'a> { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub command_fail: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 40 | /// is "true" or "false" depending on whether the `command_pass` and/or `command_fail` values are case-sensitive. (REQUIRED FIELD) [INFO] [stdout] 41 | pub case_sensitive: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Test` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sudo_command` and `sudo_command_args` are never read [INFO] [stdout] --> src/checks/model.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Fix<'a> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | pub sudo_command: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 51 | pub sudo_command_args: &'a [&'a str], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Fix` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/checks/mod.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | fn find_check_phf(name: &str) -> Option { [INFO] [stdout] | ^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 24 | fn find_check_phf(name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `reference` and `confidence` are never read [INFO] [stdout] --> src/checks/model.rs:6:7 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct TestConfig<'a> { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | pub reference: &'a str, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | /// indicates subjective estimation of negative side-effects. valid values: "required", "recommended", "experimental". (REQUIRED FIELD) [INFO] [stdout] 8 | pub confidence: Confidence, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TestConfig` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `command_fail` and `case_sensitive` are never read [INFO] [stdout] --> src/checks/model.rs:39:7 [INFO] [stdout] | [INFO] [stdout] 30 | pub struct Test<'a> { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 39 | pub command_fail: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 40 | /// is "true" or "false" depending on whether the `command_pass` and/or `command_fail` values are case-sensitive. (REQUIRED FIELD) [INFO] [stdout] 41 | pub case_sensitive: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Test` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `sudo_command` and `sudo_command_args` are never read [INFO] [stdout] --> src/checks/model.rs:50:7 [INFO] [stdout] | [INFO] [stdout] 45 | pub struct Fix<'a> { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 50 | pub sudo_command: &'a str, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 51 | pub sudo_command_args: &'a [&'a str], [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Fix` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/checks/mod.rs:24:25 [INFO] [stdout] | [INFO] [stdout] 24 | fn find_check_phf(name: &str) -> Option { [INFO] [stdout] | ^^^^ ---------- the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 24 | fn find_check_phf(name: &str) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.60s [INFO] running `Command { std: "docker" "inspect" "44aeb7db948d03853b906aae8c21f62c2175ac8d24c0a8859bfa11455b899834", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44aeb7db948d03853b906aae8c21f62c2175ac8d24c0a8859bfa11455b899834", kill_on_drop: false }` [INFO] [stdout] 44aeb7db948d03853b906aae8c21f62c2175ac8d24c0a8859bfa11455b899834