[INFO] cloning repository https://github.com/rb-25/wget-clone [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rb-25/wget-clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frb-25%2Fwget-clone", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frb-25%2Fwget-clone'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 89f8bd5773339c64e711ffad06ee8c1e4a70874c [INFO] checking rb-25/wget-clone against try#943e2200e35c3825486c4671b6cab0107a07f8c1 for pr-148952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frb-25%2Fwget-clone" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rb-25/wget-clone [INFO] finished tweaking git repo https://github.com/rb-25/wget-clone [INFO] tweaked toml for git repo https://github.com/rb-25/wget-clone written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rb-25/wget-clone on toolchain 943e2200e35c3825486c4671b6cab0107a07f8c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rb-25/wget-clone 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" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f34ed1524a65c9169c6567f3231f67123496df29c624722c228b01c4bf8a9a46 [INFO] running `Command { std: "docker" "start" "-a" "f34ed1524a65c9169c6567f3231f67123496df29c624722c228b01c4bf8a9a46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f34ed1524a65c9169c6567f3231f67123496df29c624722c228b01c4bf8a9a46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f34ed1524a65c9169c6567f3231f67123496df29c624722c228b01c4bf8a9a46", kill_on_drop: false }` [INFO] [stdout] f34ed1524a65c9169c6567f3231f67123496df29c624722c228b01c4bf8a9a46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f307067bb75a8960f225d8e14a602a9dc18dd35dd6f36d61002411ade4f67bc [INFO] running `Command { std: "docker" "start" "-a" "1f307067bb75a8960f225d8e14a602a9dc18dd35dd6f36d61002411ade4f67bc", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.154 [INFO] [stderr] Compiling cc v1.0.97 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking pin-project-lite v0.1.12 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling openssl v0.10.64 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Checking unicode-width v0.1.12 [INFO] [stderr] Compiling syn v2.0.63 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking ipnet v2.9.0 [INFO] [stderr] Checking number_prefix v0.3.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Compiling openssl-sys v0.9.102 [INFO] [stderr] Checking tokio v0.2.25 [INFO] [stderr] Compiling native-tls v0.2.11 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking indicatif v0.15.0 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking tracing-futures v0.2.5 [INFO] [stderr] Checking h2 v0.2.7 [INFO] [stderr] Checking tokio-tls v0.3.1 [INFO] [stderr] Checking hyper v0.13.10 [INFO] [stderr] Checking hyper-tls v0.4.3 [INFO] [stderr] Checking reqwest v0.10.10 [INFO] [stderr] Checking rget v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `crate::bar` [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::bar::create_progress_bar; [INFO] [stdout] | ^^^ could not find `bar` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::bar` [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::bar::create_progress_bar; [INFO] [stdout] | ^^^ could not find `bar` in the crate root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `url` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use url::{ParseError, Url}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `url` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `url`, use `cargo add url` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `url` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use url::{ParseError, Url}; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `url` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `url`, use `cargo add url` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProgressBar` in this scope [INFO] [stdout] --> src/main.rs:24:77 [INFO] [stdout] | [INFO] [stdout] 24 | fn create_progress_bar(quiet_mode: bool, msg: &str, length: Option) -> ProgressBar{ [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use indicatif::ProgressBar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgressBar` [INFO] [stdout] --> src/main.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | true => ProgressBar::hidden(), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ProgressBar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use indicatif::ProgressBar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgressBar` [INFO] [stdout] --> src/main.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | Some(len)=> ProgressBar::new(len), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ProgressBar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use indicatif::ProgressBar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgressBar` [INFO] [stdout] --> src/main.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | None => ProgressBar::new_spinner(), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ProgressBar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use indicatif::ProgressBar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgressStyle` [INFO] [stdout] --> src/main.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | .set_style(ProgressStyle::default_bar() [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ProgressStyle` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use indicatif::ProgressStyle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgressStyle` [INFO] [stdout] --> src/main.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | false => bar.set_style(ProgressStyle::default_spinner()) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ProgressStyle` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use indicatif::ProgressStyle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ContentLength` in this scope [INFO] [stdout] --> src/main.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 59 | let ct_len = headers.get::().map(|ct_len| **ct_len); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 45 | fn download(target: &str, quiet_mode: bool) -> Result<(), Box<::std::error::Error>> { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ContentType` in this scope [INFO] [stdout] --> src/main.rs:61:41 [INFO] [stdout] | [INFO] [stdout] 61 | let ct_type = headers.get::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 45 | fn download(target: &str, quiet_mode: bool) -> Result<(), Box<::std::error::Error>> { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HumanBytes` in this scope [INFO] [stdout] --> src/main.rs:67:45 [INFO] [stdout] | [INFO] [stdout] 67 | style(format!("{}", HumanBytes(len))).red()), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 3 + use indicatif::HumanBytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ProgressBar` in this scope [INFO] [stdout] --> src/main.rs:24:77 [INFO] [stdout] | [INFO] [stdout] 24 | fn create_progress_bar(quiet_mode: bool, msg: &str, length: Option) -> ProgressBar{ [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use indicatif::ProgressBar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgressBar` [INFO] [stdout] --> src/main.rs:26:17 [INFO] [stdout] | [INFO] [stdout] 26 | true => ProgressBar::hidden(), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ProgressBar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use indicatif::ProgressBar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgressBar` [INFO] [stdout] --> src/main.rs:29:29 [INFO] [stdout] | [INFO] [stdout] 29 | Some(len)=> ProgressBar::new(len), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ProgressBar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use indicatif::ProgressBar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgressBar` [INFO] [stdout] --> src/main.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | None => ProgressBar::new_spinner(), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `ProgressBar` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use indicatif::ProgressBar; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgressStyle` [INFO] [stdout] --> src/main.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | .set_style(ProgressStyle::default_bar() [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ProgressStyle` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use indicatif::ProgressStyle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ProgressStyle` [INFO] [stdout] --> src/main.rs:40:32 [INFO] [stdout] | [INFO] [stdout] 40 | false => bar.set_style(ProgressStyle::default_spinner()) [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `ProgressStyle` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use indicatif::ProgressStyle; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ContentLength` in this scope [INFO] [stdout] --> src/main.rs:59:40 [INFO] [stdout] | [INFO] [stdout] 59 | let ct_len = headers.get::().map(|ct_len| **ct_len); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 45 | fn download(target: &str, quiet_mode: bool) -> Result<(), Box<::std::error::Error>> { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ContentType` in this scope [INFO] [stdout] --> src/main.rs:61:41 [INFO] [stdout] | [INFO] [stdout] 61 | let ct_type = headers.get::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 45 | fn download(target: &str, quiet_mode: bool) -> Result<(), Box<::std::error::Error>> { [INFO] [stdout] | +++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `HumanBytes` in this scope [INFO] [stdout] --> src/main.rs:67:45 [INFO] [stdout] | [INFO] [stdout] 67 | style(format!("{}", HumanBytes(len))).red()), [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 3 + use indicatif::HumanBytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/main.rs:45:63 [INFO] [stdout] | [INFO] [stdout] 45 | fn download(target: &str, quiet_mode: bool) -> Result<(), Box<::std::error::Error>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 45 | fn download(target: &str, quiet_mode: bool) -> Result<(), Box> { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0782]: expected a type, found a trait [INFO] [stdout] --> src/main.rs:45:63 [INFO] [stdout] | [INFO] [stdout] 45 | fn download(target: &str, quiet_mode: bool) -> Result<(), Box<::std::error::Error>> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: you can add the `dyn` keyword if you want a trait object [INFO] [stdout] | [INFO] [stdout] 45 | fn download(target: &str, quiet_mode: bool) -> Result<(), Box> { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_url` in this scope [INFO] [stdout] --> src/main.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | let url = parse_url(target); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_url` in this scope [INFO] [stdout] --> src/main.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 48 | let url = parse_url(target); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `reqwest::blocking::Client` in the current scope [INFO] [stdout] --> src/main.rs:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | let client = Client::new().unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `reqwest::blocking::Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `style` in this scope [INFO] [stdout] --> src/main.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | style(format!("{}", resp.status())).green()), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `print` [INFO] [stdout] --> src/main.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | print(format!("HTTP request sent... {}", [INFO] [stdout] | ^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 53 | print!(format!("HTTP request sent... {}", [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `style` in this scope [INFO] [stdout] --> src/main.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | style(len).green(), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `style` in this scope [INFO] [stdout] --> src/main.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | style(format!("{}", HumanBytes(len))).red()), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `print` [INFO] [stdout] --> src/main.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | print(format!("Length: {} ({})", [INFO] [stdout] | ^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 65 | print!(format!("Length: {} ({})", [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `style` in this scope [INFO] [stdout] --> src/main.rs:71:49 [INFO] [stdout] | [INFO] [stdout] 71 | print(format!("Length: {}", style("unknown").red()), quiet_mode); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `unwrap` found for struct `reqwest::blocking::Client` in the current scope [INFO] [stdout] --> src/main.rs:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | let client = Client::new().unwrap(); [INFO] [stdout] | ^^^^^^ method not found in `reqwest::blocking::Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `print` [INFO] [stdout] --> src/main.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | print(format!("Length: {}", style("unknown").red()), quiet_mode); [INFO] [stdout] | ^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 71 | print!(format!("Length: {}", style("unknown").red()), quiet_mode); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `style` in this scope [INFO] [stdout] --> src/main.rs:75:39 [INFO] [stdout] | [INFO] [stdout] 75 | print(format!("Type: {}", style(ct_type).green()), quiet_mode); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `print` [INFO] [stdout] --> src/main.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | print(format!("Type: {}", style(ct_type).green()), quiet_mode); [INFO] [stdout] | ^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 75 | print!(format!("Type: {}", style(ct_type).green()), quiet_mode); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `style` in this scope [INFO] [stdout] --> src/main.rs:79:44 [INFO] [stdout] | [INFO] [stdout] 79 | print(format!("Saving to: {}", style(fname).green()), quiet_mode); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `style` in this scope [INFO] [stdout] --> src/main.rs:54:23 [INFO] [stdout] | [INFO] [stdout] 54 | style(format!("{}", resp.status())).green()), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `print` [INFO] [stdout] --> src/main.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | print(format!("Saving to: {}", style(fname).green()), quiet_mode); [INFO] [stdout] | ^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 79 | print!(format!("Saving to: {}", style(fname).green()), quiet_mode); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `print` [INFO] [stdout] --> src/main.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | print(format!("HTTP request sent... {}", [INFO] [stdout] | ^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 53 | print!(format!("HTTP request sent... {}", [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `style` in this scope [INFO] [stdout] --> src/main.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | style(len).green(), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `style` in this scope [INFO] [stdout] --> src/main.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 67 | style(format!("{}", HumanBytes(len))).red()), [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `print` [INFO] [stdout] --> src/main.rs:65:21 [INFO] [stdout] | [INFO] [stdout] 65 | print(format!("Length: {} ({})", [INFO] [stdout] | ^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 65 | print!(format!("Length: {} ({})", [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `style` in this scope [INFO] [stdout] --> src/main.rs:71:49 [INFO] [stdout] | [INFO] [stdout] 71 | print(format!("Length: {}", style("unknown").red()), quiet_mode); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `print` [INFO] [stdout] --> src/main.rs:71:21 [INFO] [stdout] | [INFO] [stdout] 71 | print(format!("Length: {}", style("unknown").red()), quiet_mode); [INFO] [stdout] | ^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 71 | print!(format!("Length: {}", style("unknown").red()), quiet_mode); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `style` in this scope [INFO] [stdout] --> src/main.rs:75:39 [INFO] [stdout] | [INFO] [stdout] 75 | print(format!("Type: {}", style(ct_type).green()), quiet_mode); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `print` [INFO] [stdout] --> src/main.rs:75:13 [INFO] [stdout] | [INFO] [stdout] 75 | print(format!("Type: {}", style(ct_type).green()), quiet_mode); [INFO] [stdout] | ^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 75 | print!(format!("Type: {}", style(ct_type).green()), quiet_mode); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `style` in this scope [INFO] [stdout] --> src/main.rs:79:44 [INFO] [stdout] | [INFO] [stdout] 79 | print(format!("Saving to: {}", style(fname).green()), quiet_mode); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected function, found macro `print` [INFO] [stdout] --> src/main.rs:79:13 [INFO] [stdout] | [INFO] [stdout] 79 | print(format!("Saving to: {}", style(fname).green()), quiet_mode); [INFO] [stdout] | ^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 79 | print!(format!("Saving to: {}", style(fname).green()), quiet_mode); [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `save_to_file` in this scope [INFO] [stdout] --> src/main.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | save_to_file(&mut buf, fname)?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0425, E0432, E0433, E0599, E0782. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `save_to_file` in this scope [INFO] [stdout] --> src/main.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | save_to_file(&mut buf, fname)?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rget` (bin "rget" test) due to 26 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0425, E0432, E0433, E0599, E0782. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rget` (bin "rget") due to 26 previous errors [INFO] running `Command { std: "docker" "inspect" "1f307067bb75a8960f225d8e14a602a9dc18dd35dd6f36d61002411ade4f67bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f307067bb75a8960f225d8e14a602a9dc18dd35dd6f36d61002411ade4f67bc", kill_on_drop: false }` [INFO] [stdout] 1f307067bb75a8960f225d8e14a602a9dc18dd35dd6f36d61002411ade4f67bc