[INFO] fetching crate bdrck_params 0.3.2... [INFO] testing bdrck_params-0.3.2 against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] extracting crate bdrck_params 0.3.2 into /workspace/builds/worker-47/source [INFO] validating manifest of crates.io crate bdrck_params 0.3.2 on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate bdrck_params 0.3.2 [INFO] finished tweaking crates.io crate bdrck_params 0.3.2 [INFO] tweaked toml for crates.io crate bdrck_params 0.3.2 written to /workspace/builds/worker-47/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bdrck_test v0.1.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 38f081dc1b0b95699b47100f35ebc9987e897a6b2cca4a94e1fad174d8115fba [INFO] running `Command { std: "docker" "start" "-a" "38f081dc1b0b95699b47100f35ebc9987e897a6b2cca4a94e1fad174d8115fba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "38f081dc1b0b95699b47100f35ebc9987e897a6b2cca4a94e1fad174d8115fba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38f081dc1b0b95699b47100f35ebc9987e897a6b2cca4a94e1fad174d8115fba", kill_on_drop: false }` [INFO] [stdout] 38f081dc1b0b95699b47100f35ebc9987e897a6b2cca4a94e1fad174d8115fba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0b8a14af17b3e9501af37fdf9d6bf30a83aeb87df73694cc5e7fb5aab47424d [INFO] running `Command { std: "docker" "start" "-a" "b0b8a14af17b3e9501af37fdf9d6bf30a83aeb87df73694cc5e7fb5aab47424d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling object v0.27.1 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling bdrck_params v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/command.rs:87:39 [INFO] [stdout] | [INFO] [stdout] 87 | pub type CommandCallback<'a, E> = Box, [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 88 | | HashMap, [INFO] [stdout] 89 | | HashMap>) [INFO] [stdout] 90 | | -> CommandResult + 'a>; [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 ~ pub type CommandCallback<'a, E> = Box, [INFO] [stdout] 88 + HashMap, [INFO] [stdout] 89 + HashMap>) [INFO] [stdout] 90 ~ -> CommandResult + 'a>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/io.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | fn write_to_io_writer(writer: &mut io::Write, s: &str) -> result::Result<(), fmt::Error> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/help.rs:19:44 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn print_program_help<'cbl, E>(f: &mut Write, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/help.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn print_command_help(f: &mut Write, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / error_chain! { [INFO] [stdout] 16 | | foreign_links { [INFO] [stdout] 17 | | Fmt(::std::fmt::Error); [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/io.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / lazy_static! { [INFO] [stdout] 44 | | static ref WRITER_IMPL: Mutex = Mutex::new(WriterImpl::Info); [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / error_chain! { [INFO] [stdout] 16 | | foreign_links { [INFO] [stdout] 17 | | Fmt(::std::fmt::Error); [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.99s [INFO] running `Command { std: "docker" "inspect" "b0b8a14af17b3e9501af37fdf9d6bf30a83aeb87df73694cc5e7fb5aab47424d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0b8a14af17b3e9501af37fdf9d6bf30a83aeb87df73694cc5e7fb5aab47424d", kill_on_drop: false }` [INFO] [stdout] b0b8a14af17b3e9501af37fdf9d6bf30a83aeb87df73694cc5e7fb5aab47424d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3d187564ca5d6fd4358d849c47a9d3fc93af74b7cc6ce1c081b1a4a6799cb36c [INFO] running `Command { std: "docker" "start" "-a" "3d187564ca5d6fd4358d849c47a9d3fc93af74b7cc6ce1c081b1a4a6799cb36c", kill_on_drop: false }` [INFO] [stderr] Compiling bdrck_test v0.1.1 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/command.rs:87:39 [INFO] [stdout] | [INFO] [stdout] 87 | pub type CommandCallback<'a, E> = Box, [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 88 | | HashMap, [INFO] [stdout] 89 | | HashMap>) [INFO] [stdout] 90 | | -> CommandResult + 'a>; [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 ~ pub type CommandCallback<'a, E> = Box, [INFO] [stdout] 88 + HashMap, [INFO] [stdout] 89 + HashMap>) [INFO] [stdout] 90 ~ -> CommandResult + 'a>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/io.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | fn write_to_io_writer(writer: &mut io::Write, s: &str) -> result::Result<(), fmt::Error> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/help.rs:19:44 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn print_program_help<'cbl, E>(f: &mut Write, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/help.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn print_command_help(f: &mut Write, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / error_chain! { [INFO] [stdout] 16 | | foreign_links { [INFO] [stdout] 17 | | Fmt(::std::fmt::Error); [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/io.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / lazy_static! { [INFO] [stdout] 44 | | static ref WRITER_IMPL: Mutex = Mutex::new(WriterImpl::Info); [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / error_chain! { [INFO] [stdout] 16 | | foreign_links { [INFO] [stdout] 17 | | Fmt(::std::fmt::Error); [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bdrck_params v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/command.rs:87:39 [INFO] [stdout] | [INFO] [stdout] 87 | pub type CommandCallback<'a, E> = Box, [INFO] [stdout] | _______________________________________^ [INFO] [stdout] 88 | | HashMap, [INFO] [stdout] 89 | | HashMap>) [INFO] [stdout] 90 | | -> CommandResult + 'a>; [INFO] [stdout] | |____________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 87 ~ pub type CommandCallback<'a, E> = Box, [INFO] [stdout] 88 + HashMap, [INFO] [stdout] 89 + HashMap>) [INFO] [stdout] 90 ~ -> CommandResult + 'a>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/io.rs:35:36 [INFO] [stdout] | [INFO] [stdout] 35 | fn write_to_io_writer(writer: &mut io::Write, s: &str) -> result::Result<(), fmt::Error> { [INFO] [stdout] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/help.rs:19:44 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn print_program_help<'cbl, E>(f: &mut Write, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/help.rs:37:35 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn print_command_help(f: &mut Write, [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Write` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/tests/parse_and_execute.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | type TestCallback = Box, [INFO] [stdout] | _________________________^ [INFO] [stdout] 29 | | HashMap, [INFO] [stdout] 30 | | HashMap>)>; [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 28 ~ type TestCallback = Box, [INFO] [stdout] 29 + HashMap, [INFO] [stdout] 30 ~ HashMap>)>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / error_chain! { [INFO] [stdout] 16 | | foreign_links { [INFO] [stdout] 17 | | Fmt(::std::fmt::Error); [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/io.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | / lazy_static! { [INFO] [stdout] 44 | | static ref WRITER_IMPL: Mutex = Mutex::new(WriterImpl::Info); [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/error.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / error_chain! { [INFO] [stdout] 16 | | foreign_links { [INFO] [stdout] 17 | | Fmt(::std::fmt::Error); [INFO] [stdout] 18 | | } [INFO] [stdout] 19 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.67s [INFO] running `Command { std: "docker" "inspect" "3d187564ca5d6fd4358d849c47a9d3fc93af74b7cc6ce1c081b1a4a6799cb36c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d187564ca5d6fd4358d849c47a9d3fc93af74b7cc6ce1c081b1a4a6799cb36c", kill_on_drop: false }` [INFO] [stdout] 3d187564ca5d6fd4358d849c47a9d3fc93af74b7cc6ce1c081b1a4a6799cb36c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-47/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 509b9b13e5b361f0177a9071c043843b2edf17c603fb36ebf6641f1127263973 [INFO] running `Command { std: "docker" "start" "-a" "509b9b13e5b361f0177a9071c043843b2edf17c603fb36ebf6641f1127263973", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/command.rs:87:39 [INFO] [stderr] | [INFO] [stderr] 87 | pub type CommandCallback<'a, E> = Box, [INFO] [stderr] | _______________________________________^ [INFO] [stderr] 88 | | HashMap, [INFO] [stderr] 89 | | HashMap>) [INFO] [stderr] 90 | | -> CommandResult + 'a>; [INFO] [stderr] | |____________________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 87 ~ pub type CommandCallback<'a, E> = Box, [INFO] [stderr] 88 + HashMap, [INFO] [stderr] 89 + HashMap>) [INFO] [stderr] 90 ~ -> CommandResult + 'a>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/io.rs:35:36 [INFO] [stderr] | [INFO] [stderr] 35 | fn write_to_io_writer(writer: &mut io::Write, s: &str) -> result::Result<(), fmt::Error> { [INFO] [stderr] | ^^^^^^^^^ help: use `dyn`: `dyn io::Write` [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] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/help.rs:19:44 [INFO] [stderr] | [INFO] [stderr] 19 | pub fn print_program_help<'cbl, E>(f: &mut Write, [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Write` [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] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/help.rs:37:35 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn print_command_help(f: &mut Write, [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Write` [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] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | / error_chain! { [INFO] [stderr] 16 | | foreign_links { [INFO] [stderr] 17 | | Fmt(::std::fmt::Error); [INFO] [stderr] 18 | | } [INFO] [stderr] 19 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/io.rs:43:1 [INFO] [stderr] | [INFO] [stderr] 43 | / lazy_static! { [INFO] [stderr] 44 | | static ref WRITER_IMPL: Mutex = Mutex::new(WriterImpl::Info); [INFO] [stderr] 45 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `__lazy_static_create` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/error.rs:15:1 [INFO] [stderr] | [INFO] [stderr] 15 | / error_chain! { [INFO] [stderr] 16 | | foreign_links { [INFO] [stderr] 17 | | Fmt(::std::fmt::Error); [INFO] [stderr] 18 | | } [INFO] [stderr] 19 | | } [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `error_chain_processed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `bdrck_params` (lib) generated 7 warnings [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/tests/parse_and_execute.rs:28:25 [INFO] [stderr] | [INFO] [stderr] 28 | type TestCallback = Box, [INFO] [stderr] | _________________________^ [INFO] [stderr] 29 | | HashMap, [INFO] [stderr] 30 | | HashMap>)>; [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: use `dyn` [INFO] [stderr] | [INFO] [stderr] 28 ~ type TestCallback = Box, [INFO] [stderr] 29 + HashMap, [INFO] [stderr] 30 ~ HashMap>)>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `bdrck_params` (lib test) generated 8 warnings (7 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.35s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/bdrck_params-95c89da7489f6dc9) [INFO] [stdout] running 17 tests [INFO] [stdout] test tests::option::test_find_option ... ok [INFO] [stdout] test tests::parse_and_execute::test_parse_command_with_unused_arguments ... ok [INFO] [stdout] test tests::parse_and_execute::test_parse_arguments ... ok [INFO] [stdout] test tests::parse_and_execute::test_parse_command_no_arguments ... ok [INFO] [stdout] test tests::parse_and_execute::test_parse_and_execute ... ok [INFO] [stdout] test tests::parse_and_execute::test_parse_default_arguments ... ok [INFO] [stdout] test tests::parse_and_execute::test_default_options ... ok [INFO] [stdout] test tests::parse_and_execute::test_parse_options ... ok [INFO] [stdout] test tests::parse_and_execute::test_parse_flag_format_variations ... ok [INFO] [stdout] test tests::parse_and_execute::test_parse_option_format_variations ... ok [INFO] [stdout] test tests::parse_and_execute::test_parse_variadic_last_argument_empty ... ok [INFO] [stdout] test tests::parse_and_execute::test_parse_default_variadic_arguments ... ok [INFO] [stdout] test tests::parse_and_execute::test_parse_variadic_last_argument_many ... ok [INFO] [stdout] test tests::parse_and_execute::test_parse_missing_option_value - should panic ... ok [INFO] [stderr] Doc-tests bdrck_params [INFO] [stdout] test tests::parse_and_execute::test_parse_invalid_command - should panic ... ok [INFO] [stdout] test tests::parse_and_execute::test_parse_invalid_option - should panic ... ok [INFO] [stdout] test tests::parse_and_execute::test_missing_required_option - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.57s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "509b9b13e5b361f0177a9071c043843b2edf17c603fb36ebf6641f1127263973", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "509b9b13e5b361f0177a9071c043843b2edf17c603fb36ebf6641f1127263973", kill_on_drop: false }` [INFO] [stdout] 509b9b13e5b361f0177a9071c043843b2edf17c603fb36ebf6641f1127263973