[INFO] fetching crate hassium-core 0.1.3... [INFO] checking hassium-core-0.1.3 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate hassium-core 0.1.3 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate hassium-core 0.1.3 [INFO] finished tweaking crates.io crate hassium-core 0.1.3 [INFO] tweaked toml for crates.io crate hassium-core 0.1.3 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hassium-core 0.1.3 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 85 packages to latest compatible versions [INFO] [stderr] Adding specs v0.14.3 (available: v0.20.0) [INFO] [stderr] Adding specs-hierarchy v0.3.1 (available: v0.6.0) [INFO] [stderr] Adding uuid v0.7.4 (available: v1.18.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tuple_utils v0.2.0 [INFO] [stderr] Downloaded nonzero_signed v1.0.4 [INFO] [stderr] Downloaded shred v0.7.2 [INFO] [stderr] Downloaded shred-derive v0.5.1 [INFO] [stderr] Downloaded crossbeam v0.4.1 [INFO] [stderr] Downloaded specs-hierarchy v0.3.1 [INFO] [stderr] Downloaded crossbeam-deque v0.5.2 [INFO] [stderr] Downloaded specs v0.14.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe09bbb9249ab567f3ef2fee4609a54b607e7b1aa69f022c357f22ad7a8aed5d [INFO] running `Command { std: "docker" "start" "-a" "fe09bbb9249ab567f3ef2fee4609a54b607e7b1aa69f022c357f22ad7a8aed5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe09bbb9249ab567f3ef2fee4609a54b607e7b1aa69f022c357f22ad7a8aed5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe09bbb9249ab567f3ef2fee4609a54b607e7b1aa69f022c357f22ad7a8aed5d", kill_on_drop: false }` [INFO] [stdout] fe09bbb9249ab567f3ef2fee4609a54b607e7b1aa69f022c357f22ad7a8aed5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d601f20249728c7004424c8ac23f725c0d2bcc7d6f3fb867cfbcb4acd5a1a47c [INFO] running `Command { std: "docker" "start" "-a" "d601f20249728c7004424c8ac23f725c0d2bcc7d6f3fb867cfbcb4acd5a1a47c", kill_on_drop: false }` [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking owning_ref v0.4.1 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking crossbeam-utils v0.5.0 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking crossbeam-utils v0.6.6 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking atom v0.3.6 [INFO] [stderr] Checking mopa v0.2.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Checking hibitset v0.5.4 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking tuple_utils v0.2.0 [INFO] [stderr] Checking shrev v1.1.3 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking crossbeam-epoch v0.6.1 [INFO] [stderr] Checking crossbeam-epoch v0.5.2 [INFO] [stderr] Checking shred v0.7.2 [INFO] [stderr] Checking crossbeam-deque v0.5.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking nonzero_signed v1.0.4 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking crossbeam-channel v0.2.6 [INFO] [stderr] Checking crossbeam v0.4.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Compiling shred-derive v0.5.1 [INFO] [stderr] Checking specs v0.14.3 [INFO] [stderr] Checking specs-hierarchy v0.3.1 [INFO] [stderr] Checking uuid v0.7.4 [INFO] [stderr] Checking hassium-core v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | pub use crate::{ [INFO] [stdout] | _____________^ [INFO] [stdout] 30 | | app::*, assets::prelude::*, assets::*, ecs::*, fetch::prelude::*, fetch::*, hierarchy::*, [INFO] [stdout] | | -------- but the name `prelude` in the type namespace is also re-exported here [INFO] [stdout] 31 | | id::*, log::*, state::*, [INFO] [stdout] 32 | | }; [INFO] [stdout] | |_____^ the name `prelude` in the type namespace is first re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/assets/database.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | fetch_engines: Vec>, [INFO] [stdout] | ^^^^^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | fetch_engines: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/assets/database.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | protocols: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | protocols: HashMap>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/assets/database.rs:22:43 [INFO] [stdout] | [INFO] [stdout] 22 | loading: HashMap)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | loading: HashMap)>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fetch/mod.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | impl Clone for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | impl Clone for Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fetch/mod.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | fn box_clone(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | fn box_clone(&self) -> Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:29:13 [INFO] [stdout] | [INFO] [stdout] 29 | pub use crate::{ [INFO] [stdout] | _____________^ [INFO] [stdout] 30 | | app::*, assets::prelude::*, assets::*, ecs::*, fetch::prelude::*, fetch::*, hierarchy::*, [INFO] [stdout] | | -------- but the name `prelude` in the type namespace is also re-exported here [INFO] [stdout] 31 | | id::*, log::*, state::*, [INFO] [stdout] 32 | | }; [INFO] [stdout] | |_____^ the name `prelude` in the type namespace is first re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fetch/mod.rs:146:51 [INFO] [stdout] | [INFO] [stdout] 146 | fn fetch(&mut self, path: &str) -> Result, FetchStatus>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 | fn fetch(&mut self, path: &str) -> Result, FetchStatus>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fetch/mod.rs:148:38 [INFO] [stdout] | [INFO] [stdout] 148 | fn cancel(&mut self, reader: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 148 | fn cancel(&mut self, reader: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fetch/engines/fs.rs:20:51 [INFO] [stdout] | [INFO] [stdout] 20 | fn fetch(&mut self, path: &str) -> Result, FetchStatus> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | fn fetch(&mut self, path: &str) -> Result, FetchStatus> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fetch/engines/map.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | fn fetch(&mut self, path: &str) -> Result, FetchStatus> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | fn fetch(&mut self, path: &str) -> Result, FetchStatus> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fetch/mod.rs:140:32 [INFO] [stdout] | [INFO] [stdout] 140 | fn box_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 140 | fn box_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/assets/database.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | fetch_engines: Vec>, [INFO] [stdout] | ^^^^^^^^^^^ [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | fetch_engines: Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/assets/database.rs:149:59 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn push_fetch_engine(&mut self, fetch_engine: Box) { [INFO] [stdout] | ^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 149 | pub fn push_fetch_engine(&mut self, fetch_engine: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/assets/database.rs:19:36 [INFO] [stdout] | [INFO] [stdout] 19 | protocols: HashMap>, [INFO] [stdout] | ^^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | protocols: HashMap>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/assets/database.rs:153:54 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn pop_fetch_engine(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 153 | pub fn pop_fetch_engine(&mut self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/assets/database.rs:22:43 [INFO] [stdout] | [INFO] [stdout] 22 | loading: HashMap)>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | loading: HashMap)>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/assets/database.rs:173:23 [INFO] [stdout] | [INFO] [stdout] 173 | F: FnMut(&mut FetchEngine) -> R, [INFO] [stdout] | ^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 173 | F: FnMut(&mut dyn FetchEngine) -> R, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/assets/database.rs:188:69 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn unregister(&mut self, protocol_name: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 188 | pub fn unregister(&mut self, protocol_name: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fetch/mod.rs:35:20 [INFO] [stdout] | [INFO] [stdout] 35 | impl Clone for Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 | impl Clone for Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fetch/mod.rs:32:32 [INFO] [stdout] | [INFO] [stdout] 32 | fn box_clone(&self) -> Box; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 32 | fn box_clone(&self) -> Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fetch/mod.rs:146:51 [INFO] [stdout] | [INFO] [stdout] 146 | fn fetch(&mut self, path: &str) -> Result, FetchStatus>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 146 | fn fetch(&mut self, path: &str) -> Result, FetchStatus>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fetch/mod.rs:148:38 [INFO] [stdout] | [INFO] [stdout] 148 | fn cancel(&mut self, reader: Box) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 148 | fn cancel(&mut self, reader: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fetch/engines/fs.rs:20:51 [INFO] [stdout] | [INFO] [stdout] 20 | fn fetch(&mut self, path: &str) -> Result, FetchStatus> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 | fn fetch(&mut self, path: &str) -> Result, FetchStatus> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fetch/engines/map.rs:16:51 [INFO] [stdout] | [INFO] [stdout] 16 | fn fetch(&mut self, path: &str) -> Result, FetchStatus> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 | fn fetch(&mut self, path: &str) -> Result, FetchStatus> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fetch/mod.rs:140:32 [INFO] [stdout] | [INFO] [stdout] 140 | fn box_clone(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 140 | fn box_clone(&self) -> Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/assets/database.rs:149:59 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn push_fetch_engine(&mut self, fetch_engine: Box) { [INFO] [stdout] | ^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 149 | pub fn push_fetch_engine(&mut self, fetch_engine: Box) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/assets/database.rs:153:54 [INFO] [stdout] | [INFO] [stdout] 153 | pub fn pop_fetch_engine(&mut self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 153 | pub fn pop_fetch_engine(&mut self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/assets/database.rs:173:23 [INFO] [stdout] | [INFO] [stdout] 173 | F: FnMut(&mut FetchEngine) -> R, [INFO] [stdout] | ^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 173 | F: FnMut(&mut dyn FetchEngine) -> R, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/assets/database.rs:188:69 [INFO] [stdout] | [INFO] [stdout] 188 | pub fn unregister(&mut self, protocol_name: &str) -> Option> { [INFO] [stdout] | ^^^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 188 | pub fn unregister(&mut self, protocol_name: &str) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/assets/database.rs:175:32 [INFO] [stdout] | [INFO] [stdout] 175 | let fetch_engine: &mut FetchEngine = self.fetch_engine_mut().borrow_mut(); [INFO] [stdout] | ^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 175 | let fetch_engine: &mut dyn FetchEngine = self.fetch_engine_mut().borrow_mut(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/assets/database.rs:175:32 [INFO] [stdout] | [INFO] [stdout] 175 | let fetch_engine: &mut FetchEngine = self.fetch_engine_mut().borrow_mut(); [INFO] [stdout] | ^^^^^^^^^^^ [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] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 175 | let fetch_engine: &mut dyn FetchEngine = self.fetch_engine_mut().borrow_mut(); [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/assets/database.rs:348:42 [INFO] [stdout] | [INFO] [stdout] 348 | ... let asset = &(*ptr).table[path]; [INFO] [stdout] | ^^---^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const database::AssetsDatabase` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&HashMap>` [INFO] [stdout] --> src/assets/database.rs:348:42 [INFO] [stdout] | [INFO] [stdout] 348 | ... let asset = &(*ptr).table[path]; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 348 | let asset = &(&(*ptr).table)[path]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/assets/database.rs:349:42 [INFO] [stdout] | [INFO] [stdout] 349 | ... let asset = &(*ptr).assets[asset].1; [INFO] [stdout] | ^^---^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const database::AssetsDatabase` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&HashMap, (std::string::String, Asset)>` [INFO] [stdout] --> src/assets/database.rs:349:42 [INFO] [stdout] | [INFO] [stdout] 349 | ... let asset = &(*ptr).assets[asset].1; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 349 | let asset = &(&(*ptr).assets)[asset].1; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/fetch/mod.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | Box::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 153 | let _ = Box::from_raw(ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing [INFO] [stdout] --> src/tests.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | drop(runner.run(SyncAppRunner::default())); [INFO] [stdout] | ^^^^^------------------------------------^ [INFO] [stdout] | | [INFO] [stdout] | argument has type `std::result::Result<(), ()>` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dropping_copy_types)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the expression or result [INFO] [stdout] | [INFO] [stdout] 84 - drop(runner.run(SyncAppRunner::default())); [INFO] [stdout] 84 + let _ = runner.run(SyncAppRunner::default()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/assets/database.rs:348:42 [INFO] [stdout] | [INFO] [stdout] 348 | ... let asset = &(*ptr).table[path]; [INFO] [stdout] | ^^---^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const AssetsDatabase` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&HashMap>` [INFO] [stdout] --> src/assets/database.rs:348:42 [INFO] [stdout] | [INFO] [stdout] 348 | ... let asset = &(*ptr).table[path]; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] = note: `#[deny(dangerous_implicit_autorefs)]` on by default [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 348 | let asset = &(&(*ptr).table)[path]; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: implicit autoref creates a reference to the dereference of a raw pointer [INFO] [stdout] --> src/assets/database.rs:349:42 [INFO] [stdout] | [INFO] [stdout] 349 | ... let asset = &(*ptr).assets[asset].1; [INFO] [stdout] | ^^---^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this raw pointer has type `*const AssetsDatabase` [INFO] [stdout] | [INFO] [stdout] = note: creating a reference requires the pointer target to be valid and imposes aliasing requirements [INFO] [stdout] note: autoref is being applied to this expression, resulting in: `&HashMap, (std::string::String, Asset)>` [INFO] [stdout] --> src/assets/database.rs:349:42 [INFO] [stdout] | [INFO] [stdout] 349 | ... let asset = &(*ptr).assets[asset].1; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] help: try using a raw pointer method instead; or if this reference is intentional, make it explicit [INFO] [stdout] | [INFO] [stdout] 349 | let asset = &(&(*ptr).assets)[asset].1; [INFO] [stdout] | ++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `Box::::from_raw` that must be used [INFO] [stdout] --> src/fetch/mod.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | Box::from_raw(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: call `drop(Box::from_raw(ptr))` if you intend to drop the `Box` [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 153 | let _ = Box::from_raw(ptr); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hassium-core` (lib test) due to 2 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `hassium-core` (lib) due to 2 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d601f20249728c7004424c8ac23f725c0d2bcc7d6f3fb867cfbcb4acd5a1a47c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d601f20249728c7004424c8ac23f725c0d2bcc7d6f3fb867cfbcb4acd5a1a47c", kill_on_drop: false }` [INFO] [stdout] d601f20249728c7004424c8ac23f725c0d2bcc7d6f3fb867cfbcb4acd5a1a47c