[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] building briangreenery/bran-rs against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbriangreenery%2Fbran-rs" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/briangreenery/bran-rs on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-5/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" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded yaml-rust v0.3.3 [INFO] [stderr] Downloaded ansi_term v0.7.4 [INFO] [stderr] Downloaded strsim v0.4.1 [INFO] [stderr] Downloaded clap v2.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8894bb392c28d66ff16cbaa0116484148da1269ec62ff0aced9542bf53e715a5 [INFO] running `Command { std: "docker" "start" "-a" "8894bb392c28d66ff16cbaa0116484148da1269ec62ff0aced9542bf53e715a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8894bb392c28d66ff16cbaa0116484148da1269ec62ff0aced9542bf53e715a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8894bb392c28d66ff16cbaa0116484148da1269ec62ff0aced9542bf53e715a5", kill_on_drop: false }` [INFO] [stdout] 8894bb392c28d66ff16cbaa0116484148da1269ec62ff0aced9542bf53e715a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ddf09612eb471cbaf3967731ed985cd958e42484f80629e208e29fbdc88b602 [INFO] running `Command { std: "docker" "start" "-a" "0ddf09612eb471cbaf3967731ed985cd958e42484f80629e208e29fbdc88b602", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling unicode-width v0.1.3 [INFO] [stderr] Compiling strsim v0.4.1 [INFO] [stderr] Compiling vec_map v0.6.0 [INFO] [stderr] Compiling ansi_term v0.7.4 [INFO] [stderr] Compiling bitflags v0.5.0 [INFO] [stderr] Compiling yaml-rust v0.3.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling clap v2.6.0 [INFO] [stderr] Compiling 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] = help: consider adding `extern crate log` to use the `log` crate [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] = help: consider adding `extern crate remote` to use the `remote` crate [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] = help: consider adding `extern crate config` to use the `config` crate [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] = help: consider adding `extern crate log` to use the `log` crate [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] = help: consider adding `extern crate remote` to use the `remote` crate [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] = help: consider adding `extern crate config` to use the `config` crate [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] = help: consider adding `extern crate log` to use the `log` crate [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] = help: consider adding `extern crate remote` to use the `remote` crate [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] = help: consider adding `extern crate config` to use the `config` crate [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] = help: consider adding `extern crate log` to use the `log` crate [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] = help: consider adding `extern crate remote` to use the `remote` crate [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] = help: consider adding `extern crate config` to use the `config` crate [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] = help: consider adding `extern crate log` to use the `log` crate [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] = help: consider adding `extern crate remote` to use the `remote` crate [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] = help: consider adding `extern crate config` to use the `config` crate [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::build::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] 1 | use clap::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 1 | 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] 1 | 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] 1 | 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] 1 | 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] 1 | 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] 1 | 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] 1 | 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] 1 | 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] 1 | 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] 1 | use cli::build; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for lib.rs [INFO] [stdout] --> src/main.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | mod lib; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] = note: lib.rs is the root of this crate's library target [INFO] [stdout] = help: to refer to it from other targets, use the library's name as the path [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: 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: 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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | pub fn build(config: Config) -> Result> { [INFO] [stdout] | +++ [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | pub fn clean(config: Config) -> Result> { [INFO] [stdout] | +++ [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 | pub fn init(config: Config) -> Result> { [INFO] [stdout] | +++ [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | -> Result<(), Box> { [INFO] [stdout] | +++ [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | pub fn push(config: Config) -> Result> { [INFO] [stdout] | +++ [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | -> Result<(), Box> { [INFO] [stdout] | +++ [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] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | pub fn build(config: Config) -> Result> { [INFO] [stdout] | +++ [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 the macro `try` (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 a bound in `Ok` [INFO] [stdout] = note: this error originates in the macro `try` (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 the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bran` due to 42 previous errors; 23 warnings emitted [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 a bound in `Ok` [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [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] 45 | run(cmd.values_of("cmd").unwrap().collect()) [INFO] [stdout] | ^^^ --------------------------------------- argument unexpected [INFO] [stdout] | [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/main.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn run() -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] help: remove the extra argument [INFO] [stdout] | [INFO] [stdout] 45 | run() [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 41 previous errors; 23 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] running `Command { std: "docker" "inspect" "0ddf09612eb471cbaf3967731ed985cd958e42484f80629e208e29fbdc88b602", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ddf09612eb471cbaf3967731ed985cd958e42484f80629e208e29fbdc88b602", kill_on_drop: false }` [INFO] [stdout] 0ddf09612eb471cbaf3967731ed985cd958e42484f80629e208e29fbdc88b602