[INFO] fetching crate tower-request-modifier 0.1.0... [INFO] checking tower-request-modifier-0.1.0 against try#b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b for pr-82781 [INFO] extracting crate tower-request-modifier 0.1.0 into /workspace/builds/worker-7/source [INFO] validating manifest of crates.io crate tower-request-modifier 0.1.0 on toolchain b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tower-test v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b70cafee748e6e8e6d5ac4418e04cd9e276c97f3e8df293f25398258d5d9bff5 [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" "b70cafee748e6e8e6d5ac4418e04cd9e276c97f3e8df293f25398258d5d9bff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b70cafee748e6e8e6d5ac4418e04cd9e276c97f3e8df293f25398258d5d9bff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b70cafee748e6e8e6d5ac4418e04cd9e276c97f3e8df293f25398258d5d9bff5", kill_on_drop: false }` [INFO] [stdout] b70cafee748e6e8e6d5ac4418e04cd9e276c97f3e8df293f25398258d5d9bff5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+b09a3e9a7a0ff7efb269ec0c13dcc0fd3cedcf6b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6fd8aed6170108413134d443885ba9e0c2a822985e93b3122dab146def3da0a [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" "f6fd8aed6170108413134d443885ba9e0c2a822985e93b3122dab146def3da0a", kill_on_drop: false }` [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking tower-service v0.2.0 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking tower-test v0.1.0 [INFO] [stderr] Checking 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Request) -> Request + 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/lib.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | ) -> Box) -> Request + Send + Sync> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Request) -> Request + Send + Sync` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Request) -> Request + Send + Sync` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Request) -> Request + Send + Sync` [INFO] [stdout] [INFO] [stdout] [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Request) -> Request + 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/lib.rs:123:14 [INFO] [stdout] | [INFO] [stdout] 123 | ) -> Box) -> Request + Send + Sync> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Request) -> Request + Send + Sync` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Request) -> Request + Send + Sync` [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(Request) -> Request + Send + Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:136:32 [INFO] [stdout] | [INFO] [stdout] 136 | let name = HeaderName::try_from(name); [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `T` [INFO] [stdout] note: candidate #2 is defined in the trait `HttpTryFrom` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/http-0.1.21/src/convert.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | fn try_from(t: T) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 136 | let name = TryFrom::try_from(name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 136 | let name = HttpTryFrom::try_from(name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:137:32 [INFO] [stdout] | [INFO] [stdout] 137 | let val = HeaderValue::try_from(val); [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `T` [INFO] [stdout] note: candidate #2 is defined in the trait `HttpTryFrom` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/http-0.1.21/src/convert.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | fn try_from(t: T) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 137 | let val = TryFrom::try_from(val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 137 | let val = HttpTryFrom::try_from(val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:178:33 [INFO] [stdout] | [INFO] [stdout] 178 | let modification = Uri::try_from(uri) [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `T` [INFO] [stdout] note: candidate #2 is defined in the trait `HttpTryFrom` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/http-0.1.21/src/convert.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | fn try_from(t: T) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 178 | let modification = TryFrom::try_from(uri) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 178 | let modification = HttpTryFrom::try_from(uri) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:136:32 [INFO] [stdout] | [INFO] [stdout] 136 | let name = HeaderName::try_from(name); [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `T` [INFO] [stdout] note: candidate #2 is defined in the trait `HttpTryFrom` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/http-0.1.21/src/convert.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | fn try_from(t: T) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 136 | let name = TryFrom::try_from(name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 136 | let name = HttpTryFrom::try_from(name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tower-request-modifier` [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[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:137:32 [INFO] [stdout] | [INFO] [stdout] 137 | let val = HeaderValue::try_from(val); [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `T` [INFO] [stdout] note: candidate #2 is defined in the trait `HttpTryFrom` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/http-0.1.21/src/convert.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | fn try_from(t: T) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 137 | let val = TryFrom::try_from(val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 137 | let val = HttpTryFrom::try_from(val); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> src/lib.rs:178:33 [INFO] [stdout] | [INFO] [stdout] 178 | let modification = Uri::try_from(uri) [INFO] [stdout] | ^^^^^^^^ multiple `try_from` found [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl of the trait `TryFrom` for the type `T` [INFO] [stdout] note: candidate #2 is defined in the trait `HttpTryFrom` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/http-0.1.21/src/convert.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | fn try_from(t: T) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #1 [INFO] [stdout] | [INFO] [stdout] 178 | let modification = TryFrom::try_from(uri) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: disambiguate the associated function for candidate #2 [INFO] [stdout] | [INFO] [stdout] 178 | let modification = HttpTryFrom::try_from(uri) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f6fd8aed6170108413134d443885ba9e0c2a822985e93b3122dab146def3da0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6fd8aed6170108413134d443885ba9e0c2a822985e93b3122dab146def3da0a", kill_on_drop: false }` [INFO] [stdout] f6fd8aed6170108413134d443885ba9e0c2a822985e93b3122dab146def3da0a