[INFO] fetching crate artifact 0.2.4... [INFO] testing artifact-0.2.4 against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] extracting crate artifact 0.2.4 into /workspace/builds/worker-51/source [INFO] validating manifest of crates.io crate artifact 0.2.4 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 artifact 0.2.4 [INFO] finished tweaking crates.io crate artifact 0.2.4 [INFO] tweaked toml for crates.io crate artifact 0.2.4 written to /workspace/builds/worker-51/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] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded lazy_static v0.1.16 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/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] bf94a3b6614f9203b1f637d9aec58c618b4145f2c3a43033266c35c0ba630b77 [INFO] running `Command { std: "docker" "start" "-a" "bf94a3b6614f9203b1f637d9aec58c618b4145f2c3a43033266c35c0ba630b77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf94a3b6614f9203b1f637d9aec58c618b4145f2c3a43033266c35c0ba630b77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf94a3b6614f9203b1f637d9aec58c618b4145f2c3a43033266c35c0ba630b77", kill_on_drop: false }` [INFO] [stdout] bf94a3b6614f9203b1f637d9aec58c618b4145f2c3a43033266c35c0ba630b77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/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] 32d53a9e812072716d29d7ca5c69d73e335a65a728d15dc8e16f64de3759056e [INFO] running `Command { std: "docker" "start" "-a" "32d53a9e812072716d29d7ca5c69d73e335a65a728d15dc8e16f64de3759056e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling lazy_static v0.1.16 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling artifact v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/logger.rs:68:41 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn set_default_formatter(fmtr:Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/logger.rs:152:43 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn set_format(&self, formatter: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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/format.rs:86:43 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn new_basic_format_instance() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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/internal/task.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | SetFormatter(String, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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/internal/task.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | SetDefaultFormatter(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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/internal/task.rs:80:35 [INFO] [stdout] | [INFO] [stdout] 80 | formatters: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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/internal/task.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | default_formatter: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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/internal/task.rs:135:63 [INFO] [stdout] | [INFO] [stdout] 135 | fn get_formatter<'a>(&'a self, logger_name:&str) -> &'a Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/internal/comm.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / lazy_static!( [INFO] [stdout] 34 | | static ref GLOBAL_LOGGER_ACCESS: Mutex> = Mutex::new(None); [INFO] [stdout] 35 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (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/internal/comm.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / lazy_static!( [INFO] [stdout] 34 | | static ref GLOBAL_LOGGER_ACCESS: Mutex> = Mutex::new(None); [INFO] [stdout] 35 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/file_log.rs:27:48 [INFO] [stdout] | [INFO] [stdout] 27 | logger.set_format(Box::new(FooFormat) as Box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/file_log.rs:30:60 [INFO] [stdout] | [INFO] [stdout] 30 | Logger::set_default_formatter(Box::new(FooFormat) as Box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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/bin/multi_logger.rs:39:54 [INFO] [stdout] | [INFO] [stdout] 39 | multi_logger.set_format(Box::new(MultiForm) as Box); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.02s [INFO] running `Command { std: "docker" "inspect" "32d53a9e812072716d29d7ca5c69d73e335a65a728d15dc8e16f64de3759056e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32d53a9e812072716d29d7ca5c69d73e335a65a728d15dc8e16f64de3759056e", kill_on_drop: false }` [INFO] [stdout] 32d53a9e812072716d29d7ca5c69d73e335a65a728d15dc8e16f64de3759056e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/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] 726877b78e5fcc62fc4682ddc0605b82c398acc9f2d92a0d7dcb047204bc2375 [INFO] running `Command { std: "docker" "start" "-a" "726877b78e5fcc62fc4682ddc0605b82c398acc9f2d92a0d7dcb047204bc2375", kill_on_drop: false }` [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/logger.rs:68:41 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn set_default_formatter(fmtr:Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/logger.rs:152:43 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn set_format(&self, formatter: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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/format.rs:86:43 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn new_basic_format_instance() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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/internal/task.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | SetFormatter(String, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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/internal/task.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | SetDefaultFormatter(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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/internal/task.rs:80:35 [INFO] [stdout] | [INFO] [stdout] 80 | formatters: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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/internal/task.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | default_formatter: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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/internal/task.rs:135:63 [INFO] [stdout] | [INFO] [stdout] 135 | fn get_formatter<'a>(&'a self, logger_name:&str) -> &'a Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/internal/comm.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / lazy_static!( [INFO] [stdout] 34 | | static ref GLOBAL_LOGGER_ACCESS: Mutex> = Mutex::new(None); [INFO] [stdout] 35 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling artifact v0.2.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/internal/comm.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / lazy_static!( [INFO] [stdout] 34 | | static ref GLOBAL_LOGGER_ACCESS: Mutex> = Mutex::new(None); [INFO] [stdout] 35 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/logger.rs:68:41 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn set_default_formatter(fmtr:Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/logger.rs:152:43 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn set_format(&self, formatter: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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/format.rs:86:43 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn new_basic_format_instance() -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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/internal/task.rs:62:28 [INFO] [stdout] | [INFO] [stdout] 62 | SetFormatter(String, Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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/internal/task.rs:63:27 [INFO] [stdout] | [INFO] [stdout] 63 | SetDefaultFormatter(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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/internal/task.rs:80:35 [INFO] [stdout] | [INFO] [stdout] 80 | formatters: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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/internal/task.rs:81:26 [INFO] [stdout] | [INFO] [stdout] 81 | default_formatter: Box, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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/internal/task.rs:135:63 [INFO] [stdout] | [INFO] [stdout] 135 | fn get_formatter<'a>(&'a self, logger_name:&str) -> &'a Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/internal/comm.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / lazy_static!( [INFO] [stdout] 34 | | static ref GLOBAL_LOGGER_ACCESS: Mutex> = Mutex::new(None); [INFO] [stdout] 35 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (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/internal/comm.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / lazy_static!( [INFO] [stdout] 34 | | static ref GLOBAL_LOGGER_ACCESS: Mutex> = Mutex::new(None); [INFO] [stdout] 35 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.59s [INFO] running `Command { std: "docker" "inspect" "726877b78e5fcc62fc4682ddc0605b82c398acc9f2d92a0d7dcb047204bc2375", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "726877b78e5fcc62fc4682ddc0605b82c398acc9f2d92a0d7dcb047204bc2375", kill_on_drop: false }` [INFO] [stdout] 726877b78e5fcc62fc4682ddc0605b82c398acc9f2d92a0d7dcb047204bc2375 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-51/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] 857b060ed724fb09ab0dffc0bcda1f60b729d187ae9d92c821c774a4409c141a [INFO] running `Command { std: "docker" "start" "-a" "857b060ed724fb09ab0dffc0bcda1f60b729d187ae9d92c821c774a4409c141a", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/logger.rs:68:41 [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 68 | pub fn set_default_formatter(fmtr:Box) { [INFO] [stdout] running 0 tests [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [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/logger.rs:152:43 [INFO] [stderr] | [INFO] [stderr] 152 | pub fn set_format(&self, formatter: Box) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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/format.rs:86:43 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn new_basic_format_instance() -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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/internal/task.rs:62:28 [INFO] [stderr] | [INFO] [stderr] 62 | SetFormatter(String, Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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/internal/task.rs:63:27 [INFO] [stderr] | [INFO] [stderr] 63 | SetDefaultFormatter(Box), [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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/internal/task.rs:80:35 [INFO] [stderr] | [INFO] [stderr] 80 | formatters: HashMap>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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/internal/task.rs:81:26 [INFO] [stderr] | [INFO] [stderr] 81 | default_formatter: Box, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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/internal/task.rs:135:63 [INFO] [stderr] | [INFO] [stderr] 135 | fn get_formatter<'a>(&'a self, logger_name:&str) -> &'a Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MessageFormatter` [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 constant `std::sync::ONCE_INIT`: the `new` function is now preferred [INFO] [stderr] --> src/internal/comm.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | / lazy_static!( [INFO] [stderr] 34 | | static ref GLOBAL_LOGGER_ACCESS: Mutex> = Mutex::new(None); [INFO] [stderr] 35 | | ); [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `lazy_static` (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/internal/comm.rs:33:1 [INFO] [stderr] | [INFO] [stderr] 33 | / lazy_static!( [INFO] [stderr] 34 | | static ref GLOBAL_LOGGER_ACCESS: Mutex> = Mutex::new(None); [INFO] [stderr] 35 | | ); [INFO] [stderr] | |_^ [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `artifact` (lib) generated 10 warnings [INFO] [stderr] warning: `artifact` (lib test) generated 10 warnings (10 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/artifact-a0d41a635a1e10c1) [INFO] [stderr] Doc-tests artifact [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" "857b060ed724fb09ab0dffc0bcda1f60b729d187ae9d92c821c774a4409c141a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "857b060ed724fb09ab0dffc0bcda1f60b729d187ae9d92c821c774a4409c141a", kill_on_drop: false }` [INFO] [stdout] 857b060ed724fb09ab0dffc0bcda1f60b729d187ae9d92c821c774a4409c141a