[INFO] fetching crate cogo-http 0.1.13... [INFO] testing cogo-http-0.1.13 against 1.60.0 for beta-1.61-1 [INFO] extracting crate cogo-http 0.1.13 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate cogo-http 0.1.13 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate cogo-http 0.1.13 [INFO] finished tweaking crates.io crate cogo-http 0.1.13 [INFO] tweaked toml for crates.io crate cogo-http 0.1.13 written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate crates.io crate cogo-http 0.1.13 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cdbc-sqlite v0.1.13 [INFO] [stderr] Downloaded fallible_collections v0.4.4 [INFO] [stderr] Downloaded textnonce v1.0.0 [INFO] [stderr] Downloaded cdbc v0.1.13 [INFO] [stderr] Downloaded captcha v0.0.8 [INFO] [stderr] Downloaded lodepng v3.5.2 [INFO] [stderr] Downloaded buf-read-ext v0.4.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3699b02121e6955ef6df330f9c068b02f735302a0465fe2f092a5e04615d7e8a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "3699b02121e6955ef6df330f9c068b02f735302a0465fe2f092a5e04615d7e8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3699b02121e6955ef6df330f9c068b02f735302a0465fe2f092a5e04615d7e8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3699b02121e6955ef6df330f9c068b02f735302a0465fe2f092a5e04615d7e8a", kill_on_drop: false }` [INFO] [stdout] 3699b02121e6955ef6df330f9c068b02f735302a0465fe2f092a5e04615d7e8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9d995bee7337ec3b46f9d8be83cd7b938c01cfad10b1d509030a72dbd8a78c83 [INFO] running `Command { std: "docker" "start" "-a" "9d995bee7337ec3b46f9d8be83cd7b938c01cfad10b1d509030a72dbd8a78c83", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling crossbeam-queue v0.3.4 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling num_threads v0.1.3 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling buf-read-ext v0.4.0 [INFO] [stderr] Compiling lock_api v0.4.6 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling httparse v1.6.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling cogo v0.1.36 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling generator v0.7.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling nix v0.21.0 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling textnonce v1.0.0 [INFO] [stderr] Compiling cogo-http v0.1.13 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `mock_connector` [INFO] [stdout] --> src/mock.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | macro_rules! mock_connector ( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | let nread = r#try!(self.inner.read(&mut v[self.cap..])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | r#try!(rem.read(buf)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:125:26 [INFO] [stdout] | [INFO] [stdout] 125 | let mut rem = r#try!(self.fill_buf()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:136:24 [INFO] [stdout] | [INFO] [stdout] 136 | self.cap = r#try!(self.inner.read(&mut self.buf)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `httparse` is imported redundantly [INFO] [stdout] --> src/client/proxy.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | use httparse; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | extern crate httparse; [INFO] [stdout] | ---------------------- the item `httparse` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/proxy.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | r#try!(write!(&mut stream, "{method} {host}:{port} {version}\r\nHost: {host}:{port}\r\n\r\n", [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/proxy.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | r#try!(stream.flush()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/proxy.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | let mut stream = r#try!(self.connector.connect(self.proxy.1.as_ref(), self.proxy.2, self.proxy.0.as_ref())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/proxy.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | n += r#try!(stream.read(&mut buf[n..])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/proxy.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | if r#try!(res.parse(&buf[..n])).is_complete() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/pool.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 167 | stream: r#try!(self.connector.connect(host, port, scheme)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/pool.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | let n = r#try!(inner.stream.read(buf)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/request.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | let (host, port) = r#try!(get_host_and_port(&url)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/request.rs:101:32 [INFO] [stdout] | [INFO] [stdout] 101 | let (host, port) = r#try!(get_host_and_port(&url)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/request.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | r#try!(connector.connect(host, port, url.scheme())).into() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:295:23 [INFO] [stdout] | [INFO] [stdout] 295 | let mut url = r#try!(url); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | r#try!(req.set_write_timeout(client.write_timeout)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | r#try!(req.set_read_timeout(client.read_timeout)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:311:36 [INFO] [stdout] | [INFO] [stdout] 311 | let (host, port) = r#try!(get_host_and_port(&url)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:312:35 [INFO] [stdout] | [INFO] [stdout] 312 | let mut message = r#try!(client.protocol.new_message(&host, port, url.scheme())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:343:33 [INFO] [stdout] | [INFO] [stdout] 343 | let mut streaming = r#try!(req.start()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:345:17 [INFO] [stdout] | [INFO] [stdout] 345 | r#try!(copy(&mut rdr, &mut streaming)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:347:23 [INFO] [stdout] | [INFO] [stdout] 347 | let res = r#try!(streaming.send()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/access_control_allow_origin.rs:70:50 [INFO] [stdout] | [INFO] [stdout] 70 | _ => AccessControlAllowOrigin::Value(r#try!(String::from_utf8(value.clone()))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/authorization.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | let header = r#try!(from_utf8(unsafe { &raw.get_unchecked(0)[..] })); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/authorization.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | r#try!(write!(f, "{} ", scheme)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/cache_control.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | let directives = r#try!(from_comma_delimited(raw)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/cookie.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | let cookies_str = r#try!(from_utf8(&cookies_raw[..])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/cookie.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | r#try!(Display::fmt(&cookie, f)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/cookie.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | r#try!(f.write_str("; ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:136:46 [INFO] [stdout] | [INFO] [stdout] 136 | let extended_value = r#try!(parse_extended_value(val)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:159:40 [INFO] [stdout] | [INFO] [stdout] 159 | DispositionType::Inline => r#try!(write!(f, "inline")), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:160:44 [INFO] [stdout] | [INFO] [stdout] 160 | DispositionType::Attachment => r#try!(write!(f, "attachment")), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:161:44 [INFO] [stdout] | [INFO] [stdout] 161 | DispositionType::Ext(ref s) => r#try!(write!(f, "{}", s)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | r#try!(write!(f, "; filename=\"{}\"", [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:181:25 [INFO] [stdout] | [INFO] [stdout] 181 | r#try!(write!(f, "; filename*={}'", charset)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:185:25 [INFO] [stdout] | [INFO] [stdout] 185 | r#try!(write!(f, "'")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:186:25 [INFO] [stdout] | [INFO] [stdout] 186 | r#try!(f.write_str( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | ... r#try!(write!(f, "{}", lang)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:190:56 [INFO] [stdout] | [INFO] [stdout] 190 | DispositionParam::Ext(ref k, ref v) => r#try!(write!(f, "; {}=\"{}\"", k, v)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:125:48 [INFO] [stdout] | [INFO] [stdout] 125 | let (range, instance_length) = r#try!(split_in_two(resp, '/').ok_or(crate::Error::Header)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:130:26 [INFO] [stdout] | [INFO] [stdout] 130 | Some(r#try!(instance_length.parse().map_err(|_| crate::Error::Header))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:136:51 [INFO] [stdout] | [INFO] [stdout] 136 | let (first_byte, last_byte) = r#try!(split_in_two(range, '-').ok_or(crate::Error::Header)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:137:38 [INFO] [stdout] | [INFO] [stdout] 137 | let first_byte = r#try!(first_byte.parse().map_err(|_| crate::Error::Header)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:138:37 [INFO] [stdout] | [INFO] [stdout] 138 | let last_byte = r#try!(last_byte.parse().map_err(|_| crate::Error::Header)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | r#try!(f.write_str("bytes ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | r#try!(f.write_str("/")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:169:25 [INFO] [stdout] | [INFO] [stdout] 169 | r#try!(write!(f, "{}-{}", first_byte, last_byte)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:172:25 [INFO] [stdout] | [INFO] [stdout] 172 | r#try!(f.write_str("*")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | r#try!(f.write_str(&unit)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | r#try!(f.write_str(" ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/origin.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | let host = r#try!(Host::from_str(etc)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/prefer.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | let preferences = r#try!(from_comma_delimited(raw)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/prefer.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | r#try!(write!(f, "{}", name)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/prefer.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 116 | if value != "" { r#try!(write!(f, "={}", value)); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/prefer.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | r#try!(write!(f, "; {}", name)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/prefer.rs:120:42 [INFO] [stdout] | [INFO] [stdout] 120 | if value != "" { r#try!(write!(f, "={}", value)); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/preference_applied.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | let preferences = r#try!(from_comma_delimited(raw)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/range.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | r#try!(write!(f, "bytes=")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/range.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | r#try!(Display::fmt(range, f)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/range.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | r#try!(f.write_str(",")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/referrer_policy.rs:64:36 [INFO] [stdout] | [INFO] [stdout] 64 | let headers: Vec = r#try!(parsing::from_comma_delimited(raw)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/set_cookie.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | r#try!(f.fmt_line(cookie)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/upgrade.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 144 | Ok(Protocol::new(r#try!(parts.next().unwrap().parse()), parts.next().map(|x| x.to_owned()))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/upgrade.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | r#try!(fmt::Display::fmt(&self.name, f)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/upgrade.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | r#try!(write!(f, "/{}", version)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | r#try!(write!(f, "<{}>", self.link)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | r#try!(fmt_delimited(f, rel.as_slice(), " ", ("; rel=\"", "\""))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:430:13 [INFO] [stdout] | [INFO] [stdout] 430 | r#try!(write!(f, "; anchor=\"{}\"", anchor)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 433 | r#try!(fmt_delimited(f, rev.as_slice(), " ", ("; rev=\"", "\""))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:437:17 [INFO] [stdout] | [INFO] [stdout] 437 | r#try!(write!(f, "; hreflang={}", tag)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:441:13 [INFO] [stdout] | [INFO] [stdout] 441 | r#try!(fmt_delimited(f, media_desc.as_slice(), ", ", ("; media=\"", "\""))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:444:13 [INFO] [stdout] | [INFO] [stdout] 444 | r#try!(write!(f, "; title=\"{}\"", title)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | r#try!(write!(f, "; title*={}", title_star)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:450:13 [INFO] [stdout] | [INFO] [stdout] 450 | r#try!(write!(f, "; type=\"{}\"", media_type)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:863:9 [INFO] [stdout] | [INFO] [stdout] 863 | r#try!(write!(f, "{}{}", b.0, p[0])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:871:9 [INFO] [stdout] | [INFO] [stdout] 871 | r#try!(write!(f, "{}", b.1)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:867:13 [INFO] [stdout] | [INFO] [stdout] 867 | r#try!(write!(f, "{}{}", d, i)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/internals/item.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | ... r#try!(f.fmt_line(&s)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/parsing.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let s = r#try!(str::from_utf8(raw)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/parsing.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | let s = r#try!(str::from_utf8(s.as_ref())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/parsing.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | r#try!(Display::fmt(part, f)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/parsing.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | r#try!(f.write_str(", ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/parsing.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | Some(n) => r#try!(FromStr::from_str(n)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | r#try!(f.write_str(*name)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | r#try!(f.write_str(": ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | r#try!(write!(NewlineReplacer(*f), "{}", line)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | r#try!(f.write_str(", ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | r#try!(self.0.write_str(&s[since..i])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | r#try!(self.0.write_str(" ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:453:13 [INFO] [stdout] | [INFO] [stdout] 453 | r#try!(fmt::Display::fmt(&header, f)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:461:9 [INFO] [stdout] | [INFO] [stdout] 461 | r#try!(f.write_str("Headers { ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:465:9 [INFO] [stdout] | [INFO] [stdout] 465 | r#try!(f.write_str("}")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:463:13 [INFO] [stdout] | [INFO] [stdout] 463 | r#try!(write!(f, "{:?}, ", header)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | r#try!(self.flush_outgoing()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360 | r#try!(self.get_mut().close(Shutdown::Both)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:444:22 [INFO] [stdout] | [INFO] [stdout] 444 | let stream = r#try!(self.connector.connect(host, port, scheme)).into(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:470:12 [INFO] [stdout] | [INFO] [stdout] 470 | Ok(r#try!(self.0.connect(host, port, scheme)).into()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:481:12 [INFO] [stdout] | [INFO] [stdout] 481 | Ok(r#try!(self.0.connect(host, port, scheme)).into()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:573:31 [INFO] [stdout] | [INFO] [stdout] 573 | let num = r#try!(body.read(&mut buf[..to_read])) as u64; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:589:29 [INFO] [stdout] | [INFO] [stdout] 589 | None => r#try!(read_chunk_size(body)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:595:25 [INFO] [stdout] | [INFO] [stdout] 595 | r#try!(eat(body, LINE_ENDING.as_bytes())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:609:29 [INFO] [stdout] | [INFO] [stdout] 609 | let count = r#try!(body.read(&mut buf[..to_read])) as u64; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:620:21 [INFO] [stdout] | [INFO] [stdout] 620 | r#try!(eat(body, LINE_ENDING.as_bytes())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:638:15 [INFO] [stdout] | [INFO] [stdout] 638 | match r#try!(rdr.read(&mut buf)) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:652:19 [INFO] [stdout] | [INFO] [stdout] 652 | match r#try!($rdr.read(&mut buf)) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 665 | match byte!(rdr) { [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `byte` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:652:19 [INFO] [stdout] | [INFO] [stdout] 652 | match r#try!($rdr.read(&mut buf)) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 679 | match byte!(rdr) { [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `byte` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:786:13 [INFO] [stdout] | [INFO] [stdout] 786 | r#try!(w.write(&[])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:814:17 [INFO] [stdout] | [INFO] [stdout] 814 | r#try!(write!(w, "{:X}{}", chunk_size, LINE_ENDING)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:815:17 [INFO] [stdout] | [INFO] [stdout] 815 | r#try!(w.write_all(msg)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:816:17 [INFO] [stdout] | [INFO] [stdout] 816 | r#try!(w.write_all(LINE_ENDING.as_bytes())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:823:21 [INFO] [stdout] | [INFO] [stdout] 823 | r#try!(w.write_all(&msg[..len as usize])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:827:21 [INFO] [stdout] | [INFO] [stdout] 827 | r#try!(w.write_all(msg)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:882:15 [INFO] [stdout] | [INFO] [stdout] 882 | match r#try!(try_parse::(rdr)) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:889:17 [INFO] [stdout] | [INFO] [stdout] 889 | let n = r#try!(rdr.read_into_buf()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:930:18 [INFO] [stdout] | [INFO] [stdout] 930 | Ok(match r#try!(req.parse(buf)) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:936:25 [INFO] [stdout] | [INFO] [stdout] 936 | r#try!(req.method.unwrap().parse()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:937:25 [INFO] [stdout] | [INFO] [stdout] 937 | r#try!(req.path.unwrap().parse()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:939:30 [INFO] [stdout] | [INFO] [stdout] 939 | headers: r#try!(Headers::from_raw(req.headers)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:954:18 [INFO] [stdout] | [INFO] [stdout] 954 | Ok(match r#try!(res.parse(buf)) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:965:30 [INFO] [stdout] | [INFO] [stdout] 965 | headers: r#try!(Headers::from_raw(res.headers)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/net.rs:253:31 [INFO] [stdout] | [INFO] [stdout] 253 | Ok(HttpListener::from(r#try!(TcpListener::bind(addr)))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/net.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | r#try!(stream.set_read_timeout(self.read_timeout)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/net.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | r#try!(stream.set_write_timeout(self.write_timeout)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/net.rs:262:33 [INFO] [stdout] | [INFO] [stdout] 262 | let stream = HttpStream(r#try!(self.listener.accept()).0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/net.rs:427:12 [INFO] [stdout] | [INFO] [stdout] 427 | Ok(r#try!(match scheme { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/net.rs:430:31 [INFO] [stdout] | [INFO] [stdout] 430 | Ok(HttpStream(r#try!(TcpStream::connect(addr)))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/net.rs:465:23 [INFO] [stdout] | [INFO] [stdout] 465 | Ok(HttpStream(r#try!((*self)(host, port, scheme)))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/net.rs:649:22 [INFO] [stdout] | [INFO] [stdout] 649 | let stream = r#try!(self.connector.connect(host, port, "http")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Shutdown` [INFO] [stdout] --> src/server/mod.rs:112:43 [INFO] [stdout] | [INFO] [stdout] 112 | use std::net::{SocketAddr, ToSocketAddrs, Shutdown}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/server/request.rs:40:69 [INFO] [stdout] | [INFO] [stdout] 40 | let Incoming { version, subject: (method, uri), headers } = r#try!(h1::parse_request(stream)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::now_utc` [INFO] [stdout] --> src/server/response.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use time::now_utc; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/server/response.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | r#try!(write!(&mut self.body, "{} {}\r\n", self.version, self.status)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/server/response.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | r#try!(write!(&mut self.body, "{}", self.headers)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/server/response.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | r#try!(write!(&mut self.body, "{}", LINE_ENDING)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/server/response.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | r#try!(stream.write_all(body)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/server/response.rs:172:26 [INFO] [stdout] | [INFO] [stdout] 172 | let mut stream = r#try!(self.start()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/server/response.rs:180:25 [INFO] [stdout] | [INFO] [stdout] 180 | let body_type = r#try!(self.write_head()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/server/response.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | r#try!(body.end()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/server/listener.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/server/mod.rs:309:22 [INFO] [stdout] | [INFO] [stdout] 309 | let socket = r#try!(self.listener.clone().local_addr()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/server/mod.rs:325:18 [INFO] [stdout] | [INFO] [stdout] 325 | let socket = r#try!(server.listener.local_addr()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/uri.rs:65:40 [INFO] [stdout] | [INFO] [stdout] 65 | Ok(RequestUri::AbsoluteUri(r#try!(Url::parse(s)))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/uri.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | r#try!(Url::parse(&temp[..])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Debug` [INFO] [stdout] --> src/multipart/error.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fmt::{self, Debug, Display}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/multipart/mod.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorrowMut` [INFO] [stdout] --> src/multipart/mod.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | use std::borrow::{BorrowMut, Cow}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/multipart/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut`, `Drop` [INFO] [stdout] --> src/multipart/mod.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | use std::ops::{DerefMut, Drop}; [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/multipart/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::Result` [INFO] [stdout] --> src/query/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::Result` [INFO] [stdout] --> src/path/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `HashMap` [INFO] [stdout] --> src/route/mod.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/route/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::copy` [INFO] [stdout] --> src/route/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::copy; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/route/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/json/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/pragma.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/referrer_policy.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/link.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/shared/charset.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 78 | ref e => f.write_str(e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:91:29 [INFO] [stdout] | [INFO] [stdout] 91 | Uri(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | Io(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | Ssl(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:94:30 [INFO] [stdout] | [INFO] [stdout] 94 | Utf8(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/header/shared/quality_item.rs:28:60 [INFO] [stdout] | [INFO] [stdout] 28 | x => write!(f, "; q=0.{}", format!("{:03}", x).trim_right_matches('0')) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/mock.rs:105:31 [INFO] [stdout] | [INFO] [stdout] 105 | fn set_nonblocking(&self, b: bool) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/client/proxy.rs:233:35 [INFO] [stdout] | [INFO] [stdout] 233 | fn set_nonblocking(&self, b: bool) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/route/mod.rs:116:22 [INFO] [stdout] | [INFO] [stdout] 116 | fn handle(&self, mut req: Request, mut res: Response<'_, Fresh>) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/route/mod.rs:116:40 [INFO] [stdout] | [INFO] [stdout] 116 | fn handle(&self, mut req: Request, mut res: Response<'_, Fresh>) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/net.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | self.0.set_nonblocking(b); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/header/internals/cell.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | mem::replace(map, PtrMap::Many(hm)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 174 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 03s [INFO] running `Command { std: "docker" "inspect" "9d995bee7337ec3b46f9d8be83cd7b938c01cfad10b1d509030a72dbd8a78c83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d995bee7337ec3b46f9d8be83cd7b938c01cfad10b1d509030a72dbd8a78c83", kill_on_drop: false }` [INFO] [stdout] 9d995bee7337ec3b46f9d8be83cd7b938c01cfad10b1d509030a72dbd8a78c83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 72385a7cb6dc9ffda0fcb7c11a1d03eb1d3491864cc2312dabfa73c173c52b73 [INFO] running `Command { std: "docker" "start" "-a" "72385a7cb6dc9ffda0fcb7c11a1d03eb1d3491864cc2312dabfa73c173c52b73", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling crossbeam-queue v0.3.4 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling vcpkg v0.2.15 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling ucd-util v0.1.8 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling utf8-ranges v1.0.4 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling rgb v0.8.31 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling getrandom v0.2.4 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling libsqlite3-sys v0.23.2 [INFO] [stderr] Compiling hashlink v0.7.0 [INFO] [stderr] Compiling fallible_collections v0.4.4 [INFO] [stderr] Compiling lodepng v3.5.2 [INFO] [stderr] Compiling atoi v0.4.0 [INFO] [stderr] Compiling env_logger v0.4.3 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling time v0.3.7 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling cogo v0.1.36 [INFO] [stderr] Compiling cdbc v0.1.13 [INFO] [stderr] Compiling cogo-http v0.1.13 (/opt/rustwide/workdir) [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stdout] warning: unused macro definition: `mock_connector` [INFO] [stdout] --> src/mock.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | macro_rules! mock_connector ( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | let nread = r#try!(self.inner.read(&mut v[self.cap..])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | r#try!(rem.read(buf)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:125:26 [INFO] [stdout] | [INFO] [stdout] 125 | let mut rem = r#try!(self.fill_buf()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:136:24 [INFO] [stdout] | [INFO] [stdout] 136 | self.cap = r#try!(self.inner.read(&mut self.buf)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `httparse` is imported redundantly [INFO] [stdout] --> src/client/proxy.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | use httparse; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | extern crate httparse; [INFO] [stdout] | ---------------------- the item `httparse` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/proxy.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | r#try!(write!(&mut stream, "{method} {host}:{port} {version}\r\nHost: {host}:{port}\r\n\r\n", [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/proxy.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | r#try!(stream.flush()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/proxy.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | let mut stream = r#try!(self.connector.connect(self.proxy.1.as_ref(), self.proxy.2, self.proxy.0.as_ref())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/proxy.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | n += r#try!(stream.read(&mut buf[n..])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/proxy.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | if r#try!(res.parse(&buf[..n])).is_complete() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/pool.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 167 | stream: r#try!(self.connector.connect(host, port, scheme)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/pool.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | let n = r#try!(inner.stream.read(buf)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/request.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | let (host, port) = r#try!(get_host_and_port(&url)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/request.rs:101:32 [INFO] [stdout] | [INFO] [stdout] 101 | let (host, port) = r#try!(get_host_and_port(&url)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/request.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | r#try!(connector.connect(host, port, url.scheme())).into() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:295:23 [INFO] [stdout] | [INFO] [stdout] 295 | let mut url = r#try!(url); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | r#try!(req.set_write_timeout(client.write_timeout)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | r#try!(req.set_read_timeout(client.read_timeout)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:311:36 [INFO] [stdout] | [INFO] [stdout] 311 | let (host, port) = r#try!(get_host_and_port(&url)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:312:35 [INFO] [stdout] | [INFO] [stdout] 312 | let mut message = r#try!(client.protocol.new_message(&host, port, url.scheme())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:343:33 [INFO] [stdout] | [INFO] [stdout] 343 | let mut streaming = r#try!(req.start()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:345:17 [INFO] [stdout] | [INFO] [stdout] 345 | r#try!(copy(&mut rdr, &mut streaming)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:347:23 [INFO] [stdout] | [INFO] [stdout] 347 | let res = r#try!(streaming.send()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/access_control_allow_origin.rs:70:50 [INFO] [stdout] | [INFO] [stdout] 70 | _ => AccessControlAllowOrigin::Value(r#try!(String::from_utf8(value.clone()))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/authorization.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | let header = r#try!(from_utf8(unsafe { &raw.get_unchecked(0)[..] })); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/authorization.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | r#try!(write!(f, "{} ", scheme)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/cache_control.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | let directives = r#try!(from_comma_delimited(raw)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/cookie.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | let cookies_str = r#try!(from_utf8(&cookies_raw[..])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/cookie.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | r#try!(Display::fmt(&cookie, f)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/cookie.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | r#try!(f.write_str("; ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:136:46 [INFO] [stdout] | [INFO] [stdout] 136 | let extended_value = r#try!(parse_extended_value(val)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:159:40 [INFO] [stdout] | [INFO] [stdout] 159 | DispositionType::Inline => r#try!(write!(f, "inline")), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:160:44 [INFO] [stdout] | [INFO] [stdout] 160 | DispositionType::Attachment => r#try!(write!(f, "attachment")), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:161:44 [INFO] [stdout] | [INFO] [stdout] 161 | DispositionType::Ext(ref s) => r#try!(write!(f, "{}", s)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | r#try!(write!(f, "; filename=\"{}\"", [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:181:25 [INFO] [stdout] | [INFO] [stdout] 181 | r#try!(write!(f, "; filename*={}'", charset)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:185:25 [INFO] [stdout] | [INFO] [stdout] 185 | r#try!(write!(f, "'")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:186:25 [INFO] [stdout] | [INFO] [stdout] 186 | r#try!(f.write_str( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | ... r#try!(write!(f, "{}", lang)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:190:56 [INFO] [stdout] | [INFO] [stdout] 190 | DispositionParam::Ext(ref k, ref v) => r#try!(write!(f, "; {}=\"{}\"", k, v)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:125:48 [INFO] [stdout] | [INFO] [stdout] 125 | let (range, instance_length) = r#try!(split_in_two(resp, '/').ok_or(crate::Error::Header)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:130:26 [INFO] [stdout] | [INFO] [stdout] 130 | Some(r#try!(instance_length.parse().map_err(|_| crate::Error::Header))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:136:51 [INFO] [stdout] | [INFO] [stdout] 136 | let (first_byte, last_byte) = r#try!(split_in_two(range, '-').ok_or(crate::Error::Header)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:137:38 [INFO] [stdout] | [INFO] [stdout] 137 | let first_byte = r#try!(first_byte.parse().map_err(|_| crate::Error::Header)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:138:37 [INFO] [stdout] | [INFO] [stdout] 138 | let last_byte = r#try!(last_byte.parse().map_err(|_| crate::Error::Header)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | r#try!(f.write_str("bytes ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | r#try!(f.write_str("/")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:169:25 [INFO] [stdout] | [INFO] [stdout] 169 | r#try!(write!(f, "{}-{}", first_byte, last_byte)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:172:25 [INFO] [stdout] | [INFO] [stdout] 172 | r#try!(f.write_str("*")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | r#try!(f.write_str(&unit)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | r#try!(f.write_str(" ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/origin.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | let host = r#try!(Host::from_str(etc)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/prefer.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | let preferences = r#try!(from_comma_delimited(raw)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/prefer.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | r#try!(write!(f, "{}", name)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/prefer.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 116 | if value != "" { r#try!(write!(f, "={}", value)); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/prefer.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | r#try!(write!(f, "; {}", name)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/prefer.rs:120:42 [INFO] [stdout] | [INFO] [stdout] 120 | if value != "" { r#try!(write!(f, "={}", value)); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/preference_applied.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | let preferences = r#try!(from_comma_delimited(raw)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/range.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | r#try!(write!(f, "bytes=")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/range.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | r#try!(Display::fmt(range, f)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/range.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | r#try!(f.write_str(",")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/referrer_policy.rs:64:36 [INFO] [stdout] | [INFO] [stdout] 64 | let headers: Vec = r#try!(parsing::from_comma_delimited(raw)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/set_cookie.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | r#try!(f.fmt_line(cookie)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/upgrade.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 144 | Ok(Protocol::new(r#try!(parts.next().unwrap().parse()), parts.next().map(|x| x.to_owned()))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/upgrade.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | r#try!(fmt::Display::fmt(&self.name, f)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/upgrade.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | r#try!(write!(f, "/{}", version)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | r#try!(write!(f, "<{}>", self.link)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | r#try!(fmt_delimited(f, rel.as_slice(), " ", ("; rel=\"", "\""))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:430:13 [INFO] [stdout] | [INFO] [stdout] 430 | r#try!(write!(f, "; anchor=\"{}\"", anchor)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 433 | r#try!(fmt_delimited(f, rev.as_slice(), " ", ("; rev=\"", "\""))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:437:17 [INFO] [stdout] | [INFO] [stdout] 437 | r#try!(write!(f, "; hreflang={}", tag)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:441:13 [INFO] [stdout] | [INFO] [stdout] 441 | r#try!(fmt_delimited(f, media_desc.as_slice(), ", ", ("; media=\"", "\""))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:444:13 [INFO] [stdout] | [INFO] [stdout] 444 | r#try!(write!(f, "; title=\"{}\"", title)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | r#try!(write!(f, "; title*={}", title_star)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:450:13 [INFO] [stdout] | [INFO] [stdout] 450 | r#try!(write!(f, "; type=\"{}\"", media_type)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:863:9 [INFO] [stdout] | [INFO] [stdout] 863 | r#try!(write!(f, "{}{}", b.0, p[0])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:871:9 [INFO] [stdout] | [INFO] [stdout] 871 | r#try!(write!(f, "{}", b.1)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:867:13 [INFO] [stdout] | [INFO] [stdout] 867 | r#try!(write!(f, "{}{}", d, i)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/internals/item.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | ... r#try!(f.fmt_line(&s)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/parsing.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let s = r#try!(str::from_utf8(raw)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/parsing.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | let s = r#try!(str::from_utf8(s.as_ref())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/parsing.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | r#try!(Display::fmt(part, f)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/parsing.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | r#try!(f.write_str(", ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/parsing.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | Some(n) => r#try!(FromStr::from_str(n)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | r#try!(f.write_str(*name)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | r#try!(f.write_str(": ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | r#try!(write!(NewlineReplacer(*f), "{}", line)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | r#try!(f.write_str(", ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | r#try!(self.0.write_str(&s[since..i])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | r#try!(self.0.write_str(" ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:453:13 [INFO] [stdout] | [INFO] [stdout] 453 | r#try!(fmt::Display::fmt(&header, f)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:461:9 [INFO] [stdout] | [INFO] [stdout] 461 | r#try!(f.write_str("Headers { ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:465:9 [INFO] [stdout] | [INFO] [stdout] 465 | r#try!(f.write_str("}")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:463:13 [INFO] [stdout] | [INFO] [stdout] 463 | r#try!(write!(f, "{:?}, ", header)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | r#try!(self.flush_outgoing()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360 | r#try!(self.get_mut().close(Shutdown::Both)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:444:22 [INFO] [stdout] | [INFO] [stdout] 444 | let stream = r#try!(self.connector.connect(host, port, scheme)).into(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:470:12 [INFO] [stdout] | [INFO] [stdout] 470 | Ok(r#try!(self.0.connect(host, port, scheme)).into()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:481:12 [INFO] [stdout] | [INFO] [stdout] 481 | Ok(r#try!(self.0.connect(host, port, scheme)).into()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:573:31 [INFO] [stdout] | [INFO] [stdout] 573 | let num = r#try!(body.read(&mut buf[..to_read])) as u64; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:589:29 [INFO] [stdout] | [INFO] [stdout] 589 | None => r#try!(read_chunk_size(body)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:595:25 [INFO] [stdout] | [INFO] [stdout] 595 | r#try!(eat(body, LINE_ENDING.as_bytes())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:609:29 [INFO] [stdout] | [INFO] [stdout] 609 | let count = r#try!(body.read(&mut buf[..to_read])) as u64; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:620:21 [INFO] [stdout] | [INFO] [stdout] 620 | r#try!(eat(body, LINE_ENDING.as_bytes())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:638:15 [INFO] [stdout] | [INFO] [stdout] 638 | match r#try!(rdr.read(&mut buf)) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:652:19 [INFO] [stdout] | [INFO] [stdout] 652 | match r#try!($rdr.read(&mut buf)) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 665 | match byte!(rdr) { [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `byte` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:652:19 [INFO] [stdout] | [INFO] [stdout] 652 | match r#try!($rdr.read(&mut buf)) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 679 | match byte!(rdr) { [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `byte` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:786:13 [INFO] [stdout] | [INFO] [stdout] 786 | r#try!(w.write(&[])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:814:17 [INFO] [stdout] | [INFO] [stdout] 814 | r#try!(write!(w, "{:X}{}", chunk_size, LINE_ENDING)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:815:17 [INFO] [stdout] | [INFO] [stdout] 815 | r#try!(w.write_all(msg)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:816:17 [INFO] [stdout] | [INFO] [stdout] 816 | r#try!(w.write_all(LINE_ENDING.as_bytes())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:823:21 [INFO] [stdout] | [INFO] [stdout] 823 | r#try!(w.write_all(&msg[..len as usize])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:827:21 [INFO] [stdout] | [INFO] [stdout] 827 | r#try!(w.write_all(msg)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:882:15 [INFO] [stdout] | [INFO] [stdout] 882 | match r#try!(try_parse::(rdr)) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:889:17 [INFO] [stdout] | [INFO] [stdout] 889 | let n = r#try!(rdr.read_into_buf()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:930:18 [INFO] [stdout] | [INFO] [stdout] 930 | Ok(match r#try!(req.parse(buf)) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:936:25 [INFO] [stdout] | [INFO] [stdout] 936 | r#try!(req.method.unwrap().parse()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:937:25 [INFO] [stdout] | [INFO] [stdout] 937 | r#try!(req.path.unwrap().parse()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:939:30 [INFO] [stdout] | [INFO] [stdout] 939 | headers: r#try!(Headers::from_raw(req.headers)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:954:18 [INFO] [stdout] | [INFO] [stdout] 954 | Ok(match r#try!(res.parse(buf)) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:965:30 [INFO] [stdout] | [INFO] [stdout] 965 | headers: r#try!(Headers::from_raw(res.headers)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/net.rs:253:31 [INFO] [stdout] | [INFO] [stdout] 253 | Ok(HttpListener::from(r#try!(TcpListener::bind(addr)))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/net.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | r#try!(stream.set_read_timeout(self.read_timeout)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/net.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | r#try!(stream.set_write_timeout(self.write_timeout)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/net.rs:262:33 [INFO] [stdout] | [INFO] [stdout] 262 | let stream = HttpStream(r#try!(self.listener.accept()).0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/net.rs:427:12 [INFO] [stdout] | [INFO] [stdout] 427 | Ok(r#try!(match scheme { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/net.rs:430:31 [INFO] [stdout] | [INFO] [stdout] 430 | Ok(HttpStream(r#try!(TcpStream::connect(addr)))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/net.rs:465:23 [INFO] [stdout] | [INFO] [stdout] 465 | Ok(HttpStream(r#try!((*self)(host, port, scheme)))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/net.rs:649:22 [INFO] [stdout] | [INFO] [stdout] 649 | let stream = r#try!(self.connector.connect(host, port, "http")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Shutdown` [INFO] [stdout] --> src/server/mod.rs:112:43 [INFO] [stdout] | [INFO] [stdout] 112 | use std::net::{SocketAddr, ToSocketAddrs, Shutdown}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/server/request.rs:40:69 [INFO] [stdout] | [INFO] [stdout] 40 | let Incoming { version, subject: (method, uri), headers } = r#try!(h1::parse_request(stream)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::now_utc` [INFO] [stdout] --> src/server/response.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use time::now_utc; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/server/response.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | r#try!(write!(&mut self.body, "{} {}\r\n", self.version, self.status)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/server/response.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | r#try!(write!(&mut self.body, "{}", self.headers)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/server/response.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | r#try!(write!(&mut self.body, "{}", LINE_ENDING)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/server/response.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | r#try!(stream.write_all(body)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/server/response.rs:172:26 [INFO] [stdout] | [INFO] [stdout] 172 | let mut stream = r#try!(self.start()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/server/response.rs:180:25 [INFO] [stdout] | [INFO] [stdout] 180 | let body_type = r#try!(self.write_head()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/server/response.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | r#try!(body.end()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/server/listener.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/server/mod.rs:309:22 [INFO] [stdout] | [INFO] [stdout] 309 | let socket = r#try!(self.listener.clone().local_addr()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/server/mod.rs:325:18 [INFO] [stdout] | [INFO] [stdout] 325 | let socket = r#try!(server.listener.local_addr()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/uri.rs:65:40 [INFO] [stdout] | [INFO] [stdout] 65 | Ok(RequestUri::AbsoluteUri(r#try!(Url::parse(s)))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/uri.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | r#try!(Url::parse(&temp[..])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Debug` [INFO] [stdout] --> src/multipart/error.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fmt::{self, Debug, Display}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/multipart/mod.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorrowMut` [INFO] [stdout] --> src/multipart/mod.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | use std::borrow::{BorrowMut, Cow}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/multipart/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut`, `Drop` [INFO] [stdout] --> src/multipart/mod.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | use std::ops::{DerefMut, Drop}; [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/multipart/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::Result` [INFO] [stdout] --> src/query/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::Result` [INFO] [stdout] --> src/path/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `HashMap` [INFO] [stdout] --> src/route/mod.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/route/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::copy` [INFO] [stdout] --> src/route/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::copy; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/route/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/json/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/pragma.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/referrer_policy.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/link.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/shared/charset.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 78 | ref e => f.write_str(e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:91:29 [INFO] [stdout] | [INFO] [stdout] 91 | Uri(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | Io(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | Ssl(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:94:30 [INFO] [stdout] | [INFO] [stdout] 94 | Utf8(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/header/shared/quality_item.rs:28:60 [INFO] [stdout] | [INFO] [stdout] 28 | x => write!(f, "; q=0.{}", format!("{:03}", x).trim_right_matches('0')) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling cdbc-sqlite v0.1.13 [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/mock.rs:105:31 [INFO] [stdout] | [INFO] [stdout] 105 | fn set_nonblocking(&self, b: bool) {} [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/client/proxy.rs:233:35 [INFO] [stdout] | [INFO] [stdout] 233 | fn set_nonblocking(&self, b: bool) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/route/mod.rs:116:22 [INFO] [stdout] | [INFO] [stdout] 116 | fn handle(&self, mut req: Request, mut res: Response<'_, Fresh>) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/route/mod.rs:116:40 [INFO] [stdout] | [INFO] [stdout] 116 | fn handle(&self, mut req: Request, mut res: Response<'_, Fresh>) { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/net.rs:400:9 [INFO] [stdout] | [INFO] [stdout] 400 | self.0.set_nonblocking(b); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `std::mem::replace` that must be used [INFO] [stdout] --> src/header/internals/cell.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | mem::replace(map, PtrMap::Many(hm)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: if you don't need the old value, you can just assign the new value directly [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling image v0.23.14 [INFO] [stdout] warning: 174 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling captcha v0.0.8 [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:90:25 [INFO] [stdout] | [INFO] [stdout] 90 | let nread = r#try!(self.inner.read(&mut v[self.cap..])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | r#try!(rem.read(buf)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:125:26 [INFO] [stdout] | [INFO] [stdout] 125 | let mut rem = r#try!(self.fill_buf()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/buffer.rs:136:24 [INFO] [stdout] | [INFO] [stdout] 136 | self.cap = r#try!(self.inner.read(&mut self.buf)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `httparse` is imported redundantly [INFO] [stdout] --> src/client/proxy.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | use httparse; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/lib.rs:135:1 [INFO] [stdout] | [INFO] [stdout] 135 | extern crate httparse; [INFO] [stdout] | ---------------------- the item `httparse` is already imported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/proxy.rs:46:17 [INFO] [stdout] | [INFO] [stdout] 46 | r#try!(write!(&mut stream, "{method} {host}:{port} {version}\r\nHost: {host}:{port}\r\n\r\n", [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/proxy.rs:48:17 [INFO] [stdout] | [INFO] [stdout] 48 | r#try!(stream.flush()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/proxy.rs:44:34 [INFO] [stdout] | [INFO] [stdout] 44 | let mut stream = r#try!(self.connector.connect(self.proxy.1.as_ref(), self.proxy.2, self.proxy.0.as_ref())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/proxy.rs:52:26 [INFO] [stdout] | [INFO] [stdout] 52 | n += r#try!(stream.read(&mut buf[n..])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/proxy.rs:55:24 [INFO] [stdout] | [INFO] [stdout] 55 | if r#try!(res.parse(&buf[..n])).is_complete() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/pool.rs:167:25 [INFO] [stdout] | [INFO] [stdout] 167 | stream: r#try!(self.connector.connect(host, port, scheme)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/pool.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | let n = r#try!(inner.stream.read(buf)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/request.rs:66:32 [INFO] [stdout] | [INFO] [stdout] 66 | let (host, port) = r#try!(get_host_and_port(&url)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/request.rs:101:32 [INFO] [stdout] | [INFO] [stdout] 101 | let (host, port) = r#try!(get_host_and_port(&url)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/request.rs:102:13 [INFO] [stdout] | [INFO] [stdout] 102 | r#try!(connector.connect(host, port, url.scheme())).into() [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/response.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | r#try!(r.read_to_string(&mut s)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:295:23 [INFO] [stdout] | [INFO] [stdout] 295 | let mut url = r#try!(url); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:332:13 [INFO] [stdout] | [INFO] [stdout] 332 | r#try!(req.set_write_timeout(client.write_timeout)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:333:13 [INFO] [stdout] | [INFO] [stdout] 333 | r#try!(req.set_read_timeout(client.read_timeout)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:311:36 [INFO] [stdout] | [INFO] [stdout] 311 | let (host, port) = r#try!(get_host_and_port(&url)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:312:35 [INFO] [stdout] | [INFO] [stdout] 312 | let mut message = r#try!(client.protocol.new_message(&host, port, url.scheme())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:343:33 [INFO] [stdout] | [INFO] [stdout] 343 | let mut streaming = r#try!(req.start()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:345:17 [INFO] [stdout] | [INFO] [stdout] 345 | r#try!(copy(&mut rdr, &mut streaming)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/client/mod.rs:347:23 [INFO] [stdout] | [INFO] [stdout] 347 | let res = r#try!(streaming.send()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/access_control_allow_origin.rs:70:50 [INFO] [stdout] | [INFO] [stdout] 70 | _ => AccessControlAllowOrigin::Value(r#try!(String::from_utf8(value.clone()))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `doc` [INFO] [stdout] --> src/header/common/accept_charset.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | /// Testcase from RFC [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] note: the built-in attribute `doc` will be ignored, since it's applied to the macro invocation `test_header` [INFO] [stdout] --> src/header/common/accept_charset.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | test_header!(test1, vec![b"iso-8859-5, unicode-1-1;q=0.8"]); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/authorization.rs:83:22 [INFO] [stdout] | [INFO] [stdout] 83 | let header = r#try!(from_utf8(unsafe { &raw.get_unchecked(0)[..] })); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/authorization.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | r#try!(write!(f, "{} ", scheme)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/cache_control.rs:58:26 [INFO] [stdout] | [INFO] [stdout] 58 | let directives = r#try!(from_comma_delimited(raw)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/cookie.rs:43:31 [INFO] [stdout] | [INFO] [stdout] 43 | let cookies_str = r#try!(from_utf8(&cookies_raw[..])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/cookie.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | r#try!(Display::fmt(&cookie, f)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/cookie.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | r#try!(f.write_str("; ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:136:46 [INFO] [stdout] | [INFO] [stdout] 136 | let extended_value = r#try!(parse_extended_value(val)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:159:40 [INFO] [stdout] | [INFO] [stdout] 159 | DispositionType::Inline => r#try!(write!(f, "inline")), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:160:44 [INFO] [stdout] | [INFO] [stdout] 160 | DispositionType::Attachment => r#try!(write!(f, "attachment")), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:161:44 [INFO] [stdout] | [INFO] [stdout] 161 | DispositionType::Ext(ref s) => r#try!(write!(f, "{}", s)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | r#try!(write!(f, "; filename=\"{}\"", [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:181:25 [INFO] [stdout] | [INFO] [stdout] 181 | r#try!(write!(f, "; filename*={}'", charset)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:185:25 [INFO] [stdout] | [INFO] [stdout] 185 | r#try!(write!(f, "'")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:186:25 [INFO] [stdout] | [INFO] [stdout] 186 | r#try!(f.write_str( [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | ... r#try!(write!(f, "{}", lang)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:190:56 [INFO] [stdout] | [INFO] [stdout] 190 | DispositionParam::Ext(ref k, ref v) => r#try!(write!(f, "; {}=\"{}\"", k, v)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused attribute `doc` [INFO] [stdout] --> src/header/common/content_encoding.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | /// Testcase from the RFC [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the built-in attribute `doc` will be ignored, since it's applied to the macro invocation `test_header` [INFO] [stdout] --> src/header/common/content_encoding.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | test_header!(test1, vec![b"gzip"], Some(ContentEncoding(vec![Encoding::Gzip]))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:125:48 [INFO] [stdout] | [INFO] [stdout] 125 | let (range, instance_length) = r#try!(split_in_two(resp, '/').ok_or(crate::Error::Header)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:130:26 [INFO] [stdout] | [INFO] [stdout] 130 | Some(r#try!(instance_length.parse().map_err(|_| crate::Error::Header))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:136:51 [INFO] [stdout] | [INFO] [stdout] 136 | let (first_byte, last_byte) = r#try!(split_in_two(range, '-').ok_or(crate::Error::Header)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:137:38 [INFO] [stdout] | [INFO] [stdout] 137 | let first_byte = r#try!(first_byte.parse().map_err(|_| crate::Error::Header)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:138:37 [INFO] [stdout] | [INFO] [stdout] 138 | let last_byte = r#try!(last_byte.parse().map_err(|_| crate::Error::Header)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | r#try!(f.write_str("bytes ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:175:17 [INFO] [stdout] | [INFO] [stdout] 175 | r#try!(f.write_str("/")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:169:25 [INFO] [stdout] | [INFO] [stdout] 169 | r#try!(write!(f, "{}-{}", first_byte, last_byte)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:172:25 [INFO] [stdout] | [INFO] [stdout] 172 | r#try!(f.write_str("*")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | r#try!(f.write_str(&unit)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | r#try!(f.write_str(" ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/origin.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | let host = r#try!(Host::from_str(etc)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/prefer.rs:60:27 [INFO] [stdout] | [INFO] [stdout] 60 | let preferences = r#try!(from_comma_delimited(raw)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/prefer.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | r#try!(write!(f, "{}", name)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/prefer.rs:116:34 [INFO] [stdout] | [INFO] [stdout] 116 | if value != "" { r#try!(write!(f, "={}", value)); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/prefer.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 119 | r#try!(write!(f, "; {}", name)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/prefer.rs:120:42 [INFO] [stdout] | [INFO] [stdout] 120 | if value != "" { r#try!(write!(f, "={}", value)); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/preference_applied.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | let preferences = r#try!(from_comma_delimited(raw)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/range.rs:108:17 [INFO] [stdout] | [INFO] [stdout] 108 | r#try!(write!(f, "bytes=")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/range.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | r#try!(Display::fmt(range, f)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/range.rs:112:25 [INFO] [stdout] | [INFO] [stdout] 112 | r#try!(f.write_str(",")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/referrer_policy.rs:64:36 [INFO] [stdout] | [INFO] [stdout] 64 | let headers: Vec = r#try!(parsing::from_comma_delimited(raw)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/set_cookie.rs:106:13 [INFO] [stdout] | [INFO] [stdout] 106 | r#try!(f.fmt_line(cookie)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/upgrade.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 144 | Ok(Protocol::new(r#try!(parts.next().unwrap().parse()), parts.next().map(|x| x.to_owned()))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/upgrade.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | r#try!(fmt::Display::fmt(&self.name, f)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/upgrade.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | r#try!(write!(f, "/{}", version)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:424:9 [INFO] [stdout] | [INFO] [stdout] 424 | r#try!(write!(f, "<{}>", self.link)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:427:13 [INFO] [stdout] | [INFO] [stdout] 427 | r#try!(fmt_delimited(f, rel.as_slice(), " ", ("; rel=\"", "\""))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:430:13 [INFO] [stdout] | [INFO] [stdout] 430 | r#try!(write!(f, "; anchor=\"{}\"", anchor)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:433:13 [INFO] [stdout] | [INFO] [stdout] 433 | r#try!(fmt_delimited(f, rev.as_slice(), " ", ("; rev=\"", "\""))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:437:17 [INFO] [stdout] | [INFO] [stdout] 437 | r#try!(write!(f, "; hreflang={}", tag)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:441:13 [INFO] [stdout] | [INFO] [stdout] 441 | r#try!(fmt_delimited(f, media_desc.as_slice(), ", ", ("; media=\"", "\""))); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:444:13 [INFO] [stdout] | [INFO] [stdout] 444 | r#try!(write!(f, "; title=\"{}\"", title)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | r#try!(write!(f, "; title*={}", title_star)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:450:13 [INFO] [stdout] | [INFO] [stdout] 450 | r#try!(write!(f, "; type=\"{}\"", media_type)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:863:9 [INFO] [stdout] | [INFO] [stdout] 863 | r#try!(write!(f, "{}{}", b.0, p[0])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:871:9 [INFO] [stdout] | [INFO] [stdout] 871 | r#try!(write!(f, "{}", b.1)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:867:13 [INFO] [stdout] | [INFO] [stdout] 867 | r#try!(write!(f, "{}{}", d, i)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/header/common/link.rs:1084:59 [INFO] [stdout] | [INFO] [stdout] 1084 | struct TestFormatterStruct<'a> { v: Vec<&'a str> }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/internals/item.rs:94:29 [INFO] [stdout] | [INFO] [stdout] 94 | ... r#try!(f.fmt_line(&s)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/parsing.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | let s = r#try!(str::from_utf8(raw)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/parsing.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | let s = r#try!(str::from_utf8(s.as_ref())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/parsing.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | r#try!(Display::fmt(part, f)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/parsing.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | r#try!(f.write_str(", ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/parsing.rs:105:20 [INFO] [stdout] | [INFO] [stdout] 105 | Some(n) => r#try!(FromStr::from_str(n)), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:165:17 [INFO] [stdout] | [INFO] [stdout] 165 | r#try!(f.write_str(*name)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | r#try!(f.write_str(": ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | r#try!(write!(NewlineReplacer(*f), "{}", line)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | r#try!(f.write_str(", ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | r#try!(self.0.write_str(&s[since..i])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:207:17 [INFO] [stdout] | [INFO] [stdout] 207 | r#try!(self.0.write_str(" ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:453:13 [INFO] [stdout] | [INFO] [stdout] 453 | r#try!(fmt::Display::fmt(&header, f)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:461:9 [INFO] [stdout] | [INFO] [stdout] 461 | r#try!(f.write_str("Headers { ")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:465:9 [INFO] [stdout] | [INFO] [stdout] 465 | r#try!(f.write_str("}")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:463:13 [INFO] [stdout] | [INFO] [stdout] 463 | r#try!(write!(f, "{:?}, ", header)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:246:9 [INFO] [stdout] | [INFO] [stdout] 246 | r#try!(self.flush_outgoing()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:360:9 [INFO] [stdout] | [INFO] [stdout] 360 | r#try!(self.get_mut().close(Shutdown::Both)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:444:22 [INFO] [stdout] | [INFO] [stdout] 444 | let stream = r#try!(self.connector.connect(host, port, scheme)).into(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:470:12 [INFO] [stdout] | [INFO] [stdout] 470 | Ok(r#try!(self.0.connect(host, port, scheme)).into()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:481:12 [INFO] [stdout] | [INFO] [stdout] 481 | Ok(r#try!(self.0.connect(host, port, scheme)).into()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:573:31 [INFO] [stdout] | [INFO] [stdout] 573 | let num = r#try!(body.read(&mut buf[..to_read])) as u64; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:589:29 [INFO] [stdout] | [INFO] [stdout] 589 | None => r#try!(read_chunk_size(body)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:595:25 [INFO] [stdout] | [INFO] [stdout] 595 | r#try!(eat(body, LINE_ENDING.as_bytes())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:609:29 [INFO] [stdout] | [INFO] [stdout] 609 | let count = r#try!(body.read(&mut buf[..to_read])) as u64; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:620:21 [INFO] [stdout] | [INFO] [stdout] 620 | r#try!(eat(body, LINE_ENDING.as_bytes())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:638:15 [INFO] [stdout] | [INFO] [stdout] 638 | match r#try!(rdr.read(&mut buf)) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:652:19 [INFO] [stdout] | [INFO] [stdout] 652 | match r#try!($rdr.read(&mut buf)) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 665 | match byte!(rdr) { [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `byte` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:652:19 [INFO] [stdout] | [INFO] [stdout] 652 | match r#try!($rdr.read(&mut buf)) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 679 | match byte!(rdr) { [INFO] [stdout] | ---------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `byte` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:786:13 [INFO] [stdout] | [INFO] [stdout] 786 | r#try!(w.write(&[])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:814:17 [INFO] [stdout] | [INFO] [stdout] 814 | r#try!(write!(w, "{:X}{}", chunk_size, LINE_ENDING)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:815:17 [INFO] [stdout] | [INFO] [stdout] 815 | r#try!(w.write_all(msg)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:816:17 [INFO] [stdout] | [INFO] [stdout] 816 | r#try!(w.write_all(LINE_ENDING.as_bytes())); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:823:21 [INFO] [stdout] | [INFO] [stdout] 823 | r#try!(w.write_all(&msg[..len as usize])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:827:21 [INFO] [stdout] | [INFO] [stdout] 827 | r#try!(w.write_all(msg)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:882:15 [INFO] [stdout] | [INFO] [stdout] 882 | match r#try!(try_parse::(rdr)) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:889:17 [INFO] [stdout] | [INFO] [stdout] 889 | let n = r#try!(rdr.read_into_buf()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:930:18 [INFO] [stdout] | [INFO] [stdout] 930 | Ok(match r#try!(req.parse(buf)) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:936:25 [INFO] [stdout] | [INFO] [stdout] 936 | r#try!(req.method.unwrap().parse()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:937:25 [INFO] [stdout] | [INFO] [stdout] 937 | r#try!(req.path.unwrap().parse()) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:939:30 [INFO] [stdout] | [INFO] [stdout] 939 | headers: r#try!(Headers::from_raw(req.headers)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:954:18 [INFO] [stdout] | [INFO] [stdout] 954 | Ok(match r#try!(res.parse(buf)) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/http/h1.rs:965:30 [INFO] [stdout] | [INFO] [stdout] 965 | headers: r#try!(Headers::from_raw(res.headers)) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/net.rs:253:31 [INFO] [stdout] | [INFO] [stdout] 253 | Ok(HttpListener::from(r#try!(TcpListener::bind(addr)))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/net.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | r#try!(stream.set_read_timeout(self.read_timeout)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/net.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | r#try!(stream.set_write_timeout(self.write_timeout)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/net.rs:262:33 [INFO] [stdout] | [INFO] [stdout] 262 | let stream = HttpStream(r#try!(self.listener.accept()).0); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/net.rs:427:12 [INFO] [stdout] | [INFO] [stdout] 427 | Ok(r#try!(match scheme { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/net.rs:430:31 [INFO] [stdout] | [INFO] [stdout] 430 | Ok(HttpStream(r#try!(TcpStream::connect(addr)))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/net.rs:465:23 [INFO] [stdout] | [INFO] [stdout] 465 | Ok(HttpStream(r#try!((*self)(host, port, scheme)))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/net.rs:649:22 [INFO] [stdout] | [INFO] [stdout] 649 | let stream = r#try!(self.connector.connect(host, port, "http")); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Shutdown` [INFO] [stdout] --> src/server/mod.rs:112:43 [INFO] [stdout] | [INFO] [stdout] 112 | use std::net::{SocketAddr, ToSocketAddrs, Shutdown}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/server/request.rs:40:69 [INFO] [stdout] | [INFO] [stdout] 40 | let Incoming { version, subject: (method, uri), headers } = r#try!(h1::parse_request(stream)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/server/request.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | r#try!(req.read_to_string(&mut s)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `time::now_utc` [INFO] [stdout] --> src/server/response.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use time::now_utc; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/server/response.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | r#try!(write!(&mut self.body, "{} {}\r\n", self.version, self.status)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/server/response.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | r#try!(write!(&mut self.body, "{}", self.headers)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/server/response.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | r#try!(write!(&mut self.body, "{}", LINE_ENDING)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/server/response.rs:173:9 [INFO] [stdout] | [INFO] [stdout] 173 | r#try!(stream.write_all(body)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/server/response.rs:172:26 [INFO] [stdout] | [INFO] [stdout] 172 | let mut stream = r#try!(self.start()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/server/response.rs:180:25 [INFO] [stdout] | [INFO] [stdout] 180 | let body_type = r#try!(self.write_head()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/server/response.rs:213:9 [INFO] [stdout] | [INFO] [stdout] 213 | r#try!(body.end()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/server/response.rs:358:13 [INFO] [stdout] | [INFO] [stdout] 358 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/server/listener.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/server/mod.rs:309:22 [INFO] [stdout] | [INFO] [stdout] 309 | let socket = r#try!(self.listener.clone().local_addr()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/server/mod.rs:325:18 [INFO] [stdout] | [INFO] [stdout] 325 | let socket = r#try!(server.listener.local_addr()); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/uri.rs:65:40 [INFO] [stdout] | [INFO] [stdout] 65 | Ok(RequestUri::AbsoluteUri(r#try!(Url::parse(s)))) [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `r#try`: use the `?` operator instead [INFO] [stdout] --> src/uri.rs:69:13 [INFO] [stdout] | [INFO] [stdout] 69 | r#try!(Url::parse(&temp[..])); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Debug` [INFO] [stdout] --> src/multipart/error.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fmt::{self, Debug, Display}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/multipart/mod.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorrowMut` [INFO] [stdout] --> src/multipart/mod.rs:22:19 [INFO] [stdout] | [INFO] [stdout] 22 | use std::borrow::{BorrowMut, Cow}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/multipart/mod.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DerefMut`, `Drop` [INFO] [stdout] --> src/multipart/mod.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | use std::ops::{DerefMut, Drop}; [INFO] [stdout] | ^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/multipart/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::Result` [INFO] [stdout] --> src/query/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::error::Result` [INFO] [stdout] --> src/path/mod.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap`, `HashMap` [INFO] [stdout] --> src/route/mod.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::{BTreeMap, HashMap}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/route/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::copy` [INFO] [stdout] --> src/route/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::io::copy; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> src/route/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/json/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/pragma.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/referrer_policy.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/link.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/shared/charset.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/access_control_allow_credentials.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | test_header!(ignores_case, vec![b"True"]); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/access_control_allow_headers.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | test_header!(test1, vec![b"accept-language, date"]); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/access_control_allow_methods.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | test_header!(test1, vec![b"PUT, DELETE, XMODIFY"]); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/access_control_allow_origin.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | test_header!(test1, vec![b"null"]); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/access_control_allow_origin.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 96 | test_header!(test2, vec![b"*"]); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/access_control_allow_origin.rs:97:5 [INFO] [stdout] | [INFO] [stdout] 97 | test_header!(test3, vec![b"http://google.com/"]); [INFO] [stdout] | ------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/access_control_expose_headers.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | test_header!(test1, vec![b"etag, content-length"]); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/access_control_max_age.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | test_header!(test1, vec![b"531"]); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/access_control_request_headers.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | test_header!(test1, vec![b"accept-language, date"]); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/access_control_request_method.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | test_header!(test1, vec![b"GET"]); [INFO] [stdout] | --------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/accept_charset.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | test_header!(test1, vec![b"iso-8859-5, unicode-1-1;q=0.8"]); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/accept_encoding.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | test_header!(test1, vec![b"compress, gzip"]); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/accept_encoding.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | test_header!(test3, vec![b"*"]); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/accept_encoding.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | test_header!(test4, vec![b"compress;q=0.5, gzip"]); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/accept_encoding.rs:69:9 [INFO] [stdout] | [INFO] [stdout] 69 | test_header!(test5, vec![b"gzip, identity; q=0.5, *;q=0"]); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/accept_language.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | test_header!(test1, vec![b"da, en-gb;q=0.8, en;q=0.7"]); [INFO] [stdout] | ------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/accept_ranges.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | test_header!(test1, vec![b"bytes"]); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/accept_ranges.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | test_header!(test2, vec![b"none"]); [INFO] [stdout] | ---------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/accept_ranges.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | test_header!(test3, vec![b"unknown-unit"]); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/accept_ranges.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | test_header!(test4, vec![b"bytes, unknown-unit"]); [INFO] [stdout] | ------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/connection.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | test_header!(test1, vec![b"close"]); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/connection.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | test_header!(test2, vec![b"keep-alive"]); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/connection.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | test_header!(test3, vec![b"upgrade"]); [INFO] [stdout] | ------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/content_language.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | test_header!(test1, vec![b"da"]); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/content_language.rs:57:9 [INFO] [stdout] | [INFO] [stdout] 57 | test_header!(test2, vec![b"mi, en"]); [INFO] [stdout] | ------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/date.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | test_header!(test1, vec![b"Tue, 15 Nov 1994 08:12:31 GMT"]); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/expires.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | test_header!(test1, vec![b"Thu, 01 Dec 1994 16:00:00 GMT"]); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/from.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | test_header!(test1, vec![b"webmaster@example.org"]); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/if_modified_since.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | test_header!(test1, vec![b"Sat, 29 Oct 1994 19:43:31 GMT"]); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/if_none_match.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | test_header!(test1, vec![b"\"xyzzy\""]); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/if_none_match.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | test_header!(test2, vec![b"W/\"xyzzy\""]); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/if_none_match.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | test_header!(test3, vec![b"\"xyzzy\", \"r2d2xxxx\", \"c3piozzzz\""]); [INFO] [stdout] | -------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/if_none_match.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | test_header!(test4, vec![b"W/\"xyzzy\", W/\"r2d2xxxx\", W/\"c3piozzzz\""]); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/if_none_match.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | test_header!(test5, vec![b"*"]); [INFO] [stdout] | ------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/if_range.rs:93:5 [INFO] [stdout] | [INFO] [stdout] 93 | test_header!(test1, vec![b"Sat, 29 Oct 1994 19:43:31 GMT"]); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/if_range.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | test_header!(test2, vec![b"\"xyzzy\""]); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/if_unmodified_since.rs:39:9 [INFO] [stdout] | [INFO] [stdout] 39 | test_header!(test1, vec![b"Sat, 29 Oct 1994 19:43:31 GMT"]); [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/last_modified.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | test_header!(test1, vec![b"Sat, 29 Oct 1994 19:43:31 GMT"]);} [INFO] [stdout] | ----------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/location.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | test_header!(test1, vec![b"/People.html#tim"]); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/location.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | test_header!(test2, vec![b"http://www.example.net/index.html"]); [INFO] [stdout] | --------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/referer.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | test_header!(test1, vec![b"http://www.example.org/hypertext/Overview.html"]); [INFO] [stdout] | ---------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/server.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | test_header!(test1, vec![b"CERN/3.0 libwww/2.17"]); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/user_agent.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | test_header!(test1, vec![b"CERN-LineMode/2.15 libwww/2.17b3"]); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated trait `std::ascii::AsciiExt`: use inherent methods instead [INFO] [stdout] --> src/header/common/mod.rs:141:29 [INFO] [stdout] | [INFO] [stdout] 141 | use std::ascii::AsciiExt; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/header/common/vary.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | test_header!(test1, vec![b"accept-encoding, accept-language"]); [INFO] [stdout] | -------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `test_header` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `set_nonblocking`, `reset_io`, `wait_io` [INFO] [stdout] --> src/multipart/mock.rs:84:1 [INFO] [stdout] | [INFO] [stdout] 84 | impl NetworkStream for MockStream { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `set_nonblocking`, `reset_io`, `wait_io` in implementation [INFO] [stdout] | [INFO] [stdout] ::: src/net.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | fn set_nonblocking(&self, b: bool); [INFO] [stdout] | ----------------------------------- `set_nonblocking` from trait [INFO] [stdout] 93 | [INFO] [stdout] 94 | fn reset_io(&self); [INFO] [stdout] | ------------------- `reset_io` from trait [INFO] [stdout] 95 | [INFO] [stdout] 96 | fn wait_io(&self); [INFO] [stdout] | ------------------ `wait_io` from trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:78:36 [INFO] [stdout] | [INFO] [stdout] 78 | ref e => f.write_str(e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:91:29 [INFO] [stdout] | [INFO] [stdout] 91 | Uri(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:92:28 [INFO] [stdout] | [INFO] [stdout] 92 | Io(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:93:29 [INFO] [stdout] | [INFO] [stdout] 93 | Ssl(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:94:30 [INFO] [stdout] | [INFO] [stdout] 94 | Utf8(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/header/shared/quality_item.rs:28:60 [INFO] [stdout] | [INFO] [stdout] 28 | x => write!(f, "; q=0.{}", format!("{:03}", x).trim_right_matches('0')) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:184:25 [INFO] [stdout] | [INFO] [stdout] 184 | let desc = orig.description().to_owned(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:186:22 [INFO] [stdout] | [INFO] [stdout] 186 | assert_eq!(e.cause().unwrap().description(), desc); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:186:39 [INFO] [stdout] | [INFO] [stdout] 186 | assert_eq!(e.cause().unwrap().description(), desc); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:204:34 [INFO] [stdout] | [INFO] [stdout] 204 | let desc = e.cause().unwrap().description(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | from_and_cause!(io::Error::new(io::ErrorKind::Other, "other") => Io(..)); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `from_and_cause` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:204:51 [INFO] [stdout] | [INFO] [stdout] 204 | let desc = e.cause().unwrap().description(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | from_and_cause!(io::Error::new(io::ErrorKind::Other, "other") => Io(..)); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `from_and_cause` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:205:44 [INFO] [stdout] | [INFO] [stdout] 205 | assert_eq!(desc, $from.description().to_owned()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | from_and_cause!(io::Error::new(io::ErrorKind::Other, "other") => Io(..)); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `from_and_cause` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:206:40 [INFO] [stdout] | [INFO] [stdout] 206 | assert_eq!(desc, e.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | from_and_cause!(io::Error::new(io::ErrorKind::Other, "other") => Io(..)); [INFO] [stdout] | ------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `from_and_cause` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:204:34 [INFO] [stdout] | [INFO] [stdout] 204 | let desc = e.cause().unwrap().description(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | from_and_cause!(url::ParseError::EmptyHost => Uri(..)); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `from_and_cause` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:204:51 [INFO] [stdout] | [INFO] [stdout] 204 | let desc = e.cause().unwrap().description(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | from_and_cause!(url::ParseError::EmptyHost => Uri(..)); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `from_and_cause` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:205:44 [INFO] [stdout] | [INFO] [stdout] 205 | assert_eq!(desc, $from.description().to_owned()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | from_and_cause!(url::ParseError::EmptyHost => Uri(..)); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `from_and_cause` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:206:40 [INFO] [stdout] | [INFO] [stdout] 206 | assert_eq!(desc, e.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 217 | from_and_cause!(url::ParseError::EmptyHost => Uri(..)); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `from_and_cause` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:193:31 [INFO] [stdout] | [INFO] [stdout] 193 | assert!(e.description().len() > 5); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | from!(httparse::Error::HeaderName => Header); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:193:31 [INFO] [stdout] | [INFO] [stdout] 193 | assert!(e.description().len() > 5); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 220 | from!(httparse::Error::HeaderName => Header); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:193:31 [INFO] [stdout] | [INFO] [stdout] 193 | assert!(e.description().len() > 5); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | from!(httparse::Error::HeaderValue => Header); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:193:31 [INFO] [stdout] | [INFO] [stdout] 193 | assert!(e.description().len() > 5); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 222 | from!(httparse::Error::NewLine => Header); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:193:31 [INFO] [stdout] | [INFO] [stdout] 193 | assert!(e.description().len() > 5); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 223 | from!(httparse::Error::Status => Status); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:193:31 [INFO] [stdout] | [INFO] [stdout] 193 | assert!(e.description().len() > 5); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | from!(httparse::Error::Token => Header); [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:193:31 [INFO] [stdout] | [INFO] [stdout] 193 | assert!(e.description().len() > 5); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | from!(httparse::Error::TooManyHeaders => TooLarge); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:193:31 [INFO] [stdout] | [INFO] [stdout] 193 | assert!(e.description().len() > 5); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 226 | from!(httparse::Error::Version => Version); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `from` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/http/h1.rs:1075:22 [INFO] [stdout] | [INFO] [stdout] 1075 | assert_eq!(e.description(), "early eof"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/http/h1.rs:1089:22 [INFO] [stdout] | [INFO] [stdout] 1089 | assert_eq!(e.description(), "early eof"); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 238 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cogo-http` due to 2 previous errors; 238 warnings emitted [INFO] running `Command { std: "docker" "inspect" "72385a7cb6dc9ffda0fcb7c11a1d03eb1d3491864cc2312dabfa73c173c52b73", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "72385a7cb6dc9ffda0fcb7c11a1d03eb1d3491864cc2312dabfa73c173c52b73", kill_on_drop: false }` [INFO] [stdout] 72385a7cb6dc9ffda0fcb7c11a1d03eb1d3491864cc2312dabfa73c173c52b73