[INFO] fetching crate conduit-utils 0.8.0... [INFO] checking conduit-utils-0.8.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate conduit-utils 0.8.0 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate conduit-utils 0.8.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate conduit-utils 0.8.0 [INFO] finished tweaking crates.io crate conduit-utils 0.8.0 [INFO] tweaked toml for crates.io crate conduit-utils 0.8.0 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded conduit v0.8.1 [INFO] [stderr] Downloaded semver-parser v0.6.2 [INFO] [stderr] Downloaded semver v0.5.1 [INFO] [stderr] Downloaded conduit-test v0.8.1 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2003d15323bd94c3aa04ba34cdbbb2c628ae78565ebcbd8b136cb2d4257fa49 [INFO] running `Command { std: "docker" "start" "-a" "b2003d15323bd94c3aa04ba34cdbbb2c628ae78565ebcbd8b136cb2d4257fa49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2003d15323bd94c3aa04ba34cdbbb2c628ae78565ebcbd8b136cb2d4257fa49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2003d15323bd94c3aa04ba34cdbbb2c628ae78565ebcbd8b136cb2d4257fa49", kill_on_drop: false }` [INFO] [stdout] b2003d15323bd94c3aa04ba34cdbbb2c628ae78565ebcbd8b136cb2d4257fa49 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfbce7f9d87eac874c8af29ff9f880374ce254b51724adc1e0f9aef19a36c604 [INFO] running `Command { std: "docker" "start" "-a" "bfbce7f9d87eac874c8af29ff9f880374ce254b51724adc1e0f9aef19a36c604", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking semver-parser v0.6.2 [INFO] [stderr] Checking semver v0.5.1 [INFO] [stderr] Checking conduit v0.8.1 [INFO] [stderr] Checking conduit-test v0.8.1 [INFO] [stderr] Checking conduit-utils v0.8.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | fn request(&self) -> &Request; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Request` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [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] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | fn mut_request(&mut self) -> &mut Request; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Request` [INFO] [stdout] | [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] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | fn headers(&self) -> &Headers { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Headers` [INFO] [stdout] | [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] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | fn body(&mut self) -> &mut Read { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [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] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:74:31 [INFO] [stdout] | [INFO] [stdout] 74 | impl<'a> Request for &'a mut (RequestDelegator + 'a) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RequestDelegator + 'a` [INFO] [stdout] | [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] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:115:27 [INFO] [stdout] | [INFO] [stdout] 115 | fn headers(&self) -> &Headers { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Headers` [INFO] [stdout] | [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] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 119 | fn body(&mut self) -> &mut Read { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [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] warning: type alias is never used: `RawHeaders` [INFO] [stdout] --> src/lib.rs:132:1 [INFO] [stdout] | [INFO] [stdout] 132 | type RawHeaders = HashMap>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | fn request(&self) -> &Request; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Request` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | #![cfg_attr(test, 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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:15:39 [INFO] [stdout] | [INFO] [stdout] 15 | fn mut_request(&mut self) -> &mut Request; [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Request` [INFO] [stdout] | [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:57:27 [INFO] [stdout] | [INFO] [stdout] 57 | fn headers(&self) -> &Headers { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Headers` [INFO] [stdout] | [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:61:32 [INFO] [stdout] | [INFO] [stdout] 61 | fn body(&mut self) -> &mut Read { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:74:31 [INFO] [stdout] | [INFO] [stdout] 74 | impl<'a> Request for &'a mut (RequestDelegator + 'a) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn RequestDelegator + 'a` [INFO] [stdout] | [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:115:27 [INFO] [stdout] | [INFO] [stdout] 115 | fn headers(&self) -> &Headers { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Headers` [INFO] [stdout] | [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:119:32 [INFO] [stdout] | [INFO] [stdout] 119 | fn body(&mut self) -> &mut Read { [INFO] [stdout] | ^^^^ help: use `dyn`: `dyn Read` [INFO] [stdout] | [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:199:27 [INFO] [stdout] | [INFO] [stdout] 199 | request: &'a mut (Request + 'a), [INFO] [stdout] | ^^^^^^^^^^^^ help: use `dyn`: `dyn Request + 'a` [INFO] [stdout] | [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:203:31 [INFO] [stdout] | [INFO] [stdout] 203 | fn request(&self) -> &Request { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Request` [INFO] [stdout] | [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:204:23 [INFO] [stdout] | [INFO] [stdout] 204 | let req: &Request = self.request; req [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Request` [INFO] [stdout] | [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:207:43 [INFO] [stdout] | [INFO] [stdout] 207 | fn mut_request(&mut self) -> &mut Request { [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Request` [INFO] [stdout] | [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: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:208:27 [INFO] [stdout] | [INFO] [stdout] 208 | let req: &mut Request = self.request; req [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Request` [INFO] [stdout] | [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: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `conduit-utils` due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "bfbce7f9d87eac874c8af29ff9f880374ce254b51724adc1e0f9aef19a36c604", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfbce7f9d87eac874c8af29ff9f880374ce254b51724adc1e0f9aef19a36c604", kill_on_drop: false }` [INFO] [stdout] bfbce7f9d87eac874c8af29ff9f880374ce254b51724adc1e0f9aef19a36c604