[INFO] fetching crate tower-request-modifier 0.1.0... [INFO] building tower-request-modifier-0.1.0 against try#4987e9d4227139400384ab59296ffee3b0fb1183 for pr-146237-2 [INFO] extracting crate tower-request-modifier 0.1.0 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate tower-request-modifier 0.1.0 [INFO] finished tweaking crates.io crate tower-request-modifier 0.1.0 [INFO] tweaked toml for crates.io crate tower-request-modifier 0.1.0 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate tower-request-modifier 0.1.0 on toolchain 4987e9d4227139400384ab59296ffee3b0fb1183 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding http v0.1.21 (available: v1.3.1) [INFO] [stderr] Adding tower-service v0.2.0 (available: v0.3.3) [INFO] [stderr] Adding tower-test v0.1.0 (available: v0.4.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e844e9030d5d96846d08d2f9cad4667c702f8d83a4d05b8fea3183d1df7a6dbc [INFO] running `Command { std: "docker" "start" "-a" "e844e9030d5d96846d08d2f9cad4667c702f8d83a4d05b8fea3183d1df7a6dbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e844e9030d5d96846d08d2f9cad4667c702f8d83a4d05b8fea3183d1df7a6dbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e844e9030d5d96846d08d2f9cad4667c702f8d83a4d05b8fea3183d1df7a6dbc", kill_on_drop: false }` [INFO] [stdout] e844e9030d5d96846d08d2f9cad4667c702f8d83a4d05b8fea3183d1df7a6dbc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7d4648ae6a9b8c47285fa2a1dc7789a16aa1a0e05e83d1d7109822aa7f6b4a9 [INFO] running `Command { std: "docker" "start" "-a" "b7d4648ae6a9b8c47285fa2a1dc7789a16aa1a0e05e83d1d7109822aa7f6b4a9", kill_on_drop: false }` [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling tower-service v0.2.0 [INFO] [stderr] Compiling tower-request-modifier v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 52 | modifiers: Arc) -> Request + Send + Sync>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 | modifiers: Arc) -> Request + Send + Sync>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | ) -> Box) -> Request + Send + Sync> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 123 | ) -> Box) -> Request + Send + Sync> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:154:14 [INFO] [stdout] | [INFO] [stdout] 154 | ) -> Box) -> Request + Send + Sync> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 154 | ) -> Box) -> Request + Send + Sync> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:202:23 [INFO] [stdout] | [INFO] [stdout] 202 | modifier: Box) -> Request + Send + Sync>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 202 | modifier: Box) -> Request + Send + Sync>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.57s [INFO] running `Command { std: "docker" "inspect" "b7d4648ae6a9b8c47285fa2a1dc7789a16aa1a0e05e83d1d7109822aa7f6b4a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7d4648ae6a9b8c47285fa2a1dc7789a16aa1a0e05e83d1d7109822aa7f6b4a9", kill_on_drop: false }` [INFO] [stdout] b7d4648ae6a9b8c47285fa2a1dc7789a16aa1a0e05e83d1d7109822aa7f6b4a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "RUSTDOCFLAGS=--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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+4987e9d4227139400384ab59296ffee3b0fb1183" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8331e88b5aed675a2beee0a955def4f62897007944d6a6278dbe9e0ad93cbdf [INFO] running `Command { std: "docker" "start" "-a" "e8331e88b5aed675a2beee0a955def4f62897007944d6a6278dbe9e0ad93cbdf", kill_on_drop: false }` [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 52 | modifiers: Arc) -> Request + Send + Sync>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 | modifiers: Arc) -> Request + Send + Sync>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | ) -> Box) -> Request + Send + Sync> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 123 | ) -> Box) -> Request + Send + Sync> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:154:14 [INFO] [stdout] | [INFO] [stdout] 154 | ) -> Box) -> Request + Send + Sync> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 154 | ) -> Box) -> Request + Send + Sync> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:202:23 [INFO] [stdout] | [INFO] [stdout] 202 | modifier: Box) -> Request + Send + Sync>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 202 | modifier: Box) -> Request + Send + Sync>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tower-test v0.1.0 [INFO] [stderr] Compiling tower-request-modifier v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:52:32 [INFO] [stdout] | [INFO] [stdout] 52 | modifiers: Arc) -> Request + Send + Sync>>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 52 | modifiers: Arc) -> Request + Send + Sync>>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | ) -> Box) -> Request + Send + Sync> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 123 | ) -> Box) -> Request + Send + Sync> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:154:14 [INFO] [stdout] | [INFO] [stdout] 154 | ) -> Box) -> Request + Send + Sync> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 154 | ) -> Box) -> Request + Send + Sync> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:202:23 [INFO] [stdout] | [INFO] [stdout] 202 | modifier: Box) -> Request + Send + Sync>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 202 | modifier: Box) -> Request + Send + Sync>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tower-request-modifier` (lib test) due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "e8331e88b5aed675a2beee0a955def4f62897007944d6a6278dbe9e0ad93cbdf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8331e88b5aed675a2beee0a955def4f62897007944d6a6278dbe9e0ad93cbdf", kill_on_drop: false }` [INFO] [stdout] e8331e88b5aed675a2beee0a955def4f62897007944d6a6278dbe9e0ad93cbdf