[INFO] fetching crate mammoth-setup 0.0.1... [INFO] checking mammoth-setup-0.0.1 against master#936f2600b6c903b04387f74ed5cbce88bb06d243 for pr-91141 [INFO] extracting crate mammoth-setup 0.0.1 into /workspace/builds/worker-32/source [INFO] validating manifest of crates.io crate mammoth-setup 0.0.1 on toolchain 936f2600b6c903b04387f74ed5cbce88bb06d243 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "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-32/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "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" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "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-32/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/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" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16c272ac7e01be51165b7d50eabf16aba0169a7225ea9ed0470608344f5f17c8 [INFO] running `Command { std: "docker" "start" "-a" "16c272ac7e01be51165b7d50eabf16aba0169a7225ea9ed0470608344f5f17c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16c272ac7e01be51165b7d50eabf16aba0169a7225ea9ed0470608344f5f17c8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16c272ac7e01be51165b7d50eabf16aba0169a7225ea9ed0470608344f5f17c8", kill_on_drop: false }` [INFO] [stdout] 16c272ac7e01be51165b7d50eabf16aba0169a7225ea9ed0470608344f5f17c8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-32/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" "+936f2600b6c903b04387f74ed5cbce88bb06d243" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] de549940cf7fafda5736147b564342ea4bb70ffcd2a8f86819203b1936f59b85 [INFO] running `Command { std: "docker" "start" "-a" "de549940cf7fafda5736147b564342ea4bb70ffcd2a8f86819203b1936f59b85", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling regex v1.1.9 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling openssl v0.10.38 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling backtrace v0.3.63 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking object v0.27.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Compiling openssl-sys v0.9.71 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Compiling synstructure v0.12.6 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Compiling serde_derive v1.0.130 [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.130/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] 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.130/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] 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[E0283]: 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] note: multiple `impl`s satisfying `PathBuf: Validator<_>` found [INFO] [stdout] --> src/config/host.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | impl Validator for PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config/module.rs:197:1 [INFO] [stdout] | [INFO] [stdout] 197 | impl Validator for PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `IdValidator` [INFO] [stdout] --> src/validation.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct IdValidator> (pub Severity, pub V, pub PhantomData); [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `IdValidator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: 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] note: multiple `impl`s satisfying `PathBuf: Validator<_>` found [INFO] [stdout] --> src/config/host.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | impl Validator for PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config/module.rs:197:1 [INFO] [stdout] | [INFO] [stdout] 197 | impl Validator for PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `IdValidator` [INFO] [stdout] --> src/validation.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct IdValidator> (pub Severity, pub V, pub PhantomData); [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `IdValidator` [INFO] [stdout] help: consider specifying the type arguments in the function call [INFO] [stdout] | [INFO] [stdout] 208 | let validator = IdValidator(Severity::Critical, self.clone(), PhantomData)::; [INFO] [stdout] | ++++++++ [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[E0283]: 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] note: multiple `impl`s satisfying `PathBuf: Validator<_>` found [INFO] [stdout] --> src/config/host.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | impl Validator for PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config/module.rs:197:1 [INFO] [stdout] | [INFO] [stdout] 197 | impl Validator for PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `IdValidator` [INFO] [stdout] --> src/validation.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct IdValidator> (pub Severity, pub V, pub PhantomData); [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `IdValidator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: 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] note: multiple `impl`s satisfying `PathBuf: Validator<_>` found [INFO] [stdout] --> src/config/host.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | impl Validator for PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config/module.rs:197:1 [INFO] [stdout] | [INFO] [stdout] 197 | impl Validator for PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `IdValidator` [INFO] [stdout] --> src/validation.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct IdValidator> (pub Severity, pub V, pub PhantomData); [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `IdValidator` [INFO] [stdout] help: consider specifying the type arguments in the function call [INFO] [stdout] | [INFO] [stdout] 118 | IdValidator(Severity::Critical, mods_dir.to_path_buf(), PhantomData):: [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/config.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | 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] note: multiple `impl`s satisfying `PathBuf: Validator<_>` found [INFO] [stdout] --> src/config/host.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | impl Validator for PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config/module.rs:197:1 [INFO] [stdout] | [INFO] [stdout] 197 | impl Validator for PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `IdValidator` [INFO] [stdout] --> src/validation.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct IdValidator> (pub Severity, pub V, pub PhantomData); [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `IdValidator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/config.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | 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] note: multiple `impl`s satisfying `PathBuf: Validator<_>` found [INFO] [stdout] --> src/config/host.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | impl Validator for PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config/module.rs:197:1 [INFO] [stdout] | [INFO] [stdout] 197 | impl Validator for PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `IdValidator` [INFO] [stdout] --> src/validation.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct IdValidator> (pub Severity, pub V, pub PhantomData); [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `IdValidator` [INFO] [stdout] help: consider specifying the type arguments in the function call [INFO] [stdout] | [INFO] [stdout] 120 | IdValidator(Severity::Critical, mods_dir.to_path_buf(), PhantomData):: [INFO] [stdout] | ++++++++ [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[E0283]: 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] note: multiple `impl`s satisfying `PathBuf: Validator<_>` found [INFO] [stdout] --> src/config/host.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | impl Validator for PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config/module.rs:197:1 [INFO] [stdout] | [INFO] [stdout] 197 | impl Validator for PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `IdValidator` [INFO] [stdout] --> src/validation.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct IdValidator> (pub Severity, pub V, pub PhantomData); [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `IdValidator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: 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] note: multiple `impl`s satisfying `PathBuf: Validator<_>` found [INFO] [stdout] --> src/config/host.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | impl Validator for PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config/module.rs:197:1 [INFO] [stdout] | [INFO] [stdout] 197 | impl Validator for PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `IdValidator` [INFO] [stdout] --> src/validation.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct IdValidator> (pub Severity, pub V, pub PhantomData); [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `IdValidator` [INFO] [stdout] help: consider specifying the type arguments in the function call [INFO] [stdout] | [INFO] [stdout] 208 | let validator = IdValidator(Severity::Critical, self.clone(), PhantomData)::; [INFO] [stdout] | ++++++++ [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[E0283]: 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] note: multiple `impl`s satisfying `PathBuf: Validator<_>` found [INFO] [stdout] --> src/config/host.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | impl Validator for PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config/module.rs:197:1 [INFO] [stdout] | [INFO] [stdout] 197 | impl Validator for PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `IdValidator` [INFO] [stdout] --> src/validation.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct IdValidator> (pub Severity, pub V, pub PhantomData); [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `IdValidator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: 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] note: multiple `impl`s satisfying `PathBuf: Validator<_>` found [INFO] [stdout] --> src/config/host.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | impl Validator for PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config/module.rs:197:1 [INFO] [stdout] | [INFO] [stdout] 197 | impl Validator for PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `IdValidator` [INFO] [stdout] --> src/validation.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct IdValidator> (pub Severity, pub V, pub PhantomData); [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `IdValidator` [INFO] [stdout] help: consider specifying the type arguments in the function call [INFO] [stdout] | [INFO] [stdout] 118 | IdValidator(Severity::Critical, mods_dir.to_path_buf(), PhantomData):: [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/config.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | 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] note: multiple `impl`s satisfying `PathBuf: Validator<_>` found [INFO] [stdout] --> src/config/host.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | impl Validator for PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config/module.rs:197:1 [INFO] [stdout] | [INFO] [stdout] 197 | impl Validator for PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `IdValidator` [INFO] [stdout] --> src/validation.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct IdValidator> (pub Severity, pub V, pub PhantomData); [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `IdValidator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/config.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 120 | 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] note: multiple `impl`s satisfying `PathBuf: Validator<_>` found [INFO] [stdout] --> src/config/host.rs:186:1 [INFO] [stdout] | [INFO] [stdout] 186 | impl Validator for PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: src/config/module.rs:197:1 [INFO] [stdout] | [INFO] [stdout] 197 | impl Validator for PathBuf { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: required by a bound in `IdValidator` [INFO] [stdout] --> src/validation.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct IdValidator> (pub Severity, pub V, pub PhantomData); [INFO] [stdout] | ^^^^^^^^^^^^ required by this bound in `IdValidator` [INFO] [stdout] help: consider specifying the type arguments in the function call [INFO] [stdout] | [INFO] [stdout] 120 | IdValidator(Severity::Critical, mods_dir.to_path_buf(), PhantomData):: [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0283, 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 10 previous errors; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 9 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0283, 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" "de549940cf7fafda5736147b564342ea4bb70ffcd2a8f86819203b1936f59b85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de549940cf7fafda5736147b564342ea4bb70ffcd2a8f86819203b1936f59b85", kill_on_drop: false }` [INFO] [stdout] de549940cf7fafda5736147b564342ea4bb70ffcd2a8f86819203b1936f59b85