[INFO] fetching crate env-extract 0.1.22...
[INFO] testing env-extract-0.1.22 against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] extracting crate env-extract 0.1.22 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate env-extract 0.1.22
[INFO] finished tweaking crates.io crate env-extract 0.1.22
[INFO] tweaked toml for crates.io crate env-extract 0.1.22 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate env-extract 0.1.22 on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "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" "+0abe69e6c16114311cc2700e972492e64d69c28f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 4 packages to latest compatible versions
[INFO] [stderr]       Adding syn v1.0.109 (available: v2.0.117)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 325d14ca2f1ad5ecb8b338ac41962b9ed7c7472be0fd68a0b9372ce438b10d28
[INFO] running `Command { std: "docker" "start" "-a" "325d14ca2f1ad5ecb8b338ac41962b9ed7c7472be0fd68a0b9372ce438b10d28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "325d14ca2f1ad5ecb8b338ac41962b9ed7c7472be0fd68a0b9372ce438b10d28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "325d14ca2f1ad5ecb8b338ac41962b9ed7c7472be0fd68a0b9372ce438b10d28", kill_on_drop: false }`
[INFO] [stdout] 325d14ca2f1ad5ecb8b338ac41962b9ed7c7472be0fd68a0b9372ce438b10d28
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 0e15132be6dedfb245d6ef957bfda672a577256e8f3c88bd4bff7a40fd78aca6
[INFO] running `Command { std: "docker" "start" "-a" "0e15132be6dedfb245d6ef957bfda672a577256e8f3c88bd4bff7a40fd78aca6", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling env-extract v0.1.22 (/opt/rustwide/workdir)
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/lib.rs:453:56
[INFO] [stdout]     |
[INFO] [stdout] 453 |                         if let Some(_attr) = attributes.clone().iter().find(|attr| {
[INFO] [stdout]     |                                                        ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `[Attribute]` does not implement `Clone`, so calling `clone` on `&[Attribute]` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.51s
[INFO] running `Command { std: "docker" "inspect" "0e15132be6dedfb245d6ef957bfda672a577256e8f3c88bd4bff7a40fd78aca6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0e15132be6dedfb245d6ef957bfda672a577256e8f3c88bd4bff7a40fd78aca6", kill_on_drop: false }`
[INFO] [stdout] 0e15132be6dedfb245d6ef957bfda672a577256e8f3c88bd4bff7a40fd78aca6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 149661d19a1f13b9f4c502a2334e88f1198b91ccf763f6196013395a2c67c49e
[INFO] running `Command { std: "docker" "start" "-a" "149661d19a1f13b9f4c502a2334e88f1198b91ccf763f6196013395a2c67c49e", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling env-extract v0.1.22 (/opt/rustwide/workdir)
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/lib.rs:453:56
[INFO] [stdout]     |
[INFO] [stdout] 453 |                         if let Some(_attr) = attributes.clone().iter().find(|attr| {
[INFO] [stdout]     |                                                        ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `[Attribute]` does not implement `Clone`, so calling `clone` on `&[Attribute]` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stdout]    --> src/lib.rs:453:56
[INFO] [stdout]     |
[INFO] [stdout] 453 |                         if let Some(_attr) = attributes.clone().iter().find(|attr| {
[INFO] [stdout]     |                                                        ^^^^^^^^ help: remove this redundant call
[INFO] [stdout]     |
[INFO] [stdout]     = note: the type `[Attribute]` does not implement `Clone`, so calling `clone` on `&[Attribute]` copies the reference, which does not do anything and can be removed
[INFO] [stdout]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 5.51s
[INFO] running `Command { std: "docker" "inspect" "149661d19a1f13b9f4c502a2334e88f1198b91ccf763f6196013395a2c67c49e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "149661d19a1f13b9f4c502a2334e88f1198b91ccf763f6196013395a2c67c49e", kill_on_drop: false }`
[INFO] [stdout] 149661d19a1f13b9f4c502a2334e88f1198b91ccf763f6196013395a2c67c49e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] b2a2bdc980bc919af91846c3d2a0a461ffb41d3fc7ed739f06fb4709512f5380
[INFO] running `Command { std: "docker" "start" "-a" "b2a2bdc980bc919af91846c3d2a0a461ffb41d3fc7ed739f06fb4709512f5380", kill_on_drop: false }`
[INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing
[INFO] [stderr]    --> src/lib.rs:453:56
[INFO] [stderr]     |
[INFO] [stderr] 453 |                         if let Some(_attr) = attributes.clone().iter().find(|attr| {
[INFO] [stderr]     |                                                        ^^^^^^^^ help: remove this redundant call
[INFO] [stderr]     |
[INFO] [stderr]     = note: the type `[Attribute]` does not implement `Clone`, so calling `clone` on `&[Attribute]` copies the reference, which does not do anything and can be removed
[INFO] [stderr]     = note: `#[warn(noop_method_call)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `env-extract` (lib) generated 1 warning (run `cargo fix --lib -p env-extract` to apply 1 suggestion)
[INFO] [stderr] warning: `env-extract` (lib test) generated 1 warning (1 duplicate)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/env_extract-16157699f3a6063a)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-6b29b2ed8e962e02)
[INFO] [stdout] 
[INFO] [stdout] running 16 tests
[INFO] [stdout] test tests::test_case_conversion_lowercase ... ok
[INFO] [stdout] test tests::test_case_conversion_any ... ok
[INFO] [stdout] test tests::test_case_conversion_uppercase ... ok
[INFO] [stdout] test tests::test_exact_match ... ok
[INFO] [stdout] test tests::test_extract_enum_from_env_failure_with_var_name ... ok
[INFO] [stdout] test tests::test_extract_enum_from_env_failure ... ok
[INFO] [stdout] test tests::test_extract_enum_from_env_success_with_var_name ... ok
[INFO] [stdout] test tests::test_invalid_value ... ok
[INFO] [stdout] test tests::test_extract_enum_from_env_failure_with_case_uppercase ... ok
[INFO] [stdout] test tests::test_extract_enum_from_env_success_with_case_uppercase ... ok
[INFO] [stdout] test tests::test_populate_struct_from_env_success ... ok
[INFO] [stdout] test tests::test_populate_struct_from_env_with_default_success ... ok
[INFO] [stdout] test tests::test_default_value_success ... ok
[INFO] [stdout] test tests::test_extract_enum_from_env_success_with_panic_on_invalid ... ok
[INFO] [stdout] test tests::test_populate_struct_from_env_failure - should panic ... ok
[INFO] [stdout] test tests::test_extract_enum_from_env_failure_with_panic_on_invalid - should panic ... ok
[INFO] [stderr]    Doc-tests env_extract
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 4 tests
[INFO] [stdout] test src/lib.rs - (line 20) ... ok
[INFO] [stdout] test src/lib.rs - enum_from_env (line 165) ... ok
[INFO] [stdout] test src/lib.rs - env_for_struct (line 492) ... ok
[INFO] [stdout] test src/lib.rs - (line 84) ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.55s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "b2a2bdc980bc919af91846c3d2a0a461ffb41d3fc7ed739f06fb4709512f5380", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b2a2bdc980bc919af91846c3d2a0a461ffb41d3fc7ed739f06fb4709512f5380", kill_on_drop: false }`
[INFO] [stdout] b2a2bdc980bc919af91846c3d2a0a461ffb41d3fc7ed739f06fb4709512f5380
