[INFO] fetching crate mammoth-setup 0.0.1... [INFO] checking mammoth-setup-0.0.1 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate mammoth-setup 0.0.1 into /workspace/builds/worker-21/source [INFO] validating manifest of crates.io crate mammoth-setup 0.0.1 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-21/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mammoth-macro v0.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6708c463d8eece0de514a942cff1914e9c65cc41ad85982d2fc4d44c7a0876fa [INFO] running `Command { std: "docker" "start" "-a" "6708c463d8eece0de514a942cff1914e9c65cc41ad85982d2fc4d44c7a0876fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6708c463d8eece0de514a942cff1914e9c65cc41ad85982d2fc4d44c7a0876fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6708c463d8eece0de514a942cff1914e9c65cc41ad85982d2fc4d44c7a0876fa", kill_on_drop: false }` [INFO] [stdout] 6708c463d8eece0de514a942cff1914e9c65cc41ad85982d2fc4d44c7a0876fa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fe9c921ff34c72de022972010750bb9b8046890cbd7887bc6ef40f5d77840592 [INFO] running `Command { std: "docker" "start" "-a" "fe9c921ff34c72de022972010750bb9b8046890cbd7887bc6ef40f5d77840592", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling serde v1.0.128 [INFO] [stderr] Compiling openssl v0.10.36 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling regex v1.1.9 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking semver-parser v0.7.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking utf8-ranges v1.0.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling openssl-sys v0.9.66 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking semver v0.9.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Compiling synstructure v0.12.5 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling serde_derive v1.0.128 [INFO] [stderr] Checking failure v0.1.8 [INFO] [stderr] Checking mammoth-setup v0.0.1 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [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: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [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 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[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: `--force-warn bare-trait-objects` implied by `--force-warn rust-2021-compatibility` [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 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: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "fe9c921ff34c72de022972010750bb9b8046890cbd7887bc6ef40f5d77840592", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe9c921ff34c72de022972010750bb9b8046890cbd7887bc6ef40f5d77840592", kill_on_drop: false }` [INFO] [stdout] fe9c921ff34c72de022972010750bb9b8046890cbd7887bc6ef40f5d77840592