[INFO] fetching crate rp-cli 0.0.4...
[INFO] building rp-cli-0.0.4 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1
[INFO] extracting crate rp-cli 0.0.4 into /workspace/builds/worker-7-tc1/source
[INFO] started tweaking crates.io crate rp-cli 0.0.4
[INFO] finished tweaking crates.io crate rp-cli 0.0.4
[INFO] tweaked toml for crates.io crate rp-cli 0.0.4 written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate rp-cli 0.0.4 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate rp-cli 0.0.4 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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded os_str_bytes v6.0.0
[INFO] [stderr]   Downloaded clap_derive v3.0.14
[INFO] [stderr]   Downloaded hyper v0.14.17
[INFO] [stderr]   Downloaded once_cell v1.10.0
[INFO] [stderr]   Downloaded tracing v0.1.31
[INFO] [stderr]   Downloaded rustls v0.20.4
[INFO] [stderr]   Downloaded clap v3.0.14
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c7353d698ee735493b3107071a3c0e84a4aea89b5db1c2864a16d9a470afffda
[INFO] running `Command { std: "docker" "start" "-a" "c7353d698ee735493b3107071a3c0e84a4aea89b5db1c2864a16d9a470afffda", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c7353d698ee735493b3107071a3c0e84a4aea89b5db1c2864a16d9a470afffda", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7353d698ee735493b3107071a3c0e84a4aea89b5db1c2864a16d9a470afffda", kill_on_drop: false }`
[INFO] [stdout] c7353d698ee735493b3107071a3c0e84a4aea89b5db1c2864a16d9a470afffda
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 56022faff87f74c1522d2d1039f77a6010c3a5f270ad89ed76ab16c4ed8d53d8
[INFO] running `Command { std: "docker" "start" "-a" "56022faff87f74c1522d2d1039f77a6010c3a5f270ad89ed76ab16c4ed8d53d8", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.117
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling syn v1.0.86
[INFO] [stderr]    Compiling proc-macro2 v1.0.36
[INFO] [stderr]    Compiling ring v0.16.20
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling once_cell v1.10.0
[INFO] [stderr]    Compiling indexmap v1.8.0
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling tracing-core v0.1.22
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling httparse v1.6.0
[INFO] [stderr]    Compiling rustls v0.20.4
[INFO] [stderr]    Compiling futures-io v0.3.21
[INFO] [stderr]    Compiling tinyvec v1.5.1
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling form_urlencoded v1.0.1
[INFO] [stderr]    Compiling quote v1.0.15
[INFO] [stderr]    Compiling mio v0.8.0
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling num_cpus v1.13.1
[INFO] [stderr]    Compiling tracing v0.1.31
[INFO] [stderr]    Compiling tokio v1.17.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling http-body v0.4.4
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling encoding_rs v0.8.30
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]    Compiling unicode-bidi v0.3.7
[INFO] [stderr]    Compiling ryu v1.0.9
[INFO] [stderr]    Compiling base64 v0.13.0
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling rustls-pemfile v0.2.1
[INFO] [stderr]    Compiling os_str_bytes v6.0.0
[INFO] [stderr]    Compiling termcolor v1.1.2
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling textwrap v0.14.2
[INFO] [stderr]    Compiling ipnet v2.3.1
[INFO] [stderr]    Compiling webpki v0.22.0
[INFO] [stderr]    Compiling sct v0.7.0
[INFO] [stderr]    Compiling webpki-roots v0.22.2
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling clap_derive v3.0.14
[INFO] [stderr]    Compiling tokio-util v0.6.9
[INFO] [stderr]    Compiling h2 v0.3.11
[INFO] [stderr]    Compiling clap v3.0.14
[INFO] [stderr]    Compiling tokio-rustls v0.23.2
[INFO] [stderr]    Compiling hyper v0.14.17
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper-rustls v0.23.0
[INFO] [stderr]    Compiling reqwest v0.11.9
[INFO] [stderr]    Compiling rp-cli v0.0.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/api.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{de::DeserializeOwned, Deserialize, Serialize};
[INFO] [stdout]   |                                   ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `compile`
[INFO] [stdout]  --> src/handler.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::api_types::{compile, download, execute, fmt, share};
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ParseError`
[INFO] [stdout]  --> src/handler.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | use url::{ParseError, Url};
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `compile`
[INFO] [stdout]  --> src/printer.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::api_types::{compile, download, execute, fmt, share};
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/handler.rs:98:58
[INFO] [stdout]    |
[INFO] [stdout] 98 | fn pick_id_from(id_or_url: String) -> Result<String, Box<std::error::Error>> {
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 98 | fn pick_id_from(id_or_url: String) -> Result<String, Box<dyn std::error::Error>> {
[INFO] [stdout]    |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/input.rs:25:72
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn code_from_path(file_path: &path::PathBuf) -> Result<String, Box<std::error::Error>> {
[INFO] [stdout]    |                                                                        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn code_from_path(file_path: &path::PathBuf) -> Result<String, Box<dyn std::error::Error>> {
[INFO] [stdout]    |                                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/printer.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let mut writer = io::BufWriter::new(stdout);
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FORMAT_TITLE` is never used
[INFO] [stdout]   --> src/printer.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const FORMAT_TITLE: &str = "Format";
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print_new_line` is never used
[INFO] [stdout]    --> src/printer.rs:139:8
[INFO] [stdout]     |
[INFO] [stdout]  30 | impl Printer {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 139 |     fn print_new_line(&mut self) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/printer.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 140 |         writeln!(self.writer, "");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 140 |         let _ = writeln!(self.writer, "");
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]   --> src/bin/main.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |         Err(why) => {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s
[INFO] running `Command { std: "docker" "inspect" "56022faff87f74c1522d2d1039f77a6010c3a5f270ad89ed76ab16c4ed8d53d8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "56022faff87f74c1522d2d1039f77a6010c3a5f270ad89ed76ab16c4ed8d53d8", kill_on_drop: false }`
[INFO] [stdout] 56022faff87f74c1522d2d1039f77a6010c3a5f270ad89ed76ab16c4ed8d53d8
[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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 685e5b25db7119bb104b710120399665a8c4f55d01a6e590a270faecab01bc92
[INFO] running `Command { std: "docker" "start" "-a" "685e5b25db7119bb104b710120399665a8c4f55d01a6e590a270faecab01bc92", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/api.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{de::DeserializeOwned, Deserialize, Serialize};
[INFO] [stdout]   |                                   ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `compile`
[INFO] [stdout]  --> src/handler.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::api_types::{compile, download, execute, fmt, share};
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ParseError`
[INFO] [stdout]  --> src/handler.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | use url::{ParseError, Url};
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `compile`
[INFO] [stdout]  --> src/printer.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::api_types::{compile, download, execute, fmt, share};
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/handler.rs:98:58
[INFO] [stdout]    |
[INFO] [stdout] 98 | fn pick_id_from(id_or_url: String) -> Result<String, Box<std::error::Error>> {
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 98 | fn pick_id_from(id_or_url: String) -> Result<String, Box<dyn std::error::Error>> {
[INFO] [stdout]    |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/input.rs:25:72
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn code_from_path(file_path: &path::PathBuf) -> Result<String, Box<std::error::Error>> {
[INFO] [stdout]    |                                                                        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn code_from_path(file_path: &path::PathBuf) -> Result<String, Box<dyn std::error::Error>> {
[INFO] [stdout]    |                                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/printer.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let mut writer = io::BufWriter::new(stdout);
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling rp-cli v0.0.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: constant `FORMAT_TITLE` is never used
[INFO] [stdout]   --> src/printer.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const FORMAT_TITLE: &str = "Format";
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print_new_line` is never used
[INFO] [stdout]    --> src/printer.rs:139:8
[INFO] [stdout]     |
[INFO] [stdout]  30 | impl Printer {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 139 |     fn print_new_line(&mut self) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/printer.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 140 |         writeln!(self.writer, "");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 140 |         let _ = writeln!(self.writer, "");
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `why`
[INFO] [stdout]   --> src/bin/main.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 |         Err(why) => {
[INFO] [stdout]    |             ^^^ help: if this is intentional, prefix it with an underscore: `_why`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Deserialize`
[INFO] [stdout]  --> src/api.rs:2:35
[INFO] [stdout]   |
[INFO] [stdout] 2 | use serde::{de::DeserializeOwned, Deserialize, Serialize};
[INFO] [stdout]   |                                   ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `compile`
[INFO] [stdout]  --> src/handler.rs:2:24
[INFO] [stdout]   |
[INFO] [stdout] 2 | use crate::api_types::{compile, download, execute, fmt, share};
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ParseError`
[INFO] [stdout]  --> src/handler.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | use url::{ParseError, Url};
[INFO] [stdout]   |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `compile`
[INFO] [stdout]  --> src/printer.rs:1:24
[INFO] [stdout]   |
[INFO] [stdout] 1 | use crate::api_types::{compile, download, execute, fmt, share};
[INFO] [stdout]   |                        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/handler.rs:98:58
[INFO] [stdout]    |
[INFO] [stdout] 98 | fn pick_id_from(id_or_url: String) -> Result<String, Box<std::error::Error>> {
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]    = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 98 | fn pick_id_from(id_or_url: String) -> Result<String, Box<dyn std::error::Error>> {
[INFO] [stdout]    |                                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]   --> src/input.rs:25:72
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn code_from_path(file_path: &path::PathBuf) -> Result<String, Box<std::error::Error>> {
[INFO] [stdout]    |                                                                        ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021!
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]    |
[INFO] [stdout] 25 | pub fn code_from_path(file_path: &path::PathBuf) -> Result<String, Box<dyn std::error::Error>> {
[INFO] [stdout]    |                                                                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/printer.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |         let mut writer = io::BufWriter::new(stdout);
[INFO] [stdout]    |             ----^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `FORMAT_TITLE` is never used
[INFO] [stdout]   --> src/printer.rs:17:7
[INFO] [stdout]    |
[INFO] [stdout] 17 | const FORMAT_TITLE: &str = "Format";
[INFO] [stdout]    |       ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `print_new_line` is never used
[INFO] [stdout]    --> src/printer.rs:139:8
[INFO] [stdout]     |
[INFO] [stdout]  30 | impl Printer {
[INFO] [stdout]     | ------------ method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 139 |     fn print_new_line(&mut self) -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]    --> src/printer.rs:140:9
[INFO] [stdout]     |
[INFO] [stdout] 140 |         writeln!(self.writer, "");
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]     = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 140 |         let _ = writeln!(self.writer, "");
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.17s
[INFO] running `Command { std: "docker" "inspect" "685e5b25db7119bb104b710120399665a8c4f55d01a6e590a270faecab01bc92", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "685e5b25db7119bb104b710120399665a8c4f55d01a6e590a270faecab01bc92", kill_on_drop: false }`
[INFO] [stdout] 685e5b25db7119bb104b710120399665a8c4f55d01a6e590a270faecab01bc92
