[INFO] fetching crate envman 2.1.0... [INFO] checking envman-2.1.0 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate envman 2.1.0 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate envman 2.1.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate envman 2.1.0 [INFO] tweaked toml for crates.io crate envman 2.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate envman 2.1.0 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate envman 2.1.0 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eb0bb3b405d83e86249c2b780ee1b87393c5c11f2b4432015aa3d4ecae5737bf [INFO] running `Command { std: "docker" "start" "-a" "eb0bb3b405d83e86249c2b780ee1b87393c5c11f2b4432015aa3d4ecae5737bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eb0bb3b405d83e86249c2b780ee1b87393c5c11f2b4432015aa3d4ecae5737bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eb0bb3b405d83e86249c2b780ee1b87393c5c11f2b4432015aa3d4ecae5737bf", kill_on_drop: false }` [INFO] [stdout] eb0bb3b405d83e86249c2b780ee1b87393c5c11f2b4432015aa3d4ecae5737bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a176a1a46b6487df36e43a4396400142c8eab858c8b0fe32a491fd913ed0ddf [INFO] running `Command { std: "docker" "start" "-a" "2a176a1a46b6487df36e43a4396400142c8eab858c8b0fe32a491fd913ed0ddf", kill_on_drop: false }` [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.108 [INFO] [stderr] Compiling envman_derive_internals v2.1.0 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling envman_derive v2.1.0 [INFO] [stderr] Checking thiserror v2.0.17 [INFO] [stderr] Checking envman v2.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> examples/webapi.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | #[derive(EnvMan)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the derive macro `EnvMan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/array_test.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(EnvMan)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the derive macro `EnvMan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/array_test.rs:57:10 [INFO] [stdout] | [INFO] [stdout] 57 | #[derive(EnvMan)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `EnvMan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `envman` (test "array_test") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `envman` (example "webapi") due to 1 previous error [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/alltime_parse_test.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(EnvMan, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the derive macro `EnvMan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `envman` (test "alltime_parse_test") due to 1 previous error [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/rename_test.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(EnvMan, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the derive macro `EnvMan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `envman` (test "rename_test") due to 1 previous error [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/default_test.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(EnvMan, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the derive macro `EnvMan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/validation_advanced_test.rs:44:10 [INFO] [stdout] | [INFO] [stdout] 44 | #[derive(EnvMan)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the derive macro `EnvMan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `envman` (test "validation_advanced_test") due to 1 previous error [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/option_test.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(EnvMan, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the derive macro `EnvMan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/secret_test.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(EnvMan, EnvManDebug)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the derive macro `EnvMan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/secret_test.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | #[derive(EnvMan, EnvManDebug)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `EnvMan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `envman` (test "option_test") due to 1 previous error [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/rename_all_test.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(EnvMan, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the derive macro `EnvMan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/normal_test.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(EnvMan, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the derive macro `EnvMan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `envman` (test "secret_test") due to 2 previous errors [INFO] [stderr] error: could not compile `envman` (test "normal_test") due to 1 previous error [INFO] [stdout] warning: field `required_field` is never read [INFO] [stdout] --> tests/error_test.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct MissingConfig { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 34 | pub required_field: String, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MissingConfig` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/error_test.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | #[derive(EnvMan, Debug)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the derive macro `EnvMan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/test_test.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | #[derive(EnvMan, Debug, PartialEq)] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] = note: this error originates in the derive macro `EnvMan` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `envman` (test "default_test") due to 1 previous error [INFO] [stderr] error: could not compile `envman` (test "test_test") due to 1 previous error [INFO] [stderr] error: could not compile `envman` (test "rename_all_test") due to 1 previous error [INFO] [stderr] error: could not compile `envman` (test "error_test") due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "2a176a1a46b6487df36e43a4396400142c8eab858c8b0fe32a491fd913ed0ddf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a176a1a46b6487df36e43a4396400142c8eab858c8b0fe32a491fd913ed0ddf", kill_on_drop: false }` [INFO] [stdout] 2a176a1a46b6487df36e43a4396400142c8eab858c8b0fe32a491fd913ed0ddf