[INFO] updating cached repository https://github.com/haywood/apidoc-cli [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 8b43a0d91620ab2d22ab322a7eaa3d52a7bc173f [INFO] testing haywood/apidoc-cli against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhaywood%2Fapidoc-cli" "work/builds/worker-4/source"` [INFO] [stderr] Cloning into 'work/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/haywood/apidoc-cli on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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 work/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/haywood/apidoc-cli already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /big/crater/work/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] bd08fc6a76acc393b71726b195061044a0490eb42e187d3448b3ba20c040ae28 [INFO] running `"docker" "start" "-a" "bd08fc6a76acc393b71726b195061044a0490eb42e187d3448b3ba20c040ae28"` [INFO] [stderr] Compiling apidoc v0.0.4 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `self::hyper::status` [INFO] [stderr] --> src/cli.rs:22:18 [INFO] [stderr] | [INFO] [stderr] 22 | use self::hyper::status::StatusCode; [INFO] [stderr] | ^^^^^^ could not find `status` in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `mime` in `hyper` [INFO] [stderr] --> src/apidoc.rs:106:37 [INFO] [stderr] | [INFO] [stderr] 106 | fn application_json() -> hyper::mime::Mime { [INFO] [stderr] | ^^^^ could not find `mime` in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `Decoder` in `toml` [INFO] [stderr] --> src/cli.rs:204:33 [INFO] [stderr] | [INFO] [stderr] 204 | let mut decoder = toml::Decoder::new(profile.clone()); [INFO] [stderr] | ^^^^^^^ could not find `Decoder` in `toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `status` in `hyper` [INFO] [stderr] --> src/cli.rs:306:41 [INFO] [stderr] | [INFO] [stderr] 306 | fn parse_json(&self, status: hyper::status::StatusCode, json: Json) -> CliResult<::Result> { [INFO] [stderr] | ^^^^^^ could not find `status` in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Basic` in module `hyper::header` [INFO] [stderr] --> src/apidoc.rs:36:41 [INFO] [stderr] | [INFO] [stderr] 36 | let scheme = hyper::header::Basic { [INFO] [stderr] | ^^^^^ not found in `hyper::header` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `Authorization` in module `hyper::header` [INFO] [stderr] --> src/apidoc.rs:41:40 [INFO] [stderr] | [INFO] [stderr] 41 | .header(hyper::header::Authorization(scheme)); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in `hyper::header` [INFO] [stderr] [INFO] [stderr] error[E0422]: cannot find struct, variant or union type `Basic` in module `hyper::header` [INFO] [stderr] --> src/apidoc.rs:95:41 [INFO] [stderr] | [INFO] [stderr] 95 | let scheme = hyper::header::Basic { [INFO] [stderr] | ^^^^^ not found in `hyper::header` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `Authorization` in module `hyper::header` [INFO] [stderr] --> src/apidoc.rs:100:40 [INFO] [stderr] | [INFO] [stderr] 100 | .header(hyper::header::Authorization(scheme)) [INFO] [stderr] | ^^^^^^^^^^^^^ not found in `hyper::header` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `ContentType` in module `hyper::header` [INFO] [stderr] --> src/apidoc.rs:101:40 [INFO] [stderr] | [INFO] [stderr] 101 | .header(hyper::header::ContentType(application_json())); [INFO] [stderr] | ^^^^^^^^^^^ not found in `hyper::header` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `ParserError` in crate `toml` [INFO] [stderr] --> src/cli.rs:191:51 [INFO] [stderr] | [INFO] [stderr] 191 | let result: Result> = buf.parse(); [INFO] [stderr] | ^^^^^^^^^^^ not found in `toml` [INFO] [stderr] help: possible candidate is found in another module, you can import it into scope [INFO] [stderr] | [INFO] [stderr] 4 | use rustc_serialize::json::ParserError; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find unit struct/variant or constant `Ok` in crate `hyper` [INFO] [stderr] --> src/cli.rs:310:20 [INFO] [stderr] | [INFO] [stderr] 310 | hyper::Ok => result.map(|v| Ok(v)), [INFO] [stderr] | ^^ not found in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find unit struct/variant or constant `Ok` in crate `hyper` [INFO] [stderr] --> src/cli.rs:347:20 [INFO] [stderr] | [INFO] [stderr] 347 | hyper::Ok => { [INFO] [stderr] | ^^ not found in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find unit struct/variant or constant `Ok` in crate `hyper` [INFO] [stderr] --> src/cli.rs:403:20 [INFO] [stderr] | [INFO] [stderr] 403 | hyper::Ok => models::Version::decode(&mut decoder).map(|v| Ok(v)), [INFO] [stderr] | ^^ not found in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function `set_exit_status` in module `env` [INFO] [stderr] --> src/main.rs:93:18 [INFO] [stderr] | [INFO] [stderr] 93 | env::set_exit_status(1) [INFO] [stderr] | ^^^^^^^^^^^^^^^ not found in `env` [INFO] [stderr] [INFO] [stderr] error[E0603]: struct `Response` is private [INFO] [stderr] --> src/cli.rs:21:26 [INFO] [stderr] | [INFO] [stderr] 21 | use self::hyper::client::Response; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: struct `Response` is private [INFO] [stderr] --> src/apidoc.rs:25:50 [INFO] [stderr] | [INFO] [stderr] 25 | ) -> hyper::error::Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: struct `Response` is private [INFO] [stderr] --> src/apidoc.rs:57:80 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn post(&self, value: &str) -> hyper::error::Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: struct `Response` is private [INFO] [stderr] --> src/apidoc.rs:85:50 [INFO] [stderr] | [INFO] [stderr] 85 | ) -> hyper::error::Result { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stderr] --> src/main.rs:1:1 [INFO] [stderr] | [INFO] [stderr] 1 | #![feature(exit_status)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cli.rs:96:23 [INFO] [stderr] | [INFO] [stderr] 96 | fn from_err(err: &Error) -> CliError { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cli.rs:174:32 [INFO] [stderr] | [INFO] [stderr] 174 | fn cause(&self) -> Option<&error::Error> { None } [INFO] [stderr] | ^^^^^^^^^^^^ help: use `dyn`: `dyn error::Error` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cli.rs:211:14 [INFO] [stderr] | [INFO] [stderr] 211 | out: Box, [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cli.rs:212:14 [INFO] [stderr] | [INFO] [stderr] 212 | err: Box [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::env::home_dir': This function's behavior is unexpected and probably not what you want. Consider using the home_dir function from https://crates.io/crates/dirs instead. [INFO] [stderr] --> src/main.rs:39:20 [INFO] [stderr] | [INFO] [stderr] 39 | let home_dir = env::home_dir().expect("unable to get home directory"); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stderr] --> src/apidoc.rs:25:35 [INFO] [stderr] | [INFO] [stderr] 25 | ) -> hyper::error::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stderr] --> src/apidoc.rs:57:65 [INFO] [stderr] | [INFO] [stderr] 57 | pub fn post(&self, value: &str) -> hyper::error::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of type arguments: expected 1, found 0 [INFO] [stderr] --> src/apidoc.rs:85:35 [INFO] [stderr] | [INFO] [stderr] 85 | ) -> hyper::error::Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ expected 1 type argument [INFO] [stderr] [INFO] [stderr] error: aborting due to 22 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0107, E0412, E0422, E0425, E0432, E0433, E0554, E0603. [INFO] [stderr] For more information about an error, try `rustc --explain E0107`. [INFO] [stderr] error: Could not compile `apidoc`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "bd08fc6a76acc393b71726b195061044a0490eb42e187d3448b3ba20c040ae28"` [INFO] running `"docker" "rm" "-f" "bd08fc6a76acc393b71726b195061044a0490eb42e187d3448b3ba20c040ae28"` [INFO] [stdout] bd08fc6a76acc393b71726b195061044a0490eb42e187d3448b3ba20c040ae28