[INFO] updating cached repository https://github.com/lopuhin/rust-broad-crawl [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] c1e76578b7c9b29237f2168990f7a072d0f97c4f [INFO] testing lopuhin/rust-broad-crawl against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flopuhin%2Frust-broad-crawl" "/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/lopuhin/rust-broad-crawl on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/lopuhin/rust-broad-crawl [INFO] finished tweaking git repo https://github.com/lopuhin/rust-broad-crawl [INFO] tweaked toml for git repo https://github.com/lopuhin/rust-broad-crawl written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/lopuhin/rust-broad-crawl already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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" "+beta-2020-06-03" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Updating git repository `https://github.com/hyperium/hyper.git` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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=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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 305a85337ad8ab80d29704ec14e78155d00cfb99f8b97b514ebb4ecab2fb9e33 [INFO] running `"docker" "start" "-a" "305a85337ad8ab80d29704ec14e78155d00cfb99f8b97b514ebb4ecab2fb9e33"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling siphasher v0.3.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling new_debug_unreachable v1.0.4 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling mac v0.1.1 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling precomputed-hash v0.1.1 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling futf v0.1.4 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling tendril v0.4.1 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling string_cache v0.8.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling string_cache_codegen v0.5.1 [INFO] [stderr] Compiling phf_codegen v0.8.0 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling pin-project-internal v0.4.20 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling html5ever v0.25.1 [INFO] [stderr] Compiling pin-project v0.4.20 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling h2 v0.2.5 [INFO] [stderr] Compiling markup5ever v0.10.0 [INFO] [stderr] Compiling hyper v0.13.6 (https://github.com/hyperium/hyper.git#d5d09ed7) [INFO] [stderr] Compiling crawler v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `hyper::header::Location` [INFO] [stderr] --> src/crawl.rs:10:21 [INFO] [stderr] | [INFO] [stderr] 10 | use hyper::header::{Location}; [INFO] [stderr] | ^^^^^^^^ no `Location` in `header` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hyper::Url` [INFO] [stderr] --> src/crawl.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use hyper::Url; [INFO] [stderr] | ^^^^^^^--- [INFO] [stderr] | | | [INFO] [stderr] | | help: a similar name exists in the module: `Uri` [INFO] [stderr] | no `Url` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hyper::status` [INFO] [stderr] --> src/crawl.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | use hyper::status::StatusCode; [INFO] [stderr] | ^^^^^^ could not find `status` in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hyper::client::DefaultTransport` [INFO] [stderr] --> src/downloader.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | DefaultTransport as HttpStream}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `DefaultTransport` in `client` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `hyper::header::Connection`, `hyper::header::ContentType` [INFO] [stderr] --> src/downloader.rs:8:21 [INFO] [stderr] | [INFO] [stderr] 8 | use hyper::header::{Connection, ContentType}; [INFO] [stderr] | ^^^^^^^^^^ ^^^^^^^^^^^ no `ContentType` in `header` [INFO] [stderr] | | [INFO] [stderr] | no `Connection` in `header` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `hyper::Decoder`, `hyper::Encoder`, `hyper::Next` [INFO] [stderr] --> src/downloader.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | use hyper::{Decoder, Encoder, Next}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^ ^^^^ no `Next` in the root [INFO] [stderr] | | | [INFO] [stderr] | | no `Encoder` in the root [INFO] [stderr] | no `Decoder` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hyper::status` [INFO] [stderr] --> src/downloader.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 10 | use hyper::status::StatusCode; [INFO] [stderr] | ^^^^^^ could not find `status` in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `hyper::header::Headers`, `hyper::header::UserAgent` [INFO] [stderr] --> src/downloader.rs:11:21 [INFO] [stderr] | [INFO] [stderr] 11 | use hyper::header::{Headers, UserAgent}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^^^ no `UserAgent` in `header` [INFO] [stderr] | | [INFO] [stderr] | no `Headers` in `header` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `mime::TopLevel` [INFO] [stderr] --> src/downloader.rs:13:11 [INFO] [stderr] | [INFO] [stderr] 13 | use mime::TopLevel::Text; [INFO] [stderr] | ^^^^^^^^ could not find `TopLevel` in `mime` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `mime::SubLevel` [INFO] [stderr] --> src/downloader.rs:14:11 [INFO] [stderr] | [INFO] [stderr] 14 | use mime::SubLevel::Html; [INFO] [stderr] | ^^^^^^^^ could not find `SubLevel` in `mime` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hyper::Url` [INFO] [stderr] --> src/link_extraction.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use hyper::Url; [INFO] [stderr] | ^^^^^^^--- [INFO] [stderr] | | | [INFO] [stderr] | | help: a similar name exists in the module: `Uri` [INFO] [stderr] | no `Url` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hyper::Url` [INFO] [stderr] --> src/request.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use hyper::Url; [INFO] [stderr] | ^^^^^^^--- [INFO] [stderr] | | | [INFO] [stderr] | | help: a similar name exists in the module: `Uri` [INFO] [stderr] | no `Url` in the root [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hyper::status` [INFO] [stderr] --> src/response.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | use hyper::status::StatusCode; [INFO] [stderr] | ^^^^^^ could not find `status` in `hyper` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hyper::header::Headers` [INFO] [stderr] --> src/response.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use hyper::header::Headers; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ no `Headers` in `header` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `hyper::Url` [INFO] [stderr] --> src/lib.rs:22:9 [INFO] [stderr] | [INFO] [stderr] 22 | pub use hyper::Url; [INFO] [stderr] | ^^^^^^^--- [INFO] [stderr] | | | [INFO] [stderr] | | help: a similar name exists in the module: `Uri` [INFO] [stderr] | no `Url` in the root [INFO] [stderr] [INFO] [stderr] error[E0532]: expected tuple struct or tuple variant, found struct `Mime` [INFO] [stderr] --> src/downloader.rs:47:26 [INFO] [stderr] | [INFO] [stderr] 47 | &ContentType(Mime(Text, Html, _)) => true, [INFO] [stderr] | ^^^^ did you mean `Mime { /* fields */ }`? [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `Handler` in module `hyper::client` [INFO] [stderr] --> src/downloader.rs:69:21 [INFO] [stderr] | [INFO] [stderr] 69 | impl hyper::client::Handler for Handler { [INFO] [stderr] | ^^^^^^^ not found in `hyper::client` [INFO] [stderr] [INFO] [stderr] error[E0603]: struct `Request` is private [INFO] [stderr] --> src/downloader.rs:6:29 [INFO] [stderr] | [INFO] [stderr] 6 | use hyper::client::{Client, Request as HyperRequest, Response as HyperResponse, [INFO] [stderr] | ^^^^^^^ private struct [INFO] [stderr] | [INFO] [stderr] note: the struct `Request` is defined here [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/hyper-817b53a166fc1c58/d5d09ed/src/client/mod.rs:60:20 [INFO] [stderr] | [INFO] [stderr] 60 | use http::{Method, Request, Response, Uri, Version}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0603]: struct `Response` is private [INFO] [stderr] --> src/downloader.rs:6:54 [INFO] [stderr] | [INFO] [stderr] 6 | use hyper::client::{Client, Request as HyperRequest, Response as HyperResponse, [INFO] [stderr] | ^^^^^^^^ private struct [INFO] [stderr] | [INFO] [stderr] note: the struct `Response` is defined here [INFO] [stderr] --> /opt/rustwide/cargo-home/git/checkouts/hyper-817b53a166fc1c58/d5d09ed/src/client/mod.rs:60:29 [INFO] [stderr] | [INFO] [stderr] 60 | use http::{Method, Request, Response, Uri, Version}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: aborting due to 19 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0405, E0432, E0532, E0603. [INFO] [stderr] For more information about an error, try `rustc --explain E0405`. [INFO] [stderr] error: could not compile `crawler`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "305a85337ad8ab80d29704ec14e78155d00cfb99f8b97b514ebb4ecab2fb9e33"` [INFO] running `"docker" "rm" "-f" "305a85337ad8ab80d29704ec14e78155d00cfb99f8b97b514ebb4ecab2fb9e33"` [INFO] [stdout] 305a85337ad8ab80d29704ec14e78155d00cfb99f8b97b514ebb4ecab2fb9e33