[INFO] fetching crate graphify 0.1.0... [INFO] testing graphify-0.1.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate graphify 0.1.0 into /workspace/builds/worker-18/source [INFO] validating manifest of crates.io crate graphify 0.1.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate graphify 0.1.0 [INFO] finished tweaking crates.io crate graphify 0.1.0 [INFO] tweaked toml for crates.io crate graphify 0.1.0 written to /workspace/builds/worker-18/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d165f5b022678136408c53711322f50fafb4fec67f3b190f2f9f5f17a18aed9 [INFO] running `Command { std: "docker" "start" "-a" "8d165f5b022678136408c53711322f50fafb4fec67f3b190f2f9f5f17a18aed9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d165f5b022678136408c53711322f50fafb4fec67f3b190f2f9f5f17a18aed9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d165f5b022678136408c53711322f50fafb4fec67f3b190f2f9f5f17a18aed9", kill_on_drop: false }` [INFO] [stdout] 8d165f5b022678136408c53711322f50fafb4fec67f3b190f2f9f5f17a18aed9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d650a5e3f752ea0d01760db2e1d54cf0dcae38ce55b0433b7963d191d664ea34 [INFO] running `Command { std: "docker" "start" "-a" "d650a5e3f752ea0d01760db2e1d54cf0dcae38ce55b0433b7963d191d664ea34", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling graphify v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphify_graph/graphify_graph.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | all_graph_information: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - all_graph_information: Vec>, [INFO] [stdout] 8 + all_graph_information: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph/graph.rs:220:48 [INFO] [stdout] | [INFO] [stdout] 220 | fn get_vertex(&self, vertex_id: usize) -> &ReadableVertex { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 220 - fn get_vertex(&self, vertex_id: usize) -> &ReadableVertex { [INFO] [stdout] 220 + fn get_vertex(&self, vertex_id: usize) -> &dyn ReadableVertex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph/graph_like.rs:20:48 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_vertex(&self, vertex_id: usize) -> &ReadableVertex; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - fn get_vertex(&self, vertex_id: usize) -> &ReadableVertex; [INFO] [stdout] 20 + fn get_vertex(&self, vertex_id: usize) -> &dyn ReadableVertex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphify_graph/graphify_graph.rs:17:65 [INFO] [stdout] | [INFO] [stdout] 17 | where TInformationIntoIterator: IntoIterator> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - where TInformationIntoIterator: IntoIterator> { [INFO] [stdout] 17 + where TInformationIntoIterator: IntoIterator> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphify_graph/graphify_graph.rs:26:63 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_information_store(&self, index: usize) -> &Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - pub fn get_information_store(&self, index: usize) -> &Box { [INFO] [stdout] 26 + pub fn get_information_store(&self, index: usize) -> &Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphify_graph/graphify_graph.rs:30:75 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_information_store_mut(&mut self, index: usize) -> &mut Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - pub fn get_information_store_mut(&mut self, index: usize) -> &mut Box { [INFO] [stdout] 30 + pub fn get_information_store_mut(&mut self, index: usize) -> &mut Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphify_graph/graphify_graph.rs:66:48 [INFO] [stdout] | [INFO] [stdout] 66 | fn get_vertex(&self, vertex_id: usize) -> &ReadableVertex { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - fn get_vertex(&self, vertex_id: usize) -> &ReadableVertex { [INFO] [stdout] 66 + fn get_vertex(&self, vertex_id: usize) -> &dyn ReadableVertex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | impl GeneralGraphInformation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - impl GeneralGraphInformation { [INFO] [stdout] 19 + impl dyn GeneralGraphInformation { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_associator.rs:11:58 [INFO] [stdout] | [INFO] [stdout] 11 | impl GeneralInformationAssociator for InformationAssociator [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - impl GeneralInformationAssociator for InformationAssociator [INFO] [stdout] 11 + impl GeneralInformationAssociator for dyn InformationAssociator [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_associator.rs:6:71 [INFO] [stdout] | [INFO] [stdout] 6 | fn add_information(&mut self, vertex_id: usize, information: &mut Any); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - fn add_information(&mut self, vertex_id: usize, information: &mut Any); [INFO] [stdout] 6 + fn add_information(&mut self, vertex_id: usize, information: &mut dyn Any); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_associator.rs:13:71 [INFO] [stdout] | [INFO] [stdout] 13 | fn add_information(&mut self, vertex_id: usize, information: &mut Any) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - fn add_information(&mut self, vertex_id: usize, information: &mut Any) { [INFO] [stdout] 13 + fn add_information(&mut self, vertex_id: usize, information: &mut dyn Any) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | impl GeneralInformationProvider for InformationProvider [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - impl GeneralInformationProvider for InformationProvider [INFO] [stdout] 14 + impl GeneralInformationProvider for dyn InformationProvider [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | fn get_all_information(&self) -> Vec<&Any>; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 - fn get_all_information(&self) -> Vec<&Any>; [INFO] [stdout] 5 + fn get_all_information(&self) -> Vec<&dyn Any>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:7:65 [INFO] [stdout] | [INFO] [stdout] 7 | fn get_all_information_mut<'a>(&'a mut self) -> Vec<&'a mut Any>; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - fn get_all_information_mut<'a>(&'a mut self) -> Vec<&'a mut Any>; [INFO] [stdout] 7 + fn get_all_information_mut<'a>(&'a mut self) -> Vec<&'a mut dyn Any>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:9:53 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_information(&self, vertex_id: usize) -> &Any; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - fn get_information(&self, vertex_id: usize) -> &Any; [INFO] [stdout] 9 + fn get_information(&self, vertex_id: usize) -> &dyn Any; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:11:75 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_information_mut<'a>(&'a mut self, vertex_id: usize) -> &'a mut Any; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - fn get_information_mut<'a>(&'a mut self, vertex_id: usize) -> &'a mut Any; [INFO] [stdout] 11 + fn get_information_mut<'a>(&'a mut self, vertex_id: usize) -> &'a mut dyn Any; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:16:43 [INFO] [stdout] | [INFO] [stdout] 16 | fn get_all_information(&self) -> Vec<&Any> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 - fn get_all_information(&self) -> Vec<&Any> { [INFO] [stdout] 16 + fn get_all_information(&self) -> Vec<&dyn Any> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:25:65 [INFO] [stdout] | [INFO] [stdout] 25 | fn get_all_information_mut<'a>(&'a mut self) -> Vec<&'a mut Any> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 - fn get_all_information_mut<'a>(&'a mut self) -> Vec<&'a mut Any> { [INFO] [stdout] 25 + fn get_all_information_mut<'a>(&'a mut self) -> Vec<&'a mut dyn Any> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:34:53 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_information(&self, vertex_id: usize) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - fn get_information(&self, vertex_id: usize) -> &Any { [INFO] [stdout] 34 + fn get_information(&self, vertex_id: usize) -> &dyn Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:39:75 [INFO] [stdout] | [INFO] [stdout] 39 | fn get_information_mut<'a>(&'a mut self, vertex_id: usize) -> &'a mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - fn get_information_mut<'a>(&'a mut self, vertex_id: usize) -> &'a mut Any { [INFO] [stdout] 39 + fn get_information_mut<'a>(&'a mut self, vertex_id: usize) -> &'a mut dyn Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utilities/static_cast.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn static_cast(from: &mut Any) -> TTo [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 3 - pub fn static_cast(from: &mut Any) -> TTo [INFO] [stdout] 3 + pub fn static_cast(from: &mut dyn Any) -> TTo [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:22:59 [INFO] [stdout] | [INFO] [stdout] 22 | let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationAssociator>(self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationAssociator>(self) }; [INFO] [stdout] 22 + let self_as_base = unsafe { mem::transmute::<&mut dyn GeneralGraphInformation, &mut GeneralInformationAssociator>(self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:22:89 [INFO] [stdout] | [INFO] [stdout] 22 | let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationAssociator>(self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationAssociator>(self) }; [INFO] [stdout] 22 + let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut dyn GeneralInformationAssociator>(self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:29:55 [INFO] [stdout] | [INFO] [stdout] 29 | let self_as_base = unsafe { mem::transmute::<&GeneralGraphInformation, &GeneralInformationProvider>(self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - let self_as_base = unsafe { mem::transmute::<&GeneralGraphInformation, &GeneralInformationProvider>(self) }; [INFO] [stdout] 29 + let self_as_base = unsafe { mem::transmute::<&dyn GeneralGraphInformation, &GeneralInformationProvider>(self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:29:81 [INFO] [stdout] | [INFO] [stdout] 29 | let self_as_base = unsafe { mem::transmute::<&GeneralGraphInformation, &GeneralInformationProvider>(self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - let self_as_base = unsafe { mem::transmute::<&GeneralGraphInformation, &GeneralInformationProvider>(self) }; [INFO] [stdout] 29 + let self_as_base = unsafe { mem::transmute::<&GeneralGraphInformation, &dyn GeneralInformationProvider>(self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:44:59 [INFO] [stdout] | [INFO] [stdout] 44 | let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationProvider>(self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 - let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationProvider>(self) }; [INFO] [stdout] 44 + let self_as_base = unsafe { mem::transmute::<&mut dyn GeneralGraphInformation, &mut GeneralInformationProvider>(self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:44:89 [INFO] [stdout] | [INFO] [stdout] 44 | let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationProvider>(self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 - let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationProvider>(self) }; [INFO] [stdout] 44 + let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut dyn GeneralInformationProvider>(self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:59:55 [INFO] [stdout] | [INFO] [stdout] 59 | let self_as_base = unsafe { mem::transmute::<&GeneralGraphInformation, &GeneralInformationProvider>(self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - let self_as_base = unsafe { mem::transmute::<&GeneralGraphInformation, &GeneralInformationProvider>(self) }; [INFO] [stdout] 59 + let self_as_base = unsafe { mem::transmute::<&dyn GeneralGraphInformation, &GeneralInformationProvider>(self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:59:81 [INFO] [stdout] | [INFO] [stdout] 59 | let self_as_base = unsafe { mem::transmute::<&GeneralGraphInformation, &GeneralInformationProvider>(self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - let self_as_base = unsafe { mem::transmute::<&GeneralGraphInformation, &GeneralInformationProvider>(self) }; [INFO] [stdout] 59 + let self_as_base = unsafe { mem::transmute::<&GeneralGraphInformation, &dyn GeneralInformationProvider>(self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:66:59 [INFO] [stdout] | [INFO] [stdout] 66 | let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationProvider>(self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationProvider>(self) }; [INFO] [stdout] 66 + let self_as_base = unsafe { mem::transmute::<&mut dyn GeneralGraphInformation, &mut GeneralInformationProvider>(self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:66:89 [INFO] [stdout] | [INFO] [stdout] 66 | let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationProvider>(self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationProvider>(self) }; [INFO] [stdout] 66 + let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut dyn GeneralInformationProvider>(self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_associator.rs:14:41 [INFO] [stdout] | [INFO] [stdout] 14 | let self_as_base = self as &mut InformationAssociator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - let self_as_base = self as &mut InformationAssociator; [INFO] [stdout] 14 + let self_as_base = self as &mut dyn InformationAssociator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_associator.rs:20:41 [INFO] [stdout] | [INFO] [stdout] 20 | let self_as_base = self as &mut InformationAssociator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - let self_as_base = self as &mut InformationAssociator; [INFO] [stdout] 20 + let self_as_base = self as &mut dyn InformationAssociator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 17 | let self_as_base = self as &InformationProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - let self_as_base = self as &InformationProvider; [INFO] [stdout] 17 + let self_as_base = self as &dyn InformationProvider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:21:48 [INFO] [stdout] | [INFO] [stdout] 21 | .map(|information| information as &Any) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - .map(|information| information as &Any) [INFO] [stdout] 21 + .map(|information| information as &dyn Any) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:26:41 [INFO] [stdout] | [INFO] [stdout] 26 | let self_as_base = self as &mut InformationProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - let self_as_base = self as &mut InformationProvider; [INFO] [stdout] 26 + let self_as_base = self as &mut dyn InformationProvider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | .map(|information| information as &mut Any) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - .map(|information| information as &mut Any) [INFO] [stdout] 30 + .map(|information| information as &mut dyn Any) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:35:37 [INFO] [stdout] | [INFO] [stdout] 35 | let self_as_base = self as &InformationProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - let self_as_base = self as &InformationProvider; [INFO] [stdout] 35 + let self_as_base = self as &dyn InformationProvider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:36:53 [INFO] [stdout] | [INFO] [stdout] 36 | self_as_base.get_information(vertex_id) as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - self_as_base.get_information(vertex_id) as &Any [INFO] [stdout] 36 + self_as_base.get_information(vertex_id) as &dyn Any [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:40:41 [INFO] [stdout] | [INFO] [stdout] 40 | let self_as_base = self as &mut InformationProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - let self_as_base = self as &mut InformationProvider; [INFO] [stdout] 40 + let self_as_base = self as &mut dyn InformationProvider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:41:61 [INFO] [stdout] | [INFO] [stdout] 41 | self_as_base.get_information_mut(vertex_id) as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - self_as_base.get_information_mut(vertex_id) as &mut Any [INFO] [stdout] 41 + self_as_base.get_information_mut(vertex_id) as &mut dyn Any [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.89s [INFO] running `Command { std: "docker" "inspect" "d650a5e3f752ea0d01760db2e1d54cf0dcae38ce55b0433b7963d191d664ea34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d650a5e3f752ea0d01760db2e1d54cf0dcae38ce55b0433b7963d191d664ea34", kill_on_drop: false }` [INFO] [stdout] d650a5e3f752ea0d01760db2e1d54cf0dcae38ce55b0433b7963d191d664ea34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-18/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 735c8f7e8e3fc5f7809643a5cafe9ca7b683e03a8d58aaccab6de7a1d96ce0bb [INFO] running `Command { std: "docker" "start" "-a" "735c8f7e8e3fc5f7809643a5cafe9ca7b683e03a8d58aaccab6de7a1d96ce0bb", kill_on_drop: false }` [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphify_graph/graphify_graph.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | all_graph_information: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - all_graph_information: Vec>, [INFO] [stdout] 8 + all_graph_information: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph/graph.rs:220:48 [INFO] [stdout] | [INFO] [stdout] 220 | fn get_vertex(&self, vertex_id: usize) -> &ReadableVertex { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 220 - fn get_vertex(&self, vertex_id: usize) -> &ReadableVertex { [INFO] [stdout] 220 + fn get_vertex(&self, vertex_id: usize) -> &dyn ReadableVertex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph/graph_like.rs:20:48 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_vertex(&self, vertex_id: usize) -> &ReadableVertex; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - fn get_vertex(&self, vertex_id: usize) -> &ReadableVertex; [INFO] [stdout] 20 + fn get_vertex(&self, vertex_id: usize) -> &dyn ReadableVertex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphify_graph/graphify_graph.rs:17:65 [INFO] [stdout] | [INFO] [stdout] 17 | where TInformationIntoIterator: IntoIterator> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - where TInformationIntoIterator: IntoIterator> { [INFO] [stdout] 17 + where TInformationIntoIterator: IntoIterator> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphify_graph/graphify_graph.rs:26:63 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_information_store(&self, index: usize) -> &Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - pub fn get_information_store(&self, index: usize) -> &Box { [INFO] [stdout] 26 + pub fn get_information_store(&self, index: usize) -> &Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphify_graph/graphify_graph.rs:30:75 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_information_store_mut(&mut self, index: usize) -> &mut Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - pub fn get_information_store_mut(&mut self, index: usize) -> &mut Box { [INFO] [stdout] 30 + pub fn get_information_store_mut(&mut self, index: usize) -> &mut Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphify_graph/graphify_graph.rs:66:48 [INFO] [stdout] | [INFO] [stdout] 66 | fn get_vertex(&self, vertex_id: usize) -> &ReadableVertex { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - fn get_vertex(&self, vertex_id: usize) -> &ReadableVertex { [INFO] [stdout] 66 + fn get_vertex(&self, vertex_id: usize) -> &dyn ReadableVertex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | impl GeneralGraphInformation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - impl GeneralGraphInformation { [INFO] [stdout] 19 + impl dyn GeneralGraphInformation { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_associator.rs:11:58 [INFO] [stdout] | [INFO] [stdout] 11 | impl GeneralInformationAssociator for InformationAssociator [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - impl GeneralInformationAssociator for InformationAssociator [INFO] [stdout] 11 + impl GeneralInformationAssociator for dyn InformationAssociator [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_associator.rs:6:71 [INFO] [stdout] | [INFO] [stdout] 6 | fn add_information(&mut self, vertex_id: usize, information: &mut Any); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - fn add_information(&mut self, vertex_id: usize, information: &mut Any); [INFO] [stdout] 6 + fn add_information(&mut self, vertex_id: usize, information: &mut dyn Any); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_associator.rs:13:71 [INFO] [stdout] | [INFO] [stdout] 13 | fn add_information(&mut self, vertex_id: usize, information: &mut Any) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - fn add_information(&mut self, vertex_id: usize, information: &mut Any) { [INFO] [stdout] 13 + fn add_information(&mut self, vertex_id: usize, information: &mut dyn Any) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | impl GeneralInformationProvider for InformationProvider [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - impl GeneralInformationProvider for InformationProvider [INFO] [stdout] 14 + impl GeneralInformationProvider for dyn InformationProvider [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | fn get_all_information(&self) -> Vec<&Any>; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 - fn get_all_information(&self) -> Vec<&Any>; [INFO] [stdout] 5 + fn get_all_information(&self) -> Vec<&dyn Any>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:7:65 [INFO] [stdout] | [INFO] [stdout] 7 | fn get_all_information_mut<'a>(&'a mut self) -> Vec<&'a mut Any>; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - fn get_all_information_mut<'a>(&'a mut self) -> Vec<&'a mut Any>; [INFO] [stdout] 7 + fn get_all_information_mut<'a>(&'a mut self) -> Vec<&'a mut dyn Any>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:9:53 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_information(&self, vertex_id: usize) -> &Any; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - fn get_information(&self, vertex_id: usize) -> &Any; [INFO] [stdout] 9 + fn get_information(&self, vertex_id: usize) -> &dyn Any; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:11:75 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_information_mut<'a>(&'a mut self, vertex_id: usize) -> &'a mut Any; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - fn get_information_mut<'a>(&'a mut self, vertex_id: usize) -> &'a mut Any; [INFO] [stdout] 11 + fn get_information_mut<'a>(&'a mut self, vertex_id: usize) -> &'a mut dyn Any; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:16:43 [INFO] [stdout] | [INFO] [stdout] 16 | fn get_all_information(&self) -> Vec<&Any> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 - fn get_all_information(&self) -> Vec<&Any> { [INFO] [stdout] 16 + fn get_all_information(&self) -> Vec<&dyn Any> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:25:65 [INFO] [stdout] | [INFO] [stdout] 25 | fn get_all_information_mut<'a>(&'a mut self) -> Vec<&'a mut Any> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 - fn get_all_information_mut<'a>(&'a mut self) -> Vec<&'a mut Any> { [INFO] [stdout] 25 + fn get_all_information_mut<'a>(&'a mut self) -> Vec<&'a mut dyn Any> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:34:53 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_information(&self, vertex_id: usize) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - fn get_information(&self, vertex_id: usize) -> &Any { [INFO] [stdout] 34 + fn get_information(&self, vertex_id: usize) -> &dyn Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:39:75 [INFO] [stdout] | [INFO] [stdout] 39 | fn get_information_mut<'a>(&'a mut self, vertex_id: usize) -> &'a mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - fn get_information_mut<'a>(&'a mut self, vertex_id: usize) -> &'a mut Any { [INFO] [stdout] 39 + fn get_information_mut<'a>(&'a mut self, vertex_id: usize) -> &'a mut dyn Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utilities/static_cast.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn static_cast(from: &mut Any) -> TTo [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 3 - pub fn static_cast(from: &mut Any) -> TTo [INFO] [stdout] 3 + pub fn static_cast(from: &mut dyn Any) -> TTo [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:22:59 [INFO] [stdout] | [INFO] [stdout] 22 | let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationAssociator>(self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationAssociator>(self) }; [INFO] [stdout] 22 + let self_as_base = unsafe { mem::transmute::<&mut dyn GeneralGraphInformation, &mut GeneralInformationAssociator>(self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:22:89 [INFO] [stdout] | [INFO] [stdout] 22 | let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationAssociator>(self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationAssociator>(self) }; [INFO] [stdout] 22 + let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut dyn GeneralInformationAssociator>(self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:29:55 [INFO] [stdout] | [INFO] [stdout] 29 | let self_as_base = unsafe { mem::transmute::<&GeneralGraphInformation, &GeneralInformationProvider>(self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - let self_as_base = unsafe { mem::transmute::<&GeneralGraphInformation, &GeneralInformationProvider>(self) }; [INFO] [stdout] 29 + let self_as_base = unsafe { mem::transmute::<&dyn GeneralGraphInformation, &GeneralInformationProvider>(self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:29:81 [INFO] [stdout] | [INFO] [stdout] 29 | let self_as_base = unsafe { mem::transmute::<&GeneralGraphInformation, &GeneralInformationProvider>(self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - let self_as_base = unsafe { mem::transmute::<&GeneralGraphInformation, &GeneralInformationProvider>(self) }; [INFO] [stdout] 29 + let self_as_base = unsafe { mem::transmute::<&GeneralGraphInformation, &dyn GeneralInformationProvider>(self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:44:59 [INFO] [stdout] | [INFO] [stdout] 44 | let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationProvider>(self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 - let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationProvider>(self) }; [INFO] [stdout] 44 + let self_as_base = unsafe { mem::transmute::<&mut dyn GeneralGraphInformation, &mut GeneralInformationProvider>(self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:44:89 [INFO] [stdout] | [INFO] [stdout] 44 | let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationProvider>(self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 - let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationProvider>(self) }; [INFO] [stdout] 44 + let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut dyn GeneralInformationProvider>(self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:59:55 [INFO] [stdout] | [INFO] [stdout] 59 | let self_as_base = unsafe { mem::transmute::<&GeneralGraphInformation, &GeneralInformationProvider>(self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - let self_as_base = unsafe { mem::transmute::<&GeneralGraphInformation, &GeneralInformationProvider>(self) }; [INFO] [stdout] 59 + let self_as_base = unsafe { mem::transmute::<&dyn GeneralGraphInformation, &GeneralInformationProvider>(self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:59:81 [INFO] [stdout] | [INFO] [stdout] 59 | let self_as_base = unsafe { mem::transmute::<&GeneralGraphInformation, &GeneralInformationProvider>(self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - let self_as_base = unsafe { mem::transmute::<&GeneralGraphInformation, &GeneralInformationProvider>(self) }; [INFO] [stdout] 59 + let self_as_base = unsafe { mem::transmute::<&GeneralGraphInformation, &dyn GeneralInformationProvider>(self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:66:59 [INFO] [stdout] | [INFO] [stdout] 66 | let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationProvider>(self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationProvider>(self) }; [INFO] [stdout] 66 + let self_as_base = unsafe { mem::transmute::<&mut dyn GeneralGraphInformation, &mut GeneralInformationProvider>(self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:66:89 [INFO] [stdout] | [INFO] [stdout] 66 | let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationProvider>(self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationProvider>(self) }; [INFO] [stdout] 66 + let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut dyn GeneralInformationProvider>(self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_associator.rs:14:41 [INFO] [stdout] | [INFO] [stdout] 14 | let self_as_base = self as &mut InformationAssociator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - let self_as_base = self as &mut InformationAssociator; [INFO] [stdout] 14 + let self_as_base = self as &mut dyn InformationAssociator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_associator.rs:20:41 [INFO] [stdout] | [INFO] [stdout] 20 | let self_as_base = self as &mut InformationAssociator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - let self_as_base = self as &mut InformationAssociator; [INFO] [stdout] 20 + let self_as_base = self as &mut dyn InformationAssociator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 17 | let self_as_base = self as &InformationProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - let self_as_base = self as &InformationProvider; [INFO] [stdout] 17 + let self_as_base = self as &dyn InformationProvider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:21:48 [INFO] [stdout] | [INFO] [stdout] 21 | .map(|information| information as &Any) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - .map(|information| information as &Any) [INFO] [stdout] 21 + .map(|information| information as &dyn Any) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:26:41 [INFO] [stdout] | [INFO] [stdout] 26 | let self_as_base = self as &mut InformationProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - let self_as_base = self as &mut InformationProvider; [INFO] [stdout] 26 + let self_as_base = self as &mut dyn InformationProvider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | .map(|information| information as &mut Any) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - .map(|information| information as &mut Any) [INFO] [stdout] 30 + .map(|information| information as &mut dyn Any) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:35:37 [INFO] [stdout] | [INFO] [stdout] 35 | let self_as_base = self as &InformationProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - let self_as_base = self as &InformationProvider; [INFO] [stdout] 35 + let self_as_base = self as &dyn InformationProvider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:36:53 [INFO] [stdout] | [INFO] [stdout] 36 | self_as_base.get_information(vertex_id) as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - self_as_base.get_information(vertex_id) as &Any [INFO] [stdout] 36 + self_as_base.get_information(vertex_id) as &dyn Any [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:40:41 [INFO] [stdout] | [INFO] [stdout] 40 | let self_as_base = self as &mut InformationProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - let self_as_base = self as &mut InformationProvider; [INFO] [stdout] 40 + let self_as_base = self as &mut dyn InformationProvider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling graphify v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:41:61 [INFO] [stdout] | [INFO] [stdout] 41 | self_as_base.get_information_mut(vertex_id) as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - self_as_base.get_information_mut(vertex_id) as &mut Any [INFO] [stdout] 41 + self_as_base.get_information_mut(vertex_id) as &mut dyn Any [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[test]` attribute is only allowed on non associated functions [INFO] [stdout] --> src/graph/graph.rs:85:5 [INFO] [stdout] | [INFO] [stdout] 85 | / pub fn get_vertices_test(&self) -> &Vec>> { [INFO] [stdout] 86 | | &self.vertices [INFO] [stdout] 87 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphify_graph/graphify_graph.rs:8:36 [INFO] [stdout] | [INFO] [stdout] 8 | all_graph_information: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - all_graph_information: Vec>, [INFO] [stdout] 8 + all_graph_information: Vec>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph/graph.rs:220:48 [INFO] [stdout] | [INFO] [stdout] 220 | fn get_vertex(&self, vertex_id: usize) -> &ReadableVertex { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 220 - fn get_vertex(&self, vertex_id: usize) -> &ReadableVertex { [INFO] [stdout] 220 + fn get_vertex(&self, vertex_id: usize) -> &dyn ReadableVertex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graph/graph_like.rs:20:48 [INFO] [stdout] | [INFO] [stdout] 20 | fn get_vertex(&self, vertex_id: usize) -> &ReadableVertex; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - fn get_vertex(&self, vertex_id: usize) -> &ReadableVertex; [INFO] [stdout] 20 + fn get_vertex(&self, vertex_id: usize) -> &dyn ReadableVertex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphify_graph/graphify_graph.rs:17:65 [INFO] [stdout] | [INFO] [stdout] 17 | where TInformationIntoIterator: IntoIterator> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - where TInformationIntoIterator: IntoIterator> { [INFO] [stdout] 17 + where TInformationIntoIterator: IntoIterator> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphify_graph/graphify_graph.rs:26:63 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn get_information_store(&self, index: usize) -> &Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - pub fn get_information_store(&self, index: usize) -> &Box { [INFO] [stdout] 26 + pub fn get_information_store(&self, index: usize) -> &Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphify_graph/graphify_graph.rs:30:75 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn get_information_store_mut(&mut self, index: usize) -> &mut Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - pub fn get_information_store_mut(&mut self, index: usize) -> &mut Box { [INFO] [stdout] 30 + pub fn get_information_store_mut(&mut self, index: usize) -> &mut Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/graphify_graph/graphify_graph.rs:66:48 [INFO] [stdout] | [INFO] [stdout] 66 | fn get_vertex(&self, vertex_id: usize) -> &ReadableVertex { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - fn get_vertex(&self, vertex_id: usize) -> &ReadableVertex { [INFO] [stdout] 66 + fn get_vertex(&self, vertex_id: usize) -> &dyn ReadableVertex { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:19:6 [INFO] [stdout] | [INFO] [stdout] 19 | impl GeneralGraphInformation { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 - impl GeneralGraphInformation { [INFO] [stdout] 19 + impl dyn GeneralGraphInformation { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_associator.rs:11:58 [INFO] [stdout] | [INFO] [stdout] 11 | impl GeneralInformationAssociator for InformationAssociator [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - impl GeneralInformationAssociator for InformationAssociator [INFO] [stdout] 11 + impl GeneralInformationAssociator for dyn InformationAssociator [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_associator.rs:6:71 [INFO] [stdout] | [INFO] [stdout] 6 | fn add_information(&mut self, vertex_id: usize, information: &mut Any); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - fn add_information(&mut self, vertex_id: usize, information: &mut Any); [INFO] [stdout] 6 + fn add_information(&mut self, vertex_id: usize, information: &mut dyn Any); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_associator.rs:13:71 [INFO] [stdout] | [INFO] [stdout] 13 | fn add_information(&mut self, vertex_id: usize, information: &mut Any) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 13 - fn add_information(&mut self, vertex_id: usize, information: &mut Any) { [INFO] [stdout] 13 + fn add_information(&mut self, vertex_id: usize, information: &mut dyn Any) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:14:56 [INFO] [stdout] | [INFO] [stdout] 14 | impl GeneralInformationProvider for InformationProvider [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - impl GeneralInformationProvider for InformationProvider [INFO] [stdout] 14 + impl GeneralInformationProvider for dyn InformationProvider [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:5:43 [INFO] [stdout] | [INFO] [stdout] 5 | fn get_all_information(&self) -> Vec<&Any>; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 5 - fn get_all_information(&self) -> Vec<&Any>; [INFO] [stdout] 5 + fn get_all_information(&self) -> Vec<&dyn Any>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:7:65 [INFO] [stdout] | [INFO] [stdout] 7 | fn get_all_information_mut<'a>(&'a mut self) -> Vec<&'a mut Any>; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - fn get_all_information_mut<'a>(&'a mut self) -> Vec<&'a mut Any>; [INFO] [stdout] 7 + fn get_all_information_mut<'a>(&'a mut self) -> Vec<&'a mut dyn Any>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:9:53 [INFO] [stdout] | [INFO] [stdout] 9 | fn get_information(&self, vertex_id: usize) -> &Any; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - fn get_information(&self, vertex_id: usize) -> &Any; [INFO] [stdout] 9 + fn get_information(&self, vertex_id: usize) -> &dyn Any; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:11:75 [INFO] [stdout] | [INFO] [stdout] 11 | fn get_information_mut<'a>(&'a mut self, vertex_id: usize) -> &'a mut Any; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 11 - fn get_information_mut<'a>(&'a mut self, vertex_id: usize) -> &'a mut Any; [INFO] [stdout] 11 + fn get_information_mut<'a>(&'a mut self, vertex_id: usize) -> &'a mut dyn Any; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:16:43 [INFO] [stdout] | [INFO] [stdout] 16 | fn get_all_information(&self) -> Vec<&Any> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 16 - fn get_all_information(&self) -> Vec<&Any> { [INFO] [stdout] 16 + fn get_all_information(&self) -> Vec<&dyn Any> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:25:65 [INFO] [stdout] | [INFO] [stdout] 25 | fn get_all_information_mut<'a>(&'a mut self) -> Vec<&'a mut Any> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 - fn get_all_information_mut<'a>(&'a mut self) -> Vec<&'a mut Any> { [INFO] [stdout] 25 + fn get_all_information_mut<'a>(&'a mut self) -> Vec<&'a mut dyn Any> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:34:53 [INFO] [stdout] | [INFO] [stdout] 34 | fn get_information(&self, vertex_id: usize) -> &Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 34 - fn get_information(&self, vertex_id: usize) -> &Any { [INFO] [stdout] 34 + fn get_information(&self, vertex_id: usize) -> &dyn Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:39:75 [INFO] [stdout] | [INFO] [stdout] 39 | fn get_information_mut<'a>(&'a mut self, vertex_id: usize) -> &'a mut Any { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 39 - fn get_information_mut<'a>(&'a mut self, vertex_id: usize) -> &'a mut Any { [INFO] [stdout] 39 + fn get_information_mut<'a>(&'a mut self, vertex_id: usize) -> &'a mut dyn Any { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/utilities/static_cast.rs:3:36 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn static_cast(from: &mut Any) -> TTo [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 3 - pub fn static_cast(from: &mut Any) -> TTo [INFO] [stdout] 3 + pub fn static_cast(from: &mut dyn Any) -> TTo [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:22:59 [INFO] [stdout] | [INFO] [stdout] 22 | let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationAssociator>(self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationAssociator>(self) }; [INFO] [stdout] 22 + let self_as_base = unsafe { mem::transmute::<&mut dyn GeneralGraphInformation, &mut GeneralInformationAssociator>(self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:22:89 [INFO] [stdout] | [INFO] [stdout] 22 | let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationAssociator>(self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationAssociator>(self) }; [INFO] [stdout] 22 + let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut dyn GeneralInformationAssociator>(self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:29:55 [INFO] [stdout] | [INFO] [stdout] 29 | let self_as_base = unsafe { mem::transmute::<&GeneralGraphInformation, &GeneralInformationProvider>(self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - let self_as_base = unsafe { mem::transmute::<&GeneralGraphInformation, &GeneralInformationProvider>(self) }; [INFO] [stdout] 29 + let self_as_base = unsafe { mem::transmute::<&dyn GeneralGraphInformation, &GeneralInformationProvider>(self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:29:81 [INFO] [stdout] | [INFO] [stdout] 29 | let self_as_base = unsafe { mem::transmute::<&GeneralGraphInformation, &GeneralInformationProvider>(self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 29 - let self_as_base = unsafe { mem::transmute::<&GeneralGraphInformation, &GeneralInformationProvider>(self) }; [INFO] [stdout] 29 + let self_as_base = unsafe { mem::transmute::<&GeneralGraphInformation, &dyn GeneralInformationProvider>(self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:44:59 [INFO] [stdout] | [INFO] [stdout] 44 | let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationProvider>(self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 - let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationProvider>(self) }; [INFO] [stdout] 44 + let self_as_base = unsafe { mem::transmute::<&mut dyn GeneralGraphInformation, &mut GeneralInformationProvider>(self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:44:89 [INFO] [stdout] | [INFO] [stdout] 44 | let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationProvider>(self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 - let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationProvider>(self) }; [INFO] [stdout] 44 + let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut dyn GeneralInformationProvider>(self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:59:55 [INFO] [stdout] | [INFO] [stdout] 59 | let self_as_base = unsafe { mem::transmute::<&GeneralGraphInformation, &GeneralInformationProvider>(self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - let self_as_base = unsafe { mem::transmute::<&GeneralGraphInformation, &GeneralInformationProvider>(self) }; [INFO] [stdout] 59 + let self_as_base = unsafe { mem::transmute::<&dyn GeneralGraphInformation, &GeneralInformationProvider>(self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:59:81 [INFO] [stdout] | [INFO] [stdout] 59 | let self_as_base = unsafe { mem::transmute::<&GeneralGraphInformation, &GeneralInformationProvider>(self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 - let self_as_base = unsafe { mem::transmute::<&GeneralGraphInformation, &GeneralInformationProvider>(self) }; [INFO] [stdout] 59 + let self_as_base = unsafe { mem::transmute::<&GeneralGraphInformation, &dyn GeneralInformationProvider>(self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:66:59 [INFO] [stdout] | [INFO] [stdout] 66 | let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationProvider>(self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationProvider>(self) }; [INFO] [stdout] 66 + let self_as_base = unsafe { mem::transmute::<&mut dyn GeneralGraphInformation, &mut GeneralInformationProvider>(self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_graph_information.rs:66:89 [INFO] [stdout] | [INFO] [stdout] 66 | let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationProvider>(self) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 - let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut GeneralInformationProvider>(self) }; [INFO] [stdout] 66 + let self_as_base = unsafe { mem::transmute::<&mut GeneralGraphInformation, &mut dyn GeneralInformationProvider>(self) }; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_associator.rs:14:41 [INFO] [stdout] | [INFO] [stdout] 14 | let self_as_base = self as &mut InformationAssociator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 14 - let self_as_base = self as &mut InformationAssociator; [INFO] [stdout] 14 + let self_as_base = self as &mut dyn InformationAssociator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_associator.rs:20:41 [INFO] [stdout] | [INFO] [stdout] 20 | let self_as_base = self as &mut InformationAssociator; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 20 - let self_as_base = self as &mut InformationAssociator; [INFO] [stdout] 20 + let self_as_base = self as &mut dyn InformationAssociator; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 17 | let self_as_base = self as &InformationProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - let self_as_base = self as &InformationProvider; [INFO] [stdout] 17 + let self_as_base = self as &dyn InformationProvider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:21:48 [INFO] [stdout] | [INFO] [stdout] 21 | .map(|information| information as &Any) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 - .map(|information| information as &Any) [INFO] [stdout] 21 + .map(|information| information as &dyn Any) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:26:41 [INFO] [stdout] | [INFO] [stdout] 26 | let self_as_base = self as &mut InformationProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - let self_as_base = self as &mut InformationProvider; [INFO] [stdout] 26 + let self_as_base = self as &mut dyn InformationProvider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:30:52 [INFO] [stdout] | [INFO] [stdout] 30 | .map(|information| information as &mut Any) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 30 - .map(|information| information as &mut Any) [INFO] [stdout] 30 + .map(|information| information as &mut dyn Any) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:35:37 [INFO] [stdout] | [INFO] [stdout] 35 | let self_as_base = self as &InformationProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 35 - let self_as_base = self as &InformationProvider; [INFO] [stdout] 35 + let self_as_base = self as &dyn InformationProvider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:36:53 [INFO] [stdout] | [INFO] [stdout] 36 | self_as_base.get_information(vertex_id) as &Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 - self_as_base.get_information(vertex_id) as &Any [INFO] [stdout] 36 + self_as_base.get_information(vertex_id) as &dyn Any [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:40:41 [INFO] [stdout] | [INFO] [stdout] 40 | let self_as_base = self as &mut InformationProvider; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 40 - let self_as_base = self as &mut InformationProvider; [INFO] [stdout] 40 + let self_as_base = self as &mut dyn InformationProvider; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/information/general_information_provider.rs:41:61 [INFO] [stdout] | [INFO] [stdout] 41 | self_as_base.get_information_mut(vertex_id) as &mut Any [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 41 - self_as_base.get_information_mut(vertex_id) as &mut Any [INFO] [stdout] 41 + self_as_base.get_information_mut(vertex_id) as &mut dyn Any [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 41 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `graphify` due to 2 previous errors; 41 warnings emitted [INFO] running `Command { std: "docker" "inspect" "735c8f7e8e3fc5f7809643a5cafe9ca7b683e03a8d58aaccab6de7a1d96ce0bb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "735c8f7e8e3fc5f7809643a5cafe9ca7b683e03a8d58aaccab6de7a1d96ce0bb", kill_on_drop: false }` [INFO] [stdout] 735c8f7e8e3fc5f7809643a5cafe9ca7b683e03a8d58aaccab6de7a1d96ce0bb