[INFO] fetching crate mammoth-setup 0.0.1... [INFO] checking mammoth-setup-0.0.1 against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] extracting crate mammoth-setup 0.0.1 into /workspace/builds/worker-49/source [INFO] validating manifest of crates.io crate mammoth-setup 0.0.1 on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mammoth-setup 0.0.1 [INFO] finished tweaking crates.io crate mammoth-setup 0.0.1 [INFO] tweaked toml for crates.io crate mammoth-setup 0.0.1 written to /workspace/builds/worker-49/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cbaf23f38e2c4e7d3fdf52a7769386f1b87e67d7f13f0c5bdfa88d4a653e7c3c [INFO] running `Command { std: "docker" "start" "-a" "cbaf23f38e2c4e7d3fdf52a7769386f1b87e67d7f13f0c5bdfa88d4a653e7c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cbaf23f38e2c4e7d3fdf52a7769386f1b87e67d7f13f0c5bdfa88d4a653e7c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cbaf23f38e2c4e7d3fdf52a7769386f1b87e67d7f13f0c5bdfa88d4a653e7c3c", kill_on_drop: false }` [INFO] [stdout] cbaf23f38e2c4e7d3fdf52a7769386f1b87e67d7f13f0c5bdfa88d4a653e7c3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-49/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef9c8601f9cde5e79b85e4753bd1c58c9a679b6497ce570dedd8ab5618ac777b [INFO] running `Command { std: "docker" "start" "-a" "ef9c8601f9cde5e79b85e4753bd1c58c9a679b6497ce570dedd8ab5618ac777b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling cc v1.0.69 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking gimli v0.25.0 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking rustc-demangle v0.1.20 [INFO] [stderr] Compiling regex v1.1.9 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling backtrace v0.3.61 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Checking addr2line v0.16.0 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking mammoth-setup v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0603]: module `export` is private [INFO] [stdout] --> src/validation.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::export::PhantomData; [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `export` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.128/src/lib.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | use self::__private as export; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: module `export` is private [INFO] [stdout] --> src/validation.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::export::PhantomData; [INFO] [stdout] | ^^^^^^ private module [INFO] [stdout] | [INFO] [stdout] note: the module `export` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/serde-1.0.128/src/lib.rs:275:5 [INFO] [stdout] | [INFO] [stdout] 275 | use self::__private as export; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config/host.rs:187:37 [INFO] [stdout] | [INFO] [stdout] 187 | fn validate(&self, logger: &mut Logger, item: &Host) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Logger` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/config/mammoth.rs:63:37 [INFO] [stdout] | [INFO] [stdout] 63 | fn validate(&self, logger: &mut Logger, item: &Mammoth) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Logger` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/config/port.rs:117:37 [INFO] [stdout] | [INFO] [stdout] 117 | fn validate(&self, logger: &mut Logger, item: &Binding) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Logger` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/config/module.rs:177:70 [INFO] [stdout] | [INFO] [stdout] 177 | let constructor: Symbol) -> *mut MammothInterface> = library.get(b"__construct")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MammothInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/config/module.rs:198:37 [INFO] [stdout] | [INFO] [stdout] 198 | fn validate(&self, logger: &mut Logger, item: &Module) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Logger` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/config/module.rs:222:28 [INFO] [stdout] | [INFO] [stdout] 222 | let interface: Box = unsafe { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MammothInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/config/module.rs:223:70 [INFO] [stdout] | [INFO] [stdout] 223 | let constructor: Symbol) -> *mut MammothInterface> = lib.get(b"__construct")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MammothInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/config.rs:108:37 [INFO] [stdout] | [INFO] [stdout] 108 | fn validate(&self, logger: &mut Logger, item: &ConfigurationFile) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Logger` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/error.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | Generic(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ErrorTrait + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/loaded/library.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 26 | pub(in self) interface: Arc> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MammothInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/loaded/library.rs:70:61 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn insert(&mut self, name: &str, interface: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MammothInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/log.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | pub type AsyncLoggerReference = Arc>; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Logger` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/validation.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | fn validate(&self, _: &mut Logger, _: &T) -> Result<(), Error>; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Logger` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/validation.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | fn validate(&self, logger: &mut Logger, item: &&Path) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Logger` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/validation.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | impl Validator for Fn(&mut Logger, &T) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Logger, &T) -> Result<(), Error>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/validation.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | impl Validator for Fn(&mut Logger, &T) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Logger` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/validation.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | fn validate(&self, logger: &mut Logger, item: &T) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Logger` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/validation.rs:63:37 [INFO] [stdout] | [INFO] [stdout] 63 | fn validate(&self, logger: &mut Logger, item: &Vec) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Logger` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/validation.rs:87:37 [INFO] [stdout] | [INFO] [stdout] 87 | fn validate(&self, logger: &mut Logger, item: &Vec<&I>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Logger` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/lib.rs:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | fn on_validation(&self, _: &mut Logger) -> Result<(), Error>; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Logger` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/config/host.rs:187:37 [INFO] [stdout] | [INFO] [stdout] 187 | fn validate(&self, logger: &mut Logger, item: &Host) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Logger` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/config/mammoth.rs:63:37 [INFO] [stdout] | [INFO] [stdout] 63 | fn validate(&self, logger: &mut Logger, item: &Mammoth) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Logger` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/config/port.rs:117:37 [INFO] [stdout] | [INFO] [stdout] 117 | fn validate(&self, logger: &mut Logger, item: &Binding) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Logger` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/config/module.rs:177:70 [INFO] [stdout] | [INFO] [stdout] 177 | let constructor: Symbol) -> *mut MammothInterface> = library.get(b"__construct")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MammothInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/config/module.rs:198:37 [INFO] [stdout] | [INFO] [stdout] 198 | fn validate(&self, logger: &mut Logger, item: &Module) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Logger` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/config/module.rs:222:28 [INFO] [stdout] | [INFO] [stdout] 222 | let interface: Box = unsafe { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MammothInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/config/module.rs:223:70 [INFO] [stdout] | [INFO] [stdout] 223 | let constructor: Symbol) -> *mut MammothInterface> = lib.get(b"__construct")?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MammothInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/config.rs:108:37 [INFO] [stdout] | [INFO] [stdout] 108 | fn validate(&self, logger: &mut Logger, item: &ConfigurationFile) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Logger` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/error.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | Generic(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ErrorTrait + Send + Sync` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/loaded/library.rs:26:37 [INFO] [stdout] | [INFO] [stdout] 26 | pub(in self) interface: Arc> [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MammothInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/loaded/library.rs:70:61 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn insert(&mut self, name: &str, interface: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn MammothInterface` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/log.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | pub type AsyncLoggerReference = Arc>; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Logger` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/validation.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | fn validate(&self, _: &mut Logger, _: &T) -> Result<(), Error>; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Logger` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/validation.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | fn validate(&self, logger: &mut Logger, item: &&Path) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Logger` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/validation.rs:50:26 [INFO] [stdout] | [INFO] [stdout] 50 | impl Validator for Fn(&mut Logger, &T) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Logger, &T) -> Result<(), Error>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/validation.rs:50:34 [INFO] [stdout] | [INFO] [stdout] 50 | impl Validator for Fn(&mut Logger, &T) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Logger` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/validation.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | fn validate(&self, logger: &mut Logger, item: &T) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Logger` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/validation.rs:63:37 [INFO] [stdout] | [INFO] [stdout] 63 | fn validate(&self, logger: &mut Logger, item: &Vec) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Logger` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/validation.rs:87:37 [INFO] [stdout] | [INFO] [stdout] 87 | fn validate(&self, logger: &mut Logger, item: &Vec<&I>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Logger` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) 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/lib.rs:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | fn on_validation(&self, _: &mut Logger) -> Result<(), Error>; [INFO] [stdout] | ^^^^^^ help: use `dyn`: `dyn Logger` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/config.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | IdValidator(Severity::Critical, mods_dir.to_path_buf(), PhantomData) [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type parameter `I` declared on the struct `IdValidator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/config.rs:118:13 [INFO] [stdout] | [INFO] [stdout] 118 | IdValidator(Severity::Critical, mods_dir.to_path_buf(), PhantomData) [INFO] [stdout] | ^^^^^^^^^^^ cannot infer type for type parameter `I` declared on the struct `IdValidator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `IdValidator` [INFO] [stdout] --> src/config/host.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | let validator = IdValidator(Severity::Critical, self.clone(), PhantomData); [INFO] [stdout] | --------- ^^^^^^^^^^^ cannot infer type for type parameter `I` declared on the struct `IdValidator` [INFO] [stdout] | | [INFO] [stdout] | consider giving `validator` the explicit type `IdValidator`, where the type parameter `I` is specified [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed for `IdValidator` [INFO] [stdout] --> src/config/host.rs:208:25 [INFO] [stdout] | [INFO] [stdout] 208 | let validator = IdValidator(Severity::Critical, self.clone(), PhantomData); [INFO] [stdout] | --------- ^^^^^^^^^^^ cannot infer type for type parameter `I` declared on the struct `IdValidator` [INFO] [stdout] | | [INFO] [stdout] | consider giving `validator` the explicit type `IdValidator`, where the type parameter `I` is specified [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mammoth-setup` due to 4 previous errors; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 3 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ef9c8601f9cde5e79b85e4753bd1c58c9a679b6497ce570dedd8ab5618ac777b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef9c8601f9cde5e79b85e4753bd1c58c9a679b6497ce570dedd8ab5618ac777b", kill_on_drop: false }` [INFO] [stdout] ef9c8601f9cde5e79b85e4753bd1c58c9a679b6497ce570dedd8ab5618ac777b