[INFO] updating cached repository https://github.com/S2Lab/gravatar-reverse-proxy [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/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] testing S2Lab/gravatar-reverse-proxy against beta-2019-09-28 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2FS2Lab%2Fgravatar-reverse-proxy" "work/builds/worker-1/source"` [INFO] [stderr] Cloning into 'work/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/S2Lab/gravatar-reverse-proxy on toolchain beta-2019-09-28 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "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-1/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 `"/big/crater/work/cargo-home/bin/cargo" "+beta-2019-09-28" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/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=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-2019-09-28" "build" "--frozen"` [INFO] [stdout] 425b48982514c642f9fa729c6a349749ded0c1cccadea8b27cdee3651c9545ee [INFO] running `"docker" "start" "-a" "425b48982514c642f9fa729c6a349749ded0c1cccadea8b27cdee3651c9545ee"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling lazy_static v0.2.6 [INFO] [stderr] Compiling untrusted v0.3.2 [INFO] [stderr] Compiling openssl v0.9.10 [INFO] [stderr] Compiling base64 v0.2.1 [INFO] [stderr] Compiling unicode-bidi v0.2.5 [INFO] [stderr] Compiling mime v0.2.3 [INFO] [stderr] Compiling unsafe-any v0.4.1 [INFO] [stderr] Compiling conduit-mime-types v0.7.3 [INFO] [stderr] Compiling openssl-sys v0.9.10 [INFO] [stderr] Compiling error v0.1.9 [INFO] [stderr] Compiling serde_json v0.8.6 [INFO] [stderr] Compiling hyper v0.10.6 [INFO] [stderr] Compiling rayon v0.6.0 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling idna v0.1.1 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling url v1.4.0 [INFO] [stderr] Compiling ring v0.7.3 [INFO] [stderr] Compiling crypto-hash v0.2.1 [INFO] [stderr] Compiling iron v0.5.1 [INFO] [stderr] Compiling webpki v0.10.1 [INFO] [stderr] Compiling webpki-roots v0.7.0 [INFO] [stderr] Compiling rustls v0.5.8 [INFO] [stderr] Compiling persistent v0.3.0 [INFO] [stderr] Compiling router v0.5.1 [INFO] [stderr] Compiling bodyparser v0.5.0 [INFO] [stderr] Compiling urlencoded v0.5.0 [INFO] [stderr] Compiling hyper-rustls v0.3.2 [INFO] [stderr] Compiling 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: 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 44.33s [INFO] running `"docker" "inspect" "425b48982514c642f9fa729c6a349749ded0c1cccadea8b27cdee3651c9545ee"` [INFO] running `"docker" "rm" "-f" "425b48982514c642f9fa729c6a349749ded0c1cccadea8b27cdee3651c9545ee"` [INFO] [stdout] 425b48982514c642f9fa729c6a349749ded0c1cccadea8b27cdee3651c9545ee [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/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=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-2019-09-28" "test" "--frozen" "--no-run"` [INFO] [stdout] 40180ad8906073125986317a2dae2efd2177fcb1dc3c9da07ab28c8e3964f1e6 [INFO] running `"docker" "start" "-a" "40180ad8906073125986317a2dae2efd2177fcb1dc3c9da07ab28c8e3964f1e6"` [INFO] [stderr] Compiling 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: 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 1.48s [INFO] running `"docker" "inspect" "40180ad8906073125986317a2dae2efd2177fcb1dc3c9da07ab28c8e3964f1e6"` [INFO] running `"docker" "rm" "-f" "40180ad8906073125986317a2dae2efd2177fcb1dc3c9da07ab28c8e3964f1e6"` [INFO] [stdout] 40180ad8906073125986317a2dae2efd2177fcb1dc3c9da07ab28c8e3964f1e6 [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/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=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-2019-09-28" "test" "--frozen"` [INFO] [stdout] 889f74243149b13b1342a081f5a671c9e45c531c78cb80a40fa2958a87dc98f2 [INFO] running `"docker" "start" "-a" "889f74243149b13b1342a081f5a671c9e45c531c78cb80a40fa2958a87dc98f2"` [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/gravatar_reverse_proxy-87ef47db2dc15283 [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] running `"docker" "inspect" "889f74243149b13b1342a081f5a671c9e45c531c78cb80a40fa2958a87dc98f2"` [INFO] running `"docker" "rm" "-f" "889f74243149b13b1342a081f5a671c9e45c531c78cb80a40fa2958a87dc98f2"` [INFO] [stdout] 889f74243149b13b1342a081f5a671c9e45c531c78cb80a40fa2958a87dc98f2