[INFO] fetching crate hyper-old-types 0.11.0... [INFO] checking hyper-old-types-0.11.0 against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] extracting crate hyper-old-types 0.11.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate hyper-old-types 0.11.0 on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hyper-old-types 0.11.0 [INFO] finished tweaking crates.io crate hyper-old-types 0.11.0 [INFO] tweaked toml for crates.io crate hyper-old-types 0.11.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb71dd0c8454f35a9d4a3cee0ddd883d4256273a078d467d02543e8bd664ea96 [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" "bb71dd0c8454f35a9d4a3cee0ddd883d4256273a078d467d02543e8bd664ea96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb71dd0c8454f35a9d4a3cee0ddd883d4256273a078d467d02543e8bd664ea96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb71dd0c8454f35a9d4a3cee0ddd883d4256273a078d467d02543e8bd664ea96", kill_on_drop: false }` [INFO] [stdout] bb71dd0c8454f35a9d4a3cee0ddd883d4256273a078d467d02543e8bd664ea96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=forbid" "-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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7618245fc31d88c3953662464c9104cd4f0074ed3d3c720141e8eb4f3e1f5304 [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" "7618245fc31d88c3953662464c9104cd4f0074ed3d3c720141e8eb4f3e1f5304", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking hyper-old-types v0.11.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:67:48 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn __internal_new_canceled>>(cause: Option) -> Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StdError + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 82 | cause: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StdError + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:137:32 [INFO] [stdout] | [INFO] [stdout] 137 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:142:64 [INFO] [stdout] | [INFO] [stdout] 142 | Cancel(ref e) => e.cause.as_ref().map(|e| &**e as &StdError), [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/access_control_allow_origin.rs:69:54 [INFO] [stdout] | [INFO] [stdout] 69 | _ => AccessControlAllowOrigin::Value(try!(str::from_utf8(line)).into()) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/authorization.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | let header = try!(from_utf8(line)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/authorization.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | try!(write!(f, "{} ", scheme)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/cache_control.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | let directives = try!(from_comma_delimited(raw)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:138:46 [INFO] [stdout] | [INFO] [stdout] 138 | let extended_value = try!(parse_extended_value(val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:159:40 [INFO] [stdout] | [INFO] [stdout] 159 | DispositionType::Inline => try!(write!(f, "inline")), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:160:44 [INFO] [stdout] | [INFO] [stdout] 160 | DispositionType::Attachment => try!(write!(f, "attachment")), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:161:44 [INFO] [stdout] | [INFO] [stdout] 161 | DispositionType::Ext(ref s) => try!(write!(f, "{}", s)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | try!(write!(f, "; filename=\"{}\"", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:181:25 [INFO] [stdout] | [INFO] [stdout] 181 | try!(write!(f, "; filename*={}'", charset)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | ... try!(write!(f, "{}", lang)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:185:25 [INFO] [stdout] | [INFO] [stdout] 185 | try!(write!(f, "'")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:186:25 [INFO] [stdout] | [INFO] [stdout] 186 | try!(http_percent_encode(f, bytes)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:189:56 [INFO] [stdout] | [INFO] [stdout] 189 | DispositionParam::Ext(ref k, ref v) => try!(write!(f, "; {}=\"{}\"", k, v)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:126:48 [INFO] [stdout] | [INFO] [stdout] 126 | let (range, instance_length) = try!(split_in_two(resp, '/').ok_or(::Error::Header)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:131:26 [INFO] [stdout] | [INFO] [stdout] 131 | Some(try!(instance_length.parse().map_err(|_| ::Error::Header))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:137:51 [INFO] [stdout] | [INFO] [stdout] 137 | let (first_byte, last_byte) = try!(split_in_two(range, '-').ok_or(::Error::Header)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:138:38 [INFO] [stdout] | [INFO] [stdout] 138 | let first_byte = try!(first_byte.parse().map_err(|_| ::Error::Header)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:139:37 [INFO] [stdout] | [INFO] [stdout] 139 | let last_byte = try!(last_byte.parse().map_err(|_| ::Error::Header)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | try!(f.write_str("bytes ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:170:25 [INFO] [stdout] | [INFO] [stdout] 170 | try!(write!(f, "{}-{}", first_byte, last_byte)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 173 | try!(f.write_str("*")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | try!(f.write_str("/")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | try!(f.write_str(&unit)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | try!(f.write_str(" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/cookie.rs:122:31 [INFO] [stdout] | [INFO] [stdout] 122 | let cookies_str = try!(from_utf8(&cookies_raw[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/cookie.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | try!(write!(f, "{}={}", key, val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/cookie.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | try!(write!(f, "; {}={}", key, val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | try!(write!(f, "<{}>", self.link)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:431:13 [INFO] [stdout] | [INFO] [stdout] 431 | try!(fmt_delimited(f, rel.as_slice(), " ", ("; rel=\"", "\""))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 434 | try!(write!(f, "; anchor=\"{}\"", anchor)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | try!(fmt_delimited(f, rev.as_slice(), " ", ("; rev=\"", "\""))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:441:17 [INFO] [stdout] | [INFO] [stdout] 441 | try!(write!(f, "; hreflang={}", tag)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:445:13 [INFO] [stdout] | [INFO] [stdout] 445 | try!(fmt_delimited(f, media_desc.as_slice(), ", ", ("; media=\"", "\""))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:448:13 [INFO] [stdout] | [INFO] [stdout] 448 | try!(write!(f, "; title=\"{}\"", title)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:451:13 [INFO] [stdout] | [INFO] [stdout] 451 | try!(write!(f, "; title*={}", title_star)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:454:13 [INFO] [stdout] | [INFO] [stdout] 454 | try!(write!(f, "; type=\"{}\"", media_type)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:859:9 [INFO] [stdout] | [INFO] [stdout] 859 | try!(write!(f, "{}{}", b.0, p[0])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:863:13 [INFO] [stdout] | [INFO] [stdout] 863 | try!(write!(f, "{}{}", d, i)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:867:9 [INFO] [stdout] | [INFO] [stdout] 867 | try!(write!(f, "{}", b.1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/origin.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | let host = try!(Host::from_str(etc)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/prefer.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | let preferences = try!(from_comma_delimited(raw)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/prefer.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | try!(write!(f, "{}", name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/prefer.rs:117:34 [INFO] [stdout] | [INFO] [stdout] 117 | if value != "" { try!(write!(f, "={}", value)); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/prefer.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | try!(write!(f, "; {}", name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/prefer.rs:121:42 [INFO] [stdout] | [INFO] [stdout] 121 | if value != "" { try!(write!(f, "={}", value)); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/preference_applied.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | let preferences = try!(from_comma_delimited(raw)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/proxy_authorization.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | let header = try!(from_utf8(line)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/proxy_authorization.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | try!(write!(f, "{} ", scheme)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/range.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | try!(write!(f, "bytes=")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/range.rs:187:25 [INFO] [stdout] | [INFO] [stdout] 187 | try!(f.write_str(",")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/range.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | try!(Display::fmt(range, f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/referrer_policy.rs:66:36 [INFO] [stdout] | [INFO] [stdout] 66 | let headers: Vec = try!(parsing::from_comma_delimited(raw)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/set_cookie.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | try!(f.fmt_line(cookie)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/upgrade.rs:148:26 [INFO] [stdout] | [INFO] [stdout] 148 | Ok(Protocol::new(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 `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/upgrade.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | try!(fmt::Display::fmt(&self.name, f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/upgrade.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | try!(write!(f, "/{}", version)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header/internals/item.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | typed: PtrMapCell
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Header + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/internals/item.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | ... try!(f.fmt_line(&s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header/internals/item.rs:114:46 [INFO] [stdout] | [INFO] [stdout] 114 | fn parse(raw: &Raw) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Header + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header/internals/item.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | let h: Box
= Box::new(h); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Header + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/shared/quality_item.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | try!(fmt::Display::fmt(&self.item, f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/parsing.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let s = try!(str::from_utf8(raw)).trim(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/parsing.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let s = try!(str::from_utf8(s.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/parsing.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | try!(Display::fmt(part, f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/parsing.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | try!(f.write_str(", ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/parsing.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | try!(Display::fmt(part, f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/parsing.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | Some(n) => try!(FromStr::from_str(n)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header/mod.rs:144:36 [INFO] [stdout] | [INFO] [stdout] 144 | fn clone_box(&self) -> Box
; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Header + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header/mod.rs:149:36 [INFO] [stdout] | [INFO] [stdout] 149 | fn clone_box(&self) -> Box
{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Header + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | try!(f.write_str(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | try!(f.write_str(": ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | try!(write!(NewlineReplacer(*f), "{}", line)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 190 | try!(f.write_str(", ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | try!(write!(NewlineReplacer(&mut s), "{}", line)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header/mod.rs:179:39 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn fmt_line(&mut self, line: &fmt::Display) -> fmt::Result { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | try!(f.write_str(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | try!(f.write_str(": ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | try!(fmt::Display::fmt(line, f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:216:21 [INFO] [stdout] | [INFO] [stdout] 216 | try!(f.write_str(", ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:224:17 [INFO] [stdout] | [INFO] [stdout] 224 | try!(write!(s, "{}", line)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | try!(f.write_str("\"")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | try!(self.0.write_h1(&mut Formatter(Multi::Join(true, f)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:256:17 [INFO] [stdout] | [INFO] [stdout] 256 | try!(self.0.write_str(&s[since..i])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | try!(self.0.write_str(" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header/mod.rs:275:6 [INFO] [stdout] | [INFO] [stdout] 275 | impl Header + Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Header + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header/mod.rs:300:20 [INFO] [stdout] | [INFO] [stdout] 300 | impl Clone for Box
{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Header + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header/mod.rs:302:28 [INFO] [stdout] | [INFO] [stdout] 302 | fn clone(&self) -> Box
{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Header + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:548:13 [INFO] [stdout] | [INFO] [stdout] 548 | try!(fmt::Display::fmt(&header, f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/status.rs:526:16 [INFO] [stdout] | [INFO] [stdout] 526 | 100...199 => StatusClass::Informational, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/status.rs:527:16 [INFO] [stdout] | [INFO] [stdout] 527 | 200...299 => StatusClass::Success, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/status.rs:528:16 [INFO] [stdout] | [INFO] [stdout] 528 | 300...399 => StatusClass::Redirection, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/status.rs:529:16 [INFO] [stdout] | [INFO] [stdout] 529 | 400...499 => StatusClass::ClientError, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/status.rs:530:16 [INFO] [stdout] | [INFO] [stdout] 530 | 500...599 => StatusClass::ServerError, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `proto` [INFO] [stdout] --> src/header/common/link.rs:902:9 [INFO] [stdout] | [INFO] [stdout] 902 | use proto::{ServerTransaction, Http1Transaction}; [INFO] [stdout] | ^^^^^ maybe a missing crate `proto`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/header/mod.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `origin_form` in this scope [INFO] [stdout] --> src/uri.rs:715:20 [INFO] [stdout] | [INFO] [stdout] 715 | assert_eq!(origin_form(&uri), case.1); //, "{:?}", case); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused doc comment [INFO] [stdout] --> src/header/common/accept_charset.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | /// Testcase from RFC [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_doc_comments)]` implied by `#[deny(warnings)]` [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused doc comment [INFO] [stdout] --> src/header/common/content_encoding.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | /// Testcase from the RFC [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:67:48 [INFO] [stdout] | [INFO] [stdout] 67 | pub fn __internal_new_canceled>>(cause: Option) -> Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StdError + Send + Sync` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 82 | cause: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn StdError + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:137:32 [INFO] [stdout] | [INFO] [stdout] 137 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:142:64 [INFO] [stdout] | [INFO] [stdout] 142 | Cancel(ref e) => e.cause.as_ref().map(|e| &**e as &StdError), [INFO] [stdout] | ^^^^^^^^ help: use `dyn`: `dyn StdError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/access_control_allow_origin.rs:69:54 [INFO] [stdout] | [INFO] [stdout] 69 | _ => AccessControlAllowOrigin::Value(try!(str::from_utf8(line)).into()) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/authorization.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | let header = try!(from_utf8(line)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/authorization.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | try!(write!(f, "{} ", scheme)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/cache_control.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | let directives = try!(from_comma_delimited(raw)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:138:46 [INFO] [stdout] | [INFO] [stdout] 138 | let extended_value = try!(parse_extended_value(val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:159:40 [INFO] [stdout] | [INFO] [stdout] 159 | DispositionType::Inline => try!(write!(f, "inline")), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:160:44 [INFO] [stdout] | [INFO] [stdout] 160 | DispositionType::Attachment => try!(write!(f, "attachment")), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:161:44 [INFO] [stdout] | [INFO] [stdout] 161 | DispositionType::Ext(ref s) => try!(write!(f, "{}", s)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | try!(write!(f, "; filename=\"{}\"", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:181:25 [INFO] [stdout] | [INFO] [stdout] 181 | try!(write!(f, "; filename*={}'", charset)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | ... try!(write!(f, "{}", lang)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:185:25 [INFO] [stdout] | [INFO] [stdout] 185 | try!(write!(f, "'")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:186:25 [INFO] [stdout] | [INFO] [stdout] 186 | try!(http_percent_encode(f, bytes)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_disposition.rs:189:56 [INFO] [stdout] | [INFO] [stdout] 189 | DispositionParam::Ext(ref k, ref v) => try!(write!(f, "; {}=\"{}\"", k, v)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:126:48 [INFO] [stdout] | [INFO] [stdout] 126 | let (range, instance_length) = try!(split_in_two(resp, '/').ok_or(::Error::Header)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:131:26 [INFO] [stdout] | [INFO] [stdout] 131 | Some(try!(instance_length.parse().map_err(|_| ::Error::Header))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:137:51 [INFO] [stdout] | [INFO] [stdout] 137 | let (first_byte, last_byte) = try!(split_in_two(range, '-').ok_or(::Error::Header)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:138:38 [INFO] [stdout] | [INFO] [stdout] 138 | let first_byte = try!(first_byte.parse().map_err(|_| ::Error::Header)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:139:37 [INFO] [stdout] | [INFO] [stdout] 139 | let last_byte = try!(last_byte.parse().map_err(|_| ::Error::Header)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | try!(f.write_str("bytes ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:170:25 [INFO] [stdout] | [INFO] [stdout] 170 | try!(write!(f, "{}-{}", first_byte, last_byte)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:173:25 [INFO] [stdout] | [INFO] [stdout] 173 | try!(f.write_str("*")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:176:17 [INFO] [stdout] | [INFO] [stdout] 176 | try!(f.write_str("/")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | try!(f.write_str(&unit)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/content_range.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | try!(f.write_str(" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/cookie.rs:122:31 [INFO] [stdout] | [INFO] [stdout] 122 | let cookies_str = try!(from_utf8(&cookies_raw[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/cookie.rs:171:13 [INFO] [stdout] | [INFO] [stdout] 171 | try!(write!(f, "{}={}", key, val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/cookie.rs:174:13 [INFO] [stdout] | [INFO] [stdout] 174 | try!(write!(f, "; {}={}", key, val)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 428 | try!(write!(f, "<{}>", self.link)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:431:13 [INFO] [stdout] | [INFO] [stdout] 431 | try!(fmt_delimited(f, rel.as_slice(), " ", ("; rel=\"", "\""))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 434 | try!(write!(f, "; anchor=\"{}\"", anchor)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:437:13 [INFO] [stdout] | [INFO] [stdout] 437 | try!(fmt_delimited(f, rev.as_slice(), " ", ("; rev=\"", "\""))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:441:17 [INFO] [stdout] | [INFO] [stdout] 441 | try!(write!(f, "; hreflang={}", tag)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:445:13 [INFO] [stdout] | [INFO] [stdout] 445 | try!(fmt_delimited(f, media_desc.as_slice(), ", ", ("; media=\"", "\""))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:448:13 [INFO] [stdout] | [INFO] [stdout] 448 | try!(write!(f, "; title=\"{}\"", title)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:451:13 [INFO] [stdout] | [INFO] [stdout] 451 | try!(write!(f, "; title*={}", title_star)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:454:13 [INFO] [stdout] | [INFO] [stdout] 454 | try!(write!(f, "; type=\"{}\"", media_type)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:859:9 [INFO] [stdout] | [INFO] [stdout] 859 | try!(write!(f, "{}{}", b.0, p[0])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:863:13 [INFO] [stdout] | [INFO] [stdout] 863 | try!(write!(f, "{}{}", d, i)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/link.rs:867:9 [INFO] [stdout] | [INFO] [stdout] 867 | try!(write!(f, "{}", b.1)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary trailing semicolon [INFO] [stdout] --> src/header/common/link.rs:1076:59 [INFO] [stdout] | [INFO] [stdout] 1076 | struct TestFormatterStruct<'a> { v: Vec<&'a str> }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(redundant_semicolons)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/origin.rs:129:20 [INFO] [stdout] | [INFO] [stdout] 129 | let host = try!(Host::from_str(etc)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/prefer.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | let preferences = try!(from_comma_delimited(raw)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/prefer.rs:116:17 [INFO] [stdout] | [INFO] [stdout] 116 | try!(write!(f, "{}", name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/prefer.rs:117:34 [INFO] [stdout] | [INFO] [stdout] 117 | if value != "" { try!(write!(f, "={}", value)); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/prefer.rs:120:25 [INFO] [stdout] | [INFO] [stdout] 120 | try!(write!(f, "; {}", name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/prefer.rs:121:42 [INFO] [stdout] | [INFO] [stdout] 121 | if value != "" { try!(write!(f, "={}", value)); } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/preference_applied.rs:62:27 [INFO] [stdout] | [INFO] [stdout] 62 | let preferences = try!(from_comma_delimited(raw)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/proxy_authorization.rs:85:26 [INFO] [stdout] | [INFO] [stdout] 85 | let header = try!(from_utf8(line)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/proxy_authorization.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | try!(write!(f, "{} ", scheme)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/range.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | try!(write!(f, "bytes=")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/range.rs:187:25 [INFO] [stdout] | [INFO] [stdout] 187 | try!(f.write_str(",")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/range.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | try!(Display::fmt(range, f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/referrer_policy.rs:66:36 [INFO] [stdout] | [INFO] [stdout] 66 | let headers: Vec = try!(parsing::from_comma_delimited(raw)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/set_cookie.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | try!(f.fmt_line(cookie)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/upgrade.rs:148:26 [INFO] [stdout] | [INFO] [stdout] 148 | Ok(Protocol::new(try!(parts.next().unwrap().parse()), parts.next().map(|x| x.to_owned()))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/upgrade.rs:154:9 [INFO] [stdout] | [INFO] [stdout] 154 | try!(fmt::Display::fmt(&self.name, f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/common/upgrade.rs:156:13 [INFO] [stdout] | [INFO] [stdout] 156 | try!(write!(f, "/{}", version)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header/internals/item.rs:13:23 [INFO] [stdout] | [INFO] [stdout] 13 | typed: PtrMapCell
[INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Header + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/internals/item.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | ... try!(f.fmt_line(&s)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header/internals/item.rs:114:46 [INFO] [stdout] | [INFO] [stdout] 114 | fn parse(raw: &Raw) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Header + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header/internals/item.rs:116:20 [INFO] [stdout] | [INFO] [stdout] 116 | let h: Box
= Box::new(h); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Header + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/shared/quality_item.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | try!(fmt::Display::fmt(&self.item, f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/parsing.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | let s = try!(str::from_utf8(raw)).trim(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/parsing.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | let s = try!(str::from_utf8(s.as_ref())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/parsing.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | try!(Display::fmt(part, f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/parsing.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | try!(f.write_str(", ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/parsing.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | try!(Display::fmt(part, f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/parsing.rs:113:20 [INFO] [stdout] | [INFO] [stdout] 113 | Some(n) => try!(FromStr::from_str(n)), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header/mod.rs:144:36 [INFO] [stdout] | [INFO] [stdout] 144 | fn clone_box(&self) -> Box
; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Header + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header/mod.rs:149:36 [INFO] [stdout] | [INFO] [stdout] 149 | fn clone_box(&self) -> Box
{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Header + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:183:17 [INFO] [stdout] | [INFO] [stdout] 183 | try!(f.write_str(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:184:17 [INFO] [stdout] | [INFO] [stdout] 184 | try!(f.write_str(": ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | try!(write!(NewlineReplacer(*f), "{}", line)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:190:21 [INFO] [stdout] | [INFO] [stdout] 190 | try!(f.write_str(", ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | try!(write!(NewlineReplacer(&mut s), "{}", line)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header/mod.rs:179:39 [INFO] [stdout] | [INFO] [stdout] 179 | pub fn fmt_line(&mut self, line: &fmt::Display) -> fmt::Result { [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn fmt::Display` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | try!(f.write_str(name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:210:17 [INFO] [stdout] | [INFO] [stdout] 210 | try!(f.write_str(": ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:211:17 [INFO] [stdout] | [INFO] [stdout] 211 | try!(fmt::Display::fmt(line, f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:216:21 [INFO] [stdout] | [INFO] [stdout] 216 | try!(f.write_str(", ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:224:17 [INFO] [stdout] | [INFO] [stdout] 224 | try!(write!(s, "{}", line)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:236:9 [INFO] [stdout] | [INFO] [stdout] 236 | try!(f.write_str("\"")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | try!(self.0.write_h1(&mut Formatter(Multi::Join(true, f)))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:256:17 [INFO] [stdout] | [INFO] [stdout] 256 | try!(self.0.write_str(&s[since..i])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | try!(self.0.write_str(" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header/mod.rs:275:6 [INFO] [stdout] | [INFO] [stdout] 275 | impl Header + Send + Sync { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Header + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header/mod.rs:300:20 [INFO] [stdout] | [INFO] [stdout] 300 | impl Clone for Box
{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Header + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/header/mod.rs:302:28 [INFO] [stdout] | [INFO] [stdout] 302 | fn clone(&self) -> Box
{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Header + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:548:13 [INFO] [stdout] | [INFO] [stdout] 548 | try!(fmt::Display::fmt(&header, f)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/header/mod.rs:791:25 [INFO] [stdout] | [INFO] [stdout] 791 | let s = try!(from_utf8(line).map(|s| FromStr::from_str(s).map_err(|_| ::Error::Header))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/status.rs:526:16 [INFO] [stdout] | [INFO] [stdout] 526 | 100...199 => StatusClass::Informational, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(ellipsis_inclusive_range_patterns)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/status.rs:527:16 [INFO] [stdout] | [INFO] [stdout] 527 | 200...299 => StatusClass::Success, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/status.rs:528:16 [INFO] [stdout] | [INFO] [stdout] 528 | 300...399 => StatusClass::Redirection, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/status.rs:529:16 [INFO] [stdout] | [INFO] [stdout] 529 | 400...499 => StatusClass::ClientError, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `...` range patterns are deprecated [INFO] [stdout] --> src/status.rs:530:16 [INFO] [stdout] | [INFO] [stdout] 530 | 500...599 => StatusClass::ServerError, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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:112:36 [INFO] [stdout] | [INFO] [stdout] 112 | 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:130:29 [INFO] [stdout] | [INFO] [stdout] 130 | 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:131:28 [INFO] [stdout] | [INFO] [stdout] 131 | 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:132:30 [INFO] [stdout] | [INFO] [stdout] 132 | Utf8(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/header/mod.rs:135:5 [INFO] [stdout] | [INFO] [stdout] 135 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_attributes)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:112:36 [INFO] [stdout] | [INFO] [stdout] 112 | ref e => f.write_str(e.description()), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:130:29 [INFO] [stdout] | [INFO] [stdout] 130 | Uri(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:131:28 [INFO] [stdout] | [INFO] [stdout] 131 | Io(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:132:30 [INFO] [stdout] | [INFO] [stdout] 132 | Utf8(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:203:25 [INFO] [stdout] | [INFO] [stdout] 203 | let desc = orig.description().to_owned(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:205:22 [INFO] [stdout] | [INFO] [stdout] 205 | assert_eq!(e.cause().unwrap().description(), desc); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:205:39 [INFO] [stdout] | [INFO] [stdout] 205 | assert_eq!(e.cause().unwrap().description(), desc); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:223:34 [INFO] [stdout] | [INFO] [stdout] 223 | let desc = e.cause().unwrap().description(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | from_and_cause!(io::Error::new(io::ErrorKind::Other, "other") => Io(..)); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:223:51 [INFO] [stdout] | [INFO] [stdout] 223 | let desc = e.cause().unwrap().description(); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | from_and_cause!(io::Error::new(io::ErrorKind::Other, "other") => Io(..)); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:224:44 [INFO] [stdout] | [INFO] [stdout] 224 | assert_eq!(desc, $from.description().to_owned()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | from_and_cause!(io::Error::new(io::ErrorKind::Other, "other") => Io(..)); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:225:40 [INFO] [stdout] | [INFO] [stdout] 225 | assert_eq!(desc, e.description()); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 235 | from_and_cause!(io::Error::new(io::ErrorKind::Other, "other") => Io(..)); [INFO] [stdout] | ------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:212:31 [INFO] [stdout] | [INFO] [stdout] 212 | assert!(e.description().len() >= 5); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | from!(httparse::Error::HeaderName => Header); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:212:31 [INFO] [stdout] | [INFO] [stdout] 212 | assert!(e.description().len() >= 5); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 238 | from!(httparse::Error::HeaderName => Header); [INFO] [stdout] | --------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:212:31 [INFO] [stdout] | [INFO] [stdout] 212 | assert!(e.description().len() >= 5); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | from!(httparse::Error::HeaderValue => Header); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:212:31 [INFO] [stdout] | [INFO] [stdout] 212 | assert!(e.description().len() >= 5); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | from!(httparse::Error::NewLine => Header); [INFO] [stdout] | ------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:212:31 [INFO] [stdout] | [INFO] [stdout] 212 | assert!(e.description().len() >= 5); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 241 | from!(httparse::Error::Status => Status); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:212:31 [INFO] [stdout] | [INFO] [stdout] 212 | assert!(e.description().len() >= 5); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | from!(httparse::Error::Token => Header); [INFO] [stdout] | ---------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:212:31 [INFO] [stdout] | [INFO] [stdout] 212 | assert!(e.description().len() >= 5); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 243 | from!(httparse::Error::TooManyHeaders => TooLarge); [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:212:31 [INFO] [stdout] | [INFO] [stdout] 212 | assert!(e.description().len() >= 5); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | from!(httparse::Error::Version => Version); [INFO] [stdout] | ------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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:67:60 [INFO] [stdout] | [INFO] [stdout] 67 | 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/uri.rs:441:20 [INFO] [stdout] | [INFO] [stdout] 441 | f.pad(self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing documentation for macro [INFO] [stdout] --> src/header/common/mod.rs:193:1 [INFO] [stdout] | [INFO] [stdout] 193 | macro_rules! header { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![deny(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [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:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | mem::replace(map, PtrMap::Many(hm)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [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] error: aborting due to previous error; 106 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hyper-old-types` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/header/shared/quality_item.rs:67:60 [INFO] [stdout] | [INFO] [stdout] 67 | 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] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/uri.rs:441:20 [INFO] [stdout] | [INFO] [stdout] 441 | f.pad(self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 126 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "7618245fc31d88c3953662464c9104cd4f0074ed3d3c720141e8eb4f3e1f5304", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7618245fc31d88c3953662464c9104cd4f0074ed3d3c720141e8eb4f3e1f5304", kill_on_drop: false }` [INFO] [stdout] 7618245fc31d88c3953662464c9104cd4f0074ed3d3c720141e8eb4f3e1f5304