[INFO] fetching crate iron-hmac 0.6.0... [INFO] testing iron-hmac-0.6.0 against master#b70888601af92f6cdc0364abab3446e418b91d36 for pr-86479 [INFO] extracting crate iron-hmac 0.6.0 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate iron-hmac 0.6.0 on toolchain b70888601af92f6cdc0364abab3446e418b91d36 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate iron-hmac 0.6.0 [INFO] finished tweaking crates.io crate iron-hmac 0.6.0 [INFO] tweaked toml for crates.io crate iron-hmac 0.6.0 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c15736d657a469aa0669bc41844d5e27bc7c5a0a6e837989573c84e2edeadda4 [INFO] running `Command { std: "docker" "start" "-a" "c15736d657a469aa0669bc41844d5e27bc7c5a0a6e837989573c84e2edeadda4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c15736d657a469aa0669bc41844d5e27bc7c5a0a6e837989573c84e2edeadda4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c15736d657a469aa0669bc41844d5e27bc7c5a0a6e837989573c84e2edeadda4", kill_on_drop: false }` [INFO] [stdout] c15736d657a469aa0669bc41844d5e27bc7c5a0a6e837989573c84e2edeadda4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+b70888601af92f6cdc0364abab3446e418b91d36" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc74c2e8e58539e8c6d80ca7f5097e875bba0087e45128d0d1580f2d6f76dc5b [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" "dc74c2e8e58539e8c6d80ca7f5097e875bba0087e45128d0d1580f2d6f76dc5b", kill_on_drop: false }` [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling persistent v0.4.0 [INFO] [stderr] Compiling serde_json v1.0.66 [INFO] [stderr] Compiling bodyparser v0.8.0 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling iron-hmac v0.6.0 (/opt/rustwide/workdir) [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 52 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn (::std::error::Error)` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]` [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/util.rs:54:13 [INFO] [stdout] | [INFO] [stdout] 54 | let s = try!(from_utf8(maybe_utf8_bytes)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 38 | #![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/util.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | Ok(try!(s.from_hex())) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:125:26 [INFO] [stdout] | [INFO] [stdout] 125 | let body = match try!(req.get::()) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:150:17 [INFO] [stdout] | [INFO] [stdout] 150 | try!(body.write_body(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:167:24 [INFO] [stdout] | [INFO] [stdout] 167 | let computed = try!(self.compute_request_hmac(req)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:169:27 [INFO] [stdout] | [INFO] [stdout] 169 | Some(hmac) => try!(util::from_hex(&hmac[0][..])), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:190:20 [INFO] [stdout] | [INFO] [stdout] 190 | let hmac = try!(self.compute_response_hmac(&mut res)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:45:44 [INFO] [stdout] | [INFO] [stdout] 45 | Error::IoError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:46:47 [INFO] [stdout] | [INFO] [stdout] 46 | Error::Bodyparser(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:47:46 [INFO] [stdout] | [INFO] [stdout] 47 | Error::Utf8Error(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated associated function `iron::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:48:48 [INFO] [stdout] | [INFO] [stdout] 48 | Error::DecodingHex(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `iron-hmac` due to 13 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "dc74c2e8e58539e8c6d80ca7f5097e875bba0087e45128d0d1580f2d6f76dc5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc74c2e8e58539e8c6d80ca7f5097e875bba0087e45128d0d1580f2d6f76dc5b", kill_on_drop: false }` [INFO] [stdout] dc74c2e8e58539e8c6d80ca7f5097e875bba0087e45128d0d1580f2d6f76dc5b