[INFO] cloning repository https://github.com/42wim/edgeupdate-provision [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/42wim/edgeupdate-provision" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F42wim%2Fedgeupdate-provision", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F42wim%2Fedgeupdate-provision'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f28b1f4960c588b8fd20c8b1aac9b1d2681d7ddc [INFO] testing 42wim/edgeupdate-provision against try#d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 for pr-86479 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F42wim%2Fedgeupdate-provision" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/42wim/edgeupdate-provision on toolchain d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/42wim/edgeupdate-provision [INFO] finished tweaking git repo https://github.com/42wim/edgeupdate-provision [INFO] tweaked toml for git repo https://github.com/42wim/edgeupdate-provision written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/42wim/edgeupdate-provision already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f24962f52c6ca041c9c22901d7b67ed1abb510a5bdb5db48bf12fec8572cedc5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f24962f52c6ca041c9c22901d7b67ed1abb510a5bdb5db48bf12fec8572cedc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f24962f52c6ca041c9c22901d7b67ed1abb510a5bdb5db48bf12fec8572cedc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f24962f52c6ca041c9c22901d7b67ed1abb510a5bdb5db48bf12fec8572cedc5", kill_on_drop: false }` [INFO] [stdout] f24962f52c6ca041c9c22901d7b67ed1abb510a5bdb5db48bf12fec8572cedc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27b457e633f37761170069a9abd4237f4259fc9d15ebd7be8d960db6d0dccc39 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "27b457e633f37761170069a9abd4237f4259fc9d15ebd7be8d960db6d0dccc39", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling futures-core v0.3.14 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling openssl v0.10.33 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling futures-sink v0.3.14 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling hex v0.4.3 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.3 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling futures-util v0.3.14 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling openssl-sys v0.9.61 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling http-body v0.4.1 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling tokio-util v0.6.6 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.2 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling hyper v0.14.5 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.3 [INFO] [stderr] Compiling edgeupdate-provision v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::Builder` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tempfile::Builder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fname` [INFO] [stdout] --> src/main.rs:105:11 [INFO] [stdout] | [INFO] [stdout] 105 | let fname = ["MicrosoftEdge_X64_", ring, "_", ringversion, ".exe"].concat(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fname` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `download` [INFO] [stdout] --> src/main.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | async fn download(target: &str, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Sha1` should have a snake case name [INFO] [stdout] --> src/main.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | Sha1: String, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `sha1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Sha256` should have a snake case name [INFO] [stdout] --> src/main.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 38 | Sha256: String, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `sha256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `FileId` should have a snake case name [INFO] [stdout] --> src/main.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | FileId: String, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `file_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Url` should have a snake case name [INFO] [stdout] --> src/main.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 44 | Url: String, [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SizeInBytes` should have a snake case name [INFO] [stdout] --> src/main.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 45 | SizeInBytes: u32, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `size_in_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Hashes` should have a snake case name [INFO] [stdout] --> src/main.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | Hashes: Hashes, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `hashes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 31s [INFO] running `Command { std: "docker" "inspect" "27b457e633f37761170069a9abd4237f4259fc9d15ebd7be8d960db6d0dccc39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27b457e633f37761170069a9abd4237f4259fc9d15ebd7be8d960db6d0dccc39", kill_on_drop: false }` [INFO] [stdout] 27b457e633f37761170069a9abd4237f4259fc9d15ebd7be8d960db6d0dccc39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c4cb964e66a0730f8ff0c6da68257cdadb9e4a9e71308cf4a31657e14e6ed4cc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c4cb964e66a0730f8ff0c6da68257cdadb9e4a9e71308cf4a31657e14e6ed4cc", kill_on_drop: false }` [INFO] [stderr] Compiling edgeupdate-provision v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tempfile::Builder` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use tempfile::Builder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fname` [INFO] [stdout] --> src/main.rs:105:11 [INFO] [stdout] | [INFO] [stdout] 105 | let fname = ["MicrosoftEdge_X64_", ring, "_", ringversion, ".exe"].concat(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fname` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `download` [INFO] [stdout] --> src/main.rs:137:10 [INFO] [stdout] | [INFO] [stdout] 137 | async fn download(target: &str, name: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Sha1` should have a snake case name [INFO] [stdout] --> src/main.rs:37:3 [INFO] [stdout] | [INFO] [stdout] 37 | Sha1: String, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `sha1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Sha256` should have a snake case name [INFO] [stdout] --> src/main.rs:38:3 [INFO] [stdout] | [INFO] [stdout] 38 | Sha256: String, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `sha256` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `FileId` should have a snake case name [INFO] [stdout] --> src/main.rs:43:3 [INFO] [stdout] | [INFO] [stdout] 43 | FileId: String, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `file_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Url` should have a snake case name [INFO] [stdout] --> src/main.rs:44:3 [INFO] [stdout] | [INFO] [stdout] 44 | Url: String, [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `url` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SizeInBytes` should have a snake case name [INFO] [stdout] --> src/main.rs:45:3 [INFO] [stdout] | [INFO] [stdout] 45 | SizeInBytes: u32, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `size_in_bytes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `Hashes` should have a snake case name [INFO] [stdout] --> src/main.rs:46:3 [INFO] [stdout] | [INFO] [stdout] 46 | Hashes: Hashes, [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `hashes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.36s [INFO] running `Command { std: "docker" "inspect" "c4cb964e66a0730f8ff0c6da68257cdadb9e4a9e71308cf4a31657e14e6ed4cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c4cb964e66a0730f8ff0c6da68257cdadb9e4a9e71308cf4a31657e14e6ed4cc", kill_on_drop: false }` [INFO] [stdout] c4cb964e66a0730f8ff0c6da68257cdadb9e4a9e71308cf4a31657e14e6ed4cc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+d2e9fff28e244f1ea4927194f1f9b77f93e2ffe2" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a80b2b52bac42cee4f57f84fd1388e599b3cf2510defe35a41dfb06f18793ba2 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a80b2b52bac42cee4f57f84fd1388e599b3cf2510defe35a41dfb06f18793ba2", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::fs` [INFO] [stderr] --> src/main.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | use std::fs; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `tempfile::Builder` [INFO] [stderr] --> src/main.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | use tempfile::Builder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fname` [INFO] [stderr] --> src/main.rs:105:11 [INFO] [stderr] | [INFO] [stderr] 105 | let fname = ["MicrosoftEdge_X64_", ring, "_", ringversion, ".exe"].concat(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fname` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function is never used: `download` [INFO] [stderr] --> src/main.rs:137:10 [INFO] [stderr] | [INFO] [stderr] 137 | async fn download(target: &str, name: &str) -> Result<()> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `Sha1` should have a snake case name [INFO] [stderr] --> src/main.rs:37:3 [INFO] [stderr] | [INFO] [stderr] 37 | Sha1: String, [INFO] [stderr] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `sha1` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `Sha256` should have a snake case name [INFO] [stderr] --> src/main.rs:38:3 [INFO] [stderr] | [INFO] [stderr] 38 | Sha256: String, [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `sha256` [INFO] [stderr] [INFO] [stderr] warning: structure field `FileId` should have a snake case name [INFO] [stderr] --> src/main.rs:43:3 [INFO] [stderr] | [INFO] [stderr] 43 | FileId: String, [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `file_id` [INFO] [stderr] [INFO] [stderr] warning: structure field `Url` should have a snake case name [INFO] [stderr] --> src/main.rs:44:3 [INFO] [stderr] | [INFO] [stderr] 44 | Url: String, [INFO] [stderr] | ^^^ help: convert the identifier to snake case (notice the capitalization): `url` [INFO] [stderr] [INFO] [stderr] warning: structure field `SizeInBytes` should have a snake case name [INFO] [stderr] --> src/main.rs:45:3 [INFO] [stderr] | [INFO] [stderr] 45 | SizeInBytes: u32, [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to snake case: `size_in_bytes` [INFO] [stderr] [INFO] [stderr] warning: structure field `Hashes` should have a snake case name [INFO] [stderr] --> src/main.rs:46:3 [INFO] [stderr] | [INFO] [stderr] 46 | Hashes: Hashes, [INFO] [stderr] | ^^^^^^ help: convert the identifier to snake case: `hashes` [INFO] [stderr] [INFO] [stderr] warning: `edgeupdate-provision` (bin "edgeupdate-provision" test) generated 10 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/edgeupdate_provision-f89ec2d48d947ed8) [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] running `Command { std: "docker" "inspect" "a80b2b52bac42cee4f57f84fd1388e599b3cf2510defe35a41dfb06f18793ba2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a80b2b52bac42cee4f57f84fd1388e599b3cf2510defe35a41dfb06f18793ba2", kill_on_drop: false }` [INFO] [stdout] a80b2b52bac42cee4f57f84fd1388e599b3cf2510defe35a41dfb06f18793ba2