[INFO] cloning repository https://github.com/muyz-sudo/vscode-helper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/muyz-sudo/vscode-helper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuyz-sudo%2Fvscode-helper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuyz-sudo%2Fvscode-helper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d82091ba883f57d9c8a4ecc4593115577287a8ff [INFO] building muyz-sudo/vscode-helper against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuyz-sudo%2Fvscode-helper" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/muyz-sudo/vscode-helper [INFO] finished tweaking git repo https://github.com/muyz-sudo/vscode-helper [INFO] tweaked toml for git repo https://github.com/muyz-sudo/vscode-helper written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/muyz-sudo/vscode-helper on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/muyz-sudo/vscode-helper 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded async-stream v0.3.2 [INFO] [stderr] Downloaded async-stream-impl v0.3.2 [INFO] [stderr] Downloaded console v0.15.0 [INFO] [stderr] Downloaded indicatif v0.16.2 [INFO] [stderr] Downloaded clap_derive v3.0.14 [INFO] [stderr] Downloaded anyhow v1.0.53 [INFO] [stderr] Downloaded tracing v0.1.30 [INFO] [stderr] Downloaded serde_json v1.0.78 [INFO] [stderr] Downloaded os_str_bytes v6.0.0 [INFO] [stderr] Downloaded terminal_size v0.1.17 [INFO] [stderr] Downloaded tokio-test v0.4.2 [INFO] [stderr] Downloaded clap v3.0.14 [INFO] [stderr] Downloaded libc v0.2.117 [INFO] [stderr] Downloaded tokio v1.16.1 [INFO] [stderr] Downloaded tokio-stream v0.1.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 11f1c70b4eef9f7ec6c386fa17b0a846a4e94dd7508b0a8a265301369fee82b9 [INFO] running `Command { std: "docker" "start" "-a" "11f1c70b4eef9f7ec6c386fa17b0a846a4e94dd7508b0a8a265301369fee82b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "11f1c70b4eef9f7ec6c386fa17b0a846a4e94dd7508b0a8a265301369fee82b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "11f1c70b4eef9f7ec6c386fa17b0a846a4e94dd7508b0a8a265301369fee82b9", kill_on_drop: false }` [INFO] [stdout] 11f1c70b4eef9f7ec6c386fa17b0a846a4e94dd7508b0a8a265301369fee82b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b726df4234462458420b66161775ffa0b9c58f5a64ec84e0e61ae63aab01eb2 [INFO] running `Command { std: "docker" "start" "-a" "1b726df4234462458420b66161775ffa0b9c58f5a64ec84e0e61ae63aab01eb2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling openssl-probe v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling tracing v0.1.30 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling openssl-sys v0.9.72 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling terminal_size v0.1.17 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling native-tls v0.2.8 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling console v0.15.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling colored v2.0.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling indicatif v0.16.2 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling clap_derive v3.0.14 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling tokio v1.16.1 [INFO] [stderr] Compiling clap v3.0.14 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.9 [INFO] [stderr] Compiling vscode-helper v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.37s [INFO] running `Command { std: "docker" "inspect" "1b726df4234462458420b66161775ffa0b9c58f5a64ec84e0e61ae63aab01eb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b726df4234462458420b66161775ffa0b9c58f5a64ec84e0e61ae63aab01eb2", kill_on_drop: false }` [INFO] [stdout] 1b726df4234462458420b66161775ffa0b9c58f5a64ec84e0e61ae63aab01eb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a6d88d5bd33478976f5b60f38a0c11ba9cb39cc9004985a38cc4247f3ca37d0d [INFO] running `Command { std: "docker" "start" "-a" "a6d88d5bd33478976f5b60f38a0c11ba9cb39cc9004985a38cc4247f3ca37d0d", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling async-stream-impl v0.3.2 [INFO] [stderr] Compiling clap_derive v3.0.14 [INFO] [stderr] Compiling async-stream v0.3.2 [INFO] [stderr] Compiling tokio v1.16.1 [INFO] [stderr] Compiling clap v3.0.14 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling tokio-stream v0.1.8 [INFO] [stderr] Compiling tokio-test v0.4.2 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.9 [INFO] [stderr] Compiling vscode-helper v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: for loop over a `&Result`. This is more readably written as an `if let` statement [INFO] [stdout] --> src/main.rs:119:26 [INFO] [stdout] | [INFO] [stdout] 119 | for extension in &extensions { [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] 119 - for extension in &extensions { [INFO] [stdout] 119 + while let Ok(extension) = &extensions { [INFO] [stdout] | [INFO] [stdout] help: consider using `if let` to clear intent [INFO] [stdout] | [INFO] [stdout] 119 - for extension in &extensions { [INFO] [stdout] 119 + if let Ok(extension) = &extensions { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 24.02s [INFO] running `Command { std: "docker" "inspect" "a6d88d5bd33478976f5b60f38a0c11ba9cb39cc9004985a38cc4247f3ca37d0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a6d88d5bd33478976f5b60f38a0c11ba9cb39cc9004985a38cc4247f3ca37d0d", kill_on_drop: false }` [INFO] [stdout] a6d88d5bd33478976f5b60f38a0c11ba9cb39cc9004985a38cc4247f3ca37d0d