[INFO] fetching crate http-with-url 0.2.0... [INFO] checking http-with-url-0.2.0 against master#9fa580b1175018b0a276b0bc68f9827a106f7260 for pr-82565 [INFO] extracting crate http-with-url 0.2.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate http-with-url 0.2.0 on toolchain 9fa580b1175018b0a276b0bc68f9827a106f7260 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate http-with-url 0.2.0 [INFO] finished tweaking crates.io crate http-with-url 0.2.0 [INFO] tweaked toml for crates.io crate http-with-url 0.2.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7e2424a143c6bfd16e17cae4401676b623df36c0f5aca071f287c5e3fdd70103 [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" "7e2424a143c6bfd16e17cae4401676b623df36c0f5aca071f287c5e3fdd70103", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7e2424a143c6bfd16e17cae4401676b623df36c0f5aca071f287c5e3fdd70103", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e2424a143c6bfd16e17cae4401676b623df36c0f5aca071f287c5e3fdd70103", kill_on_drop: false }` [INFO] [stdout] 7e2424a143c6bfd16e17cae4401676b623df36c0f5aca071f287c5e3fdd70103 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "+9fa580b1175018b0a276b0bc68f9827a106f7260" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f38806af442f37aa9a135050bc9e51d9c0a1caebf768dcf3283a62508e7eb49e [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" "f38806af442f37aa9a135050bc9e51d9c0a1caebf768dcf3283a62508e7eb49e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.88 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Compiling serde v1.0.124 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking seahash v3.0.7 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Checking unicode-normalization v0.1.17 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking regex v1.4.4 [INFO] [stderr] Checking http-with-url v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: unnecessary parentheses around assigned value [INFO] [stdout] --> src/header/map.rs:227:25 [INFO] [stdout] | [INFO] [stdout] 227 | const MAX_SIZE: usize = (1 << 15); [INFO] [stdout] | ^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | #![deny(warnings, missing_docs, missing_debug_implementations)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_parens)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused label [INFO] [stdout] --> src/header/map.rs:1793:13 [INFO] [stdout] | [INFO] [stdout] 1793 | 'inner: [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | #![deny(warnings, missing_docs, missing_debug_implementations)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(unused_labels)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unnecessary parentheses around block return value [INFO] [stdout] --> src/header/map.rs:2983:5 [INFO] [stdout] | [INFO] [stdout] 2983 | (hash.0 & mask) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/extensions.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | type AnyMap = HashMap, BuildHasherDefault>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Any + Send + Sync` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | #![deny(warnings, missing_docs, missing_debug_implementations)] [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/extensions.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | (boxed as Box) [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Any + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/extensions.rs:68:46 [INFO] [stdout] | [INFO] [stdout] 68 | .and_then(|boxed| (&**boxed as &(Any + 'static)).downcast_ref()) [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Any + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/extensions.rs:86:54 [INFO] [stdout] | [INFO] [stdout] 86 | .and_then(|boxed| (&mut **boxed as &mut (Any + 'static)).downcast_mut()) [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Any + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/extensions.rs:107:31 [INFO] [stdout] | [INFO] [stdout] 107 | (boxed as Box) [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Any + 'static` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/header/name.rs:1527:32 [INFO] [stdout] | [INFO] [stdout] 1527 | let mut buf = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | #![deny(warnings, missing_docs, missing_debug_implementations)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/header/name.rs:1575:32 [INFO] [stdout] | [INFO] [stdout] 1575 | let mut buf = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/header/name.rs:1634:32 [INFO] [stdout] | [INFO] [stdout] 1634 | let mut buf = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/header/name.rs:1897:32 [INFO] [stdout] | [INFO] [stdout] 1897 | let mut buf = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/header/name.rs:1905:32 [INFO] [stdout] | [INFO] [stdout] 1905 | let mut buf = unsafe { mem::uninitialized() }; [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:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | error::Error::description(self).fmt(f) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stdout] error: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/header/name.rs:1860:14 [INFO] [stdout] | [INFO] [stdout] 1860 | self.description().fmt(f) [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/header/name.rs:1878:16 [INFO] [stdout] | [INFO] [stdout] 1878 | self.0.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/header/value.rs:464:14 [INFO] [stdout] | [INFO] [stdout] 464 | self.description().fmt(f) [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/header/value.rs:482:16 [INFO] [stdout] | [INFO] [stdout] 482 | self.0.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/header/value.rs:488:14 [INFO] [stdout] | [INFO] [stdout] 488 | self.description().fmt(f) [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/method.rs:348:30 [INFO] [stdout] | [INFO] [stdout] 348 | write!(f, "{}", self.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/request.rs:938:30 [INFO] [stdout] | [INFO] [stdout] 938 | write!(f, "{}", self.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/status.rs:501:26 [INFO] [stdout] | [INFO] [stdout] 501 | f.write_str(self.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:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | StatusCode(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:50:32 [INFO] [stdout] | [INFO] [stdout] 50 | Method(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:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | Url(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:52:35 [INFO] [stdout] | [INFO] [stdout] 52 | BadTarget(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:53:36 [INFO] [stdout] | [INFO] [stdout] 53 | HeaderName(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:54:42 [INFO] [stdout] | [INFO] [stdout] 54 | HeaderNameShared(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:55:37 [INFO] [stdout] | [INFO] [stdout] 55 | HeaderValue(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:56:43 [INFO] [stdout] | [INFO] [stdout] 56 | HeaderValueShared(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `http-with-url` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f38806af442f37aa9a135050bc9e51d9c0a1caebf768dcf3283a62508e7eb49e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f38806af442f37aa9a135050bc9e51d9c0a1caebf768dcf3283a62508e7eb49e", kill_on_drop: false }` [INFO] [stdout] f38806af442f37aa9a135050bc9e51d9c0a1caebf768dcf3283a62508e7eb49e