[INFO] cloning repository https://github.com/zl-cli/zl-cli
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zl-cli/zl-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzl-cli%2Fzl-cli", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzl-cli%2Fzl-cli'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] db6b755ca2291f233579e2e70071a418ba2bde93
[INFO] testing zl-cli/zl-cli against 1.75.0 for beta-1.76-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzl-cli%2Fzl-cli" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/zl-cli/zl-cli on toolchain 1.75.0
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.75.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/zl-cli/zl-cli
[INFO] finished tweaking git repo https://github.com/zl-cli/zl-cli
[INFO] tweaked toml for git repo https://github.com/zl-cli/zl-cli written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/zl-cli/zl-cli 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" "+1.75.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/zl-cli/z-api`
[INFO] [stderr]     Updating git repository `https://github.com/zl-cli/z-api-def.git`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+1.75.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 00893ab1f61c3a7901911c765047c37452a3eec6a144790d863917df10f11605
[INFO] running `Command { std: "docker" "start" "-a" "00893ab1f61c3a7901911c765047c37452a3eec6a144790d863917df10f11605", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "00893ab1f61c3a7901911c765047c37452a3eec6a144790d863917df10f11605", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "00893ab1f61c3a7901911c765047c37452a3eec6a144790d863917df10f11605", kill_on_drop: false }`
[INFO] [stdout] 00893ab1f61c3a7901911c765047c37452a3eec6a144790d863917df10f11605
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.75.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 87e3679f68244d1d1d4f6bd6d94a2648e6970d253a4310030dfdc6a196dc6ca4
[INFO] running `Command { std: "docker" "start" "-a" "87e3679f68244d1d1d4f6bd6d94a2648e6970d253a4310030dfdc6a196dc6ca4", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.60
[INFO] [stderr]    Compiling quote v1.0.28
[INFO] [stderr]    Compiling unicode-ident v1.0.9
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling libc v0.2.146
[INFO] [stderr]    Compiling itoa v1.0.6
[INFO] [stderr]    Compiling pkg-config v0.3.27
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling once_cell v1.18.0
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling serde v1.0.164
[INFO] [stderr]    Compiling cc v1.0.79
[INFO] [stderr]    Compiling bytes v1.4.0
[INFO] [stderr]    Compiling futures-core v0.3.28
[INFO] [stderr]    Compiling futures-task v0.3.28
[INFO] [stderr]    Compiling hashbrown v0.12.3
[INFO] [stderr]    Compiling foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling futures-util v0.3.28
[INFO] [stderr]    Compiling ryu v1.0.13
[INFO] [stderr]    Compiling openssl v0.10.54
[INFO] [stderr]    Compiling foreign-types v0.3.2
[INFO] [stderr]    Compiling bitflags v1.3.2
[INFO] [stderr]    Compiling tracing-core v0.1.31
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]    Compiling tokio v1.28.2
[INFO] [stderr]    Compiling slab v0.4.8
[INFO] [stderr]    Compiling http v0.2.9
[INFO] [stderr]    Compiling futures-channel v0.3.28
[INFO] [stderr]    Compiling httparse v1.8.0
[INFO] [stderr]    Compiling futures-sink v0.3.28
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling native-tls v0.2.11
[INFO] [stderr]    Compiling serde_json v1.0.97
[INFO] [stderr]    Compiling tinyvec_macros v0.1.1
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling percent-encoding v2.3.0
[INFO] [stderr]    Compiling try-lock v0.2.4
[INFO] [stderr]    Compiling log v0.4.19
[INFO] [stderr]    Compiling want v0.3.1
[INFO] [stderr]    Compiling form_urlencoded v1.2.0
[INFO] [stderr]    Compiling tracing v0.1.37
[INFO] [stderr]    Compiling unicode-bidi v0.3.13
[INFO] [stderr]    Compiling tower-service v0.3.2
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling winnow v0.4.7
[INFO] [stderr]    Compiling option-ext v0.2.0
[INFO] [stderr]    Compiling encoding_rs v0.8.32
[INFO] [stderr]    Compiling syn v2.0.18
[INFO] [stderr]    Compiling ipnet v2.7.2
[INFO] [stderr]    Compiling base64 v0.21.2
[INFO] [stderr]    Compiling mime v0.3.17
[INFO] [stderr]    Compiling mio v0.8.8
[INFO] [stderr]    Compiling openssl-sys v0.9.88
[INFO] [stderr]    Compiling socket2 v0.4.9
[INFO] [stderr]    Compiling dirs-sys v0.4.1
[INFO] [stderr]    Compiling http-body v0.4.5
[INFO] [stderr]    Compiling directories v5.0.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.22
[INFO] [stderr]    Compiling idna v0.4.0
[INFO] [stderr]    Compiling url v2.4.0
[INFO] [stderr]    Compiling serde_derive v1.0.164
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]    Compiling tokio-util v0.7.8
[INFO] [stderr]    Compiling z-api-def v0.1.0 (https://github.com/zl-cli/z-api-def.git#2376ee36)
[INFO] [stderr]    Compiling h2 v0.3.19
[INFO] [stderr]    Compiling tokio-native-tls v0.3.1
[INFO] [stderr]    Compiling hyper v0.14.26
[INFO] [stderr]    Compiling toml_datetime v0.6.2
[INFO] [stderr]    Compiling serde_spanned v0.6.2
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling toml_edit v0.19.10
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.18
[INFO] [stderr]    Compiling z-api v0.1.0 (https://github.com/zl-cli/z-api#616bc421)
[INFO] [stderr]    Compiling toml v0.7.4
[INFO] [stderr]    Compiling zl-cli v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `read_to_string`
[INFO] [stdout]  --> src/config/mod.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::{File, read_to_string};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/api/mod.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         todo!("switch to async");
[INFO] [stdout]    |         ------------------------ any code following this expression is unreachable
[INFO] [stdout] 18 |         let result = reqwest::get(url);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/api/mod.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         todo!("switch to async");
[INFO] [stdout]    |         ------------------------ any code following this expression is unreachable
[INFO] [stdout] 24 |         json!({})
[INFO] [stdout]    |         ^^^^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `json_internal` which comes from the expansion of the macro `json` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `url`
[INFO] [stdout]   --> src/api/mod.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let url = format!("https://{host}{path}");
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_url`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/api/mod.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let result = reqwest::get(url);
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/api/mod.rs:22:20
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn post(&self, path: String, data: serde_json::Value)  -> serde_json::Value{
[INFO] [stdout]    |                    ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/api/mod.rs:22:34
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn post(&self, path: String, data: serde_json::Value)  -> serde_json::Value{
[INFO] [stdout]    |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `read_to_string`
[INFO] [stdout]  --> src/config/mod.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::{File, read_to_string};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/api/mod.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         todo!("switch to async");
[INFO] [stdout]    |         ------------------------ any code following this expression is unreachable
[INFO] [stdout] 18 |         let result = reqwest::get(url);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/api/mod.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         todo!("switch to async");
[INFO] [stdout]    |         ------------------------ any code following this expression is unreachable
[INFO] [stdout] 24 |         json!({})
[INFO] [stdout]    |         ^^^^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `json_internal` which comes from the expansion of the macro `json` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `url`
[INFO] [stdout]   --> src/api/mod.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let url = format!("https://{host}{path}");
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_url`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/api/mod.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let result = reqwest::get(url);
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/api/mod.rs:22:20
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn post(&self, path: String, data: serde_json::Value)  -> serde_json::Value{
[INFO] [stdout]    |                    ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/api/mod.rs:22:34
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn post(&self, path: String, data: serde_json::Value)  -> serde_json::Value{
[INFO] [stdout]    |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `api`
[INFO] [stdout]   --> src/main.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let api = init_api(config);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_api`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 26.84s
[INFO] running `Command { std: "docker" "inspect" "87e3679f68244d1d1d4f6bd6d94a2648e6970d253a4310030dfdc6a196dc6ca4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "87e3679f68244d1d1d4f6bd6d94a2648e6970d253a4310030dfdc6a196dc6ca4", kill_on_drop: false }`
[INFO] [stdout] 87e3679f68244d1d1d4f6bd6d94a2648e6970d253a4310030dfdc6a196dc6ca4
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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" "+1.75.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] b01c3cf3441e9940c038caf1add0bd0961683b5398a6011cd149feaef43cef28
[INFO] running `Command { std: "docker" "start" "-a" "b01c3cf3441e9940c038caf1add0bd0961683b5398a6011cd149feaef43cef28", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `read_to_string`
[INFO] [stdout]  --> src/config/mod.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::{File, read_to_string};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/api/mod.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         todo!("switch to async");
[INFO] [stdout]    |         ------------------------ any code following this expression is unreachable
[INFO] [stdout] 18 |         let result = reqwest::get(url);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/api/mod.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         todo!("switch to async");
[INFO] [stdout]    |         ------------------------ any code following this expression is unreachable
[INFO] [stdout] 24 |         json!({})
[INFO] [stdout]    |         ^^^^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `json_internal` which comes from the expansion of the macro `json` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `url`
[INFO] [stdout]   --> src/api/mod.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let url = format!("https://{host}{path}");
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_url`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/api/mod.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let result = reqwest::get(url);
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/api/mod.rs:22:20
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn post(&self, path: String, data: serde_json::Value)  -> serde_json::Value{
[INFO] [stdout]    |                    ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling zl-cli v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/api/mod.rs:22:34
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn post(&self, path: String, data: serde_json::Value)  -> serde_json::Value{
[INFO] [stdout]    |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `read_to_string`
[INFO] [stdout]  --> src/config/mod.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::{File, read_to_string};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/api/mod.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         todo!("switch to async");
[INFO] [stdout]    |         ------------------------ any code following this expression is unreachable
[INFO] [stdout] 18 |         let result = reqwest::get(url);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/api/mod.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         todo!("switch to async");
[INFO] [stdout]    |         ------------------------ any code following this expression is unreachable
[INFO] [stdout] 24 |         json!({})
[INFO] [stdout]    |         ^^^^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `json_internal` which comes from the expansion of the macro `json` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `url`
[INFO] [stdout]   --> src/api/mod.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let url = format!("https://{host}{path}");
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_url`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/api/mod.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let result = reqwest::get(url);
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/api/mod.rs:22:20
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn post(&self, path: String, data: serde_json::Value)  -> serde_json::Value{
[INFO] [stdout]    |                    ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/api/mod.rs:22:34
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn post(&self, path: String, data: serde_json::Value)  -> serde_json::Value{
[INFO] [stdout]    |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `api`
[INFO] [stdout]   --> src/main.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let api = init_api(config);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_api`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `read_to_string`
[INFO] [stdout]  --> src/config/mod.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::{File, read_to_string};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `read_to_string`
[INFO] [stdout]  --> src/config/mod.rs:1:21
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::fs::{File, read_to_string};
[INFO] [stdout]   |                     ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/api/mod.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         todo!("switch to async");
[INFO] [stdout]    |         ------------------------ any code following this expression is unreachable
[INFO] [stdout] 18 |         let result = reqwest::get(url);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/api/mod.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         todo!("switch to async");
[INFO] [stdout]    |         ------------------------ any code following this expression is unreachable
[INFO] [stdout] 24 |         json!({})
[INFO] [stdout]    |         ^^^^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `json_internal` which comes from the expansion of the macro `json` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `url`
[INFO] [stdout]   --> src/api/mod.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let url = format!("https://{host}{path}");
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_url`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/api/mod.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let result = reqwest::get(url);
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/api/mod.rs:22:20
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn post(&self, path: String, data: serde_json::Value)  -> serde_json::Value{
[INFO] [stdout]    |                    ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/api/mod.rs:22:34
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn post(&self, path: String, data: serde_json::Value)  -> serde_json::Value{
[INFO] [stdout]    |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable statement
[INFO] [stdout]   --> src/api/mod.rs:18:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |         todo!("switch to async");
[INFO] [stdout]    |         ------------------------ any code following this expression is unreachable
[INFO] [stdout] 18 |         let result = reqwest::get(url);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unreachable_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]   --> src/api/mod.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |         todo!("switch to async");
[INFO] [stdout]    |         ------------------------ any code following this expression is unreachable
[INFO] [stdout] 24 |         json!({})
[INFO] [stdout]    |         ^^^^^^^^^ unreachable expression
[INFO] [stdout]    |
[INFO] [stdout]    = note: this warning originates in the macro `json_internal` which comes from the expansion of the macro `json` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `url`
[INFO] [stdout]   --> src/api/mod.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 |         let url = format!("https://{host}{path}");
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_url`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `result`
[INFO] [stdout]   --> src/api/mod.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 |         let result = reqwest::get(url);
[INFO] [stdout]    |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `path`
[INFO] [stdout]   --> src/api/mod.rs:22:20
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn post(&self, path: String, data: serde_json::Value)  -> serde_json::Value{
[INFO] [stdout]    |                    ^^^^ help: if this is intentional, prefix it with an underscore: `_path`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]   --> src/api/mod.rs:22:34
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn post(&self, path: String, data: serde_json::Value)  -> serde_json::Value{
[INFO] [stdout]    |                                  ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `api`
[INFO] [stdout]   --> src/main.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let api = init_api(config);
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_api`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> tests/config_test.rs:7:58
[INFO] [stdout]    |
[INFO] [stdout] 7  |     let test_config = zl_cli::config::ZConfig::from_file(Path::new("./config/test.toml")).unwrap();
[INFO] [stdout]    |                       ---------------------------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ in mutability
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       arguments to this function are incorrect
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected mutable reference `&mut File`
[INFO] [stdout]                       found reference `&Path`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]   --> /opt/rustwide/workdir/src/config/mod.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 |     pub fn from_file(file: &mut File) -> Result<ZConfig, ZError>{
[INFO] [stdout]    |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `zl-cli` (test "config_test") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 7 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "b01c3cf3441e9940c038caf1add0bd0961683b5398a6011cd149feaef43cef28", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b01c3cf3441e9940c038caf1add0bd0961683b5398a6011cd149feaef43cef28", kill_on_drop: false }`
[INFO] [stdout] b01c3cf3441e9940c038caf1add0bd0961683b5398a6011cd149feaef43cef28
