[INFO] cloning repository https://github.com/davidMcneil/unified-dynamic-rust-app-config [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davidMcneil/unified-dynamic-rust-app-config" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdavidMcneil%2Funified-dynamic-rust-app-config", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdavidMcneil%2Funified-dynamic-rust-app-config'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8f08f3ec6a6a5c12fbd1e3cdbcaf8db7139bba48 [INFO] checking davidMcneil/unified-dynamic-rust-app-config/8f08f3ec6a6a5c12fbd1e3cdbcaf8db7139bba48 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FdavidMcneil%2Funified-dynamic-rust-app-config" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/davidMcneil/unified-dynamic-rust-app-config on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/davidMcneil/unified-dynamic-rust-app-config [INFO] finished tweaking git repo https://github.com/davidMcneil/unified-dynamic-rust-app-config [INFO] tweaked toml for git repo https://github.com/davidMcneil/unified-dynamic-rust-app-config written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/davidMcneil/unified-dynamic-rust-app-config 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/habitat-sh/structopt.git` [INFO] [stderr] Updating git repository `https://github.com/habitat-sh/clap.git` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded colosseum v0.2.2 [INFO] [stderr] Downloaded serde_json v1.0.46 [INFO] [stderr] Downloaded proc_macro_roids v0.7.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.8 [INFO] [stderr] Downloaded syn v1.0.14 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c326474d3253b993c1020d5bcc32536b62f2abb7f4489d7ed82024d3f1995924 [INFO] running `Command { std: "docker" "start" "-a" "c326474d3253b993c1020d5bcc32536b62f2abb7f4489d7ed82024d3f1995924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c326474d3253b993c1020d5bcc32536b62f2abb7f4489d7ed82024d3f1995924", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c326474d3253b993c1020d5bcc32536b62f2abb7f4489d7ed82024d3f1995924", kill_on_drop: false }` [INFO] [stdout] c326474d3253b993c1020d5bcc32536b62f2abb7f4489d7ed82024d3f1995924 [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 728ccd377192a3b6575aaa3de0f22c0be314a2990d36623357ff8ba9f42c0164 [INFO] running `Command { std: "docker" "start" "-a" "728ccd377192a3b6575aaa3de0f22c0be314a2990d36623357ff8ba9f42c0164", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking colosseum v0.2.2 [INFO] [stderr] Checking unicode-xid v0.2.0 [INFO] [stderr] Checking clap v2.33.0 (https://github.com/habitat-sh/clap.git?branch=v2-master#88208fba) [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking quote v1.0.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking proc_macro_roids v0.7.0 [INFO] [stderr] Checking configopt-derive v0.1.0 (/opt/rustwide/workdir/configopt-derive) [INFO] [stdout] warning: unused import: `try_from_error::generate as try_from_error` [INFO] [stdout] --> configopt-derive/src/configopt_type/generate.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use try_from_error::generate as try_from_error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `try_from_error::generate as try_from_error` [INFO] [stdout] --> configopt-derive/src/configopt_type/generate.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use try_from_error::generate as try_from_error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stdout] warning: unused import: `try_from_error::generate as try_from_error` [INFO] [stdout] --> configopt-derive/src/configopt_type/generate.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub use try_from_error::generate as try_from_error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling structopt-derive v0.4.6 (https://github.com/habitat-sh/structopt.git#48e591de) [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking structopt v0.3.13 (https://github.com/habitat-sh/structopt.git#48e591de) [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking serde_json v1.0.46 [INFO] [stderr] Checking configopt v0.1.0 (/opt/rustwide/workdir/configopt) [INFO] [stdout] warning: associated functions `new` and `with_capacity` are never used [INFO] [stdout] --> configopt/src/arena_trait.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Arena { [INFO] [stdout] | ----- associated functions in this trait [INFO] [stdout] 5 | fn new() -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | [INFO] [stdout] 7 | fn with_capacity(n: usize) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> configopt/tests/duration.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 48 | #[derive(ConfigOpt, StructOpt, Debug, Deserialize, PartialEq)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] 49 | #[configopt(derive(Debug, PartialEq), attrs(serde))] [INFO] [stdout] 50 | #[serde(deny_unknown_fields)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> configopt/examples/test.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(ConfigOpt, StructOpt, Debug, Deserialize, PartialEq)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] 7 | #[configopt(derive(Debug, PartialEq), attrs(serde))] [INFO] [stdout] 8 | #[serde(deny_unknown_fields)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> configopt/tests/test_bool.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(ConfigOpt, StructOpt, Debug, Deserialize, PartialEq)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] 9 | #[configopt(derive(Debug, PartialEq), attrs(serde))] [INFO] [stdout] 10 | #[serde(deny_unknown_fields)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> configopt/tests/test_bool.rs:61:7 [INFO] [stdout] | [INFO] [stdout] 59 | #[derive(ConfigOpt, StructOpt, Debug, Deserialize, PartialEq)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] 60 | #[configopt(derive(Debug, PartialEq), attrs(serde))] [INFO] [stdout] 61 | #[serde(deny_unknown_fields)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> configopt/tests/custom_parser_and_to_os_string.rs:20:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[derive(ConfigOpt, StructOpt, Debug, Deserialize, PartialEq)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] 19 | #[configopt(derive(Debug, PartialEq), attrs(serde))] [INFO] [stdout] 20 | #[serde(deny_unknown_fields)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> configopt/tests/test_all_types.rs:8:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(ConfigOpt, StructOpt, Debug, Deserialize, PartialEq)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] 8 | #[structopt(rename_all = "camelcase")] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] = note: `#[warn(legacy_derive_helpers)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `custom` is never read [INFO] [stdout] --> configopt/tests/empty_string.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 4 | struct MyStruct { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 5 | #[structopt(long, empty_values = false)] [INFO] [stdout] 6 | custom: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MyStruct` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> configopt/tests/test_all_types.rs:10:3 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(ConfigOpt, StructOpt, Debug, Deserialize, PartialEq)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] ... [INFO] [stdout] 10 | #[serde(deny_unknown_fields)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> configopt/tests/test_all_types.rs:55:3 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(ConfigOpt, StructOpt, Debug, Deserialize, PartialEq)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] 54 | #[configopt(derive(Debug, PartialEq), attrs(serde))] [INFO] [stdout] 55 | #[serde(deny_unknown_fields)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: derive helper attribute is used before it is introduced [INFO] [stdout] --> configopt/tests/test_all_types.rs:68:3 [INFO] [stdout] | [INFO] [stdout] 66 | #[derive(ConfigOpt, StructOpt, Debug, Deserialize, PartialEq)] [INFO] [stdout] | --------- the attribute is introduced here [INFO] [stdout] 67 | #[configopt(derive(Debug, PartialEq), attrs(serde))] [INFO] [stdout] 68 | #[serde(deny_unknown_fields)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79202 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> configopt/tests/no_wrap.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(ConfigOpt, StructOpt, Debug)] [INFO] [stdout] | ^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `ConfigOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `with_capacity` are never used [INFO] [stdout] --> configopt/src/arena_trait.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub trait Arena { [INFO] [stdout] | ----- associated functions in this trait [INFO] [stdout] 5 | fn new() -> Self; [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | [INFO] [stdout] 7 | fn with_capacity(n: usize) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> configopt/tests/test_all_types.rs:53:10 [INFO] [stdout] | [INFO] [stdout] 53 | #[derive(ConfigOpt, StructOpt, Debug, Deserialize, PartialEq)] [INFO] [stdout] | ^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `ConfigOpt` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.45s [INFO] running `Command { std: "docker" "inspect" "728ccd377192a3b6575aaa3de0f22c0be314a2990d36623357ff8ba9f42c0164", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "728ccd377192a3b6575aaa3de0f22c0be314a2990d36623357ff8ba9f42c0164", kill_on_drop: false }` [INFO] [stdout] 728ccd377192a3b6575aaa3de0f22c0be314a2990d36623357ff8ba9f42c0164