[INFO] cloning repository https://github.com/vrcod/rust-twitter-streaming [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vrcod/rust-twitter-streaming" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvrcod%2Frust-twitter-streaming"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvrcod%2Frust-twitter-streaming'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 4194bb948414b290c0b5ea41a4a19fa80ad87f14 [INFO] testing vrcod/rust-twitter-streaming against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvrcod%2Frust-twitter-streaming" "/workspace/builds/worker-1/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/vrcod/rust-twitter-streaming 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/vrcod/rust-twitter-streaming [INFO] finished tweaking git repo https://github.com/vrcod/rust-twitter-streaming [INFO] tweaked toml for git repo https://github.com/vrcod/rust-twitter-streaming written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/vrcod/rust-twitter-streaming 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-1/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] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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] a44ac77ec8d07e140bec3522221705fa15403f6632dd1aa29f881d30a095d4f1 [INFO] running `"docker" "start" "-a" "a44ac77ec8d07e140bec3522221705fa15403f6632dd1aa29f881d30a095d4f1"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling indexmap v1.4.0 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.34 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling socket2 v0.3.12 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling oauthcli v1.0.4 [INFO] [stderr] Compiling pin-project-internal v0.4.20 [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 hyper v0.13.6 [INFO] [stderr] Compiling rust-twitter-stream v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0432]: unresolved import `hyper::header::Headers` [INFO] [stderr] --> src/main.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use hyper::header::Headers; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ no `Headers` in `header` [INFO] [stderr] [INFO] [stderr] error: cannot find macro `header` in this scope [INFO] [stderr] --> src/main.rs:13:1 [INFO] [stderr] | [INFO] [stderr] 13 | header! { (Authorization, "Authorization") => [String] } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `header` in this scope [INFO] [stderr] --> src/main.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | header! { (Accept, "Accept") => [String] } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find macro `header` in this scope [INFO] [stderr] --> src/main.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | header! { (ContentType, "Content-Type") => [String] } [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `response` in `client` [INFO] [stderr] --> src/main.rs:54:26 [INFO] [stderr] | [INFO] [stderr] 54 | let res: hyper::client::response::Response = client.post(url).headers(headers).body(¶m_string).send().unwrap(); [INFO] [stderr] | ^^^^^^^^ could not find `response` in `client` [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Authorization` in this scope [INFO] [stderr] --> src/main.rs:48:14 [INFO] [stderr] | [INFO] [stderr] 48 | headers.set(Authorization(header.to_owned())); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `Accept` in this scope [INFO] [stderr] --> src/main.rs:49:14 [INFO] [stderr] | [INFO] [stderr] 49 | headers.set(Accept("*/*".to_owned())); [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ContentType` in this scope [INFO] [stderr] --> src/main.rs:50:14 [INFO] [stderr] | [INFO] [stderr] 50 | headers.set(ContentType("application/x-www-form-urlencoded".to_owned())); [INFO] [stderr] | ^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] warning: unused `#[macro_use]` import [INFO] [stderr] --> src/main.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | #[macro_use] extern crate hyper; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'oauthcli::authorization_header': Use OAuthAuthorizationHeaderBuilder [INFO] [stderr] --> src/main.rs:29:15 [INFO] [stderr] | [INFO] [stderr] 29 | let header = oauthcli::authorization_header( [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'oauthcli::timestamp' [INFO] [stderr] --> src/main.rs:38:7 [INFO] [stderr] | [INFO] [stderr] 38 | &oauthcli::timestamp(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:31:6 [INFO] [stderr] | [INFO] [stderr] 31 | url::Url::parse(url).unwrap(), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `url::Url`, found a different struct `url::Url` [INFO] [stderr] | [INFO] [stderr] = note: perhaps two different versions of crate `url` are being used? [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `post` found for struct `hyper::Client` in the current scope [INFO] [stderr] --> src/main.rs:54:54 [INFO] [stderr] | [INFO] [stderr] 54 | let res: hyper::client::response::Response = client.post(url).headers(headers).body(¶m_string).send().unwrap(); [INFO] [stderr] | ^^^^ method not found in `hyper::Client` [INFO] [stderr] [INFO] [stderr] error: aborting due to 10 previous errors; 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0308, E0425, E0432, E0433, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `rust-twitter-stream`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "a44ac77ec8d07e140bec3522221705fa15403f6632dd1aa29f881d30a095d4f1"` [INFO] running `"docker" "rm" "-f" "a44ac77ec8d07e140bec3522221705fa15403f6632dd1aa29f881d30a095d4f1"` [INFO] [stdout] a44ac77ec8d07e140bec3522221705fa15403f6632dd1aa29f881d30a095d4f1