[INFO] cloning repository https://github.com/haywood/apidoc-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/haywood/apidoc-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaywood%2Fapidoc-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaywood%2Fapidoc-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8b43a0d91620ab2d22ab322a7eaa3d52a7bc173f [INFO] checking haywood/apidoc-cli against master#0d37dca25a51fb900a402c94c8818ad1c2789e30 for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaywood%2Fapidoc-cli" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/haywood/apidoc-cli on toolchain 0d37dca25a51fb900a402c94c8818ad1c2789e30 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/haywood/apidoc-cli [INFO] finished tweaking git repo https://github.com/haywood/apidoc-cli [INFO] tweaked toml for git repo https://github.com/haywood/apidoc-cli written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/haywood/apidoc-cli already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] error: the lock file /workspace/builds/worker-8/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" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ff72521a99bbde38ff364baa5c3fb2c53b3d05920d4b45e68828d04720622db1 [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" "ff72521a99bbde38ff364baa5c3fb2c53b3d05920d4b45e68828d04720622db1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ff72521a99bbde38ff364baa5c3fb2c53b3d05920d4b45e68828d04720622db1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff72521a99bbde38ff364baa5c3fb2c53b3d05920d4b45e68828d04720622db1", kill_on_drop: false }` [INFO] [stdout] ff72521a99bbde38ff364baa5c3fb2c53b3d05920d4b45e68828d04720622db1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "+0d37dca25a51fb900a402c94c8818ad1c2789e30" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66cd82d2ed2ce5dda72abf2dac7f68e0ca1602b6b56519e01d6edaebcc9ce143 [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" "66cd82d2ed2ce5dda72abf2dac7f68e0ca1602b6b56519e01d6edaebcc9ce143", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.43 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Checking futures-task v0.3.6 [INFO] [stderr] Checking futures-channel v0.3.6 [INFO] [stderr] Checking tracing-core v0.1.17 [INFO] [stderr] Checking socket2 v0.3.15 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking tracing v0.1.21 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking tokio v0.2.22 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Compiling pin-project-internal v0.4.26 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Checking pin-project v0.4.26 [INFO] [stderr] Checking futures-util v0.3.6 [INFO] [stderr] Checking h2 v0.2.6 [INFO] [stderr] Checking serde v1.0.116 [INFO] [stderr] Checking hyper v0.13.8 [INFO] [stderr] Checking docopt v1.1.0 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking apidoc v0.0.4 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `self::hyper::status` [INFO] [stdout] --> src/cli.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | use self::hyper::status::StatusCode; [INFO] [stdout] | ^^^^^^ could not find `status` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `self::hyper::status` [INFO] [stdout] --> src/cli.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | use self::hyper::status::StatusCode; [INFO] [stdout] | ^^^^^^ could not find `status` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mime` in `hyper` [INFO] [stdout] --> src/apidoc.rs:106:37 [INFO] [stdout] | [INFO] [stdout] 106 | fn application_json() -> hyper::mime::Mime { [INFO] [stdout] | ^^^^ could not find `mime` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `status` in `hyper` [INFO] [stdout] --> src/cli.rs:306:41 [INFO] [stdout] | [INFO] [stdout] 306 | fn parse_json(&self, status: hyper::status::StatusCode, json: Json) -> CliResult<::Result> { [INFO] [stdout] | ^^^^^^ could not find `status` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Basic` in module `hyper::header` [INFO] [stdout] --> src/apidoc.rs:36:41 [INFO] [stdout] | [INFO] [stdout] 36 | let scheme = hyper::header::Basic { [INFO] [stdout] | ^^^^^ not found in `hyper::header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Authorization` in module `hyper::header` [INFO] [stdout] --> src/apidoc.rs:41:40 [INFO] [stdout] | [INFO] [stdout] 41 | .header(hyper::header::Authorization(scheme)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `hyper::header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Basic` in module `hyper::header` [INFO] [stdout] --> src/apidoc.rs:95:41 [INFO] [stdout] | [INFO] [stdout] 95 | let scheme = hyper::header::Basic { [INFO] [stdout] | ^^^^^ not found in `hyper::header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Authorization` in module `hyper::header` [INFO] [stdout] --> src/apidoc.rs:100:40 [INFO] [stdout] | [INFO] [stdout] 100 | .header(hyper::header::Authorization(scheme)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `hyper::header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ContentType` in module `hyper::header` [INFO] [stdout] --> src/apidoc.rs:101:40 [INFO] [stdout] | [INFO] [stdout] 101 | .header(hyper::header::ContentType(application_json())); [INFO] [stdout] | ^^^^^^^^^^^ not found in `hyper::header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserError` in crate `toml` [INFO] [stdout] --> src/cli.rs:191:51 [INFO] [stdout] | [INFO] [stdout] 191 | let result: Result> = buf.parse(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `toml` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use cli::json::ParserError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Decoder` in `toml` [INFO] [stdout] --> src/cli.rs:204:33 [INFO] [stdout] | [INFO] [stdout] 204 | let mut decoder = toml::Decoder::new(profile.clone()); [INFO] [stdout] | ^^^^^^^ not found in `toml` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use cli::json::Decoder; [INFO] [stdout] | [INFO] [stdout] 4 | use rustc_serialize::Decoder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `Ok` in crate `hyper` [INFO] [stdout] --> src/cli.rs:310:20 [INFO] [stdout] | [INFO] [stdout] 310 | hyper::Ok => result.map(|v| Ok(v)), [INFO] [stdout] | ^^ not found in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `Ok` in crate `hyper` [INFO] [stdout] --> src/cli.rs:347:20 [INFO] [stdout] | [INFO] [stdout] 347 | hyper::Ok => { [INFO] [stdout] | ^^ not found in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `Ok` in crate `hyper` [INFO] [stdout] --> src/cli.rs:403:20 [INFO] [stdout] | [INFO] [stdout] 403 | hyper::Ok => models::Version::decode(&mut decoder).map(|v| Ok(v)), [INFO] [stdout] | ^^ not found in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_exit_status` in module `env` [INFO] [stdout] --> src/main.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | env::set_exit_status(1) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Response` is private [INFO] [stdout] --> src/cli.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | use self::hyper::client::Response; [INFO] [stdout] | ^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Response` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.8/src/client/mod.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | use http::{Method, Request, Response, Uri, Version}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Response` is private [INFO] [stdout] --> src/apidoc.rs:25:50 [INFO] [stdout] | [INFO] [stdout] 25 | ) -> hyper::error::Result { [INFO] [stdout] | ^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Response` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.8/src/client/mod.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | use http::{Method, Request, Response, Uri, Version}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Response` is private [INFO] [stdout] --> src/apidoc.rs:57:80 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn post(&self, value: &str) -> hyper::error::Result { [INFO] [stdout] | ^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Response` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.8/src/client/mod.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | use http::{Method, Request, Response, Uri, Version}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Response` is private [INFO] [stdout] --> src/apidoc.rs:85:50 [INFO] [stdout] | [INFO] [stdout] 85 | ) -> hyper::error::Result { [INFO] [stdout] | ^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Response` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.8/src/client/mod.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | use http::{Method, Request, Response, Uri, Version}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `mime` in `hyper` [INFO] [stdout] --> src/apidoc.rs:106:37 [INFO] [stdout] | [INFO] [stdout] 106 | fn application_json() -> hyper::mime::Mime { [INFO] [stdout] | ^^^^ could not find `mime` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/apidoc.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | try!(e.emit_struct_field("created_at", 0, |e| e.emit_str(&self.created_at.to_rfc3339()))); [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/apidoc.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | try!(e.emit_struct_field("created_by", 1, |e| self.created_by.encode(e))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/apidoc.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | try!(e.emit_struct_field("updated_at", 2, |e| e.emit_str(&self.updated_at.to_rfc3339()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/apidoc.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | try!(e.emit_struct_field("updated_by", 3, |e| self.updated_by.encode(e))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/apidoc.rs:165:34 [INFO] [stdout] | [INFO] [stdout] 165 | let created_at = try!(d.read_struct_field("created_at", 0, |d| d.read_str().and_then(|s| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/apidoc.rs:170:34 [INFO] [stdout] | [INFO] [stdout] 170 | let created_by = try!(d.read_struct_field("created_by", 1, |d| ReferenceGuid::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/apidoc.rs:171:34 [INFO] [stdout] | [INFO] [stdout] 171 | let updated_at = try!(d.read_struct_field("updated_at", 0, |d| d.read_str().and_then(|s| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `status` in `hyper` [INFO] [stdout] --> src/cli.rs:306:41 [INFO] [stdout] | [INFO] [stdout] 306 | fn parse_json(&self, status: hyper::status::StatusCode, json: Json) -> CliResult<::Result> { [INFO] [stdout] | ^^^^^^ could not find `status` in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/apidoc.rs:176:34 [INFO] [stdout] | [INFO] [stdout] 176 | let updated_by = try!(d.read_struct_field("updated_by", 1, |d| ReferenceGuid::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/apidoc.rs:338:17 [INFO] [stdout] | [INFO] [stdout] 338 | try!(e.emit_struct_field("type", 0, |e| self.original_type.encode(e))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/apidoc.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | try!(e.emit_struct_field("data", 1, |e| self.data.encode(e))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/apidoc.rs:348:51 [INFO] [stdout] | [INFO] [stdout] 348 | let original_type: OriginalType = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/apidoc.rs:350:36 [INFO] [stdout] | [INFO] [stdout] 350 | let data: String = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/apidoc.rs:368:17 [INFO] [stdout] | [INFO] [stdout] 368 | try!(e.emit_struct_field("type", 0, |e| self.original_type.encode(e))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/apidoc.rs:369:17 [INFO] [stdout] | [INFO] [stdout] 369 | try!(e.emit_struct_field("data", 1, |e| self.data.encode(e))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/apidoc.rs:378:59 [INFO] [stdout] | [INFO] [stdout] 378 | let original_type: Option = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Basic` in module `hyper::header` [INFO] [stdout] --> src/apidoc.rs:36:41 [INFO] [stdout] | [INFO] [stdout] 36 | let scheme = hyper::header::Basic { [INFO] [stdout] | ^^^^^ not found in `hyper::header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Authorization` in module `hyper::header` [INFO] [stdout] --> src/apidoc.rs:41:40 [INFO] [stdout] | [INFO] [stdout] 41 | .header(hyper::header::Authorization(scheme)); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `hyper::header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `Basic` in module `hyper::header` [INFO] [stdout] --> src/apidoc.rs:95:41 [INFO] [stdout] | [INFO] [stdout] 95 | let scheme = hyper::header::Basic { [INFO] [stdout] | ^^^^^ not found in `hyper::header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Authorization` in module `hyper::header` [INFO] [stdout] --> src/apidoc.rs:100:40 [INFO] [stdout] | [INFO] [stdout] 100 | .header(hyper::header::Authorization(scheme)) [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `hyper::header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ContentType` in module `hyper::header` [INFO] [stdout] --> src/apidoc.rs:101:40 [INFO] [stdout] | [INFO] [stdout] 101 | .header(hyper::header::ContentType(application_json())); [INFO] [stdout] | ^^^^^^^^^^^ not found in `hyper::header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParserError` in crate `toml` [INFO] [stdout] --> src/cli.rs:191:51 [INFO] [stdout] | [INFO] [stdout] 191 | let result: Result> = buf.parse(); [INFO] [stdout] | ^^^^^^^^^^^ not found in `toml` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 | use cli::json::ParserError; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Decoder` in `toml` [INFO] [stdout] --> src/cli.rs:204:33 [INFO] [stdout] | [INFO] [stdout] 204 | let mut decoder = toml::Decoder::new(profile.clone()); [INFO] [stdout] | ^^^^^^^ not found in `toml` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 4 | use cli::json::Decoder; [INFO] [stdout] | [INFO] [stdout] 4 | use rustc_serialize::Decoder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/apidoc.rs:380:36 [INFO] [stdout] | [INFO] [stdout] 380 | let data: String = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | try!($op.map_err(|err| CliError::from_err(&err))) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | let Repo(org, rest) = cli_try!(Repo::from_str(tag)); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | try!($op.map_err(|err| CliError::from_err(&err))) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | let Revision(repo, rest) = cli_try!(Revision::from_str(tag)); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | try!($op.map_err(|err| CliError { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | let mut file = cli_try!( [INFO] [stdout] | ________________________- [INFO] [stdout] 186 | | File::open(path), [INFO] [stdout] 187 | | "failed to open config at `{}`: {}", [INFO] [stdout] 188 | | path); [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:192:34 [INFO] [stdout] | [INFO] [stdout] 192 | let value: toml::Value = try!(result.map_err(|errs| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | try!($op.map_err(|err| CliError::from_err(&err))) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | Ok(cli_try!(Config::decode(&mut decoder))) [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | try!($op.map_err(|err| CliError::from_err(&err))) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | target: cli_try!(GenerateTarget::from_str(tag)) [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | try!($op.map_err(|err| CliError { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | let mut res = cli_try!(self.perform_request(cli), "HTTP request failed: {}"); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | try!($op.map_err(|err| CliError { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | let json = cli_try!( [INFO] [stdout] | ____________________- [INFO] [stdout] 278 | | Json::from_reader(&mut res), [INFO] [stdout] 279 | | "failed to parse HTTP response body as JSON (status was {}): {}", [INFO] [stdout] 280 | | status); [INFO] [stdout] | |___________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | try!($op.map_err(|err| CliError::from_err(&err))) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | self.handle_result(cli, cli_try!(self.parse_json(status, json))) [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | try!($op.map_err(|err| CliError { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | let mut file = cli_try!( [INFO] [stdout] | ________________________- [INFO] [stdout] 294 | | File::open(self.path), [INFO] [stdout] 295 | | "failed to open input at `{}`: {}", [INFO] [stdout] 296 | | self.path); [INFO] [stdout] | |______________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `Ok` in crate `hyper` [INFO] [stdout] --> src/cli.rs:310:20 [INFO] [stdout] | [INFO] [stdout] 310 | hyper::Ok => result.map(|v| Ok(v)), [INFO] [stdout] | ^^ not found in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | try!($op.map_err(|err| CliError { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | / cli_try!( [INFO] [stdout] 299 | | file.read_to_string(&mut input), [INFO] [stdout] 300 | | "failed reading from file at `{}`: {}", [INFO] [stdout] 301 | | self.path); [INFO] [stdout] | |_______________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `Ok` in crate `hyper` [INFO] [stdout] --> src/cli.rs:347:20 [INFO] [stdout] | [INFO] [stdout] 347 | hyper::Ok => { [INFO] [stdout] | ^^ not found in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find unit struct, unit variant or constant `Ok` in crate `hyper` [INFO] [stdout] --> src/cli.rs:403:20 [INFO] [stdout] | [INFO] [stdout] 403 | hyper::Ok => models::Version::decode(&mut decoder).map(|v| Ok(v)), [INFO] [stdout] | ^^ not found in `hyper` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `set_exit_status` in module `env` [INFO] [stdout] --> src/main.rs:93:18 [INFO] [stdout] | [INFO] [stdout] 93 | env::set_exit_status(1) [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `env` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Response` is private [INFO] [stdout] --> src/cli.rs:21:26 [INFO] [stdout] | [INFO] [stdout] 21 | use self::hyper::client::Response; [INFO] [stdout] | ^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Response` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.8/src/client/mod.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | use http::{Method, Request, Response, Uri, Version}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | try!($op.map_err(|err| CliError::from_err(&err))) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | Ok(cli_try!(validations.post(&input[..]))) [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | try!($op.map_err(|err| CliError::from_err(&err))) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | Ok(cli_try!(match status { [INFO] [stdout] | ____________- [INFO] [stdout] 310 | | hyper::Ok => result.map(|v| Ok(v)), [INFO] [stdout] 311 | | _ => result.map(|v| Err(v)) [INFO] [stdout] 312 | | })) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | try!($op.map_err(|err| CliError { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | err!(cli, "validation error: {}", err); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | try!($op.map_err(|err| CliError { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | err!(cli, "getting code for {}/{}:{}/{}", org, app, version, target); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | try!($op.map_err(|err| CliError::from_err(&err))) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 339 | Ok(cli_try!( [INFO] [stdout] | ____________- [INFO] [stdout] 340 | | client.get_by_organization_key_and_application_key_and_version_and_generator_key( [INFO] [stdout] 341 | | org, app, version, target))) [INFO] [stdout] | |___________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | try!($op.map_err(|err| CliError::from_err(&err))) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | Ok(cli_try!(match status { [INFO] [stdout] | ____________- [INFO] [stdout] 347 | | hyper::Ok => { [INFO] [stdout] 348 | | let result = models::Code::decode(&mut decoder); [INFO] [stdout] 349 | | result.map(|c| Ok(c)) [INFO] [stdout] ... | [INFO] [stdout] 354 | | } [INFO] [stdout] 355 | | })) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | try!($op.map_err(|err| CliError { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | Ok(code) => Ok(out!(cli, "{}", code.source)), [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | try!($op.map_err(|err| CliError { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | err!(cli, "error: {}", error.message); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | try!($op.map_err(|err| CliError { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | cli_try!(self.visibility.valid(), "invalid visiblity: {}"); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:382:49 [INFO] [stdout] | [INFO] [stdout] 382 | let Revision(Repo(org, app), version) = try!(Revision::from_str(self.tag)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | try!($op.map_err(|err| CliError { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | let mut file = cli_try!( [INFO] [stdout] | ________________________- [INFO] [stdout] 384 | | File::open(self.path), "failed to open {}: {}", self.path); [INFO] [stdout] | |______________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | try!($op.map_err(|err| CliError::from_err(&err))) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | cli_try!(file.read_to_string(&mut input)); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | try!($op.map_err(|err| CliError { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 394 | out!(cli, "pushing to {}/{}:{}", org, app, version); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | try!($op.map_err(|err| CliError::from_err(&err))) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | Ok(cli_try!(cli.versions() [INFO] [stdout] | ____________- [INFO] [stdout] 396 | | .put_by_organization_key_and_application_key_and_version( [INFO] [stdout] 397 | | org, app, version, form))) [INFO] [stdout] | |_________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | try!($op.map_err(|err| CliError::from_err(&err))) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 402 | Ok(cli_try!(match status { [INFO] [stdout] | ____________- [INFO] [stdout] 403 | | hyper::Ok => models::Version::decode(&mut decoder).map(|v| Ok(v)), [INFO] [stdout] 404 | | _ => Vec::::decode(&mut decoder).map(|e| Err(e)) [INFO] [stdout] 405 | | })) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | try!($op.map_err(|err| CliError { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | err!(cli, "error: {}", error.message); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Response` is private [INFO] [stdout] --> src/apidoc.rs:25:50 [INFO] [stdout] | [INFO] [stdout] 25 | ) -> hyper::error::Result { [INFO] [stdout] | ^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Response` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.8/src/client/mod.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | use http::{Method, Request, Response, Uri, Version}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustc_serialize::Decoder` [INFO] [stdout] --> src/cli.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rustc_serialize::Decoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Response` is private [INFO] [stdout] --> src/apidoc.rs:57:80 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn post(&self, value: &str) -> hyper::error::Result { [INFO] [stdout] | ^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Response` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.8/src/client/mod.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | use http::{Method, Request, Response, Uri, Version}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: struct `Response` is private [INFO] [stdout] --> src/apidoc.rs:85:50 [INFO] [stdout] | [INFO] [stdout] 85 | ) -> hyper::error::Result { [INFO] [stdout] | ^^^^^^^^ private struct [INFO] [stdout] | [INFO] [stdout] note: the struct `Response` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.8/src/client/mod.rs:60:29 [INFO] [stdout] | [INFO] [stdout] 60 | use http::{Method, Request, Response, Uri, Version}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | fn from_err(err: &Error) -> CliError { [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.rs:174:32 [INFO] [stdout] | [INFO] [stdout] 174 | fn cause(&self) -> Option<&error::Error> { None } [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:211:14 [INFO] [stdout] | [INFO] [stdout] 211 | out: Box, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:212:14 [INFO] [stdout] | [INFO] [stdout] 212 | err: Box [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/apidoc.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | try!(e.emit_struct_field("created_at", 0, |e| e.emit_str(&self.created_at.to_rfc3339()))); [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/apidoc.rs:154:17 [INFO] [stdout] | [INFO] [stdout] 154 | try!(e.emit_struct_field("created_by", 1, |e| self.created_by.encode(e))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/apidoc.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | try!(e.emit_struct_field("updated_at", 2, |e| e.emit_str(&self.updated_at.to_rfc3339()))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/apidoc.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | try!(e.emit_struct_field("updated_by", 3, |e| self.updated_by.encode(e))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/apidoc.rs:165:34 [INFO] [stdout] | [INFO] [stdout] 165 | let created_at = try!(d.read_struct_field("created_at", 0, |d| d.read_str().and_then(|s| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/apidoc.rs:170:34 [INFO] [stdout] | [INFO] [stdout] 170 | let created_by = try!(d.read_struct_field("created_by", 1, |d| ReferenceGuid::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/apidoc.rs:171:34 [INFO] [stdout] | [INFO] [stdout] 171 | let updated_at = try!(d.read_struct_field("updated_at", 0, |d| d.read_str().and_then(|s| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/apidoc.rs:176:34 [INFO] [stdout] | [INFO] [stdout] 176 | let updated_by = try!(d.read_struct_field("updated_by", 1, |d| ReferenceGuid::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/apidoc.rs:338:17 [INFO] [stdout] | [INFO] [stdout] 338 | try!(e.emit_struct_field("type", 0, |e| self.original_type.encode(e))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/apidoc.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | try!(e.emit_struct_field("data", 1, |e| self.data.encode(e))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/apidoc.rs:348:51 [INFO] [stdout] | [INFO] [stdout] 348 | let original_type: OriginalType = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/apidoc.rs:350:36 [INFO] [stdout] | [INFO] [stdout] 350 | let data: String = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/apidoc.rs:368:17 [INFO] [stdout] | [INFO] [stdout] 368 | try!(e.emit_struct_field("type", 0, |e| self.original_type.encode(e))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/apidoc.rs:369:17 [INFO] [stdout] | [INFO] [stdout] 369 | try!(e.emit_struct_field("data", 1, |e| self.data.encode(e))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/apidoc.rs:378:59 [INFO] [stdout] | [INFO] [stdout] 378 | let original_type: Option = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/apidoc.rs:380:36 [INFO] [stdout] | [INFO] [stdout] 380 | let data: String = try!( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | try!($op.map_err(|err| CliError::from_err(&err))) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | let Repo(org, rest) = cli_try!(Repo::from_str(tag)); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | try!($op.map_err(|err| CliError::from_err(&err))) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | let Revision(repo, rest) = cli_try!(Revision::from_str(tag)); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/main.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let home_dir = env::home_dir().expect("unable to get home directory"); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | try!($op.map_err(|err| CliError { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | let mut file = cli_try!( [INFO] [stdout] | ________________________- [INFO] [stdout] 186 | | File::open(path), [INFO] [stdout] 187 | | "failed to open config at `{}`: {}", [INFO] [stdout] 188 | | path); [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:192:34 [INFO] [stdout] | [INFO] [stdout] 192 | let value: toml::Value = try!(result.map_err(|errs| { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | try!($op.map_err(|err| CliError::from_err(&err))) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 205 | Ok(cli_try!(Config::decode(&mut decoder))) [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | try!($op.map_err(|err| CliError::from_err(&err))) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 231 | target: cli_try!(GenerateTarget::from_str(tag)) [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | try!($op.map_err(|err| CliError { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | let mut res = cli_try!(self.perform_request(cli), "HTTP request failed: {}"); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | try!($op.map_err(|err| CliError { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 277 | let json = cli_try!( [INFO] [stdout] | ____________________- [INFO] [stdout] 278 | | Json::from_reader(&mut res), [INFO] [stdout] 279 | | "failed to parse HTTP response body as JSON (status was {}): {}", [INFO] [stdout] 280 | | status); [INFO] [stdout] | |___________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | try!($op.map_err(|err| CliError::from_err(&err))) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 281 | self.handle_result(cli, cli_try!(self.parse_json(status, json))) [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | try!($op.map_err(|err| CliError { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | let mut file = cli_try!( [INFO] [stdout] | ________________________- [INFO] [stdout] 294 | | File::open(self.path), [INFO] [stdout] 295 | | "failed to open input at `{}`: {}", [INFO] [stdout] 296 | | self.path); [INFO] [stdout] | |______________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | try!($op.map_err(|err| CliError { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | / cli_try!( [INFO] [stdout] 299 | | file.read_to_string(&mut input), [INFO] [stdout] 300 | | "failed reading from file at `{}`: {}", [INFO] [stdout] 301 | | self.path); [INFO] [stdout] | |_______________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | try!($op.map_err(|err| CliError::from_err(&err))) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | Ok(cli_try!(validations.post(&input[..]))) [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | try!($op.map_err(|err| CliError::from_err(&err))) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | Ok(cli_try!(match status { [INFO] [stdout] | ____________- [INFO] [stdout] 310 | | hyper::Ok => result.map(|v| Ok(v)), [INFO] [stdout] 311 | | _ => result.map(|v| Err(v)) [INFO] [stdout] 312 | | })) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | try!($op.map_err(|err| CliError { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 320 | err!(cli, "validation error: {}", err); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | try!($op.map_err(|err| CliError { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 338 | err!(cli, "getting code for {}/{}:{}/{}", org, app, version, target); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | try!($op.map_err(|err| CliError::from_err(&err))) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 339 | Ok(cli_try!( [INFO] [stdout] | ____________- [INFO] [stdout] 340 | | client.get_by_organization_key_and_application_key_and_version_and_generator_key( [INFO] [stdout] 341 | | org, app, version, target))) [INFO] [stdout] | |___________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | try!($op.map_err(|err| CliError::from_err(&err))) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | Ok(cli_try!(match status { [INFO] [stdout] | ____________- [INFO] [stdout] 347 | | hyper::Ok => { [INFO] [stdout] 348 | | let result = models::Code::decode(&mut decoder); [INFO] [stdout] 349 | | result.map(|c| Ok(c)) [INFO] [stdout] ... | [INFO] [stdout] 354 | | } [INFO] [stdout] 355 | | })) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | try!($op.map_err(|err| CliError { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | Ok(code) => Ok(out!(cli, "{}", code.source)), [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | try!($op.map_err(|err| CliError { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | err!(cli, "error: {}", error.message); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | try!($op.map_err(|err| CliError { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | cli_try!(self.visibility.valid(), "invalid visiblity: {}"); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:382:49 [INFO] [stdout] | [INFO] [stdout] 382 | let Revision(Repo(org, app), version) = try!(Revision::from_str(self.tag)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | try!($op.map_err(|err| CliError { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | let mut file = cli_try!( [INFO] [stdout] | ________________________- [INFO] [stdout] 384 | | File::open(self.path), "failed to open {}: {}", self.path); [INFO] [stdout] | |______________________________________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | try!($op.map_err(|err| CliError::from_err(&err))) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | cli_try!(file.read_to_string(&mut input)); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | try!($op.map_err(|err| CliError { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 394 | out!(cli, "pushing to {}/{}:{}", org, app, version); [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | try!($op.map_err(|err| CliError::from_err(&err))) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 395 | Ok(cli_try!(cli.versions() [INFO] [stdout] | ____________- [INFO] [stdout] 396 | | .put_by_organization_key_and_application_key_and_version( [INFO] [stdout] 397 | | org, app, version, form))) [INFO] [stdout] | |_________________________________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | try!($op.map_err(|err| CliError::from_err(&err))) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 402 | Ok(cli_try!(match status { [INFO] [stdout] | ____________- [INFO] [stdout] 403 | | hyper::Ok => models::Version::decode(&mut decoder).map(|v| Ok(v)), [INFO] [stdout] 404 | | _ => Vec::::decode(&mut decoder).map(|e| Err(e)) [INFO] [stdout] 405 | | })) [INFO] [stdout] | |__________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cli.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | try!($op.map_err(|err| CliError { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 413 | err!(cli, "error: {}", error.message); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stdout] --> src/apidoc.rs:25:35 [INFO] [stdout] | [INFO] [stdout] 25 | ) -> hyper::error::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stdout] --> src/apidoc.rs:57:65 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn post(&self, value: &str) -> hyper::error::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rustc_serialize::Decoder` [INFO] [stdout] --> src/cli.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use rustc_serialize::Decoder; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stdout] --> src/apidoc.rs:85:35 [INFO] [stdout] | [INFO] [stdout] 85 | ) -> hyper::error::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:96:23 [INFO] [stdout] | [INFO] [stdout] 96 | fn from_err(err: &Error) -> CliError { [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.rs:174:32 [INFO] [stdout] | [INFO] [stdout] 174 | fn cause(&self) -> Option<&error::Error> { None } [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:211:14 [INFO] [stdout] | [INFO] [stdout] 211 | out: Box, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cli.rs:212:14 [INFO] [stdout] | [INFO] [stdout] 212 | err: Box [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0422, E0425, E0432, E0433, E0531, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: could not compile `apidoc` [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] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/main.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let home_dir = env::home_dir().expect("unable to get home directory"); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stdout] --> src/apidoc.rs:25:35 [INFO] [stdout] | [INFO] [stdout] 25 | ) -> hyper::error::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stdout] --> src/apidoc.rs:57:65 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn post(&self, value: &str) -> hyper::error::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stdout] --> src/apidoc.rs:85:35 [INFO] [stdout] | [INFO] [stdout] 85 | ) -> hyper::error::Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 49 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0422, E0425, E0432, E0433, E0531, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "66cd82d2ed2ce5dda72abf2dac7f68e0ca1602b6b56519e01d6edaebcc9ce143", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66cd82d2ed2ce5dda72abf2dac7f68e0ca1602b6b56519e01d6edaebcc9ce143", kill_on_drop: false }` [INFO] [stdout] 66cd82d2ed2ce5dda72abf2dac7f68e0ca1602b6b56519e01d6edaebcc9ce143