[INFO] cloning repository https://github.com/chorman0773/cargo-native-install [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chorman0773/cargo-native-install" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchorman0773%2Fcargo-native-install", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchorman0773%2Fcargo-native-install'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eaa254e9582acba039a3f333b2cb4558a76425cb [INFO] checking chorman0773/cargo-native-install/eaa254e9582acba039a3f333b2cb4558a76425cb against try#b28cc4eb48a6415b914e8ad0308be255ff8d73ed for pr-156508-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchorman0773%2Fcargo-native-install" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/chorman0773/cargo-native-install [INFO] finished tweaking git repo https://github.com/chorman0773/cargo-native-install [INFO] tweaked toml for git repo https://github.com/chorman0773/cargo-native-install written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/chorman0773/cargo-native-install on toolchain b28cc4eb48a6415b914e8ad0308be255ff8d73ed [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/chorman0773/cargo-native-install 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" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44e43f4a8bea817cc182263e341b371975e781314ecad3732d513c92b997f9b5 [INFO] running `Command { std: "docker" "start" "-a" "44e43f4a8bea817cc182263e341b371975e781314ecad3732d513c92b997f9b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44e43f4a8bea817cc182263e341b371975e781314ecad3732d513c92b997f9b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44e43f4a8bea817cc182263e341b371975e781314ecad3732d513c92b997f9b5", kill_on_drop: false }` [INFO] [stdout] 44e43f4a8bea817cc182263e341b371975e781314ecad3732d513c92b997f9b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+b28cc4eb48a6415b914e8ad0308be255ff8d73ed" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6988487fa0cb11f74d1f8bb3ebb9098745fd88e91214e2cb5f9bb93da96f56fe [INFO] running `Command { std: "docker" "start" "-a" "6988487fa0cb11f74d1f8bb3ebb9098745fd88e91214e2cb5f9bb93da96f56fe", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling libc v0.2.86 [INFO] [stderr] Compiling cargo-native-install v0.3.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking which v4.0.2 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking install-dirs v0.2.1 [INFO] [stderr] Checking cargo_toml v0.8.1 [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/main.rs:334:20 [INFO] [stdout] | [INFO] [stdout] 334 | for product in &manifest.lib { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 334 - for product in &manifest.lib { [INFO] [stdout] 334 + while let Some(product) = &manifest.lib { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 334 - for product in &manifest.lib { [INFO] [stdout] 334 + if let Some(product) = &manifest.lib { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: for loop over a `&Option`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/main.rs:334:20 [INFO] [stdout] | [INFO] [stdout] 334 | for product in &manifest.lib { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(for_loops_over_fallibles)]` on by default [INFO] [stdout] help: to check pattern in a loop use `while let` [INFO] [stdout] | [INFO] [stdout] 334 - for product in &manifest.lib { [INFO] [stdout] 334 + while let Some(product) = &manifest.lib { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 334 - for product in &manifest.lib { [INFO] [stdout] 334 + if let Some(product) = &manifest.lib { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.69s [INFO] running `Command { std: "docker" "inspect" "6988487fa0cb11f74d1f8bb3ebb9098745fd88e91214e2cb5f9bb93da96f56fe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6988487fa0cb11f74d1f8bb3ebb9098745fd88e91214e2cb5f9bb93da96f56fe", kill_on_drop: false }` [INFO] [stdout] 6988487fa0cb11f74d1f8bb3ebb9098745fd88e91214e2cb5f9bb93da96f56fe