[INFO] cloning repository https://github.com/briangreenery/bran-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/briangreenery/bran-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbriangreenery%2Fbran-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbriangreenery%2Fbran-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0c935851170da815387fb70b3496676dd852f25c [INFO] checking briangreenery/bran-rs against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbriangreenery%2Fbran-rs" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/briangreenery/bran-rs on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/briangreenery/bran-rs [INFO] finished tweaking git repo https://github.com/briangreenery/bran-rs [INFO] tweaked toml for git repo https://github.com/briangreenery/bran-rs written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/briangreenery/bran-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-2/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ansi_term v0.7.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] db07119461d8647aa4c4d39491e6ed5e5d6899d42e5eda2282fb77f96be733a6 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "db07119461d8647aa4c4d39491e6ed5e5d6899d42e5eda2282fb77f96be733a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "db07119461d8647aa4c4d39491e6ed5e5d6899d42e5eda2282fb77f96be733a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db07119461d8647aa4c4d39491e6ed5e5d6899d42e5eda2282fb77f96be733a6", kill_on_drop: false }` [INFO] [stdout] db07119461d8647aa4c4d39491e6ed5e5d6899d42e5eda2282fb77f96be733a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9b3b79b503eb6e2bd8bc7525bedd6b116d58c8d27bdb5973b034e5ff4b1c4fdb [INFO] running `Command { std: "docker" "start" "-a" "9b3b79b503eb6e2bd8bc7525bedd6b116d58c8d27bdb5973b034e5ff4b1c4fdb", kill_on_drop: false }` [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking ansi_term v0.7.5 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking bran v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `git` [INFO] [stdout] --> src/cli/build.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use git; [INFO] [stdout] | ^^^ no `git` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/cli/build.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{Log, Output}; [INFO] [stdout] | ^^^ maybe a missing crate `log`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `remote` [INFO] [stdout] --> src/cli/build.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use remote::Remote; [INFO] [stdout] | ^^^^^^ maybe a missing crate `remote`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> src/cli/build.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use config::{Config, Host}; [INFO] [stdout] | ^^^^^^ maybe a missing crate `config`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `git` [INFO] [stdout] --> src/cli/clean.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use git; [INFO] [stdout] | ^^^ no `git` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/cli/clean.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::Output; [INFO] [stdout] | ^^^ maybe a missing crate `log`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `remote` [INFO] [stdout] --> src/cli/clean.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use remote::Remote; [INFO] [stdout] | ^^^^^^ maybe a missing crate `remote`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> src/cli/clean.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use config::Config; [INFO] [stdout] | ^^^^^^ maybe a missing crate `config`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `git` [INFO] [stdout] --> src/cli/init.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use git; [INFO] [stdout] | ^^^ no `git` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/cli/init.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::Output; [INFO] [stdout] | ^^^ maybe a missing crate `log`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `remote` [INFO] [stdout] --> src/cli/init.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use remote::Remote; [INFO] [stdout] | ^^^^^^ maybe a missing crate `remote`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> src/cli/init.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use config::Config; [INFO] [stdout] | ^^^^^^ maybe a missing crate `config`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `git` [INFO] [stdout] --> src/cli/push.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use git; [INFO] [stdout] | ^^^ no `git` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/cli/push.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{Log, Output}; [INFO] [stdout] | ^^^ maybe a missing crate `log`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `remote` [INFO] [stdout] --> src/cli/push.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use remote::Remote; [INFO] [stdout] | ^^^^^^ maybe a missing crate `remote`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> src/cli/push.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use config::{Config, Host}; [INFO] [stdout] | ^^^^^^ maybe a missing crate `config`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `git` [INFO] [stdout] --> src/cli/run.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use git; [INFO] [stdout] | ^^^ no `git` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/cli/run.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{Log, Output}; [INFO] [stdout] | ^^^ maybe a missing crate `log`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `remote` [INFO] [stdout] --> src/cli/run.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use remote::Remote; [INFO] [stdout] | ^^^^^^ maybe a missing crate `remote`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> src/cli/run.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use config::{Config, Host}; [INFO] [stdout] | ^^^^^^ maybe a missing crate `config`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::run::run` [INFO] [stdout] --> src/cli/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use self::run::run; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `run` in `cli::run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AppSettings` [INFO] [stdout] --> src/main.rs:35:44 [INFO] [stdout] | [INFO] [stdout] 35 | ... .setting(AppSettings::TrailingVarArg) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `AppSettings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io` [INFO] [stdout] --> src/main.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | writeln!(io::stderr(), "Error: {}", err.description()).ok(); [INFO] [stdout] | ^^ use of undeclared crate or module `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> src/cli/build.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | spawn() [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use cli::run::thread::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/main.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | fn run() -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use clap::Error; [INFO] [stdout] | [INFO] [stdout] 9 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 9 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `App` [INFO] [stdout] --> src/main.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | let app = App::new("bran") [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use clap::App; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SubCommand` [INFO] [stdout] --> src/main.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | .subcommand(SubCommand::with_name("init").about("Initialize bran")) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use clap::SubCommand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SubCommand` [INFO] [stdout] --> src/main.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | .subcommand(SubCommand::with_name("push").about("Push files to all hosts")) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use clap::SubCommand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SubCommand` [INFO] [stdout] --> src/main.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | .subcommand(SubCommand::with_name("clean") [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use clap::SubCommand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SubCommand` [INFO] [stdout] --> src/main.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | .subcommand(SubCommand::with_name("build") [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use clap::SubCommand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SubCommand` [INFO] [stdout] --> src/main.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | .subcommand(SubCommand::with_name("run") [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use clap::SubCommand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arg` [INFO] [stdout] --> src/main.rs:36:40 [INFO] [stdout] | [INFO] [stdout] 36 | ... .arg(Arg::from_usage("... 'command to run'"))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use clap::Arg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init` in this scope [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | init() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 9 | use cli::init; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `build` in this scope [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | build() [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 9 | use cli::build; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli/build.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | let hash = try!(git::commit(&output)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli/clean.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | try!(remote.init()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli/init.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | try!(git::init(&output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli/init.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | try!(remote.init()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli/push.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | try!(git::push(&host, &output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli/push.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | try!(remote.run(&format!("git reset {} --hard", hash))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli/push.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | try!(remote.run(cmd)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli/push.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | let hash = try!(git::commit(&output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli/run.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | try!(git::push(&host, &output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli/run.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | try!(remote.run(&format!("git reset {} --hard", hash))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli/run.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | try!(remote.run(cmd)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli/run.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | let hash = try!(git::commit(&output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | try!(app.print_help()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/cli/build.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::JoinHandle` [INFO] [stdout] --> src/cli/build.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::JoinHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli/build.rs:9:49 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn build(config: Config) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli/clean.rs:7:49 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn clean(config: Config) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli/init.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn init(config: Config) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli/push.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli/push.rs:82:48 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn push(config: Config) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli/run.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli/run.rs:82:49 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn build(config: Config) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 23 | fn run() -> Result> { [INFO] [stdout] | ----------------------------------- defined here [INFO] [stdout] ... [INFO] [stdout] 45 | run(cmd.values_of("cmd").unwrap().collect()) [INFO] [stdout] | ^^^ --------------------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 0 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `git` [INFO] [stdout] --> src/cli/build.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use git; [INFO] [stdout] | ^^^ no `git` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/cli/build.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{Log, Output}; [INFO] [stdout] | ^^^ maybe a missing crate `log`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `remote` [INFO] [stdout] --> src/cli/build.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use remote::Remote; [INFO] [stdout] | ^^^^^^ maybe a missing crate `remote`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> src/cli/build.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use config::{Config, Host}; [INFO] [stdout] | ^^^^^^ maybe a missing crate `config`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `git` [INFO] [stdout] --> src/cli/clean.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use git; [INFO] [stdout] | ^^^ no `git` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/cli/clean.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::Output; [INFO] [stdout] | ^^^ maybe a missing crate `log`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `remote` [INFO] [stdout] --> src/cli/clean.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use remote::Remote; [INFO] [stdout] | ^^^^^^ maybe a missing crate `remote`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> src/cli/clean.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use config::Config; [INFO] [stdout] | ^^^^^^ maybe a missing crate `config`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `git` [INFO] [stdout] --> src/cli/init.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use git; [INFO] [stdout] | ^^^ no `git` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/cli/init.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use log::Output; [INFO] [stdout] | ^^^ maybe a missing crate `log`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `remote` [INFO] [stdout] --> src/cli/init.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use remote::Remote; [INFO] [stdout] | ^^^^^^ maybe a missing crate `remote`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> src/cli/init.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use config::Config; [INFO] [stdout] | ^^^^^^ maybe a missing crate `config`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `git` [INFO] [stdout] --> src/cli/push.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use git; [INFO] [stdout] | ^^^ no `git` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/cli/push.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{Log, Output}; [INFO] [stdout] | ^^^ maybe a missing crate `log`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `remote` [INFO] [stdout] --> src/cli/push.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use remote::Remote; [INFO] [stdout] | ^^^^^^ maybe a missing crate `remote`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> src/cli/push.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use config::{Config, Host}; [INFO] [stdout] | ^^^^^^ maybe a missing crate `config`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `git` [INFO] [stdout] --> src/cli/run.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use git; [INFO] [stdout] | ^^^ no `git` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/cli/run.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{Log, Output}; [INFO] [stdout] | ^^^ maybe a missing crate `log`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `remote` [INFO] [stdout] --> src/cli/run.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use remote::Remote; [INFO] [stdout] | ^^^^^^ maybe a missing crate `remote`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `config` [INFO] [stdout] --> src/cli/run.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use config::{Config, Host}; [INFO] [stdout] | ^^^^^^ maybe a missing crate `config`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::run::run` [INFO] [stdout] --> src/cli/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub use self::run::run; [INFO] [stdout] | ^^^^^^^^^^^^^^ no `run` in `cli::run` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `AppSettings` [INFO] [stdout] --> src/main.rs:35:44 [INFO] [stdout] | [INFO] [stdout] 35 | ... .setting(AppSettings::TrailingVarArg) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `AppSettings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `io` [INFO] [stdout] --> src/main.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | writeln!(io::stderr(), "Error: {}", err.description()).ok(); [INFO] [stdout] | ^^ use of undeclared crate or module `io` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `spawn` in this scope [INFO] [stdout] --> src/cli/build.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | spawn() [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use cli::run::thread::spawn; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Error` in this scope [INFO] [stdout] --> src/main.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | fn run() -> Result> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 9 | use clap::Error; [INFO] [stdout] | [INFO] [stdout] 9 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 9 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::Error; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `App` [INFO] [stdout] --> src/main.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | let app = App::new("bran") [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use clap::App; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SubCommand` [INFO] [stdout] --> src/main.rs:27:31 [INFO] [stdout] | [INFO] [stdout] 27 | .subcommand(SubCommand::with_name("init").about("Initialize bran")) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use clap::SubCommand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SubCommand` [INFO] [stdout] --> src/main.rs:28:31 [INFO] [stdout] | [INFO] [stdout] 28 | .subcommand(SubCommand::with_name("push").about("Push files to all hosts")) [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use clap::SubCommand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SubCommand` [INFO] [stdout] --> src/main.rs:29:31 [INFO] [stdout] | [INFO] [stdout] 29 | .subcommand(SubCommand::with_name("clean") [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use clap::SubCommand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SubCommand` [INFO] [stdout] --> src/main.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | .subcommand(SubCommand::with_name("build") [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use clap::SubCommand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SubCommand` [INFO] [stdout] --> src/main.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | .subcommand(SubCommand::with_name("run") [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use clap::SubCommand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Arg` [INFO] [stdout] --> src/main.rs:36:40 [INFO] [stdout] | [INFO] [stdout] 36 | ... .arg(Arg::from_usage("... 'command to run'"))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 9 | use clap::Arg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `init` in this scope [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | init() [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 9 | use cli::init; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `build` in this scope [INFO] [stdout] --> src/main.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | build() [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 9 | use cli::build; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli/build.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | let hash = try!(git::commit(&output)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli/clean.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | try!(remote.init()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli/init.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | try!(git::init(&output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli/init.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | try!(remote.init()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli/push.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | try!(git::push(&host, &output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli/push.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | try!(remote.run(&format!("git reset {} --hard", hash))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli/push.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | try!(remote.run(cmd)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli/push.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | let hash = try!(git::commit(&output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli/run.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | try!(git::push(&host, &output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli/run.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | try!(remote.run(&format!("git reset {} --hard", hash))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli/run.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | try!(remote.run(cmd)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli/run.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | let hash = try!(git::commit(&output)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/main.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | try!(app.print_help()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/cli/build.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread::JoinHandle` [INFO] [stdout] --> src/cli/build.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::thread::JoinHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli/build.rs:9:49 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn build(config: Config) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli/clean.rs:7:49 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn clean(config: Config) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli/init.rs:7:48 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn init(config: Config) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli/push.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli/push.rs:82:48 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn push(config: Config) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli/run.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | -> Result<(), Box> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli/run.rs:82:49 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn build(config: Config) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 0 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 23 | fn run() -> Result> { [INFO] [stdout] | ----------------------------------- defined here [INFO] [stdout] ... [INFO] [stdout] 45 | run(cmd.values_of("cmd").unwrap().collect()) [INFO] [stdout] | ^^^ --------------------------------------- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 0 arguments [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/cli/push.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let hash = try!(git::commit(&output)); [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/cli/push.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | let hash = try!(git::commit(&output)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/cli/push.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | let hash = try!(git::commit(&output)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required by `Ok` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/cli/run.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let hash = try!(git::commit(&output)); [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/cli/run.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | let hash = try!(git::commit(&output)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/cli/run.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | let hash = try!(git::commit(&output)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required by `Ok` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 41 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bran` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/cli/push.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let hash = try!(git::commit(&output)); [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/cli/push.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | let hash = try!(git::commit(&output)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/cli/push.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | let hash = try!(git::commit(&output)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required by `Ok` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/cli/run.rs:84:9 [INFO] [stdout] | [INFO] [stdout] 84 | let hash = try!(git::commit(&output)); [INFO] [stdout] | ^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/cli/run.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | let hash = try!(git::commit(&output)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all local variables must have a statically known size [INFO] [stdout] = help: unsized locals are gated as an unstable feature [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/cli/run.rs:84:16 [INFO] [stdout] | [INFO] [stdout] 84 | let hash = try!(git::commit(&output)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: required by `Ok` [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 41 previous errors; 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "9b3b79b503eb6e2bd8bc7525bedd6b116d58c8d27bdb5973b034e5ff4b1c4fdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b3b79b503eb6e2bd8bc7525bedd6b116d58c8d27bdb5973b034e5ff4b1c4fdb", kill_on_drop: false }` [INFO] [stdout] 9b3b79b503eb6e2bd8bc7525bedd6b116d58c8d27bdb5973b034e5ff4b1c4fdb