[INFO] cloning repository https://github.com/pyrosec/trackhive [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/pyrosec/trackhive" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpyrosec%2Ftrackhive", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpyrosec%2Ftrackhive'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 294ffef941ea70d30e3c079619fb6e7857a3c3ee [INFO] checking pyrosec/trackhive against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpyrosec%2Ftrackhive" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pyrosec/trackhive on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pyrosec/trackhive [INFO] finished tweaking git repo https://github.com/pyrosec/trackhive [INFO] tweaked toml for git repo https://github.com/pyrosec/trackhive written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/pyrosec/trackhive 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded time v0.3.32 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 504494e4d512ab6e465f05daca0f8094ddb62bf3807a546494b7293887ec53bb [INFO] running `Command { std: "docker" "start" "-a" "504494e4d512ab6e465f05daca0f8094ddb62bf3807a546494b7293887ec53bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "504494e4d512ab6e465f05daca0f8094ddb62bf3807a546494b7293887ec53bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "504494e4d512ab6e465f05daca0f8094ddb62bf3807a546494b7293887ec53bb", kill_on_drop: false }` [INFO] [stdout] 504494e4d512ab6e465f05daca0f8094ddb62bf3807a546494b7293887ec53bb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4ce847761600200ba3802945002c76464c92225aed21a970f8d9d38d467d7877 [INFO] running `Command { std: "docker" "start" "-a" "4ce847761600200ba3802945002c76464c92225aed21a970f8d9d38d467d7877", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling openssl v0.10.63 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking indexmap v2.2.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling time-macros v0.2.17 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking anstyle v1.0.5 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking publicsuffix v2.2.3 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Checking time v0.3.32 [INFO] [stderr] Compiling openssl-sys v0.9.99 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking thiserror v1.0.50 [INFO] [stderr] Checking tokio-socks v0.5.1 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking cookie_store v0.16.2 [INFO] [stderr] Checking reqwest v0.11.23 [INFO] [stderr] Checking trackhive v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, env, fs, io::{Read, Write}, path::{Path}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/main.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::{self, from_str}; [INFO] [stdout] | ^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, env, fs, io::{Read, Write}, path::{Path}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/main.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::{self, from_str}; [INFO] [stdout] | ^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/main.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | if let Some(cmd) = cmd.subcommand_matches("couriers-list"){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `save` and `load` are never used [INFO] [stdout] --> src/main.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl Trackhive { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 34 | fn save(self: Self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn load() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/main.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | if let Some(cmd) = cmd.subcommand_matches("couriers-list"){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `save` and `load` are never used [INFO] [stdout] --> src/main.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl Trackhive { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 34 | fn save(self: Self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn load() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.41s [INFO] running `Command { std: "docker" "inspect" "4ce847761600200ba3802945002c76464c92225aed21a970f8d9d38d467d7877", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ce847761600200ba3802945002c76464c92225aed21a970f8d9d38d467d7877", kill_on_drop: false }` [INFO] [stdout] 4ce847761600200ba3802945002c76464c92225aed21a970f8d9d38d467d7877 [INFO] checking pyrosec/trackhive against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpyrosec%2Ftrackhive" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/pyrosec/trackhive on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/pyrosec/trackhive [INFO] finished tweaking git repo https://github.com/pyrosec/trackhive [INFO] tweaked toml for git repo https://github.com/pyrosec/trackhive written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/pyrosec/trackhive 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ae626b7e58158010f5659a9e6ac9eea2b991587c3a2e73be5464f55b22128ea [INFO] running `Command { std: "docker" "start" "-a" "0ae626b7e58158010f5659a9e6ac9eea2b991587c3a2e73be5464f55b22128ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ae626b7e58158010f5659a9e6ac9eea2b991587c3a2e73be5464f55b22128ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ae626b7e58158010f5659a9e6ac9eea2b991587c3a2e73be5464f55b22128ea", kill_on_drop: false }` [INFO] [stdout] 0ae626b7e58158010f5659a9e6ac9eea2b991587c3a2e73be5464f55b22128ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b6de30b1e4f4fe7db99db18cca86b9db2d94a8e558d4ca4138afa179f72add2 [INFO] running `Command { std: "docker" "start" "-a" "9b6de30b1e4f4fe7db99db18cca86b9db2d94a8e558d4ca4138afa179f72add2", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling pkg-config v0.3.29 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling openssl v0.10.63 [INFO] [stderr] Checking futures-io v0.3.30 [INFO] [stderr] Checking unicode-normalization v0.1.22 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking http v0.2.11 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking bitflags v2.4.2 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Checking indexmap v2.2.1 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling time-macros v0.2.17 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking anstyle-parse v0.2.3 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking psl-types v2.0.11 [INFO] [stderr] Checking anstyle v1.0.5 [INFO] [stderr] Checking matches v0.1.10 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking idna v0.3.0 [INFO] [stderr] Checking anstyle-query v1.0.2 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking publicsuffix v2.2.3 [INFO] [stderr] Checking clap_builder v4.4.18 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking socket2 v0.5.5 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking time v0.3.32 [INFO] [stderr] Checking tokio v1.35.1 [INFO] [stderr] Compiling openssl-sys v0.9.99 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Compiling thiserror-impl v1.0.50 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking thiserror v1.0.50 [INFO] [stderr] Checking tokio-socks v0.5.1 [INFO] [stderr] Checking clap v4.4.18 [INFO] [stderr] Checking h2 v0.3.24 [INFO] [stderr] Checking tokio-native-tls v0.3.1 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper-tls v0.5.0 [INFO] [stderr] Checking cookie_store v0.16.2 [INFO] [stderr] Checking reqwest v0.11.23 [INFO] [stderr] Checking trackhive v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, env, fs, io::{Read, Write}, path::{Path}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/main.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::{self, from_str}; [INFO] [stdout] | ^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Read` [INFO] [stdout] --> src/main.rs:3:47 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::HashMap, env, fs, io::{Read, Write}, path::{Path}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `serde_json` is imported redundantly [INFO] [stdout] --> src/main.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::{self, from_str}; [INFO] [stdout] | ^^^^ the item `serde_json` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/main.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | if let Some(cmd) = cmd.subcommand_matches("couriers-list"){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `save` and `load` are never used [INFO] [stdout] --> src/main.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl Trackhive { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 34 | fn save(self: Self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn load() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cmd` [INFO] [stdout] --> src/main.rs:75:17 [INFO] [stdout] | [INFO] [stdout] 75 | if let Some(cmd) = cmd.subcommand_matches("couriers-list"){ [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cmd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `save` and `load` are never used [INFO] [stdout] --> src/main.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 33 | impl Trackhive { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 34 | fn save(self: Self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn load() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.59s [INFO] running `Command { std: "docker" "inspect" "9b6de30b1e4f4fe7db99db18cca86b9db2d94a8e558d4ca4138afa179f72add2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b6de30b1e4f4fe7db99db18cca86b9db2d94a8e558d4ca4138afa179f72add2", kill_on_drop: false }` [INFO] [stdout] 9b6de30b1e4f4fe7db99db18cca86b9db2d94a8e558d4ca4138afa179f72add2