[INFO] cloning repository https://github.com/moriyoshi-kasuga/envman [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/moriyoshi-kasuga/envman" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoriyoshi-kasuga%2Fenvman", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoriyoshi-kasuga%2Fenvman'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ec573ea3d3894eff7e6bcab7012369e607d1cb35 [INFO] checking moriyoshi-kasuga/envman against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmoriyoshi-kasuga%2Fenvman" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-3-tc2/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/moriyoshi-kasuga/envman [INFO] finished tweaking git repo https://github.com/moriyoshi-kasuga/envman [INFO] tweaked toml for git repo https://github.com/moriyoshi-kasuga/envman written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/moriyoshi-kasuga/envman 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] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] [stderr] Adding convert_case v0.8.0 (available: v0.9.0) [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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] afe3bd4ea2fac9b37c00b301cc9b19da3d47ad0f65c12f30f76cadbff09a459a [INFO] running `Command { std: "docker" "start" "-a" "afe3bd4ea2fac9b37c00b301cc9b19da3d47ad0f65c12f30f76cadbff09a459a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "afe3bd4ea2fac9b37c00b301cc9b19da3d47ad0f65c12f30f76cadbff09a459a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "afe3bd4ea2fac9b37c00b301cc9b19da3d47ad0f65c12f30f76cadbff09a459a", kill_on_drop: false }` [INFO] [stdout] afe3bd4ea2fac9b37c00b301cc9b19da3d47ad0f65c12f30f76cadbff09a459a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] c3c3c3c6793de9e5f7000513771731a8f23efbf9c5cba9cbba1c7adcd4eab64a [INFO] running `Command { std: "docker" "start" "-a" "c3c3c3c6793de9e5f7000513771731a8f23efbf9c5cba9cbba1c7adcd4eab64a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Checking unicode-ident v1.0.22 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling convert_case v0.8.0 [INFO] [stderr] Checking syn v2.0.110 [INFO] [stderr] Checking envman_derive_internals v2.1.0 (/opt/rustwide/workdir/envman_derive_internals) [INFO] [stderr] Checking envman_derive v2.1.0 (/opt/rustwide/workdir/envman_derive) [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Checking envman v2.1.0 (/opt/rustwide/workdir/envman) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> envman/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] --> envman/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] --> envman/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] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> envman/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 "option_test") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> envman/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 "rename_test") due to 1 previous error [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> envman/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] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> envman/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] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> envman/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] [stderr] error: could not compile `envman` (test "array_test") due to 2 previous errors [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> envman/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] [stderr] error: could not compile `envman` (test "alltime_parse_test") due to 1 previous error [INFO] [stderr] error: could not compile `envman` (test "default_test") due to 1 previous error [INFO] [stderr] error: could not compile `envman` (test "normal_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 "secret_test") due to 2 previous errors [INFO] [stderr] error: could not compile `envman` (example "webapi") due to 1 previous error [INFO] [stderr] error: could not compile `envman` (test "validation_advanced_test") due to 1 previous error [INFO] [stdout] warning: field `required_field` is never read [INFO] [stdout] --> envman/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] --> envman/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] --> envman/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] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> envman/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] --> envman/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] --> envman/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 "error_test") due to 1 previous error; 1 warning emitted [INFO] [stderr] error: could not compile `envman` (test "test_test") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "c3c3c3c6793de9e5f7000513771731a8f23efbf9c5cba9cbba1c7adcd4eab64a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3c3c3c6793de9e5f7000513771731a8f23efbf9c5cba9cbba1c7adcd4eab64a", kill_on_drop: false }` [INFO] [stdout] c3c3c3c6793de9e5f7000513771731a8f23efbf9c5cba9cbba1c7adcd4eab64a