[INFO] fetching crate tokio-coap 0.2.0... [INFO] checking tokio-coap-0.2.0 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate tokio-coap 0.2.0 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate tokio-coap 0.2.0 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tokio-coap 0.2.0 [INFO] finished tweaking crates.io crate tokio-coap 0.2.0 [INFO] tweaked toml for crates.io crate tokio-coap 0.2.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 67 packages [INFO] [stderr] Adding aho-corasick v0.6.10 (latest: v1.1.3) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding bytes v0.4.12 (latest: v1.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (latest: v1.0.0) [INFO] [stderr] Adding cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding crossbeam-deque v0.7.4 (latest: v0.8.5) [INFO] [stderr] Adding crossbeam-epoch v0.8.2 (latest: v0.9.18) [INFO] [stderr] Adding crossbeam-queue v0.2.3 (latest: v0.3.11) [INFO] [stderr] Adding crossbeam-utils v0.7.2 (latest: v0.8.19) [INFO] [stderr] Adding env_logger v0.4.3 (latest: v0.11.3) [INFO] [stderr] Adding futures v0.1.31 (latest: v0.3.30) [INFO] [stderr] Adding lock_api v0.3.4 (latest: v0.4.11) [INFO] [stderr] Adding log v0.3.9 (latest: v0.4.21) [INFO] [stderr] Adding memoffset v0.5.6 (latest: v0.9.1) [INFO] [stderr] Adding mio v0.6.23 (latest: v0.8.11) [INFO] [stderr] Adding miow v0.2.2 (latest: v0.6.0) [INFO] [stderr] Adding parking_lot v0.9.0 (latest: v0.12.1) [INFO] [stderr] Adding parking_lot_core v0.6.3 (latest: v0.9.9) [INFO] [stderr] Adding redox_syscall v0.1.57 (latest: v0.5.1) [INFO] [stderr] Adding regex v0.2.11 (latest: v1.10.4) [INFO] [stderr] Adding regex-syntax v0.5.6 (latest: v0.8.3) [INFO] [stderr] Adding rustc_version v0.2.3 (latest: v0.4.0) [INFO] [stderr] Adding semver v0.9.0 (latest: v1.0.22) [INFO] [stderr] Adding semver-parser v0.7.0 (latest: v0.10.2) [INFO] [stderr] Adding smallvec v0.5.1 (latest: v1.13.2) [INFO] [stderr] Adding smallvec v0.6.14 (latest: v1.13.2) [INFO] [stderr] Adding thread_local v0.3.6 (latest: v1.1.8) [INFO] [stderr] Adding tokio v0.1.22 (latest: v1.37.0) [INFO] [stderr] Adding ucd-util v0.1.10 (latest: v0.2.1) [INFO] [stderr] Adding winapi v0.2.8 (latest: v0.3.9) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smallvec v0.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4b6f61e2dad08ea514fb92c2b81f62ee8b5ff6b545eaf4c36fc65cd064099902 [INFO] running `Command { std: "docker" "start" "-a" "4b6f61e2dad08ea514fb92c2b81f62ee8b5ff6b545eaf4c36fc65cd064099902", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4b6f61e2dad08ea514fb92c2b81f62ee8b5ff6b545eaf4c36fc65cd064099902", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b6f61e2dad08ea514fb92c2b81f62ee8b5ff6b545eaf4c36fc65cd064099902", kill_on_drop: false }` [INFO] [stdout] 4b6f61e2dad08ea514fb92c2b81f62ee8b5ff6b545eaf4c36fc65cd064099902 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83b273c889f2531c5499ab1fb02f15ce6973c9575d200d9d59b2d5210f4b68e3 [INFO] running `Command { std: "docker" "start" "-a" "83b273c889f2531c5499ab1fb02f15ce6973c9575d200d9d59b2d5210f4b68e3", kill_on_drop: false }` [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking parking_lot_core v0.6.3 [INFO] [stderr] Checking ucd-util v0.1.10 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Checking parking_lot v0.9.0 [INFO] [stderr] Checking smallvec v0.5.1 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking env_logger v0.4.3 [INFO] [stderr] Checking tokio-coap v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> src/codec.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `Option` is imported redundantly [INFO] [stdout] --> src/codec.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::option::Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Option` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/message/option/mod.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | fn new(Self::Format) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Format` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message/option/mod.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | 0...12 => delta, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message/option/mod.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 103 | 13...268 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message/option/mod.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | 269...64999 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message/option/mod.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | 0...12 => length, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message/option/mod.rs:117:11 [INFO] [stdout] | [INFO] [stdout] 117 | 13...268 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message/option/mod.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | 269...64999 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message/mod.rs:252:22 [INFO] [stdout] | [INFO] [stdout] 252 | d @ 0...12 => d as u16, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message/mod.rs:265:22 [INFO] [stdout] | [INFO] [stdout] 265 | d @ 0...12 => d as u16, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/message/option/mod.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | fn new(Self::Format) -> Self; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Self::Format` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message/option/mod.rs:102:10 [INFO] [stdout] | [INFO] [stdout] 102 | 0...12 => delta, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message/option/mod.rs:103:11 [INFO] [stdout] | [INFO] [stdout] 103 | 13...268 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message/option/mod.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | 269...64999 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message/option/mod.rs:116:10 [INFO] [stdout] | [INFO] [stdout] 116 | 0...12 => length, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message/option/mod.rs:117:11 [INFO] [stdout] | [INFO] [stdout] 117 | 13...268 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message/option/mod.rs:121:12 [INFO] [stdout] | [INFO] [stdout] 121 | 269...64999 => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message/mod.rs:252:22 [INFO] [stdout] | [INFO] [stdout] 252 | d @ 0...12 => d as u16, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/message/mod.rs:265:22 [INFO] [stdout] | [INFO] [stdout] 265 | d @ 0...12 => d as u16, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/message.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | token: vec![34,65], [INFO] [stdout] | ^^^^^^^^^^^ expected `SmallVec<[u8; 8]>`, found `Vec<{integer}>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `smallvec::SmallVec<[u8; 8]>` [INFO] [stdout] found struct `Vec<{integer}>` [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: call `Into::into` on this expression to convert `Vec<{integer}>` into `smallvec::SmallVec<[u8; 8]>` [INFO] [stdout] | [INFO] [stdout] 17 | token: vec![34,65].into(), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/message.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | options: vec![], [INFO] [stdout] | ^^^^^^ expected `Options`, found `Vec<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `tokio_coap::message::option::Options` [INFO] [stdout] found struct `Vec<_>` [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/message.rs:32:20 [INFO] [stdout] | [INFO] [stdout] 32 | token: vec![], [INFO] [stdout] | ^^^^^^ expected `SmallVec<[u8; 8]>`, found `Vec<_>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `smallvec::SmallVec<[u8; 8]>` [INFO] [stdout] found struct `Vec<_>` [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: call `Into::into` on this expression to convert `Vec<_>` into `smallvec::SmallVec<[u8; 8]>` [INFO] [stdout] | [INFO] [stdout] 32 | token: vec![].into(), [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> benches/message.rs:33:27 [INFO] [stdout] | [INFO] [stdout] 33 | options: vec![Option::UriPath("1a".to_string()), [INFO] [stdout] | ^^^^^^ [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 33 | options: vec![::UriPath("1a".to_string()), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `UriPath` found for trait object `dyn tokio_coap::message::option::Option` in the current scope [INFO] [stdout] --> benches/message.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | options: vec![Option::UriPath("1a".to_string()), [INFO] [stdout] | ^^^^^^^ associated item not found in `dyn Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> benches/message.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | Option::UriPath("temp".to_string()), [INFO] [stdout] | ^^^^^^ [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 | ::UriPath("temp".to_string()), [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `UriPath` found for trait object `dyn tokio_coap::message::option::Option` in the current scope [INFO] [stdout] --> benches/message.rs:34:35 [INFO] [stdout] | [INFO] [stdout] 34 | Option::UriPath("temp".to_string()), [INFO] [stdout] | ^^^^^^^ associated item not found in `dyn Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> benches/message.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | Option::UriQuery("a32c85ba9dda45823be416246cf8b433baa068d7" [INFO] [stdout] | ^^^^^^ [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 [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | ::UriQuery("a32c85ba9dda45823be416246cf8b433baa068d7" [INFO] [stdout] | ++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated item named `UriQuery` found for trait object `dyn tokio_coap::message::option::Option` in the current scope [INFO] [stdout] --> benches/message.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | Option::UriQuery("a32c85ba9dda45823be416246cf8b433baa068d7" [INFO] [stdout] | ^^^^^^^^ associated item not found in `dyn Option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> benches/message.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | options: vec![Option::UriPath("1a".to_string()), [INFO] [stdout] | ______________________^ [INFO] [stdout] 34 | | Option::UriPath("temp".to_string()), [INFO] [stdout] 35 | | Option::UriQuery("a32c85ba9dda45823be416246cf8b433baa068d7" [INFO] [stdout] 36 | | .to_string())], [INFO] [stdout] | |____________________________________________^ expected `Options`, found `Vec<_, _>` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `tokio_coap::message::option::Options` [INFO] [stdout] found struct `Vec<_, _>` [INFO] [stdout] = note: this error originates in the macro `vec` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tokio-coap` (bench "message") due to 8 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "83b273c889f2531c5499ab1fb02f15ce6973c9575d200d9d59b2d5210f4b68e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83b273c889f2531c5499ab1fb02f15ce6973c9575d200d9d59b2d5210f4b68e3", kill_on_drop: false }` [INFO] [stdout] 83b273c889f2531c5499ab1fb02f15ce6973c9575d200d9d59b2d5210f4b68e3