[INFO] fetching crate argparse 0.2.2... [INFO] testing argparse-0.2.2 against beta-2024-10-19 for beta-1.83-1 [INFO] extracting crate argparse 0.2.2 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate argparse 0.2.2 on toolchain beta-2024-10-19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate argparse 0.2.2 [INFO] finished tweaking crates.io crate argparse 0.2.2 [INFO] tweaked toml for crates.io crate argparse 0.2.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-10-19" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-10-19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 73e183be5d12bd3bd6d4fbac62256168dc46e653436da131ad78eb30b4d83325 [INFO] running `Command { std: "docker" "start" "-a" "73e183be5d12bd3bd6d4fbac62256168dc46e653436da131ad78eb30b4d83325", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "73e183be5d12bd3bd6d4fbac62256168dc46e653436da131ad78eb30b4d83325", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73e183be5d12bd3bd6d4fbac62256168dc46e653436da131ad78eb30b4d83325", kill_on_drop: false }` [INFO] [stdout] 73e183be5d12bd3bd6d4fbac62256168dc46e653436da131ad78eb30b4d83325 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8020cf0951a0cfdb40fe5e5608adf242784c3a7e37561cec75e6ecf2a9bb41e8 [INFO] running `Command { std: "docker" "start" "-a" "8020cf0951a0cfdb40fe5e5608adf242784c3a7e37561cec75e6ecf2a9bb41e8", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling argparse v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/action.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | fn bind<'x>(&self, Rc>) -> Action<'x>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Rc>` [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:839:9 [INFO] [stdout] | [INFO] [stdout] 839 | try!(write!(self.buf, " {}", arg.name)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:851:9 [INFO] [stdout] | [INFO] [stdout] 851 | try!(wrap_text(self.buf, arg.help, TOTAL_WIDTH, OPTION_WIDTH)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:852:9 [INFO] [stdout] | [INFO] [stdout] 852 | try!(write!(self.buf, "\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:842:13 [INFO] [stdout] | [INFO] [stdout] 842 | try!(write!(self.buf, "\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:844:17 [INFO] [stdout] | [INFO] [stdout] 844 | try!(write!(self.buf, " ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:848:17 [INFO] [stdout] | [INFO] [stdout] 848 | try!(write!(self.buf, " ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:858:9 [INFO] [stdout] | [INFO] [stdout] 858 | try!(write!(self.buf, " ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:861:9 [INFO] [stdout] | [INFO] [stdout] 861 | try!(write!(self.buf, "{}", name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:887:9 [INFO] [stdout] | [INFO] [stdout] 887 | try!(wrap_text(self.buf, opt.help, TOTAL_WIDTH, OPTION_WIDTH)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:888:9 [INFO] [stdout] | [INFO] [stdout] 888 | try!(write!(self.buf, "\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:864:13 [INFO] [stdout] | [INFO] [stdout] 864 | try!(write!(self.buf, ",")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:865:13 [INFO] [stdout] | [INFO] [stdout] 865 | try!(write!(self.buf, "{}", name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:871:17 [INFO] [stdout] | [INFO] [stdout] 871 | try!(write!(self.buf, " ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:873:17 [INFO] [stdout] | [INFO] [stdout] 873 | try!(write!(self.buf, "{}", &var.metavar[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:878:13 [INFO] [stdout] | [INFO] [stdout] 878 | try!(write!(self.buf, "\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:880:17 [INFO] [stdout] | [INFO] [stdout] 880 | try!(write!(self.buf, " ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:884:17 [INFO] [stdout] | [INFO] [stdout] 884 | try!(write!(self.buf, " ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:893:9 [INFO] [stdout] | [INFO] [stdout] 893 | try!(self.write_usage()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:894:9 [INFO] [stdout] | [INFO] [stdout] 894 | try!(write!(self.buf, "\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:896:13 [INFO] [stdout] | [INFO] [stdout] 896 | try!(wrap_text(self.buf, self.parser.description,TOTAL_WIDTH, 0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:897:13 [INFO] [stdout] | [INFO] [stdout] 897 | try!(write!(self.buf, "\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:902:13 [INFO] [stdout] | [INFO] [stdout] 902 | try!(write!(self.buf, "\nPositional arguments:\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:904:17 [INFO] [stdout] | [INFO] [stdout] 904 | try!(self.print_argument(&**arg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:908:21 [INFO] [stdout] | [INFO] [stdout] 908 | try!(self.print_argument(&**opt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:916:13 [INFO] [stdout] | [INFO] [stdout] 916 | try!(write!(self.buf, "\nOptional arguments:\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:918:17 [INFO] [stdout] | [INFO] [stdout] 918 | try!(self.print_option(&**opt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:925:9 [INFO] [stdout] | [INFO] [stdout] 925 | try!(write!(self.buf, "Usage:\n ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:926:9 [INFO] [stdout] | [INFO] [stdout] 926 | try!(write!(self.buf, "{}", self.name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:963:9 [INFO] [stdout] | [INFO] [stdout] 963 | try!(write!(self.buf, "\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:931:17 [INFO] [stdout] | [INFO] [stdout] 931 | try!(write!(self.buf, " [OPTIONS]")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:935:17 [INFO] [stdout] | [INFO] [stdout] 935 | try!(write!(self.buf, " ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:939:17 [INFO] [stdout] | [INFO] [stdout] 939 | try!(write!(self.buf, "{}", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:937:21 [INFO] [stdout] | [INFO] [stdout] 937 | try!(write!(self.buf, "[")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:942:21 [INFO] [stdout] | [INFO] [stdout] 942 | try!(write!(self.buf, "]")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:948:21 [INFO] [stdout] | [INFO] [stdout] 948 | try!(write!(self.buf, " ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:952:21 [INFO] [stdout] | [INFO] [stdout] 952 | try!(write!(self.buf, "{}", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:950:25 [INFO] [stdout] | [INFO] [stdout] 950 | try!(write!(self.buf, "[")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:955:25 [INFO] [stdout] | [INFO] [stdout] 955 | try!(write!(self.buf, " ...]")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:957:25 [INFO] [stdout] | [INFO] [stdout] 957 | try!(write!(self.buf, " [...]")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/help.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | Some((idx, ch)) => ((idx, ch)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - Some((idx, ch)) => ((idx, ch)), [INFO] [stdout] 38 + Some((idx, ch)) => (idx, ch), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/help.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | Some((idx, ch)) => ((idx, ch)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 51 - Some((idx, ch)) => ((idx, ch)), [INFO] [stdout] 51 + Some((idx, ch)) => (idx, ch), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/help.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | try!(buf.write(word.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/help.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | try!(buf.write(word.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/help.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | try!(buf.write(b"\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/help.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | try!(buf.write(b" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/help.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | try!(buf.write(b" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/action.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | Flag(Box), [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | Flag(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/action.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | Single(Box), [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Single(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/action.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | Push(Box), [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | Push(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/action.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | Many(Box), [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | Many(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | action: Box, [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 | action: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:142:24 [INFO] [stdout] | [INFO] [stdout] 142 | stderr: &'ctx mut (Write + 'ctx), [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 142 | stderr: &'ctx mut (dyn Write + 'ctx), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:817:19 [INFO] [stdout] | [INFO] [stdout] 817 | buf: &'a mut (Write + 'a), [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 817 | buf: &'a mut (dyn Write + 'a), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:462:72 [INFO] [stdout] | [INFO] [stdout] 462 | fn parse(parser: &ArgumentParser, args: &Vec, stderr: &mut Write) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 462 | fn parse(parser: &ArgumentParser, args: &Vec, stderr: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:723:55 [INFO] [stdout] | [INFO] [stdout] 723 | pub fn print_help(&self, name: &str, writer: &mut Write) -> IoResult<()> { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 723 | pub fn print_help(&self, name: &str, writer: &mut dyn Write) -> IoResult<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:730:56 [INFO] [stdout] | [INFO] [stdout] 730 | pub fn print_usage(&self, name: &str, writer: &mut Write) -> IoResult<()> [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 730 | pub fn print_usage(&self, name: &str, writer: &mut dyn Write) -> IoResult<()> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:740:22 [INFO] [stdout] | [INFO] [stdout] 740 | stdout: &mut Write, stderr: &mut Write) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 740 | stdout: &mut dyn Write, stderr: &mut Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:740:42 [INFO] [stdout] | [INFO] [stdout] 740 | stdout: &mut Write, stderr: &mut Write) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 740 | stdout: &mut Write, stderr: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:762:68 [INFO] [stdout] | [INFO] [stdout] 762 | pub fn error(&self, command: &str, message: &str, writer: &mut Write) { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 762 | pub fn error(&self, command: &str, message: &str, writer: &mut dyn Write) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:821:74 [INFO] [stdout] | [INFO] [stdout] 821 | pub fn print_usage(parser: &ArgumentParser, name: &str, writer: &mut Write) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 821 | pub fn print_usage(parser: &ArgumentParser, name: &str, writer: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:828:73 [INFO] [stdout] | [INFO] [stdout] 828 | pub fn print_help(parser: &ArgumentParser, name: &str, writer: &mut Write) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 828 | pub fn print_help(parser: &ArgumentParser, name: &str, writer: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/help.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn wrap_text(buf: &mut Write, data: &str, width: usize, indent: usize) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | pub fn wrap_text(buf: &mut dyn Write, data: &str, width: usize, indent: usize) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:555:43 [INFO] [stdout] | [INFO] [stdout] 555 | Some(ref y) => panic!(format!( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 556 | | "Option {} conflicts with option {}", [INFO] [stdout] 557 | | name, y.name)), [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 555 ~ Some(ref y) => panic!( [INFO] [stdout] 556 | "Option {} conflicts with option {}", [INFO] [stdout] 557 ~ name, y.name), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "8020cf0951a0cfdb40fe5e5608adf242784c3a7e37561cec75e6ecf2a9bb41e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8020cf0951a0cfdb40fe5e5608adf242784c3a7e37561cec75e6ecf2a9bb41e8", kill_on_drop: false }` [INFO] [stdout] 8020cf0951a0cfdb40fe5e5608adf242784c3a7e37561cec75e6ecf2a9bb41e8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5cc51176e29ed105c3b6e42b997431138ab6a6f38362c02cf1349b33898109f [INFO] running `Command { std: "docker" "start" "-a" "b5cc51176e29ed105c3b6e42b997431138ab6a6f38362c02cf1349b33898109f", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/action.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | fn bind<'x>(&self, Rc>) -> Action<'x>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Rc>` [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:839:9 [INFO] [stdout] | [INFO] [stdout] 839 | try!(write!(self.buf, " {}", arg.name)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:851:9 [INFO] [stdout] | [INFO] [stdout] 851 | try!(wrap_text(self.buf, arg.help, TOTAL_WIDTH, OPTION_WIDTH)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:852:9 [INFO] [stdout] | [INFO] [stdout] 852 | try!(write!(self.buf, "\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:842:13 [INFO] [stdout] | [INFO] [stdout] 842 | try!(write!(self.buf, "\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:844:17 [INFO] [stdout] | [INFO] [stdout] 844 | try!(write!(self.buf, " ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:848:17 [INFO] [stdout] | [INFO] [stdout] 848 | try!(write!(self.buf, " ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:858:9 [INFO] [stdout] | [INFO] [stdout] 858 | try!(write!(self.buf, " ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:861:9 [INFO] [stdout] | [INFO] [stdout] 861 | try!(write!(self.buf, "{}", name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:887:9 [INFO] [stdout] | [INFO] [stdout] 887 | try!(wrap_text(self.buf, opt.help, TOTAL_WIDTH, OPTION_WIDTH)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:888:9 [INFO] [stdout] | [INFO] [stdout] 888 | try!(write!(self.buf, "\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:864:13 [INFO] [stdout] | [INFO] [stdout] 864 | try!(write!(self.buf, ",")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:865:13 [INFO] [stdout] | [INFO] [stdout] 865 | try!(write!(self.buf, "{}", name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:871:17 [INFO] [stdout] | [INFO] [stdout] 871 | try!(write!(self.buf, " ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:873:17 [INFO] [stdout] | [INFO] [stdout] 873 | try!(write!(self.buf, "{}", &var.metavar[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:878:13 [INFO] [stdout] | [INFO] [stdout] 878 | try!(write!(self.buf, "\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:880:17 [INFO] [stdout] | [INFO] [stdout] 880 | try!(write!(self.buf, " ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:884:17 [INFO] [stdout] | [INFO] [stdout] 884 | try!(write!(self.buf, " ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:893:9 [INFO] [stdout] | [INFO] [stdout] 893 | try!(self.write_usage()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:894:9 [INFO] [stdout] | [INFO] [stdout] 894 | try!(write!(self.buf, "\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:896:13 [INFO] [stdout] | [INFO] [stdout] 896 | try!(wrap_text(self.buf, self.parser.description,TOTAL_WIDTH, 0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:897:13 [INFO] [stdout] | [INFO] [stdout] 897 | try!(write!(self.buf, "\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:902:13 [INFO] [stdout] | [INFO] [stdout] 902 | try!(write!(self.buf, "\nPositional arguments:\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:904:17 [INFO] [stdout] | [INFO] [stdout] 904 | try!(self.print_argument(&**arg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:908:21 [INFO] [stdout] | [INFO] [stdout] 908 | try!(self.print_argument(&**opt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:916:13 [INFO] [stdout] | [INFO] [stdout] 916 | try!(write!(self.buf, "\nOptional arguments:\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:918:17 [INFO] [stdout] | [INFO] [stdout] 918 | try!(self.print_option(&**opt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:925:9 [INFO] [stdout] | [INFO] [stdout] 925 | try!(write!(self.buf, "Usage:\n ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:926:9 [INFO] [stdout] | [INFO] [stdout] 926 | try!(write!(self.buf, "{}", self.name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:963:9 [INFO] [stdout] | [INFO] [stdout] 963 | try!(write!(self.buf, "\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:931:17 [INFO] [stdout] | [INFO] [stdout] 931 | try!(write!(self.buf, " [OPTIONS]")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:935:17 [INFO] [stdout] | [INFO] [stdout] 935 | try!(write!(self.buf, " ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:939:17 [INFO] [stdout] | [INFO] [stdout] 939 | try!(write!(self.buf, "{}", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:937:21 [INFO] [stdout] | [INFO] [stdout] 937 | try!(write!(self.buf, "[")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:942:21 [INFO] [stdout] | [INFO] [stdout] 942 | try!(write!(self.buf, "]")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:948:21 [INFO] [stdout] | [INFO] [stdout] 948 | try!(write!(self.buf, " ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:952:21 [INFO] [stdout] | [INFO] [stdout] 952 | try!(write!(self.buf, "{}", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:950:25 [INFO] [stdout] | [INFO] [stdout] 950 | try!(write!(self.buf, "[")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:955:25 [INFO] [stdout] | [INFO] [stdout] 955 | try!(write!(self.buf, " ...]")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:957:25 [INFO] [stdout] | [INFO] [stdout] 957 | try!(write!(self.buf, " [...]")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/help.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | Some((idx, ch)) => ((idx, ch)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - Some((idx, ch)) => ((idx, ch)), [INFO] [stdout] 38 + Some((idx, ch)) => (idx, ch), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/help.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | Some((idx, ch)) => ((idx, ch)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 51 - Some((idx, ch)) => ((idx, ch)), [INFO] [stdout] 51 + Some((idx, ch)) => (idx, ch), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/help.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | try!(buf.write(word.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/help.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | try!(buf.write(word.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/help.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | try!(buf.write(b"\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/help.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | try!(buf.write(b" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/help.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | try!(buf.write(b" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/action.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | Flag(Box), [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | Flag(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/action.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | Single(Box), [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Single(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/action.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | Push(Box), [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | Push(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/action.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | Many(Box), [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | Many(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | action: Box, [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 | action: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:142:24 [INFO] [stdout] | [INFO] [stdout] 142 | stderr: &'ctx mut (Write + 'ctx), [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 142 | stderr: &'ctx mut (dyn Write + 'ctx), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:817:19 [INFO] [stdout] | [INFO] [stdout] 817 | buf: &'a mut (Write + 'a), [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 817 | buf: &'a mut (dyn Write + 'a), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:462:72 [INFO] [stdout] | [INFO] [stdout] 462 | fn parse(parser: &ArgumentParser, args: &Vec, stderr: &mut Write) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 462 | fn parse(parser: &ArgumentParser, args: &Vec, stderr: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:723:55 [INFO] [stdout] | [INFO] [stdout] 723 | pub fn print_help(&self, name: &str, writer: &mut Write) -> IoResult<()> { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 723 | pub fn print_help(&self, name: &str, writer: &mut dyn Write) -> IoResult<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:730:56 [INFO] [stdout] | [INFO] [stdout] 730 | pub fn print_usage(&self, name: &str, writer: &mut Write) -> IoResult<()> [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 730 | pub fn print_usage(&self, name: &str, writer: &mut dyn Write) -> IoResult<()> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:740:22 [INFO] [stdout] | [INFO] [stdout] 740 | stdout: &mut Write, stderr: &mut Write) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 740 | stdout: &mut dyn Write, stderr: &mut Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:740:42 [INFO] [stdout] | [INFO] [stdout] 740 | stdout: &mut Write, stderr: &mut Write) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 740 | stdout: &mut Write, stderr: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:762:68 [INFO] [stdout] | [INFO] [stdout] 762 | pub fn error(&self, command: &str, message: &str, writer: &mut Write) { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 762 | pub fn error(&self, command: &str, message: &str, writer: &mut dyn Write) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:821:74 [INFO] [stdout] | [INFO] [stdout] 821 | pub fn print_usage(parser: &ArgumentParser, name: &str, writer: &mut Write) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 821 | pub fn print_usage(parser: &ArgumentParser, name: &str, writer: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:828:73 [INFO] [stdout] | [INFO] [stdout] 828 | pub fn print_help(parser: &ArgumentParser, name: &str, writer: &mut Write) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 828 | pub fn print_help(parser: &ArgumentParser, name: &str, writer: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/help.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn wrap_text(buf: &mut Write, data: &str, width: usize, indent: usize) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | pub fn wrap_text(buf: &mut dyn Write, data: &str, width: usize, indent: usize) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:555:43 [INFO] [stdout] | [INFO] [stdout] 555 | Some(ref y) => panic!(format!( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 556 | | "Option {} conflicts with option {}", [INFO] [stdout] 557 | | name, y.name)), [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 555 ~ Some(ref y) => panic!( [INFO] [stdout] 556 | "Option {} conflicts with option {}", [INFO] [stdout] 557 ~ name, y.name), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling argparse v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/action.rs:20:24 [INFO] [stdout] | [INFO] [stdout] 20 | fn bind<'x>(&self, Rc>) -> Action<'x>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Rc>` [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: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:839:9 [INFO] [stdout] | [INFO] [stdout] 839 | try!(write!(self.buf, " {}", arg.name)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:851:9 [INFO] [stdout] | [INFO] [stdout] 851 | try!(wrap_text(self.buf, arg.help, TOTAL_WIDTH, OPTION_WIDTH)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:852:9 [INFO] [stdout] | [INFO] [stdout] 852 | try!(write!(self.buf, "\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:842:13 [INFO] [stdout] | [INFO] [stdout] 842 | try!(write!(self.buf, "\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:844:17 [INFO] [stdout] | [INFO] [stdout] 844 | try!(write!(self.buf, " ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:848:17 [INFO] [stdout] | [INFO] [stdout] 848 | try!(write!(self.buf, " ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:858:9 [INFO] [stdout] | [INFO] [stdout] 858 | try!(write!(self.buf, " ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:861:9 [INFO] [stdout] | [INFO] [stdout] 861 | try!(write!(self.buf, "{}", name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:887:9 [INFO] [stdout] | [INFO] [stdout] 887 | try!(wrap_text(self.buf, opt.help, TOTAL_WIDTH, OPTION_WIDTH)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:888:9 [INFO] [stdout] | [INFO] [stdout] 888 | try!(write!(self.buf, "\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:864:13 [INFO] [stdout] | [INFO] [stdout] 864 | try!(write!(self.buf, ",")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:865:13 [INFO] [stdout] | [INFO] [stdout] 865 | try!(write!(self.buf, "{}", name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:871:17 [INFO] [stdout] | [INFO] [stdout] 871 | try!(write!(self.buf, " ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:873:17 [INFO] [stdout] | [INFO] [stdout] 873 | try!(write!(self.buf, "{}", &var.metavar[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:878:13 [INFO] [stdout] | [INFO] [stdout] 878 | try!(write!(self.buf, "\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:880:17 [INFO] [stdout] | [INFO] [stdout] 880 | try!(write!(self.buf, " ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:884:17 [INFO] [stdout] | [INFO] [stdout] 884 | try!(write!(self.buf, " ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:893:9 [INFO] [stdout] | [INFO] [stdout] 893 | try!(self.write_usage()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:894:9 [INFO] [stdout] | [INFO] [stdout] 894 | try!(write!(self.buf, "\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:896:13 [INFO] [stdout] | [INFO] [stdout] 896 | try!(wrap_text(self.buf, self.parser.description,TOTAL_WIDTH, 0)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:897:13 [INFO] [stdout] | [INFO] [stdout] 897 | try!(write!(self.buf, "\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:902:13 [INFO] [stdout] | [INFO] [stdout] 902 | try!(write!(self.buf, "\nPositional arguments:\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:904:17 [INFO] [stdout] | [INFO] [stdout] 904 | try!(self.print_argument(&**arg)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:908:21 [INFO] [stdout] | [INFO] [stdout] 908 | try!(self.print_argument(&**opt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:916:13 [INFO] [stdout] | [INFO] [stdout] 916 | try!(write!(self.buf, "\nOptional arguments:\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:918:17 [INFO] [stdout] | [INFO] [stdout] 918 | try!(self.print_option(&**opt)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:925:9 [INFO] [stdout] | [INFO] [stdout] 925 | try!(write!(self.buf, "Usage:\n ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:926:9 [INFO] [stdout] | [INFO] [stdout] 926 | try!(write!(self.buf, "{}", self.name)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:963:9 [INFO] [stdout] | [INFO] [stdout] 963 | try!(write!(self.buf, "\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:931:17 [INFO] [stdout] | [INFO] [stdout] 931 | try!(write!(self.buf, " [OPTIONS]")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:935:17 [INFO] [stdout] | [INFO] [stdout] 935 | try!(write!(self.buf, " ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:939:17 [INFO] [stdout] | [INFO] [stdout] 939 | try!(write!(self.buf, "{}", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:937:21 [INFO] [stdout] | [INFO] [stdout] 937 | try!(write!(self.buf, "[")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:942:21 [INFO] [stdout] | [INFO] [stdout] 942 | try!(write!(self.buf, "]")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:948:21 [INFO] [stdout] | [INFO] [stdout] 948 | try!(write!(self.buf, " ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:952:21 [INFO] [stdout] | [INFO] [stdout] 952 | try!(write!(self.buf, "{}", [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:950:25 [INFO] [stdout] | [INFO] [stdout] 950 | try!(write!(self.buf, "[")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:955:25 [INFO] [stdout] | [INFO] [stdout] 955 | try!(write!(self.buf, " ...]")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/parser.rs:957:25 [INFO] [stdout] | [INFO] [stdout] 957 | try!(write!(self.buf, " [...]")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/help.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | Some((idx, ch)) => ((idx, ch)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 38 - Some((idx, ch)) => ((idx, ch)), [INFO] [stdout] 38 + Some((idx, ch)) => (idx, ch), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/help.rs:51:36 [INFO] [stdout] | [INFO] [stdout] 51 | Some((idx, ch)) => ((idx, ch)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 51 - Some((idx, ch)) => ((idx, ch)), [INFO] [stdout] 51 + Some((idx, ch)) => (idx, ch), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/help.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | try!(buf.write(word.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/help.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | try!(buf.write(word.as_bytes())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/help.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | try!(buf.write(b"\n")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/help.rs:82:17 [INFO] [stdout] | [INFO] [stdout] 82 | try!(buf.write(b" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/help.rs:86:13 [INFO] [stdout] | [INFO] [stdout] 86 | try!(buf.write(b" ")); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/action.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | Flag(Box), [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 | Flag(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/action.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | Single(Box), [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 | Single(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/action.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | Push(Box), [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 | Push(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/action.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | Many(Box), [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | Many(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 84 | action: Box, [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 84 | action: Box, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:142:24 [INFO] [stdout] | [INFO] [stdout] 142 | stderr: &'ctx mut (Write + 'ctx), [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 142 | stderr: &'ctx mut (dyn Write + 'ctx), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:817:19 [INFO] [stdout] | [INFO] [stdout] 817 | buf: &'a mut (Write + 'a), [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 817 | buf: &'a mut (dyn Write + 'a), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:462:72 [INFO] [stdout] | [INFO] [stdout] 462 | fn parse(parser: &ArgumentParser, args: &Vec, stderr: &mut Write) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 462 | fn parse(parser: &ArgumentParser, args: &Vec, stderr: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:723:55 [INFO] [stdout] | [INFO] [stdout] 723 | pub fn print_help(&self, name: &str, writer: &mut Write) -> IoResult<()> { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 723 | pub fn print_help(&self, name: &str, writer: &mut dyn Write) -> IoResult<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:730:56 [INFO] [stdout] | [INFO] [stdout] 730 | pub fn print_usage(&self, name: &str, writer: &mut Write) -> IoResult<()> [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 730 | pub fn print_usage(&self, name: &str, writer: &mut dyn Write) -> IoResult<()> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:740:22 [INFO] [stdout] | [INFO] [stdout] 740 | stdout: &mut Write, stderr: &mut Write) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 740 | stdout: &mut dyn Write, stderr: &mut Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:740:42 [INFO] [stdout] | [INFO] [stdout] 740 | stdout: &mut Write, stderr: &mut Write) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 740 | stdout: &mut Write, stderr: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:762:68 [INFO] [stdout] | [INFO] [stdout] 762 | pub fn error(&self, command: &str, message: &str, writer: &mut Write) { [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 762 | pub fn error(&self, command: &str, message: &str, writer: &mut dyn Write) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:821:74 [INFO] [stdout] | [INFO] [stdout] 821 | pub fn print_usage(parser: &ArgumentParser, name: &str, writer: &mut Write) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 821 | pub fn print_usage(parser: &ArgumentParser, name: &str, writer: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parser.rs:828:73 [INFO] [stdout] | [INFO] [stdout] 828 | pub fn print_help(parser: &ArgumentParser, name: &str, writer: &mut Write) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 828 | pub fn print_help(parser: &ArgumentParser, name: &str, writer: &mut dyn Write) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/help.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn wrap_text(buf: &mut Write, data: &str, width: usize, indent: usize) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | pub fn wrap_text(buf: &mut dyn Write, data: &str, width: usize, indent: usize) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/parser.rs:555:43 [INFO] [stdout] | [INFO] [stdout] 555 | Some(ref y) => panic!(format!( [INFO] [stdout] | ___________________________________________^ [INFO] [stdout] 556 | | "Option {} conflicts with option {}", [INFO] [stdout] 557 | | name, y.name)), [INFO] [stdout] | |_____________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 555 ~ Some(ref y) => panic!( [INFO] [stdout] 556 | "Option {} conflicts with option {}", [INFO] [stdout] 557 ~ name, y.name), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/test_parser.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | / String::from_utf8(stderr).unwrap() + [INFO] [stdout] 16 | | &format!("Expected ok, but found Exit({})", x)[..]), [INFO] [stdout] | |______________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to `Display` the message [INFO] [stdout] | [INFO] [stdout] 15 | "{}", String::from_utf8(stderr).unwrap() + [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/test_parser.rs:30:26 [INFO] [stdout] | [INFO] [stdout] 30 | Err(x) => panic!(format!("Expected code {} got {}", 0usize, x)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 30 - Err(x) => panic!(format!("Expected code {} got {}", 0usize, x)), [INFO] [stdout] 30 + Err(x) => panic!("Expected code {} got {}", 0usize, x), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/test_parser.rs:31:26 [INFO] [stdout] | [INFO] [stdout] 31 | Ok(()) => panic!(format!("Expected failure, got success")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 31 - Ok(()) => panic!(format!("Expected failure, got success")), [INFO] [stdout] 31 + Ok(()) => panic!("Expected failure, got success"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/test_parser.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | Err(x) => panic!(format!("Expected code {} got {}", 2usize, x)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 45 - Err(x) => panic!(format!("Expected code {} got {}", 2usize, x)), [INFO] [stdout] 45 + Err(x) => panic!("Expected code {} got {}", 2usize, x), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/test_parser.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | Ok(()) => panic!(format!("Expected failure, got success")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 46 - Ok(()) => panic!(format!("Expected failure, got success")), [INFO] [stdout] 46 + Ok(()) => panic!("Expected failure, got success"), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.83s [INFO] running `Command { std: "docker" "inspect" "b5cc51176e29ed105c3b6e42b997431138ab6a6f38362c02cf1349b33898109f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5cc51176e29ed105c3b6e42b997431138ab6a6f38362c02cf1349b33898109f", kill_on_drop: false }` [INFO] [stdout] b5cc51176e29ed105c3b6e42b997431138ab6a6f38362c02cf1349b33898109f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-10-19" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9b24a3936568d257fe6d96e3fc6ae0aeaa75a4a1618ca348026da4552b3cdee4 [INFO] running `Command { std: "docker" "start" "-a" "9b24a3936568d257fe6d96e3fc6ae0aeaa75a4a1618ca348026da4552b3cdee4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/action.rs:20:24 [INFO] [stderr] | [INFO] [stderr] 20 | fn bind<'x>(&self, Rc>) -> Action<'x>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: Rc>` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:839:9 [INFO] [stderr] | [INFO] [stderr] 839 | try!(write!(self.buf, " {}", arg.name)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:851:9 [INFO] [stderr] | [INFO] [stderr] 851 | try!(wrap_text(self.buf, arg.help, TOTAL_WIDTH, OPTION_WIDTH)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:852:9 [INFO] [stderr] | [INFO] [stderr] 852 | try!(write!(self.buf, "\n")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:842:13 [INFO] [stderr] | [INFO] [stderr] 842 | try!(write!(self.buf, "\n")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:844:17 [INFO] [stderr] | [INFO] [stderr] 844 | try!(write!(self.buf, " ")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:848:17 [INFO] [stderr] | [INFO] [stderr] 848 | try!(write!(self.buf, " ")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:858:9 [INFO] [stderr] | [INFO] [stderr] 858 | try!(write!(self.buf, " ")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:861:9 [INFO] [stderr] | [INFO] [stderr] 861 | try!(write!(self.buf, "{}", name)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:887:9 [INFO] [stderr] | [INFO] [stderr] 887 | try!(wrap_text(self.buf, opt.help, TOTAL_WIDTH, OPTION_WIDTH)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:888:9 [INFO] [stderr] | [INFO] [stderr] 888 | try!(write!(self.buf, "\n")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:864:13 [INFO] [stderr] | [INFO] [stderr] 864 | try!(write!(self.buf, ",")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:865:13 [INFO] [stderr] | [INFO] [stderr] 865 | try!(write!(self.buf, "{}", name)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:871:17 [INFO] [stderr] | [INFO] [stderr] 871 | try!(write!(self.buf, " ")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:873:17 [INFO] [stderr] | [INFO] [stderr] 873 | try!(write!(self.buf, "{}", &var.metavar[..])); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:878:13 [INFO] [stderr] | [INFO] [stderr] 878 | try!(write!(self.buf, "\n")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:880:17 [INFO] [stderr] | [INFO] [stderr] 880 | try!(write!(self.buf, " ")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:884:17 [INFO] [stderr] | [INFO] [stderr] 884 | try!(write!(self.buf, " ")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:893:9 [INFO] [stderr] | [INFO] [stderr] 893 | try!(self.write_usage()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:894:9 [INFO] [stderr] | [INFO] [stderr] 894 | try!(write!(self.buf, "\n")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:896:13 [INFO] [stderr] | [INFO] [stderr] 896 | try!(wrap_text(self.buf, self.parser.description,TOTAL_WIDTH, 0)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:897:13 [INFO] [stderr] | [INFO] [stderr] 897 | try!(write!(self.buf, "\n")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:902:13 [INFO] [stderr] | [INFO] [stderr] 902 | try!(write!(self.buf, "\nPositional arguments:\n")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:904:17 [INFO] [stderr] | [INFO] [stderr] 904 | try!(self.print_argument(&**arg)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:908:21 [INFO] [stderr] | [INFO] [stderr] 908 | try!(self.print_argument(&**opt)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:916:13 [INFO] [stderr] | [INFO] [stderr] 916 | try!(write!(self.buf, "\nOptional arguments:\n")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:918:17 [INFO] [stderr] | [INFO] [stderr] 918 | try!(self.print_option(&**opt)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:925:9 [INFO] [stderr] | [INFO] [stderr] 925 | try!(write!(self.buf, "Usage:\n ")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:926:9 [INFO] [stderr] | [INFO] [stderr] 926 | try!(write!(self.buf, "{}", self.name)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:963:9 [INFO] [stderr] | [INFO] [stderr] 963 | try!(write!(self.buf, "\n")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:931:17 [INFO] [stderr] | [INFO] [stderr] 931 | try!(write!(self.buf, " [OPTIONS]")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:935:17 [INFO] [stderr] | [INFO] [stderr] 935 | try!(write!(self.buf, " ")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:939:17 [INFO] [stderr] | [INFO] [stderr] 939 | try!(write!(self.buf, "{}", [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:937:21 [INFO] [stderr] | [INFO] [stderr] 937 | try!(write!(self.buf, "[")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:942:21 [INFO] [stderr] | [INFO] [stderr] 942 | try!(write!(self.buf, "]")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:948:21 [INFO] [stderr] | [INFO] [stderr] 948 | try!(write!(self.buf, " ")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:952:21 [INFO] [stderr] | [INFO] [stderr] 952 | try!(write!(self.buf, "{}", [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:950:25 [INFO] [stderr] | [INFO] [stderr] 950 | try!(write!(self.buf, "[")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:955:25 [INFO] [stderr] | [INFO] [stderr] 955 | try!(write!(self.buf, " ...]")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/parser.rs:957:25 [INFO] [stderr] | [INFO] [stderr] 957 | try!(write!(self.buf, " [...]")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/help.rs:38:36 [INFO] [stderr] | [INFO] [stderr] 38 | Some((idx, ch)) => ((idx, ch)), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 38 - Some((idx, ch)) => ((idx, ch)), [INFO] [stderr] 38 + Some((idx, ch)) => (idx, ch), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around match arm expression [INFO] [stderr] --> src/help.rs:51:36 [INFO] [stderr] | [INFO] [stderr] 51 | Some((idx, ch)) => ((idx, ch)), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 51 - Some((idx, ch)) => ((idx, ch)), [INFO] [stderr] 51 + Some((idx, ch)) => (idx, ch), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/help.rs:74:13 [INFO] [stderr] | [INFO] [stderr] 74 | try!(buf.write(word.as_bytes())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/help.rs:89:9 [INFO] [stderr] | [INFO] [stderr] 89 | try!(buf.write(word.as_bytes())); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/help.rs:80:13 [INFO] [stderr] | [INFO] [stderr] 80 | try!(buf.write(b"\n")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/help.rs:82:17 [INFO] [stderr] | [INFO] [stderr] 82 | try!(buf.write(b" ")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/help.rs:86:13 [INFO] [stderr] | [INFO] [stderr] 86 | try!(buf.write(b" ")); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/action.rs:13:14 [INFO] [stderr] | [INFO] [stderr] 13 | Flag(Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 13 | Flag(Box), [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/action.rs:14:16 [INFO] [stderr] | [INFO] [stderr] 14 | Single(Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 14 | Single(Box), [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/action.rs:15:14 [INFO] [stderr] | [INFO] [stderr] 15 | Push(Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 15 | Push(Box), [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/action.rs:16:14 [INFO] [stderr] | [INFO] [stderr] 16 | Many(Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 16 | Many(Box), [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser.rs:84:17 [INFO] [stderr] | [INFO] [stderr] 84 | action: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 84 | action: Box, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser.rs:142:24 [INFO] [stderr] | [INFO] [stderr] 142 | stderr: &'ctx mut (Write + 'ctx), [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 142 | stderr: &'ctx mut (dyn Write + 'ctx), [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser.rs:817:19 [INFO] [stderr] | [INFO] [stderr] 817 | buf: &'a mut (Write + 'a), [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 817 | buf: &'a mut (dyn Write + 'a), [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser.rs:462:72 [INFO] [stderr] | [INFO] [stderr] 462 | fn parse(parser: &ArgumentParser, args: &Vec, stderr: &mut Write) [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 462 | fn parse(parser: &ArgumentParser, args: &Vec, stderr: &mut dyn Write) [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser.rs:723:55 [INFO] [stderr] | [INFO] [stderr] 723 | pub fn print_help(&self, name: &str, writer: &mut Write) -> IoResult<()> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 723 | pub fn print_help(&self, name: &str, writer: &mut dyn Write) -> IoResult<()> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser.rs:730:56 [INFO] [stderr] | [INFO] [stderr] 730 | pub fn print_usage(&self, name: &str, writer: &mut Write) -> IoResult<()> [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 730 | pub fn print_usage(&self, name: &str, writer: &mut dyn Write) -> IoResult<()> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser.rs:740:22 [INFO] [stderr] | [INFO] [stderr] 740 | stdout: &mut Write, stderr: &mut Write) [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 740 | stdout: &mut dyn Write, stderr: &mut Write) [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser.rs:740:42 [INFO] [stderr] | [INFO] [stderr] 740 | stdout: &mut Write, stderr: &mut Write) [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 740 | stdout: &mut Write, stderr: &mut dyn Write) [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser.rs:762:68 [INFO] [stderr] | [INFO] [stderr] 762 | pub fn error(&self, command: &str, message: &str, writer: &mut Write) { [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 762 | pub fn error(&self, command: &str, message: &str, writer: &mut dyn Write) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser.rs:821:74 [INFO] [stderr] | [INFO] [stderr] 821 | pub fn print_usage(parser: &ArgumentParser, name: &str, writer: &mut Write) [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 821 | pub fn print_usage(parser: &ArgumentParser, name: &str, writer: &mut dyn Write) [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parser.rs:828:73 [INFO] [stderr] | [INFO] [stderr] 828 | pub fn print_help(parser: &ArgumentParser, name: &str, writer: &mut Write) [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 828 | pub fn print_help(parser: &ArgumentParser, name: &str, writer: &mut dyn Write) [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/help.rs:64:28 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn wrap_text(buf: &mut Write, data: &str, width: usize, indent: usize) [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 64 | pub fn wrap_text(buf: &mut dyn Write, data: &str, width: usize, indent: usize) [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/parser.rs:555:43 [INFO] [stderr] | [INFO] [stderr] 555 | Some(ref y) => panic!(format!( [INFO] [stderr] | ___________________________________________^ [INFO] [stderr] 556 | | "Option {} conflicts with option {}", [INFO] [stderr] 557 | | name, y.name)), [INFO] [stderr] | |_____________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 555 ~ Some(ref y) => panic!( [INFO] [stderr] 556 | "Option {} conflicts with option {}", [INFO] [stderr] 557 ~ name, y.name), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `argparse` (lib) generated 64 warnings (run `cargo fix --lib -p argparse` to apply 20 suggestions) [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/test_parser.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | / String::from_utf8(stderr).unwrap() + [INFO] [stderr] 16 | | &format!("Expected ok, but found Exit({})", x)[..]), [INFO] [stderr] | |______________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to `Display` the message [INFO] [stderr] | [INFO] [stderr] 15 | "{}", String::from_utf8(stderr).unwrap() + [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/test_parser.rs:30:26 [INFO] [stderr] | [INFO] [stderr] 30 | Err(x) => panic!(format!("Expected code {} got {}", 0usize, x)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 30 - Err(x) => panic!(format!("Expected code {} got {}", 0usize, x)), [INFO] [stderr] 30 + Err(x) => panic!("Expected code {} got {}", 0usize, x), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/test_parser.rs:31:26 [INFO] [stderr] | [INFO] [stderr] 31 | Ok(()) => panic!(format!("Expected failure, got success")), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 31 - Ok(()) => panic!(format!("Expected failure, got success")), [INFO] [stderr] 31 + Ok(()) => panic!("Expected failure, got success"), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/test_parser.rs:45:26 [INFO] [stderr] | [INFO] [stderr] 45 | Err(x) => panic!(format!("Expected code {} got {}", 2usize, x)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 45 - Err(x) => panic!(format!("Expected code {} got {}", 2usize, x)), [INFO] [stderr] 45 + Err(x) => panic!("Expected code {} got {}", 2usize, x), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/test_parser.rs:46:26 [INFO] [stderr] | [INFO] [stderr] 46 | Ok(()) => panic!(format!("Expected failure, got success")), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 46 - Ok(()) => panic!(format!("Expected failure, got success")), [INFO] [stderr] 46 + Ok(()) => panic!("Expected failure, got success"), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `argparse` (lib test) generated 69 warnings (64 duplicates) (run `cargo fix --lib -p argparse --tests` to apply 5 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/argparse-1746cc604302ae71) [INFO] [stdout] [INFO] [stdout] running 63 tests [INFO] [stdout] test test_bool::test_bool ... ok [INFO] [stdout] test test_bool::test_store_false ... ok [INFO] [stdout] test test_const::test_push ... ok [INFO] [stdout] test test_bool::test_store_true ... ok [INFO] [stdout] test test_enum::test_parse_enum ... ok [INFO] [stdout] test test_bool::test_set_bool ... ok [INFO] [stdout] test test_float::test_float ... ok [INFO] [stdout] test test_float::test_incr_decr ... ok [INFO] [stdout] test test_help::test_argument ... ok [INFO] [stdout] test test_help::test_empty ... ok [INFO] [stdout] test test_help::test_arguments ... ok [INFO] [stdout] test test_help::test_metavar ... ok [INFO] [stdout] test test_int::test_i16 ... ok [INFO] [stdout] test test_int::test_decr_int ... ok [INFO] [stdout] test test_int::test_incr_decr ... ok [INFO] [stdout] test test_help::test_options ... ok [INFO] [stdout] test test_int::test_incr_int ... ok [INFO] [stdout] test test_many::test_collect ... ok [INFO] [stdout] test test_int::test_set_int ... ok [INFO] [stdout] test test_help::test_req_arguments ... ok [INFO] [stdout] test test_many::test_pos_list ... ok [INFO] [stdout] test test_many::test_pos_collect ... ok [INFO] [stdout] test test_optional::test_opt ... ok [INFO] [stdout] test test_optional::test_str ... ok [INFO] [stdout] test test_parser::test_help ... ok [INFO] [stdout] test test_parser::test_no_arg ... ok [INFO] [stdout] test test_path::test_path ... ok [INFO] [stdout] test test_pos::test_argument ... ok [INFO] [stdout] test test_pos::test_pos_dash ... ok [INFO] [stdout] test test_bool::test_bad_bools1 - should panic ... ok [INFO] [stdout] test test_bool::test_bad_bools2 - should panic ... ok [INFO] [stdout] test test_enum::test_parse_error - should panic ... ok [INFO] [stdout] test test_pos::test_pos_stop ... ok [INFO] [stdout] test test_pos::test_positional_optional ... ok [INFO] [stdout] test test_pos::test_positional_required ... ok [INFO] [stdout] test test_env::test_req ... FAILED [INFO] [stdout] test test_env::test_required - should panic ... ok [INFO] [stdout] test test_pos::test_two ... ok [INFO] [stdout] test test_float::test_fail - should panic ... ok [INFO] [stdout] test test_int::test_i16_big - should panic ... ok [INFO] [stdout] test test_many::test_list - should panic ... ok [INFO] [stdout] test test_pos::too_much_args - should panic ... ok [INFO] [stdout] test test_pos::wrong_value - should panic ... ok [INFO] [stdout] test test_str::test_str ... ok [INFO] [stdout] test test_optional::test_opt_no_arg - should panic ... ok [INFO] [stdout] test test_usage::test_argument ... ok [INFO] [stdout] test test_int::test_set_int_bad - should panic ... ok [INFO] [stdout] test test_usage::test_arguments ... ok [INFO] [stdout] test test_usage::test_empty ... ok [INFO] [stdout] test test_optional::test_str_no_art - should panic ... ok [INFO] [stdout] test test_usage::test_options ... ok [INFO] [stdout] test test_path::test_err - should panic ... ok [INFO] [stdout] test test_pos::float_value - should panic ... ok [INFO] [stdout] test test_pos::test_pos_extra - should panic ... ok [INFO] [stdout] test test_pos::test_pos_no_req - should panic ... ok [INFO] [stdout] test test_pos::test_pos_opt_err - should panic ... ok [INFO] [stdout] test test_pos::test_test - should panic ... ok [INFO] [stdout] test test_pos::test_two_fail_float - should panic ... ok [INFO] [stdout] test test_pos::test_two_fail_many - should panic ... ok [INFO] [stdout] test test_pos::test_two_fail_value - should panic ... ok [INFO] [stdout] test test_many::test_extra - should panic ... ok [INFO] [stdout] test test_many::wrong_type - should panic ... ok [INFO] [stdout] test test_str::test_err - should panic ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- test_env::test_req stdout ---- [INFO] [stdout] thread 'test_env::test_req' panicked at src/test_env.rs:40:5: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: (10, 2) [INFO] [stdout] right: (9, 10) [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x654a3b4a64aa - std::backtrace_rs::backtrace::libunwind::trace::h4d70d1fc3f387ba0 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x654a3b4a64aa - std::backtrace_rs::backtrace::trace_unsynchronized::h36ec8598f89aa10d [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x654a3b4a64aa - std::sys::backtrace::_print_fmt::h28554e34eddafd0e [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x654a3b4a64aa - ::fmt::hcfddd6c618da2362 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x654a3b4cda63 - core::fmt::rt::Argument::fmt::h61c6663ef797a8d8 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x654a3b4cda63 - core::fmt::write::hd107f06dbaee3bcd [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/fmt/mod.rs:1186:21 [INFO] [stdout] 6: 0x654a3b4a3773 - std::io::Write::write_fmt::he91cdb71d5735485 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/io/mod.rs:1839:15 [INFO] [stdout] 7: 0x654a3b4a62f2 - std::sys::backtrace::BacktraceLock::print::h0aaa3c788fc54962 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x654a3b4a790a - std::panicking::default_hook::{{closure}}::ha21be3bf10424d59 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:268:22 [INFO] [stdout] 9: 0x654a3b4a7714 - std::panicking::default_hook::h7c625ca31e6655f8 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:292:9 [INFO] [stdout] 10: 0x654a3b473009 - as core::ops::function::Fn>::call::h27e62728b51ac345 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/alloc/src/boxed.rs:2468:9 [INFO] [stdout] 11: 0x654a3b473009 - test::test_main::{{closure}}::hbed48e9da271eb2d [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/test/src/lib.rs:133:21 [INFO] [stdout] 12: 0x654a3b4a7fa8 - as core::ops::function::Fn>::call::hd23f1b4f57a7d85e [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/alloc/src/boxed.rs:2468:9 [INFO] [stdout] 13: 0x654a3b4a7fa8 - std::panicking::rust_panic_with_hook::h4dfaea2b0d4c7530 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:809:13 [INFO] [stdout] 14: 0x654a3b4a7d6a - std::panicking::begin_panic_handler::{{closure}}::hb745add2af2f30cf [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:674:13 [INFO] [stdout] 15: 0x654a3b4a6989 - std::sys::backtrace::__rust_end_short_backtrace::h06673da104b2a94d [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/backtrace.rs:170:18 [INFO] [stdout] 16: 0x654a3b4a79fc - rust_begin_unwind [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:665:5 [INFO] [stdout] 17: 0x654a3b3ecb70 - core::panicking::panic_fmt::h7e8d81c8d715d530 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/panicking.rs:74:14 [INFO] [stdout] 18: 0x654a3b3ecf3b - core::panicking::assert_failed_inner::hb732d27ddda1ebd6 [INFO] [stdout] 19: 0x654a3b41106a - core::panicking::assert_failed::h315ff4535d2b0065 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/panicking.rs:367:5 [INFO] [stdout] 20: 0x654a3b4382b0 - argparse::test_env::test_req::h80088adb3d4bf4ed [INFO] [stdout] at /opt/rustwide/workdir/src/test_env.rs:40:5 [INFO] [stdout] 21: 0x654a3b438037 - argparse::test_env::test_req::{{closure}}::h1f19dfdbf8676467 [INFO] [stdout] at /opt/rustwide/workdir/src/test_env.rs:34:14 [INFO] [stdout] 22: 0x654a3b432026 - core::ops::function::FnOnce::call_once::h1f4a5255bb83b4ef [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 23: 0x654a3b4778fb - core::ops::function::FnOnce::call_once::h5ce2090d0ba06760 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x654a3b4778fb - test::__rust_begin_short_backtrace::h49e973657dd86077 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/test/src/lib.rs:621:18 [INFO] [stdout] 25: 0x654a3b4771c7 - test::run_test_in_process::{{closure}}::hb4c111032eacbf3c [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/test/src/lib.rs:644:60 [INFO] [stdout] 26: 0x654a3b4771c7 - as core::ops::function::FnOnce<()>>::call_once::hc84870afebfce019 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 27: 0x654a3b4771c7 - std::panicking::try::do_call::hce598b5d1a04cf08 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:557:40 [INFO] [stdout] 28: 0x654a3b4771c7 - std::panicking::try::h25a7aea9d63b441f [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:520:19 [INFO] [stdout] 29: 0x654a3b4771c7 - std::panic::catch_unwind::h4b12b06a11af50d2 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panic.rs:358:14 [INFO] [stdout] 30: 0x654a3b4771c7 - test::run_test_in_process::hd69883821bd30381 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/test/src/lib.rs:644:27 [INFO] [stdout] 31: 0x654a3b4771c7 - test::run_test::{{closure}}::he160a756db6d8677 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/test/src/lib.rs:565:43 [INFO] [stdout] 32: 0x654a3b43c3f4 - test::run_test::{{closure}}::h2e90a3191e3e0ce0 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/test/src/lib.rs:595:41 [INFO] [stdout] 33: 0x654a3b43c3f4 - std::sys::backtrace::__rust_begin_short_backtrace::he01c960b1833637c [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/backtrace.rs:154:18 [INFO] [stdout] 34: 0x654a3b43fb5e - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h30b75746266698d7 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/thread/mod.rs:538:17 [INFO] [stdout] 35: 0x654a3b43fb5e - as core::ops::function::FnOnce<()>>::call_once::h6a5dff2677e9a6c5 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 36: 0x654a3b43fb5e - std::panicking::try::do_call::h5e069e9a53dd16f8 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:557:40 [INFO] [stdout] 37: 0x654a3b43fb5e - std::panicking::try::h0f789115e2be34bc [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panicking.rs:520:19 [INFO] [stdout] 38: 0x654a3b43fb5e - std::panic::catch_unwind::h5caa505f99ba7d23 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/panic.rs:358:14 [INFO] [stdout] 39: 0x654a3b43fb5e - std::thread::Builder::spawn_unchecked_::{{closure}}::ha405b857d4a0e18b [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/thread/mod.rs:537:30 [INFO] [stdout] 40: 0x654a3b43fb5e - core::ops::function::FnOnce::call_once{{vtable.shim}}::hd3c96c07e3187855 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 41: 0x654a3b4ac19b - as core::ops::function::FnOnce>::call_once::hfe31dd51cc8f40d6 [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/alloc/src/boxed.rs:2454:9 [INFO] [stdout] 42: 0x654a3b4ac19b - as core::ops::function::FnOnce>::call_once::h424186ab2917e76f [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/alloc/src/boxed.rs:2454:9 [INFO] [stdout] 43: 0x654a3b4ac19b - std::sys::pal::unix::thread::Thread::new::thread_start::h5bbddfcb1fc1838d [INFO] [stdout] at /rustc/88c1c3c1102bbf3860891bfa52b7ddd9f26aec2f/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 44: 0x707e7e0b5ac3 - [INFO] [stdout] 45: 0x707e7e146a04 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] test_env::test_req [INFO] [stdout] [INFO] [stdout] test result: FAILED. 62 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "9b24a3936568d257fe6d96e3fc6ae0aeaa75a4a1618ca348026da4552b3cdee4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b24a3936568d257fe6d96e3fc6ae0aeaa75a4a1618ca348026da4552b3cdee4", kill_on_drop: false }` [INFO] [stdout] 9b24a3936568d257fe6d96e3fc6ae0aeaa75a4a1618ca348026da4552b3cdee4