[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 try#e4dba30b9b475d8750370c4dfb49b6541990904d for pr-71393 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmatt-thomson%2Fgithub-sweep" "/workspace/builds/worker-0/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/matt-thomson/github-sweep on toolchain e4dba30b9b475d8750370c4dfb49b6541990904d [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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-0/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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /workspace/builds/worker-0/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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "+e4dba30b9b475d8750370c4dfb49b6541990904d" "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] 2ca5f6b90a405de7c3da3c2c4e2b6bcb21e1ce218a9a490ebff396b4b6ab0c06 [INFO] running `"docker" "start" "-a" "2ca5f6b90a405de7c3da3c2c4e2b6bcb21e1ce218a9a490ebff396b4b6ab0c06"` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking pin-project-lite v0.1.4 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking futures-task v0.3.4 [INFO] [stderr] Checking futures-sink v0.3.4 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking tower-service v0.3.0 [INFO] [stderr] Checking futures-channel v0.3.4 [INFO] [stderr] Checking http v0.2.1 [INFO] [stderr] Checking futures-util v0.3.4 [INFO] [stderr] Checking indexmap v1.3.2 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking http-body v0.3.1 [INFO] [stderr] Checking tokio v0.2.20 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking h2 v0.2.4 [INFO] [stderr] Compiling pin-project-internal v0.4.9 [INFO] [stderr] Checking pin-project v0.4.9 [INFO] [stderr] Checking hyper v0.13.5 [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.5/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; 3 warnings emitted [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.5/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; 3 warnings emitted [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" "2ca5f6b90a405de7c3da3c2c4e2b6bcb21e1ce218a9a490ebff396b4b6ab0c06"` [INFO] running `"docker" "rm" "-f" "2ca5f6b90a405de7c3da3c2c4e2b6bcb21e1ce218a9a490ebff396b4b6ab0c06"` [INFO] [stdout] 2ca5f6b90a405de7c3da3c2c4e2b6bcb21e1ce218a9a490ebff396b4b6ab0c06