[INFO] fetching crate rp-cli 0.0.4... [INFO] testing rp-cli-0.0.4 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate rp-cli 0.0.4 into /workspace/builds/worker-2-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-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rp-cli 0.0.4 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded clap_derive v3.0.14 [INFO] [stderr] Downloaded libc v0.2.117 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f18aafc3cea4217908d803196e1fc9b0b321f5e512736443f4b3cae79eef0531 [INFO] running `Command { std: "docker" "start" "-a" "f18aafc3cea4217908d803196e1fc9b0b321f5e512736443f4b3cae79eef0531", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f18aafc3cea4217908d803196e1fc9b0b321f5e512736443f4b3cae79eef0531", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f18aafc3cea4217908d803196e1fc9b0b321f5e512736443f4b3cae79eef0531", kill_on_drop: false }` [INFO] [stdout] f18aafc3cea4217908d803196e1fc9b0b321f5e512736443f4b3cae79eef0531 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] cd50c6395adf18bf71642f3a5f60f3bd4ffbbe344ab95bfecc02e1603807f419 [INFO] running `Command { std: "docker" "start" "-a" "cd50c6395adf18bf71642f3a5f60f3bd4ffbbe344ab95bfecc02e1603807f419", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling once_cell v1.10.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling itoa v1.0.1 [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 hashbrown v0.11.2 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling tracing-core v0.1.22 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling tinyvec v1.5.1 [INFO] [stderr] Compiling tracing v0.1.31 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling rustls-pemfile v0.2.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling ipnet v2.3.1 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling webpki v0.22.0 [INFO] [stderr] Compiling sct v0.7.0 [INFO] [stderr] Compiling h2 v0.3.11 [INFO] [stderr] Compiling clap_derive v3.0.14 [INFO] [stderr] Compiling webpki-roots v0.22.2 [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)]` 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> { [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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> { [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> { [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 [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> { [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)]` 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)]` 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> { [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)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 53.57s [INFO] running `Command { std: "docker" "inspect" "cd50c6395adf18bf71642f3a5f60f3bd4ffbbe344ab95bfecc02e1603807f419", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd50c6395adf18bf71642f3a5f60f3bd4ffbbe344ab95bfecc02e1603807f419", kill_on_drop: false }` [INFO] [stdout] cd50c6395adf18bf71642f3a5f60f3bd4ffbbe344ab95bfecc02e1603807f419 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ee8f4591d4234b15c93ae5c58d957da18cea712c000c9d23e840cd1d2e7582b5 [INFO] running `Command { std: "docker" "start" "-a" "ee8f4591d4234b15c93ae5c58d957da18cea712c000c9d23e840cd1d2e7582b5", kill_on_drop: false }` [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)]` 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> { [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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> { [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> { [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 [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> { [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)]` 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)]` 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> { [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)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [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)]` 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)]` 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> { [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` 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> { [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> { [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 [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> { [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)]` 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)]` 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> { [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)]` on by default [INFO] [stdout] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.63s [INFO] running `Command { std: "docker" "inspect" "ee8f4591d4234b15c93ae5c58d957da18cea712c000c9d23e840cd1d2e7582b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee8f4591d4234b15c93ae5c58d957da18cea712c000c9d23e840cd1d2e7582b5", kill_on_drop: false }` [INFO] [stdout] ee8f4591d4234b15c93ae5c58d957da18cea712c000c9d23e840cd1d2e7582b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ce6cc71032faa298d8f81698f484ca56a1f26c06e465c670617b7f77c48c3676 [INFO] running `Command { std: "docker" "start" "-a" "ce6cc71032faa298d8f81698f484ca56a1f26c06e465c670617b7f77c48c3676", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Deserialize` [INFO] [stderr] --> src/api.rs:2:35 [INFO] [stderr] | [INFO] [stderr] 2 | use serde::{de::DeserializeOwned, Deserialize, Serialize}; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `compile` [INFO] [stderr] --> src/handler.rs:2:24 [INFO] [stderr] | [INFO] [stderr] 2 | use crate::api_types::{compile, download, execute, fmt, share}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `ParseError` [INFO] [stderr] --> src/handler.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | use url::{ParseError, Url}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `compile` [INFO] [stderr] --> src/printer.rs:1:24 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::api_types::{compile, download, execute, fmt, share}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/handler.rs:98:58 [INFO] [stderr] | [INFO] [stderr] 98 | fn pick_id_from(id_or_url: String) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 98 | fn pick_id_from(id_or_url: String) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/input.rs:25:72 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn code_from_path(file_path: &path::PathBuf) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 25 | pub fn code_from_path(file_path: &path::PathBuf) -> Result> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/printer.rs:33:13 [INFO] [stderr] | [INFO] [stderr] 33 | let mut writer = io::BufWriter::new(stdout); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: constant `FORMAT_TITLE` is never used [INFO] [stderr] --> src/printer.rs:17:7 [INFO] [stderr] | [INFO] [stderr] 17 | const FORMAT_TITLE: &str = "Format"; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `print_new_line` is never used [INFO] [stderr] --> src/printer.rs:139:8 [INFO] [stderr] | [INFO] [stderr] 30 | impl Printer { [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 139 | fn print_new_line(&mut self) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/printer.rs:140:9 [INFO] [stderr] | [INFO] [stderr] 140 | writeln!(self.writer, ""); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this warning originates in the macro `writeln` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `rp-cli` (lib) generated 10 warnings (run `cargo fix --lib -p rp-cli` to apply 7 suggestions) [INFO] [stderr] warning: `rp-cli` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] warning: unused variable: `why` [INFO] [stderr] --> src/bin/main.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | Err(why) => { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_why` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `rp-cli` (bin "rp" test) generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rp_cli-8eba3e55a98ace6d) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test api_types::test::test_response_is_error ... ok [INFO] [stderr] Running unittests src/bin/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/rp-a71c2c4253e93441) [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [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" "ce6cc71032faa298d8f81698f484ca56a1f26c06e465c670617b7f77c48c3676", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce6cc71032faa298d8f81698f484ca56a1f26c06e465c670617b7f77c48c3676", kill_on_drop: false }` [INFO] [stdout] ce6cc71032faa298d8f81698f484ca56a1f26c06e465c670617b7f77c48c3676