[INFO] updating cached repository https://github.com/matt-thomson/github-sweep
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/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] 558cafddfc46f8ae7352a5895553cc7c3562d6f0
[INFO] checking matt-thomson/github-sweep against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatt-thomson%2Fgithub-sweep" "/workspace/builds/worker-8/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/matt-thomson/github-sweep on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/matt-thomson/github-sweep
[INFO] finished tweaking git repo https://github.com/matt-thomson/github-sweep
[INFO] tweaked toml for git repo https://github.com/matt-thomson/github-sweep written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] crate git repo https://github.com/matt-thomson/github-sweep already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[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 `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 76c99bbca2605af68bc8106d25905686fa6aac3fa46b3adff27dcedbe9a7f5e1
[INFO] running `"docker" "start" "-a" "76c99bbca2605af68bc8106d25905686fa6aac3fa46b3adff27dcedbe9a7f5e1"`
[INFO] [stderr]     Checking github-sweep v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] error[E0432]: unresolved imports `hyper::header::Authorization`, `hyper::header::Basic`, `hyper::header::Headers`, `hyper::header::UserAgent`
[INFO] [stderr]  --> src/http.rs:3:21
[INFO] [stderr]   |
[INFO] [stderr] 3 | use hyper::header::{Authorization, Basic, Headers, UserAgent};
[INFO] [stderr]   |                     ^^^^^^^^^^^^^  ^^^^^  ^^^^^^^  ^^^^^^^^^ no `UserAgent` in `header`
[INFO] [stderr]   |                     |              |      |
[INFO] [stderr]   |                     |              |      no `Headers` in `header`
[INFO] [stderr]   |                     |              no `Basic` in `header`
[INFO] [stderr]   |                     no `Authorization` in `header`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `status` in `hyper`
[INFO] [stderr]  --> src/error.rs:9:30
[INFO] [stderr]   |
[INFO] [stderr] 9 |     Request { status: hyper::status::StatusCode }
[INFO] [stderr]   |                              ^^^^^^ could not find `status` in `hyper`
[INFO] [stderr] 
[INFO] [stderr] error[E0603]: struct `Response` is private
[INFO] [stderr]   --> src/http.rs:2:20
[INFO] [stderr]    |
[INFO] [stderr] 2  | use hyper::client::Response;
[INFO] [stderr]    |                    ^^^^^^^^ private struct
[INFO] [stderr]    |
[INFO] [stderr] note: the struct `Response` is defined here
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.4/src/client/mod.rs:59:29
[INFO] [stderr]    |
[INFO] [stderr] 59 | use http::{Method, Request, Response, Uri, Version};
[INFO] [stderr]    |                             ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/credentials.rs:11:20
[INFO] [stderr]    |
[INFO] [stderr] 11 |     let username = try!(env_var("GITHUB_SWEEP_USER"));
[INFO] [stderr]    |                    ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/credentials.rs:12:17
[INFO] [stderr]    |
[INFO] [stderr] 12 |     let token = try!(env_var("GITHUB_SWEEP_TOKEN"));
[INFO] [stderr]    |                 ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/main.rs:42:20
[INFO] [stderr]    |
[INFO] [stderr] 42 |     let response = try!(client.put("https://api.github.com/notifications", "{}"));
[INFO] [stderr]    |                    ^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0107]: wrong number of type arguments: expected at least 1, found 0
[INFO] [stderr]  --> src/http.rs:9:13
[INFO] [stderr]   |
[INFO] [stderr] 9 |     client: hyper::Client,
[INFO] [stderr]   |             ^^^^^^^^^^^^^ expected at least 1 type argument
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 4 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0107, E0432, E0433, E0603.
[INFO] [stderr] For more information about an error, try `rustc --explain E0107`.
[INFO] [stderr] error: could not compile `github-sweep`.
[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] [stderr] error[E0432]: unresolved imports `hyper::header::Authorization`, `hyper::header::Basic`, `hyper::header::Headers`, `hyper::header::UserAgent`
[INFO] [stderr]  --> src/http.rs:3:21
[INFO] [stderr]   |
[INFO] [stderr] 3 | use hyper::header::{Authorization, Basic, Headers, UserAgent};
[INFO] [stderr]   |                     ^^^^^^^^^^^^^  ^^^^^  ^^^^^^^  ^^^^^^^^^ no `UserAgent` in `header`
[INFO] [stderr]   |                     |              |      |
[INFO] [stderr]   |                     |              |      no `Headers` in `header`
[INFO] [stderr]   |                     |              no `Basic` in `header`
[INFO] [stderr]   |                     no `Authorization` in `header`
[INFO] [stderr] 
[INFO] [stderr] error[E0433]: failed to resolve: could not find `status` in `hyper`
[INFO] [stderr]  --> src/error.rs:9:30
[INFO] [stderr]   |
[INFO] [stderr] 9 |     Request { status: hyper::status::StatusCode }
[INFO] [stderr]   |                              ^^^^^^ could not find `status` in `hyper`
[INFO] [stderr] 
[INFO] [stderr] error[E0603]: struct `Response` is private
[INFO] [stderr]   --> src/http.rs:2:20
[INFO] [stderr]    |
[INFO] [stderr] 2  | use hyper::client::Response;
[INFO] [stderr]    |                    ^^^^^^^^ private struct
[INFO] [stderr]    |
[INFO] [stderr] note: the struct `Response` is defined here
[INFO] [stderr]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.13.4/src/client/mod.rs:59:29
[INFO] [stderr]    |
[INFO] [stderr] 59 | use http::{Method, Request, Response, Uri, Version};
[INFO] [stderr]    |                             ^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/credentials.rs:11:20
[INFO] [stderr]    |
[INFO] [stderr] 11 |     let username = try!(env_var("GITHUB_SWEEP_USER"));
[INFO] [stderr]    |                    ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/credentials.rs:12:17
[INFO] [stderr]    |
[INFO] [stderr] 12 |     let token = try!(env_var("GITHUB_SWEEP_TOKEN"));
[INFO] [stderr]    |                 ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/main.rs:42:20
[INFO] [stderr]    |
[INFO] [stderr] 42 |     let response = try!(client.put("https://api.github.com/notifications", "{}"));
[INFO] [stderr]    |                    ^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0107]: wrong number of type arguments: expected at least 1, found 0
[INFO] [stderr]  --> src/http.rs:9:13
[INFO] [stderr]   |
[INFO] [stderr] 9 |     client: hyper::Client,
[INFO] [stderr]   |             ^^^^^^^^^^^^^ expected at least 1 type argument
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 4 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0107, E0432, E0433, E0603.
[INFO] [stderr] For more information about an error, try `rustc --explain E0107`.
[INFO] [stderr] error: could not compile `github-sweep`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "76c99bbca2605af68bc8106d25905686fa6aac3fa46b3adff27dcedbe9a7f5e1"`
[INFO] running `"docker" "rm" "-f" "76c99bbca2605af68bc8106d25905686fa6aac3fa46b3adff27dcedbe9a7f5e1"`
[INFO] [stdout] 76c99bbca2605af68bc8106d25905686fa6aac3fa46b3adff27dcedbe9a7f5e1
