[INFO] fetching crate args 2.2.0... [INFO] checking args-2.2.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate args 2.2.0 into /workspace/builds/worker-15/source [INFO] validating manifest of crates.io crate args 2.2.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 args 2.2.0 [INFO] finished tweaking crates.io crate args 2.2.0 [INFO] tweaked toml for crates.io crate args 2.2.0 written to /workspace/builds/worker-15/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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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] 98006fe2c458cb839b1f9c45a86d365ad30fb383090385bc38a05bf55af1ce9a [INFO] running `Command { std: "docker" "start" "-a" "98006fe2c458cb839b1f9c45a86d365ad30fb383090385bc38a05bf55af1ce9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "98006fe2c458cb839b1f9c45a86d365ad30fb383090385bc38a05bf55af1ce9a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98006fe2c458cb839b1f9c45a86d365ad30fb383090385bc38a05bf55af1ce9a", kill_on_drop: false }` [INFO] [stdout] 98006fe2c458cb839b1f9c45a86d365ad30fb383090385bc38a05bf55af1ce9a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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] 66ec69d1151b35da8a98e6ad29eae2f315bfd50828119a8712597ed259ec3e5d [INFO] running `Command { std: "docker" "start" "-a" "66ec69d1151b35da8a98e6ad29eae2f315bfd50828119a8712597ed259ec3e5d", kill_on_drop: false }` [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking args v2.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/traits/has_parsed_args.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | Ok(Some(try!(self.validated_value_of::(opt_name, validations)))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits/has_parsed_args.rs:19:81 [INFO] [stdout] | [INFO] [stdout] 19 | fn optional_validated_value_of(&self, opt_name: &str, validations: &[Box>]) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Validation` [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/traits/has_parsed_args.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | Ok(Some(try!(self.value_of::(opt_name)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits/has_parsed_args.rs:38:72 [INFO] [stdout] | [INFO] [stdout] 38 | fn validated_value_of(&self, opt_name: &str, validations: &[Box>]) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Validation` [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/options/mod.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | default: Option) -> Box { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Opt` [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/options/mod.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 35 | fn box_clone(&self) -> Box; [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Opt` [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/options/mod.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | impl Clone for Box [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Opt` [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/options/mod.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Opt` [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/options/mod.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | fn box_clone(&self) -> Box { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Opt` [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/options/mod.rs:175:32 [INFO] [stdout] | [INFO] [stdout] 175 | fn box_clone(&self) -> Box { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Opt` [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/options/mod.rs:180:18 [INFO] [stdout] | [INFO] [stdout] 180 | impl Display for Opt { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Opt` [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/options/mod.rs:186:16 [INFO] [stdout] | [INFO] [stdout] 186 | impl Debug for Opt { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Opt` [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:137:32 [INFO] [stdout] | [INFO] [stdout] 137 | opts: BTreeMap>, [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Opt` [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:300:21 [INFO] [stdout] | [INFO] [stdout] 300 | Ok(Some(try!(self.validated_value_of::(opt_name, validations)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:297:85 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn optional_validated_value_of(&self, opt_name: &str, validations: &[Box>]) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Validation` [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:314:21 [INFO] [stdout] | [INFO] [stdout] 314 | Ok(Some(try!(self.value_of::(opt_name)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:327:76 [INFO] [stdout] | [INFO] [stdout] 327 | pub fn validated_value_of(&self, opt_name: &str, validations: &[Box>]) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Validation` [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:381:60 [INFO] [stdout] | [INFO] [stdout] 381 | pub fn get_option(&self, opt_name :&str) -> Option> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Opt` [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:386:41 [INFO] [stdout] | [INFO] [stdout] 386 | fn register_opt(&mut self, opt: Box) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Opt` [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/traits/has_parsed_args.rs:22:21 [INFO] [stdout] | [INFO] [stdout] 22 | Ok(Some(try!(self.validated_value_of::(opt_name, validations)))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | #![cfg_attr(test, deny(warnings))] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits/has_parsed_args.rs:19:81 [INFO] [stdout] | [INFO] [stdout] 19 | fn optional_validated_value_of(&self, opt_name: &str, validations: &[Box>]) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Validation` [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:103:24 [INFO] [stdout] | [INFO] [stdout] 103 | #![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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/traits/has_parsed_args.rs:31:21 [INFO] [stdout] | [INFO] [stdout] 31 | Ok(Some(try!(self.value_of::(opt_name)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/traits/has_parsed_args.rs:38:72 [INFO] [stdout] | [INFO] [stdout] 38 | fn validated_value_of(&self, opt_name: &str, validations: &[Box>]) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Validation` [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/options/tst.rs:5:74 [INFO] [stdout] | [INFO] [stdout] 5 | fn create(has_arg: HasArg, occur: Occur, default: Option) -> Box { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Opt` [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/options/mod.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | default: Option) -> Box { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Opt` [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/options/mod.rs:35:32 [INFO] [stdout] | [INFO] [stdout] 35 | fn box_clone(&self) -> Box; [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Opt` [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/options/mod.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | impl Clone for Box [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Opt` [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/options/mod.rs:40:28 [INFO] [stdout] | [INFO] [stdout] 40 | fn clone(&self) -> Box { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Opt` [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/options/mod.rs:96:32 [INFO] [stdout] | [INFO] [stdout] 96 | fn box_clone(&self) -> Box { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Opt` [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/options/mod.rs:175:32 [INFO] [stdout] | [INFO] [stdout] 175 | fn box_clone(&self) -> Box { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Opt` [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/options/mod.rs:180:18 [INFO] [stdout] | [INFO] [stdout] 180 | impl Display for Opt { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Opt` [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/options/mod.rs:186:16 [INFO] [stdout] | [INFO] [stdout] 186 | impl Debug for Opt { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Opt` [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:137:32 [INFO] [stdout] | [INFO] [stdout] 137 | opts: BTreeMap>, [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Opt` [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:300:21 [INFO] [stdout] | [INFO] [stdout] 300 | Ok(Some(try!(self.validated_value_of::(opt_name, validations)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:297:85 [INFO] [stdout] | [INFO] [stdout] 297 | pub fn optional_validated_value_of(&self, opt_name: &str, validations: &[Box>]) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Validation` [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/lib.rs:314:21 [INFO] [stdout] | [INFO] [stdout] 314 | Ok(Some(try!(self.value_of::(opt_name)))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:327:76 [INFO] [stdout] | [INFO] [stdout] 327 | pub fn validated_value_of(&self, opt_name: &str, validations: &[Box>]) [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Validation` [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:381:60 [INFO] [stdout] | [INFO] [stdout] 381 | pub fn get_option(&self, opt_name :&str) -> Option> { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Opt` [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:386:41 [INFO] [stdout] | [INFO] [stdout] 386 | fn register_opt(&mut self, opt: Box) { [INFO] [stdout] | ^^^ help: use `dyn`: `dyn Opt` [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: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `args` due to 21 previous errors [INFO] running `Command { std: "docker" "inspect" "66ec69d1151b35da8a98e6ad29eae2f315bfd50828119a8712597ed259ec3e5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66ec69d1151b35da8a98e6ad29eae2f315bfd50828119a8712597ed259ec3e5d", kill_on_drop: false }` [INFO] [stdout] 66ec69d1151b35da8a98e6ad29eae2f315bfd50828119a8712597ed259ec3e5d