[INFO] cloning repository https://github.com/mmai/khnum-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mmai/khnum-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmai%2Fkhnum-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmai%2Fkhnum-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 260c4815c1d2c1b367790be8edf3a6107d90eb06 [INFO] checking mmai/khnum-cli against try#1f308f12738d8cc40bb23bf0c8114b37c164bb49 for pr-137268 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmai%2Fkhnum-cli" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mmai/khnum-cli on toolchain 1f308f12738d8cc40bb23bf0c8114b37c164bb49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mmai/khnum-cli [INFO] finished tweaking git repo https://github.com/mmai/khnum-cli [INFO] tweaked toml for git repo https://github.com/mmai/khnum-cli written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mmai/khnum-cli already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking mmai/khnum-cli against try#1f308f12738d8cc40bb23bf0c8114b37c164bb49 for pr-137268 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmai%2Fkhnum-cli" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mmai/khnum-cli on toolchain 1f308f12738d8cc40bb23bf0c8114b37c164bb49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mmai/khnum-cli [INFO] finished tweaking git repo https://github.com/mmai/khnum-cli [INFO] tweaked toml for git repo https://github.com/mmai/khnum-cli written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mmai/khnum-cli already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded indicatif v0.11.0 [INFO] [stderr] Downloaded clicolors-control v1.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1948928157e88b0845484c89cba1a486de2cd76f3e6dfa0732d6d1355accc55 [INFO] running `Command { std: "docker" "start" "-a" "f1948928157e88b0845484c89cba1a486de2cd76f3e6dfa0732d6d1355accc55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1948928157e88b0845484c89cba1a486de2cd76f3e6dfa0732d6d1355accc55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1948928157e88b0845484c89cba1a486de2cd76f3e6dfa0732d6d1355accc55", kill_on_drop: false }` [INFO] [stdout] f1948928157e88b0845484c89cba1a486de2cd76f3e6dfa0732d6d1355accc55 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+1f308f12738d8cc40bb23bf0c8114b37c164bb49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c079de4eadaf2ad81a9107f306f3cdd875b695c8977e6a7bc825827c6a121a9 [INFO] running `Command { std: "docker" "start" "-a" "2c079de4eadaf2ad81a9107f306f3cdd875b695c8977e6a7bc825827c6a121a9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling autocfg v0.1.6 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Checking regex-syntax v0.6.11 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Checking smallvec v0.6.10 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking lock_api v0.3.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.8 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking aho-corasick v0.7.6 [INFO] [stderr] Checking termios v0.3.1 [INFO] [stderr] Checking clicolors-control v1.0.1 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking number_prefix v0.2.8 [INFO] [stderr] Checking regex v1.2.1 [INFO] [stderr] Checking console v0.8.0 [INFO] [stderr] Checking indicatif v0.11.0 [INFO] [stderr] Checking khnum-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0412]: cannot find type `ContentLength` in this scope [INFO] [stdout] --> src/main.rs:55:36 [INFO] [stdout] | [INFO] [stdout] 55 | 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] 42 | 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:57:37 [INFO] [stdout] | [INFO] [stdout] 57 | 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] 42 | 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:63:43 [INFO] [stdout] | [INFO] [stdout] 63 | 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] 1 + use indicatif::HumanBytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ContentLength` in this scope [INFO] [stdout] --> src/main.rs:55:36 [INFO] [stdout] | [INFO] [stdout] 55 | 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] 42 | 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:57:37 [INFO] [stdout] | [INFO] [stdout] 57 | 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] 42 | 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:63:43 [INFO] [stdout] | [INFO] [stdout] 63 | 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] 1 + use indicatif::HumanBytes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:42:63 [INFO] [stdout] | [INFO] [stdout] 42 | fn download(target: &str, quiet_mode: bool) -> Result<(), 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 [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] 42 | fn download(target: &str, quiet_mode: bool) -> Result<(), Box> { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:42:63 [INFO] [stdout] | [INFO] [stdout] 42 | fn download(target: &str, quiet_mode: bool) -> Result<(), 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 [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] 42 | 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:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | let url = parse_url(target)?; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> src/main.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | let client = Client::new().unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `style` in this scope [INFO] [stdout] --> src/main.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | style(format!("{}", resp.status())).green()), [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:44:15 [INFO] [stdout] | [INFO] [stdout] 44 | let url = parse_url(target)?; [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:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | print(format!("HTTP request sent... {}", [INFO] [stdout] | ^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 49 | print!(format!("HTTP request sent... {}", [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Client` [INFO] [stdout] --> src/main.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | let client = Client::new().unwrap(); [INFO] [stdout] | ^^^^^^ use of undeclared type `Client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `style` in this scope [INFO] [stdout] --> src/main.rs:50:19 [INFO] [stdout] | [INFO] [stdout] 50 | style(format!("{}", resp.status())).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:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | style(len).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:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | print(format!("HTTP request sent... {}", [INFO] [stdout] | ^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 49 | 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:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | 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:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | 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:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | print(format!("Length: {} ({})", [INFO] [stdout] | ^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 61 | 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:63:23 [INFO] [stdout] | [INFO] [stdout] 63 | style(format!("{}", HumanBytes(len))).red()), [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:45 [INFO] [stdout] | [INFO] [stdout] 67 | 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:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | 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] 67 | 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:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | 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:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | 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] 71 | 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:75:40 [INFO] [stdout] | [INFO] [stdout] 75 | 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:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | 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] 75 | 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:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | print(format!("Length: {} ({})", [INFO] [stdout] | ^^^^^ not a function [INFO] [stdout] | [INFO] [stdout] help: use `!` to invoke the macro [INFO] [stdout] | [INFO] [stdout] 61 | 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:67:45 [INFO] [stdout] | [INFO] [stdout] 67 | 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:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | 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] 67 | 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:71:35 [INFO] [stdout] | [INFO] [stdout] 71 | 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:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | 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] 71 | 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:75:40 [INFO] [stdout] | [INFO] [stdout] 75 | 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:75:9 [INFO] [stdout] | [INFO] [stdout] 75 | 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] 75 | 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:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | save_to_file(&mut buf, fname)?; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `save_to_file` in this scope [INFO] [stdout] --> src/main.rs:103:9 [INFO] [stdout] | [INFO] [stdout] 103 | 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, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `khnum-cli` (bin "khnum-cli" test) due to 17 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `khnum-cli` (bin "khnum-cli") due to 17 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "2c079de4eadaf2ad81a9107f306f3cdd875b695c8977e6a7bc825827c6a121a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c079de4eadaf2ad81a9107f306f3cdd875b695c8977e6a7bc825827c6a121a9", kill_on_drop: false }` [INFO] [stdout] 2c079de4eadaf2ad81a9107f306f3cdd875b695c8977e6a7bc825827c6a121a9