[INFO] fetching crate better-config 0.2.2... [INFO] checking better-config-0.2.2 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate better-config 0.2.2 into /workspace/builds/worker-2-tc2/source [INFO] removed /workspace/builds/worker-2-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate better-config 0.2.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate better-config 0.2.2 [INFO] tweaked toml for crates.io crate better-config 0.2.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate better-config 0.2.2 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 better-config 0.2.2 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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 615ae9b1ef079f3078090dd1c334a0f1779c170c379f6dd5410dc71d190a16d1 [INFO] running `Command { std: "docker" "start" "-a" "615ae9b1ef079f3078090dd1c334a0f1779c170c379f6dd5410dc71d190a16d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "615ae9b1ef079f3078090dd1c334a0f1779c170c379f6dd5410dc71d190a16d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "615ae9b1ef079f3078090dd1c334a0f1779c170c379f6dd5410dc71d190a16d1", kill_on_drop: false }` [INFO] [stdout] 615ae9b1ef079f3078090dd1c334a0f1779c170c379f6dd5410dc71d190a16d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 7095e74af93818cc69cd211e3149d2ef67d44649c941ce358542efceb319c9e2 [INFO] running `Command { std: "docker" "start" "-a" "7095e74af93818cc69cd211e3149d2ef67d44649c941ce358542efceb319c9e2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking winnow v0.7.12 [INFO] [stderr] Compiling serde_yml v0.0.12 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Checking libyml v0.0.5 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking trim-in-place v0.1.7 [INFO] [stderr] Checking sdd v3.0.10 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking better-config-core v0.2.2 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling better-config-derive v0.2.2 [INFO] [stderr] Checking scc v2.4.0 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking rust-ini v0.21.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking serial_test v3.2.0 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking serde_json v1.0.143 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking better-config-loader v0.2.2 [INFO] [stderr] Checking better-config v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/ini-basic.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[env(IniConfig)] [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 attribute macro `env` (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/basic-args-prefix.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[env(EnvConfig(prefix = "APP_"))] [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 attribute macro `env` (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/basic.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[env(EnvConfig)] [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 attribute macro `env` (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/basic-args-target.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[env(EnvConfig(prefix = "BETTER_", target = ".env.prod,.env.staging,.env.dev"))] [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 attribute macro `env` (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/basic-getter.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[env(EnvConfig(prefix = "BETTER_", target = ".env.prod,.env.staging,.env.dev"))] [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 attribute macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `better-config` (test "ini-basic") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `better-config` (test "basic-args-prefix") due to 1 previous error [INFO] [stderr] error: could not compile `better-config` (test "basic") due to 1 previous error [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/toml-baisc.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[env(TomlConfig)] [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 attribute macro `env` (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/basic-nested.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[env(EnvConfig(target = ".env.nested"))] [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 attribute macro `env` (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/basic-nested.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | #[env(EnvConfig(prefix = "DATABASE_", target = ".env.nested"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `better-config` (test "basic-args-target") due to 1 previous error [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/json-nested.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[env(JsonConfig(target = "config-nested.json"))] [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 attribute macro `env` (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/json-basic.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[env(JsonConfig)] [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 attribute macro `env` (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/json-nested.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | #[env(JsonConfig(prefix = "database.", target = "config-nested.json"))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the attribute macro `env` (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/basic-from-str.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | #[env(EnvConfig)] [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 attribute macro `env` (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/yml-basic.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | #[env(YmlConfig)] [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 attribute macro `env` (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/basic-params.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | #[env(EnvConfig)] [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 attribute macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `better-config` (test "basic-getter") due to 1 previous error [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/custom_loader.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | #[env(custom::Config)] [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 attribute macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `better-config` (test "toml-baisc") due to 1 previous error [INFO] [stderr] error: could not compile `better-config` (test "basic-nested") due to 2 previous errors [INFO] [stderr] error: could not compile `better-config` (test "json-basic") due to 1 previous error [INFO] [stderr] error: could not compile `better-config` (test "json-nested") due to 2 previous errors [INFO] [stderr] error: could not compile `better-config` (test "yml-basic") due to 1 previous error [INFO] [stderr] error: could not compile `better-config` (test "basic-from-str") due to 1 previous error [INFO] [stderr] error: could not compile `better-config` (test "basic-params") due to 1 previous error [INFO] [stderr] error: could not compile `better-config` (test "custom_loader") due to 1 previous error [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> tests/basic-with-derive.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | #[env(EnvConfig)] [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 attribute macro `env` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `better-config` (test "basic-with-derive") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "7095e74af93818cc69cd211e3149d2ef67d44649c941ce358542efceb319c9e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7095e74af93818cc69cd211e3149d2ef67d44649c941ce358542efceb319c9e2", kill_on_drop: false }` [INFO] [stdout] 7095e74af93818cc69cd211e3149d2ef67d44649c941ce358542efceb319c9e2