[INFO] cloning repository https://github.com/mathcrosp/scanner [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mathcrosp/scanner" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmathcrosp%2Fscanner", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmathcrosp%2Fscanner'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa8567c4df765fcb75eae8b8d1f045419413f6e6 [INFO] checking mathcrosp/scanner/fa8567c4df765fcb75eae8b8d1f045419413f6e6 against master#36b21637e93b038453924d3c66821089e71d8baa for pr-143164 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmathcrosp%2Fscanner" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mathcrosp/scanner [INFO] finished tweaking git repo https://github.com/mathcrosp/scanner [INFO] tweaked toml for git repo https://github.com/mathcrosp/scanner written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mathcrosp/scanner on toolchain 36b21637e93b038453924d3c66821089e71d8baa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mathcrosp/scanner 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" "+36b21637e93b038453924d3c66821089e71d8baa" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded getopts v0.2.14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 980227d431d3e78ffa3afab97545daf25b5082c45f2ecdc630db80991978cc68 [INFO] running `Command { std: "docker" "start" "-a" "980227d431d3e78ffa3afab97545daf25b5082c45f2ecdc630db80991978cc68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "980227d431d3e78ffa3afab97545daf25b5082c45f2ecdc630db80991978cc68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "980227d431d3e78ffa3afab97545daf25b5082c45f2ecdc630db80991978cc68", kill_on_drop: false }` [INFO] [stdout] 980227d431d3e78ffa3afab97545daf25b5082c45f2ecdc630db80991978cc68 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+36b21637e93b038453924d3c66821089e71d8baa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06bab4353e08f7554c86377133673129b509b3d17db98a7b7f3427b3c5117936 [INFO] running `Command { std: "docker" "start" "-a" "06bab4353e08f7554c86377133673129b509b3d17db98a7b7f3427b3c5117936", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking getopts v0.2.14 [INFO] [stdout] error[E0503]: cannot use `state` because it was mutably borrowed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/getopts-0.2.14/src/lib.rs:1008:25 [INFO] [stdout] | [INFO] [stdout] 955 | let mut machine = |cont: &mut bool, (i, c): (usize, char)| { [INFO] [stdout] | ---------------------------------------- `state` is borrowed here [INFO] [stdout] ... [INFO] [stdout] 959 | state = match (state, whitespace, limit) { [INFO] [stdout] | ----- borrow occurs due to use of `state` in closure [INFO] [stdout] ... [INFO] [stdout] 1008 | while cont && match state { B | C => true, A => false } { [INFO] [stdout] | ^^^^^ use of borrowed `state` [INFO] [stdout] 1009 | 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 `getopts` (lib) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "06bab4353e08f7554c86377133673129b509b3d17db98a7b7f3427b3c5117936", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06bab4353e08f7554c86377133673129b509b3d17db98a7b7f3427b3c5117936", kill_on_drop: false }` [INFO] [stdout] 06bab4353e08f7554c86377133673129b509b3d17db98a7b7f3427b3c5117936