[INFO] fetching crate rp-cli 0.0.4... [INFO] checking rp-cli-0.0.4 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate rp-cli 0.0.4 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate rp-cli 0.0.4 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 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-4-tc1/source/Cargo.toml [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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tracing v0.1.31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] f996d051da610c7684f38c4f4171ad3fb4b9dcd1d6efae981617d567749378f2 [INFO] running `Command { std: "docker" "start" "-a" "f996d051da610c7684f38c4f4171ad3fb4b9dcd1d6efae981617d567749378f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f996d051da610c7684f38c4f4171ad3fb4b9dcd1d6efae981617d567749378f2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f996d051da610c7684f38c4f4171ad3fb4b9dcd1d6efae981617d567749378f2", kill_on_drop: false }` [INFO] [stdout] f996d051da610c7684f38c4f4171ad3fb4b9dcd1d6efae981617d567749378f2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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] 8b1c2188b150ed84eafc8777583390da0d5689bd4e6c74d9634c2502e2a620a9 [INFO] running `Command { std: "docker" "start" "-a" "8b1c2188b150ed84eafc8777583390da0d5689bd4e6c74d9634c2502e2a620a9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [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] Checking pin-project-lite v0.2.8 [INFO] [stderr] Checking bytes v1.1.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking once_cell v1.10.0 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Compiling autocfg v1.1.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] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking tracing-core v0.1.22 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Checking slab v0.4.5 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Compiling rustls v0.20.4 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking tinyvec v1.5.1 [INFO] [stderr] Checking http v0.2.6 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking tracing v0.1.31 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Compiling encoding_rs v0.8.30 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking httpdate v1.0.2 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking os_str_bytes v6.0.0 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking textwrap v0.14.2 [INFO] [stderr] Checking ipnet v2.3.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking mime v0.3.16 [INFO] [stderr] Checking rustls-pemfile v0.2.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking socket2 v0.4.4 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking http-body v0.4.4 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking tokio-util v0.6.9 [INFO] [stderr] Checking webpki-roots v0.22.2 [INFO] [stderr] Compiling clap_derive v3.0.14 [INFO] [stderr] Checking h2 v0.3.11 [INFO] [stderr] Checking tokio-rustls v0.23.2 [INFO] [stderr] Checking clap v3.0.14 [INFO] [stderr] Checking hyper v0.14.17 [INFO] [stderr] Checking hyper-rustls v0.23.0 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking reqwest v0.11.9 [INFO] [stderr] Checking 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: 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 an object-safe 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 an object-safe 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: 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 an object-safe 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 an object-safe 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: 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: 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: 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: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [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: 1 warning emitted [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.67s [INFO] running `Command { std: "docker" "inspect" "8b1c2188b150ed84eafc8777583390da0d5689bd4e6c74d9634c2502e2a620a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b1c2188b150ed84eafc8777583390da0d5689bd4e6c74d9634c2502e2a620a9", kill_on_drop: false }` [INFO] [stdout] 8b1c2188b150ed84eafc8777583390da0d5689bd4e6c74d9634c2502e2a620a9