[INFO] fetching crate pgetopts 0.1.2...
[INFO] checking pgetopts-0.1.2 against try#31561a63598a0f21fc74c024747ef1310fdd2eb2 for pr-133536
[INFO] extracting crate pgetopts 0.1.2 into /workspace/builds/worker-3-tc2/source
[INFO] validating manifest of crates.io crate pgetopts 0.1.2 on toolchain 31561a63598a0f21fc74c024747ef1310fdd2eb2
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate pgetopts 0.1.2
[INFO] finished tweaking crates.io crate pgetopts 0.1.2
[INFO] tweaked toml for crates.io crate pgetopts 0.1.2 written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 3 packages to latest compatible versions
[INFO] [stderr]       Adding ansi_term v0.6.3 (available: v0.12.1)
[INFO] [stderr]       Adding log v0.3.9 (available: v0.4.22)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 728dadd2d17aaf40e2159048e9e88b5f0780a1b647344f84bba33ffa9ad98f99
[INFO] running `Command { std: "docker" "start" "-a" "728dadd2d17aaf40e2159048e9e88b5f0780a1b647344f84bba33ffa9ad98f99", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "728dadd2d17aaf40e2159048e9e88b5f0780a1b647344f84bba33ffa9ad98f99", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "728dadd2d17aaf40e2159048e9e88b5f0780a1b647344f84bba33ffa9ad98f99", kill_on_drop: false }`
[INFO] [stdout] 728dadd2d17aaf40e2159048e9e88b5f0780a1b647344f84bba33ffa9ad98f99
[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" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+31561a63598a0f21fc74c024747ef1310fdd2eb2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fb64a561ff5e43e094cdb2a06d745db9caa87dbcf88599771ac7dbbacdf39f78
[INFO] running `Command { std: "docker" "start" "-a" "fb64a561ff5e43e094cdb2a06d745db9caa87dbcf88599771ac7dbbacdf39f78", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking ansi_term v0.6.3
[INFO] [stderr]     Checking pgetopts v0.1.2 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/lib.rs:686:28
[INFO] [stdout]     |
[INFO] [stdout] 686 |                 name: Long((long_name)),
[INFO] [stdout]     |                            ^         ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 686 -                 name: Long((long_name)),
[INFO] [stdout] 686 +                 name: Long(long_name),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/lib.rs:698:28
[INFO] [stdout]     |
[INFO] [stdout] 698 |                 name: Long((long_name)),
[INFO] [stdout]     |                            ^         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 698 -                 name: Long((long_name)),
[INFO] [stdout] 698 +                 name: Long(long_name),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/lib.rs:686:28
[INFO] [stdout]     |
[INFO] [stdout] 686 |                 name: Long((long_name)),
[INFO] [stdout]     |                            ^         ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 686 -                 name: Long((long_name)),
[INFO] [stdout] 686 +                 name: Long(long_name),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around function argument
[INFO] [stdout]    --> src/lib.rs:698:28
[INFO] [stdout]     |
[INFO] [stdout] 698 |                 name: Long((long_name)),
[INFO] [stdout]     |                            ^         ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 698 -                 name: Long((long_name)),
[INFO] [stdout] 698 +                 name: Long(long_name),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::slice::<impl [T]>::connect`: renamed to join
[INFO] [stdout]    --> src/lib.rs:436:29
[INFO] [stdout]     |
[INFO] [stdout] 436 | ...                   .connect(" "));
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 436 |                            .join(" "));
[INFO] [stdout]     |                             ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::slice::<impl [T]>::connect`: renamed to join
[INFO] [stdout]    --> src/lib.rs:520:37
[INFO] [stdout]     |
[INFO] [stdout] 520 |             row.push_str(&desc_rows.connect(&desc_sep));
[INFO] [stdout]     |                                     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 520 |             row.push_str(&desc_rows.join(&desc_sep));
[INFO] [stdout]     |                                     ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::slice::<impl [T]>::connect`: renamed to join
[INFO] [stdout]    --> src/lib.rs:526:47
[INFO] [stdout]     |
[INFO] [stdout] 526 |                 rows.collect::<Vec<String>>().connect("\n"))
[INFO] [stdout]     |                                               ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 526 |                 rows.collect::<Vec<String>>().join("\n"))
[INFO] [stdout]     |                                               ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::slice::<impl [T]>::connect`: renamed to join
[INFO] [stdout]    --> src/lib.rs:436:29
[INFO] [stdout]     |
[INFO] [stdout] 436 | ...                   .connect(" "));
[INFO] [stdout]     |                        ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 436 |                            .join(" "));
[INFO] [stdout]     |                             ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::slice::<impl [T]>::connect`: renamed to join
[INFO] [stdout]    --> src/lib.rs:520:37
[INFO] [stdout]     |
[INFO] [stdout] 520 |             row.push_str(&desc_rows.connect(&desc_sep));
[INFO] [stdout]     |                                     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 520 |             row.push_str(&desc_rows.join(&desc_sep));
[INFO] [stdout]     |                                     ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0503]: cannot use `state` because it was mutably borrowed
[INFO] [stdout]    --> src/lib.rs:976:25
[INFO] [stdout]     |
[INFO] [stdout] 923 |     let mut machine = |cont: &mut bool, (i, c): (usize, char)| {
[INFO] [stdout]     |                       ---------------------------------------- `state` is borrowed here
[INFO] [stdout] ...
[INFO] [stdout] 927 |         state = match (state, whitespace, limit) {
[INFO] [stdout]     |         ----- borrow occurs due to use of `state` in closure
[INFO] [stdout] ...
[INFO] [stdout] 976 |     while cont && match state { B | C => true, A => false } {
[INFO] [stdout]     |                         ^^^^^ use of borrowed `state`
[INFO] [stdout] 977 |         machine(&mut cont, (fake_i, ' '));
[INFO] [stdout]     |         ------- borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::slice::<impl [T]>::connect`: renamed to join
[INFO] [stdout]    --> src/lib.rs:526:47
[INFO] [stdout]     |
[INFO] [stdout] 526 |                 rows.collect::<Vec<String>>().connect("\n"))
[INFO] [stdout]     |                                               ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]     |
[INFO] [stdout] 526 |                 rows.collect::<Vec<String>>().join("\n"))
[INFO] [stdout]     |                                               ~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0503`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pgetopts` (lib) due to 1 previous error; 5 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0503]: cannot use `state` because it was mutably borrowed
[INFO] [stdout]    --> src/lib.rs:976:25
[INFO] [stdout]     |
[INFO] [stdout] 923 |     let mut machine = |cont: &mut bool, (i, c): (usize, char)| {
[INFO] [stdout]     |                       ---------------------------------------- `state` is borrowed here
[INFO] [stdout] ...
[INFO] [stdout] 927 |         state = match (state, whitespace, limit) {
[INFO] [stdout]     |         ----- borrow occurs due to use of `state` in closure
[INFO] [stdout] ...
[INFO] [stdout] 976 |     while cont && match state { B | C => true, A => false } {
[INFO] [stdout]     |                         ^^^^^ use of borrowed `state`
[INFO] [stdout] 977 |         machine(&mut cont, (fake_i, ' '));
[INFO] [stdout]     |         ------- borrow later used here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0503`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `pgetopts` (lib test) due to 1 previous error; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "fb64a561ff5e43e094cdb2a06d745db9caa87dbcf88599771ac7dbbacdf39f78", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb64a561ff5e43e094cdb2a06d745db9caa87dbcf88599771ac7dbbacdf39f78", kill_on_drop: false }`
[INFO] [stdout] fb64a561ff5e43e094cdb2a06d745db9caa87dbcf88599771ac7dbbacdf39f78
