[INFO] updating cached repository https://github.com/S2Lab/gravatar-reverse-proxy [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/mnt/big/crater/work/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] 177928ae1e96fe1869f8d7a6fb413be95fddb454 [INFO] checking S2Lab/gravatar-reverse-proxy against try#e689e5eaefe96e6dc3ed5bb629c521b7d207aff7 for pr-64398 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2FS2Lab%2Fgravatar-reverse-proxy" "work/builds/worker-3/source"` [INFO] [stderr] Cloning into 'work/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/S2Lab/gravatar-reverse-proxy on toolchain e689e5eaefe96e6dc3ed5bb629c521b7d207aff7-alt [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+e689e5eaefe96e6dc3ed5bb629c521b7d207aff7-alt" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/S2Lab/gravatar-reverse-proxy [INFO] finished tweaking git repo https://github.com/S2Lab/gravatar-reverse-proxy [INFO] tweaked toml for git repo https://github.com/S2Lab/gravatar-reverse-proxy written to work/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/S2Lab/gravatar-reverse-proxy already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/cargo-home/bin/cargo" "+e689e5eaefe96e6dc3ed5bb629c521b7d207aff7-alt" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/mnt/big/crater/work/builds/worker-3/source:/opt/rustwide/workdir:ro,Z" "-v" "/mnt/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "+e689e5eaefe96e6dc3ed5bb629c521b7d207aff7-alt" "check" "--frozen" "--all" "--all-targets"` [INFO] [stdout] 6954b899fc1f5c549d9c83357176e7d20d473698a46e7a4d1a6066a2fac721be [INFO] running `"docker" "start" "-a" "6954b899fc1f5c549d9c83357176e7d20d473698a46e7a4d1a6066a2fac721be"` [INFO] [stderr] Compiling libc v0.2.21 [INFO] [stderr] Checking rustc-serialize v0.3.23 [INFO] [stderr] Checking modifier v0.1.0 [INFO] [stderr] Checking lazy_static v0.2.6 [INFO] [stderr] Checking untrusted v0.3.2 [INFO] [stderr] Compiling openssl v0.9.10 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking base64 v0.2.1 [INFO] [stderr] Checking hex v0.2.0 [INFO] [stderr] Checking route-recognizer v0.1.11 [INFO] [stderr] Checking time v0.1.36 [INFO] [stderr] Checking num_cpus v1.3.0 [INFO] [stderr] Checking thread-id v3.0.0 [INFO] [stderr] Checking memchr v1.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.10 [INFO] [stderr] Checking error v0.1.9 [INFO] [stderr] Checking unreachable v0.1.1 [INFO] [stderr] Compiling hyper v0.10.6 [INFO] [stderr] Checking aho-corasick v0.6.3 [INFO] [stderr] Checking thread_local v0.3.3 [INFO] [stderr] Checking plugin v0.2.6 [INFO] [stderr] Compiling rand v0.3.15 [INFO] [stderr] Checking regex v0.2.1 [INFO] [stderr] Compiling deque v0.3.1 [INFO] [stderr] Compiling rayon v0.6.0 [INFO] [stderr] Checking conduit-mime-types v0.7.3 [INFO] [stderr] Compiling ring v0.7.3 [INFO] [stderr] Checking serde_json v0.8.6 [INFO] [stderr] Checking crypto-hash v0.2.1 [INFO] [stderr] Checking iron v0.5.1 [INFO] [stderr] Checking persistent v0.3.0 [INFO] [stderr] Checking router v0.5.1 [INFO] [stderr] Checking bodyparser v0.5.0 [INFO] [stderr] Checking urlencoded v0.5.0 [INFO] [stderr] Checking webpki v0.10.1 [INFO] [stderr] Checking rustls v0.5.8 [INFO] [stderr] Checking webpki-roots v0.7.0 [INFO] [stderr] Checking hyper-rustls v0.3.2 [INFO] [stderr] Checking gravatar-reverse-proxy v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:168:28 [INFO] [stderr] | [INFO] [stderr] 168 | let content_type = try!(res.headers [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:249:9 [INFO] [stderr] | [INFO] [stderr] 249 | try!(res.read_to_end(&mut avatar_body) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:252:23 [INFO] [stderr] | [INFO] [stderr] 252 | let ac_data = try!(AvatarCacheData::from_response(res, avatar_body.as_slice())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:269:30 [INFO] [stderr] | [INFO] [stderr] 269 | let mut origin_res = try!(HYPER_CLIENT.get(origin_url.as_str()) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/main.rs:100:43 [INFO] [stderr] | [INFO] [stderr] 100 | return Err(IronResponse::with((HyperStatusCode::NotFound))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/main.rs:114:51 [INFO] [stderr] | [INFO] [stderr] 114 | None => return Err(IronResponse::with((HyperStatusCode::BadRequest))), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/main.rs:133:61 [INFO] [stderr] | [INFO] [stderr] 133 | Err(_) => return Err(IronResponse::with((HyperStatusCode::BadRequest))), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/main.rs:171:47 [INFO] [stderr] | [INFO] [stderr] 171 | .ok_or_else(|| IronResponse::with((HyperStatusCode::BadGateway)))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/main.rs:244:43 [INFO] [stderr] | [INFO] [stderr] 244 | return Err(IronResponse::with((HyperStatusCode::BadGateway))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/main.rs:250:45 [INFO] [stderr] | [INFO] [stderr] 250 | .map_err(|_| IronResponse::with((HyperStatusCode::BadGateway)))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/main.rs:271:45 [INFO] [stderr] | [INFO] [stderr] 271 | .map_err(|_| IronResponse::with((HyperStatusCode::BadGateway)))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 74 | / lazy_static! { [INFO] [stderr] 75 | | static ref MD5_RE: Regex = Regex::new("^[0-9a-f]{32}$").unwrap(); [INFO] [stderr] 76 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 74 | / lazy_static! { [INFO] [stderr] 75 | | static ref MD5_RE: Regex = Regex::new("^[0-9a-f]{32}$").unwrap(); [INFO] [stderr] 76 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:263:9 [INFO] [stderr] | [INFO] [stderr] 263 | / lazy_static! { [INFO] [stderr] 264 | | static ref HYPER_CLIENT: HyperClient = HyperClient::with_connector(HyperHttpsConnector::new(HyperRustlsClient::new())); [INFO] [stderr] 265 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:263:9 [INFO] [stderr] | [INFO] [stderr] 263 | / lazy_static! { [INFO] [stderr] 264 | | static ref HYPER_CLIENT: HyperClient = HyperClient::with_connector(HyperHttpsConnector::new(HyperRustlsClient::new())); [INFO] [stderr] 265 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:168:28 [INFO] [stderr] | [INFO] [stderr] 168 | let content_type = try!(res.headers [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:249:9 [INFO] [stderr] | [INFO] [stderr] 249 | try!(res.read_to_end(&mut avatar_body) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:252:23 [INFO] [stderr] | [INFO] [stderr] 252 | let ac_data = try!(AvatarCacheData::from_response(res, avatar_body.as_slice())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead [INFO] [stderr] --> src/main.rs:269:30 [INFO] [stderr] | [INFO] [stderr] 269 | let mut origin_res = try!(HYPER_CLIENT.get(origin_url.as_str()) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/main.rs:100:43 [INFO] [stderr] | [INFO] [stderr] 100 | return Err(IronResponse::with((HyperStatusCode::NotFound))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/main.rs:114:51 [INFO] [stderr] | [INFO] [stderr] 114 | None => return Err(IronResponse::with((HyperStatusCode::BadRequest))), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/main.rs:133:61 [INFO] [stderr] | [INFO] [stderr] 133 | Err(_) => return Err(IronResponse::with((HyperStatusCode::BadRequest))), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/main.rs:171:47 [INFO] [stderr] | [INFO] [stderr] 171 | .ok_or_else(|| IronResponse::with((HyperStatusCode::BadGateway)))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/main.rs:244:43 [INFO] [stderr] | [INFO] [stderr] 244 | return Err(IronResponse::with((HyperStatusCode::BadGateway))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/main.rs:250:45 [INFO] [stderr] | [INFO] [stderr] 250 | .map_err(|_| IronResponse::with((HyperStatusCode::BadGateway)))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/main.rs:271:45 [INFO] [stderr] | [INFO] [stderr] 271 | .map_err(|_| IronResponse::with((HyperStatusCode::BadGateway)))); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 74 | / lazy_static! { [INFO] [stderr] 75 | | static ref MD5_RE: Regex = Regex::new("^[0-9a-f]{32}$").unwrap(); [INFO] [stderr] 76 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:74:5 [INFO] [stderr] | [INFO] [stderr] 74 | / lazy_static! { [INFO] [stderr] 75 | | static ref MD5_RE: Regex = Regex::new("^[0-9a-f]{32}$").unwrap(); [INFO] [stderr] 76 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:263:9 [INFO] [stderr] | [INFO] [stderr] 263 | / lazy_static! { [INFO] [stderr] 264 | | static ref HYPER_CLIENT: HyperClient = HyperClient::with_connector(HyperHttpsConnector::new(HyperRustlsClient::new())); [INFO] [stderr] 265 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred [INFO] [stderr] --> src/main.rs:263:9 [INFO] [stderr] | [INFO] [stderr] 263 | / lazy_static! { [INFO] [stderr] 264 | | static ref HYPER_CLIENT: HyperClient = HyperClient::with_connector(HyperHttpsConnector::new(HyperRustlsClient::new())); [INFO] [stderr] 265 | | } [INFO] [stderr] | |_________^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:189:33 [INFO] [stderr] | [INFO] [stderr] 189 | fn set_cache_headers(&self, mut res: &mut IronResponse) { [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:189:33 [INFO] [stderr] | [INFO] [stderr] 189 | fn set_cache_headers(&self, mut res: &mut IronResponse) { [INFO] [stderr] | ----^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 47.25s [INFO] running `"docker" "inspect" "6954b899fc1f5c549d9c83357176e7d20d473698a46e7a4d1a6066a2fac721be"` [INFO] running `"docker" "rm" "-f" "6954b899fc1f5c549d9c83357176e7d20d473698a46e7a4d1a6066a2fac721be"` [INFO] [stdout] 6954b899fc1f5c549d9c83357176e7d20d473698a46e7a4d1a6066a2fac721be