[INFO] updating cached repository https://github.com/lynlevenick/pc3_client [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] 3bc6661b26f7b8d86af7bb2497da1552fd595b54 [INFO] testing lynlevenick/pc3_client against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flynlevenick%2Fpc3_client" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lynlevenick/pc3_client on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/lynlevenick/pc3_client [INFO] finished tweaking git repo https://github.com/lynlevenick/pc3_client [INFO] tweaked toml for git repo https://github.com/lynlevenick/pc3_client written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/lynlevenick/pc3_client already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (cookie) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (hyper) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (rand) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (rustc-serialize) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.cookie.cookie [INFO] [stderr] warning: unused manifest key: dependencies.hyper.hyper [INFO] [stderr] warning: unused manifest key: dependencies.rand.rand [INFO] [stderr] warning: unused manifest key: dependencies.rustc-serialize.rustc-serialize [INFO] [stderr] error: the lock file /workspace/builds/worker-4/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" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: dependency (cookie) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (hyper) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (rand) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (rustc-serialize) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.cookie.cookie [INFO] [stderr] warning: unused manifest key: dependencies.hyper.hyper [INFO] [stderr] warning: unused manifest key: dependencies.rand.rand [INFO] [stderr] warning: unused manifest key: dependencies.rustc-serialize.rustc-serialize [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+1.44.0" "build" "--frozen"` [INFO] [stdout] 8d863fb63413a864204364f8a3965ff01790ec5b1b2c421c6b2d72d955e7ad9f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "8d863fb63413a864204364f8a3965ff01790ec5b1b2c421c6b2d72d955e7ad9f"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: dependency (cookie) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (hyper) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (rand) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: dependency (rustc-serialize) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] warning: unused manifest key: dependencies.cookie.cookie [INFO] [stderr] warning: unused manifest key: dependencies.hyper.hyper [INFO] [stderr] warning: unused manifest key: dependencies.rand.rand [INFO] [stderr] warning: unused manifest key: dependencies.rustc-serialize.rustc-serialize [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tokio v0.2.21 [INFO] [stderr] Compiling standback v0.2.9 [INFO] [stderr] Compiling time v0.2.16 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling pin-project-internal v0.4.20 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling cookie v0.14.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 hyper v0.13.6 [INFO] [stderr] Compiling pc3_client v0.0.1 (/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[E0425]: cannot find function, tuple struct or tuple variant `ContentType` in module `header` [INFO] [stderr] --> src/main.rs:89:29 [INFO] [stderr] | [INFO] [stderr] 89 | headers.set(header::ContentType("application/x-www-form-urlencoded".parse().unwrap())); [INFO] [stderr] | ^^^^^^^^^^^ not found in `header` [INFO] [stderr] [INFO] [stderr] error[E0531]: cannot find tuple struct or tuple variant `SetCookie` in module `header` [INFO] [stderr] --> src/main.rs:99:30 [INFO] [stderr] | [INFO] [stderr] 99 | if let Some(&header::SetCookie(ref cookies)) = res.headers.get() { [INFO] [stderr] | ^^^^^^^^^ not found in `header` [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:47:5 [INFO] [stderr] | [INFO] [stderr] 47 | try!(src.read_to_end(&mut file_content)); [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/main.rs:93:19 [INFO] [stderr] | [INFO] [stderr] 93 | let res = try!(client [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:118:60 [INFO] [stderr] | [INFO] [stderr] 118 | let body = unsafe {String::from_utf8_unchecked(try!(create_submit_body(&boundary, src, src_name)))}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:119:27 [INFO] [stderr] | [INFO] [stderr] 119 | let mut res = try!(client [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:126:13 [INFO] [stderr] | [INFO] [stderr] 126 | try!(res.read_to_string(&mut result)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:127:36 [INFO] [stderr] | [INFO] [stderr] 127 | let (success, score) = try!(json::decode::<(bool, i32)>(&result)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:141:23 [INFO] [stderr] | [INFO] [stderr] 141 | let mut res = try!(client [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:146:9 [INFO] [stderr] | [INFO] [stderr] 146 | try!(res.read_to_string(&mut result)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:147:12 [INFO] [stderr] | [INFO] [stderr] 147 | Ok(try!(json::decode::>(&result))) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:151:23 [INFO] [stderr] | [INFO] [stderr] 151 | let mut res = try!(client [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:156:9 [INFO] [stderr] | [INFO] [stderr] 156 | try!(res.read_to_string(&mut result)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:157:12 [INFO] [stderr] | [INFO] [stderr] 157 | Ok(try!(json::decode::(&result))) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand::Rng` [INFO] [stderr] --> src/main.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use rand::Rng; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] error[E0107]: wrong number of lifetime arguments: expected 0, found 1 [INFO] [stderr] --> src/main.rs:19:20 [INFO] [stderr] | [INFO] [stderr] 19 | jar: CookieJar<'static> [INFO] [stderr] | ^^^^^^^ unexpected lifetime argument [INFO] [stderr] [INFO] [stderr] error: aborting due to 4 previous errors; 13 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0107, E0425, E0432, E0531. [INFO] [stderr] For more information about an error, try `rustc --explain E0107`. [INFO] [stderr] error: could not compile `pc3_client`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "8d863fb63413a864204364f8a3965ff01790ec5b1b2c421c6b2d72d955e7ad9f"` [INFO] running `"docker" "rm" "-f" "8d863fb63413a864204364f8a3965ff01790ec5b1b2c421c6b2d72d955e7ad9f"` [INFO] [stdout] 8d863fb63413a864204364f8a3965ff01790ec5b1b2c421c6b2d72d955e7ad9f