[INFO] cloning repository https://github.com/thepowersgang/rust-logiccircuit [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/thepowersgang/rust-logiccircuit" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthepowersgang%2Frust-logiccircuit", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthepowersgang%2Frust-logiccircuit'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 694d9bd1d92c220df3d8a52a4456741c8d035a2d [INFO] testing thepowersgang/rust-logiccircuit against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthepowersgang%2Frust-logiccircuit" "/workspace/builds/worker-75/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-75/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thepowersgang/rust-logiccircuit on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/thepowersgang/rust-logiccircuit [INFO] finished tweaking git repo https://github.com/thepowersgang/rust-logiccircuit [INFO] tweaked toml for git repo https://github.com/thepowersgang/rust-logiccircuit written to /workspace/builds/worker-75/source/Cargo.toml [INFO] crate git repo https://github.com/thepowersgang/rust-logiccircuit already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a317237dd7d4385df18a1336c96973cb8f97fbe20082a1903c73ca5bb353763b [INFO] running `Command { std: "docker" "start" "-a" "a317237dd7d4385df18a1336c96973cb8f97fbe20082a1903c73ca5bb353763b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a317237dd7d4385df18a1336c96973cb8f97fbe20082a1903c73ca5bb353763b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a317237dd7d4385df18a1336c96973cb8f97fbe20082a1903c73ca5bb353763b", kill_on_drop: false }` [INFO] [stdout] a317237dd7d4385df18a1336c96973cb8f97fbe20082a1903c73ca5bb353763b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 69496086c9b25397ccaca6d278a4f6fc913dc3f3e451d2f1de121755eb81e8b5 [INFO] running `Command { std: "docker" "start" "-a" "69496086c9b25397ccaca6d278a4f6fc913dc3f3e451d2f1de121755eb81e8b5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.91 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling logiccircuit v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cct_mesh/mod.rs:303:18 [INFO] [stdout] | [INFO] [stdout] 303 | let mut ele = try!(::elements::create(name, &*params, inputs.len())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parse/lex.rs:267:8 [INFO] [stdout] | [INFO] [stdout] 267 | '1' ... '7' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parse/lex.rs:279:7 [INFO] [stdout] | [INFO] [stdout] 279 | '1' ... '9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parse/lex.rs:283:6 [INFO] [stdout] | [INFO] [stdout] 283 | 'a'...'z'|'A'...'Z'|'_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parse/lex.rs:283:16 [INFO] [stdout] | [INFO] [stdout] 283 | 'a'...'z'|'A'...'Z'|'_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `exp_enum` [INFO] [stdout] --> src/parse/mod.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | macro_rules! exp_enum{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `parse_try` [INFO] [stdout] --> src/parse/mod.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | macro_rules! parse_try{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/elements.rs:579:72 [INFO] [stdout] | [INFO] [stdout] 579 | let ofs = 1 + (self.bits as usize) + index * (self.bussize as usize);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cct_mesh/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | inst: Box<::elements::Element+'static>, [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] 36 | inst: Box, [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | pub type InStream<'a> = &'a mut (::std::iter::Iterator + 'a); [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 | pub type InStream<'a> = &'a mut (dyn (::std::iter::Iterator + 'a)); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cct_mesh/flat.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub inst: Box<::elements::Element+'static>, [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 | pub inst: Box, [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cct_mesh/mod.rs:123:20 [INFO] [stdout] | [INFO] [stdout] 123 | impl Clone for Box<::elements::Element+'static> [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] 123 | impl Clone for Box [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cct_mesh/mod.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | fn clone(&self) -> Box<::elements::Element+'static> { [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] 125 | fn clone(&self) -> Box { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | pub type NewEleResult = Result,String>; [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] 37 - pub type NewEleResult = Result,String>; [INFO] [stdout] 37 + pub type NewEleResult = Result,String>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> 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] 33 - fn dup(&self) -> Box; [INFO] [stdout] 33 + fn dup(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | fn dup(&self) -> 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] 117 - fn dup(&self) -> Box { [INFO] [stdout] 117 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:167:23 [INFO] [stdout] | [INFO] [stdout] 167 | fn dup(&self) -> 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] 167 - fn dup(&self) -> Box { [INFO] [stdout] 167 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:211:23 [INFO] [stdout] | [INFO] [stdout] 211 | fn dup(&self) -> 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] 211 - fn dup(&self) -> Box { [INFO] [stdout] 211 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:254:23 [INFO] [stdout] | [INFO] [stdout] 254 | fn dup(&self) -> 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] 254 - fn dup(&self) -> Box { [INFO] [stdout] 254 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:303:23 [INFO] [stdout] | [INFO] [stdout] 303 | fn dup(&self) -> 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] 303 - fn dup(&self) -> Box { [INFO] [stdout] 303 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:350:23 [INFO] [stdout] | [INFO] [stdout] 350 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | def_logic!{ ElementNXOR, false, |v:bool,i:bool| v^i, |v:bool| !v } [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 350 - fn dup(&self) -> Box { [INFO] [stdout] 350 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:350:23 [INFO] [stdout] | [INFO] [stdout] 350 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 382 | def_logic!{ ElementNAND, true, |v:bool,i:bool| v&i, |v:bool| !v } [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 350 - fn dup(&self) -> Box { [INFO] [stdout] 350 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:350:23 [INFO] [stdout] | [INFO] [stdout] 350 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | def_logic!{ ElementNOR, false, |v:bool,i:bool| v|i, |v:bool| !v } [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 350 - fn dup(&self) -> Box { [INFO] [stdout] 350 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:350:23 [INFO] [stdout] | [INFO] [stdout] 350 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 384 | def_logic!{ ElementXOR, false, |v:bool,i:bool| v^i, |v| v } [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 350 - fn dup(&self) -> Box { [INFO] [stdout] 350 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:350:23 [INFO] [stdout] | [INFO] [stdout] 350 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 385 | def_logic!{ ElementAND, true, |v:bool,i:bool| v&i, |v| v } [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 350 - fn dup(&self) -> Box { [INFO] [stdout] 350 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:350:23 [INFO] [stdout] | [INFO] [stdout] 350 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | def_logic!{ ElementOR, false, |v:bool,i:bool| v|i, |v| v } [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 350 - fn dup(&self) -> Box { [INFO] [stdout] 350 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:402:23 [INFO] [stdout] | [INFO] [stdout] 402 | fn dup(&self) -> 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] 402 - fn dup(&self) -> Box { [INFO] [stdout] 402 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:444:23 [INFO] [stdout] | [INFO] [stdout] 444 | fn dup(&self) -> 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] 444 - fn dup(&self) -> Box { [INFO] [stdout] 444 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:502:23 [INFO] [stdout] | [INFO] [stdout] 502 | fn dup(&self) -> 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] 502 - fn dup(&self) -> Box { [INFO] [stdout] 502 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:571:23 [INFO] [stdout] | [INFO] [stdout] 571 | fn dup(&self) -> 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] 571 - fn dup(&self) -> Box { [INFO] [stdout] 571 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:624:23 [INFO] [stdout] | [INFO] [stdout] 624 | fn dup(&self) -> 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] 624 - fn dup(&self) -> Box { [INFO] [stdout] 624 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:672:23 [INFO] [stdout] | [INFO] [stdout] 672 | fn dup(&self) -> 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] 672 - fn dup(&self) -> Box { [INFO] [stdout] 672 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:744:23 [INFO] [stdout] | [INFO] [stdout] 744 | fn dup(&self) -> 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] 744 - fn dup(&self) -> Box { [INFO] [stdout] 744 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:808:23 [INFO] [stdout] | [INFO] [stdout] 808 | fn dup(&self) -> 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] 808 - fn dup(&self) -> Box { [INFO] [stdout] 808 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:118:33 [INFO] [stdout] | [INFO] [stdout] 118 | Box::new(self.clone()) as 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] 118 - Box::new(self.clone()) as Box [INFO] [stdout] 118 + Box::new(self.clone()) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:158:45 [INFO] [stdout] | [INFO] [stdout] 158 | return Ok( Box::new(ElementENABLE) as 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] 158 - return Ok( Box::new(ElementENABLE) as Box ); [INFO] [stdout] 158 + return Ok( Box::new(ElementENABLE) as Box ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:168:34 [INFO] [stdout] | [INFO] [stdout] 168 | Box::new(ElementENABLE) as 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] 168 - Box::new(ElementENABLE) as Box [INFO] [stdout] 168 + Box::new(ElementENABLE) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:202:87 [INFO] [stdout] | [INFO] [stdout] 202 | return Ok( Box::new(ElementPULSE { dir_is_falling: dir, last_value: false }) as 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] 202 - return Ok( Box::new(ElementPULSE { dir_is_falling: dir, last_value: false }) as Box ); [INFO] [stdout] 202 + return Ok( Box::new(ElementPULSE { dir_is_falling: dir, last_value: false }) as Box ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:212:33 [INFO] [stdout] | [INFO] [stdout] 212 | Box::new(self.clone()) as 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] 212 - Box::new(self.clone()) as Box [INFO] [stdout] 212 + Box::new(self.clone()) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:245:96 [INFO] [stdout] | [INFO] [stdout] 245 | return Ok( Box::new(ElementHOLD { hold_time: time, times: ::from_elem(n_inputs, 0) }) as 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] 245 - return Ok( Box::new(ElementHOLD { hold_time: time, times: ::from_elem(n_inputs, 0) }) as Box ); [INFO] [stdout] 245 + return Ok( Box::new(ElementHOLD { hold_time: time, times: ::from_elem(n_inputs, 0) }) as Box ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:255:33 [INFO] [stdout] | [INFO] [stdout] 255 | Box::new(self.clone()) as 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] 255 - Box::new(self.clone()) as Box [INFO] [stdout] 255 + Box::new(self.clone()) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:304:33 [INFO] [stdout] | [INFO] [stdout] 304 | Box::new(self.clone()) as 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] 304 - Box::new(self.clone()) as Box [INFO] [stdout] 304 + Box::new(self.clone()) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:393:35 [INFO] [stdout] | [INFO] [stdout] 393 | Ok( Box::new(ElementNOT) as 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] 393 - Ok( Box::new(ElementNOT) as Box ) [INFO] [stdout] 393 + Ok( Box::new(ElementNOT) as Box ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:403:31 [INFO] [stdout] | [INFO] [stdout] 403 | Box::new(ElementNOT) as 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] 403 - Box::new(ElementNOT) as Box [INFO] [stdout] 403 + Box::new(ElementNOT) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:435:94 [INFO] [stdout] | [INFO] [stdout] 435 | Ok( Box::new(ElementLATCH { vals: ::from_elem(size, false), ..Default::default() }) as 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] 435 - Ok( Box::new(ElementLATCH { vals: ::from_elem(size, false), ..Default::default() }) as Box ) [INFO] [stdout] 435 + Ok( Box::new(ElementLATCH { vals: ::from_elem(size, false), ..Default::default() }) as Box ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:445:33 [INFO] [stdout] | [INFO] [stdout] 445 | Box::new(self.clone()) as 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] 445 - Box::new(self.clone()) as Box [INFO] [stdout] 445 + Box::new(self.clone()) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:503:33 [INFO] [stdout] | [INFO] [stdout] 503 | Box::new(self.clone()) as 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] 503 - Box::new(self.clone()) as Box [INFO] [stdout] 503 + Box::new(self.clone()) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:562:65 [INFO] [stdout] | [INFO] [stdout] 562 | Ok( Box::new(ElementMUX{bits: bits, bussize: bussize}) as 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] 562 - Ok( Box::new(ElementMUX{bits: bits, bussize: bussize}) as Box ) [INFO] [stdout] 562 + Ok( Box::new(ElementMUX{bits: bits, bussize: bussize}) as Box ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:572:33 [INFO] [stdout] | [INFO] [stdout] 572 | Box::new(self.clone()) as 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] 572 - Box::new(self.clone()) as Box [INFO] [stdout] 572 + Box::new(self.clone()) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:614:49 [INFO] [stdout] | [INFO] [stdout] 614 | Ok( Box::new(ElementDEMUX{bits: bits}) as 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] 614 - Ok( Box::new(ElementDEMUX{bits: bits}) as Box ) [INFO] [stdout] 614 + Ok( Box::new(ElementDEMUX{bits: bits}) as Box ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:625:33 [INFO] [stdout] | [INFO] [stdout] 625 | Box::new(self.clone()) as 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] 625 - Box::new(self.clone()) as Box [INFO] [stdout] 625 + Box::new(self.clone()) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:663:78 [INFO] [stdout] | [INFO] [stdout] 663 | return Ok( Box::new(ElementSEQUENCER { count: count, position: 0 }) as 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] 663 - return Ok( Box::new(ElementSEQUENCER { count: count, position: 0 }) as Box ); [INFO] [stdout] 663 + return Ok( Box::new(ElementSEQUENCER { count: count, position: 0 }) as Box ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:673:33 [INFO] [stdout] | [INFO] [stdout] 673 | Box::new(self.clone()) as 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] 673 - Box::new(self.clone()) as Box [INFO] [stdout] 673 + Box::new(self.clone()) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:735:14 [INFO] [stdout] | [INFO] [stdout] 735 | }) as 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] 735 - }) as Box ) [INFO] [stdout] 735 + }) as Box ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:745:33 [INFO] [stdout] | [INFO] [stdout] 745 | Box::new(self.clone()) as 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] 745 - Box::new(self.clone()) as Box [INFO] [stdout] 745 + Box::new(self.clone()) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:795:14 [INFO] [stdout] | [INFO] [stdout] 795 | }) as 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] 795 - }) as Box ) [INFO] [stdout] 795 + }) as Box ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:340:72 [INFO] [stdout] | [INFO] [stdout] 340 | Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | def_logic!{ ElementNXOR, false, |v:bool,i:bool| v^i, |v:bool| !v } [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 340 - Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] 340 + Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:351:33 [INFO] [stdout] | [INFO] [stdout] 351 | Box::new(self.clone()) as Box [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | def_logic!{ ElementNXOR, false, |v:bool,i:bool| v^i, |v:bool| !v } [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 351 - Box::new(self.clone()) as Box [INFO] [stdout] 351 + Box::new(self.clone()) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:340:72 [INFO] [stdout] | [INFO] [stdout] 340 | Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 382 | def_logic!{ ElementNAND, true, |v:bool,i:bool| v&i, |v:bool| !v } [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 340 - Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] 340 + Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:351:33 [INFO] [stdout] | [INFO] [stdout] 351 | Box::new(self.clone()) as Box [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 382 | def_logic!{ ElementNAND, true, |v:bool,i:bool| v&i, |v:bool| !v } [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 351 - Box::new(self.clone()) as Box [INFO] [stdout] 351 + Box::new(self.clone()) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:340:72 [INFO] [stdout] | [INFO] [stdout] 340 | Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | def_logic!{ ElementNOR, false, |v:bool,i:bool| v|i, |v:bool| !v } [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 340 - Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] 340 + Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:351:33 [INFO] [stdout] | [INFO] [stdout] 351 | Box::new(self.clone()) as Box [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | def_logic!{ ElementNOR, false, |v:bool,i:bool| v|i, |v:bool| !v } [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 351 - Box::new(self.clone()) as Box [INFO] [stdout] 351 + Box::new(self.clone()) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:340:72 [INFO] [stdout] | [INFO] [stdout] 340 | Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 384 | def_logic!{ ElementXOR, false, |v:bool,i:bool| v^i, |v| v } [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 340 - Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] 340 + Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:351:33 [INFO] [stdout] | [INFO] [stdout] 351 | Box::new(self.clone()) as Box [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 384 | def_logic!{ ElementXOR, false, |v:bool,i:bool| v^i, |v| v } [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 351 - Box::new(self.clone()) as Box [INFO] [stdout] 351 + Box::new(self.clone()) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:340:72 [INFO] [stdout] | [INFO] [stdout] 340 | Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 385 | def_logic!{ ElementAND, true, |v:bool,i:bool| v&i, |v| v } [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 340 - Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] 340 + Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:351:33 [INFO] [stdout] | [INFO] [stdout] 351 | Box::new(self.clone()) as Box [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 385 | def_logic!{ ElementAND, true, |v:bool,i:bool| v&i, |v| v } [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 351 - Box::new(self.clone()) as Box [INFO] [stdout] 351 + Box::new(self.clone()) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:340:72 [INFO] [stdout] | [INFO] [stdout] 340 | Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | def_logic!{ ElementOR, false, |v:bool,i:bool| v|i, |v| v } [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 340 - Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] 340 + Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:351:33 [INFO] [stdout] | [INFO] [stdout] 351 | Box::new(self.clone()) as Box [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | def_logic!{ ElementOR, false, |v:bool,i:bool| v|i, |v| v } [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 351 - Box::new(self.clone()) as Box [INFO] [stdout] 351 + Box::new(self.clone()) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit` [INFO] [stdout] --> src/elements.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | fn finalise(&mut self, unit: &::cct_mesh::Unit) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_unit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_inputs` [INFO] [stdout] --> src/elements.rs:286:25 [INFO] [stdout] | [INFO] [stdout] 286 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_inputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_inputs` [INFO] [stdout] --> src/elements.rs:299:24 [INFO] [stdout] | [INFO] [stdout] 299 | fn get_outputs(&self, n_inputs: usize) -> usize { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_inputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_inputs` [INFO] [stdout] --> src/elements.rs:782:25 [INFO] [stdout] | [INFO] [stdout] 782 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_inputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `ExecLimit` [INFO] [stdout] --> src/cct_mesh/flat.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | type ExecLimit = u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/cct_mesh/flat.rs:71:2 [INFO] [stdout] | [INFO] [stdout] 71 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Breakpoint` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cct_mesh/flat.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | Err(f) => panic!(f.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 46 | Err(f) => panic!("{}", f.to_string()), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 75 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 00s [INFO] running `Command { std: "docker" "inspect" "69496086c9b25397ccaca6d278a4f6fc913dc3f3e451d2f1de121755eb81e8b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69496086c9b25397ccaca6d278a4f6fc913dc3f3e451d2f1de121755eb81e8b5", kill_on_drop: false }` [INFO] [stdout] 69496086c9b25397ccaca6d278a4f6fc913dc3f3e451d2f1de121755eb81e8b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 91abb46197c9f94f7134ae450d78b18e54c0c8502e6d98e2ba0acfd5d5d1ae88 [INFO] running `Command { std: "docker" "start" "-a" "91abb46197c9f94f7134ae450d78b18e54c0c8502e6d98e2ba0acfd5d5d1ae88", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling logiccircuit v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/cct_mesh/mod.rs:303:18 [INFO] [stdout] | [INFO] [stdout] 303 | let mut ele = try!(::elements::create(name, &*params, inputs.len())); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parse/lex.rs:267:8 [INFO] [stdout] | [INFO] [stdout] 267 | '1' ... '7' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` 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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parse/lex.rs:279:7 [INFO] [stdout] | [INFO] [stdout] 279 | '1' ... '9' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parse/lex.rs:283:6 [INFO] [stdout] | [INFO] [stdout] 283 | 'a'...'z'|'A'...'Z'|'_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/parse/lex.rs:283:16 [INFO] [stdout] | [INFO] [stdout] 283 | 'a'...'z'|'A'...'Z'|'_' => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [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] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `exp_enum` [INFO] [stdout] --> src/parse/mod.rs:19:14 [INFO] [stdout] | [INFO] [stdout] 19 | macro_rules! exp_enum{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `parse_try` [INFO] [stdout] --> src/parse/mod.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | macro_rules! parse_try{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/elements.rs:579:72 [INFO] [stdout] | [INFO] [stdout] 579 | let ofs = 1 + (self.bits as usize) + index * (self.bussize as usize);; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cct_mesh/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | inst: Box<::elements::Element+'static>, [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] 36 | inst: Box, [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/parse/lex.rs:40:34 [INFO] [stdout] | [INFO] [stdout] 40 | pub type InStream<'a> = &'a mut (::std::iter::Iterator + 'a); [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 | pub type InStream<'a> = &'a mut (dyn (::std::iter::Iterator + 'a)); [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cct_mesh/flat.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub inst: Box<::elements::Element+'static>, [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 | pub inst: Box, [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cct_mesh/mod.rs:123:20 [INFO] [stdout] | [INFO] [stdout] 123 | impl Clone for Box<::elements::Element+'static> [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] 123 | impl Clone for Box [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cct_mesh/mod.rs:125:25 [INFO] [stdout] | [INFO] [stdout] 125 | fn clone(&self) -> Box<::elements::Element+'static> { [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] 125 | fn clone(&self) -> Box { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:37:36 [INFO] [stdout] | [INFO] [stdout] 37 | pub type NewEleResult = Result,String>; [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] 37 - pub type NewEleResult = Result,String>; [INFO] [stdout] 37 + pub type NewEleResult = Result,String>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> 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] 33 - fn dup(&self) -> Box; [INFO] [stdout] 33 + fn dup(&self) -> Box; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 117 | fn dup(&self) -> 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] 117 - fn dup(&self) -> Box { [INFO] [stdout] 117 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:167:23 [INFO] [stdout] | [INFO] [stdout] 167 | fn dup(&self) -> 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] 167 - fn dup(&self) -> Box { [INFO] [stdout] 167 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:211:23 [INFO] [stdout] | [INFO] [stdout] 211 | fn dup(&self) -> 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] 211 - fn dup(&self) -> Box { [INFO] [stdout] 211 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:254:23 [INFO] [stdout] | [INFO] [stdout] 254 | fn dup(&self) -> 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] 254 - fn dup(&self) -> Box { [INFO] [stdout] 254 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:303:23 [INFO] [stdout] | [INFO] [stdout] 303 | fn dup(&self) -> 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] 303 - fn dup(&self) -> Box { [INFO] [stdout] 303 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:350:23 [INFO] [stdout] | [INFO] [stdout] 350 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | def_logic!{ ElementNXOR, false, |v:bool,i:bool| v^i, |v:bool| !v } [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 350 - fn dup(&self) -> Box { [INFO] [stdout] 350 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:350:23 [INFO] [stdout] | [INFO] [stdout] 350 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 382 | def_logic!{ ElementNAND, true, |v:bool,i:bool| v&i, |v:bool| !v } [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 350 - fn dup(&self) -> Box { [INFO] [stdout] 350 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:350:23 [INFO] [stdout] | [INFO] [stdout] 350 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | def_logic!{ ElementNOR, false, |v:bool,i:bool| v|i, |v:bool| !v } [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 350 - fn dup(&self) -> Box { [INFO] [stdout] 350 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:350:23 [INFO] [stdout] | [INFO] [stdout] 350 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 384 | def_logic!{ ElementXOR, false, |v:bool,i:bool| v^i, |v| v } [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 350 - fn dup(&self) -> Box { [INFO] [stdout] 350 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:350:23 [INFO] [stdout] | [INFO] [stdout] 350 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 385 | def_logic!{ ElementAND, true, |v:bool,i:bool| v&i, |v| v } [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 350 - fn dup(&self) -> Box { [INFO] [stdout] 350 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:350:23 [INFO] [stdout] | [INFO] [stdout] 350 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | def_logic!{ ElementOR, false, |v:bool,i:bool| v|i, |v| v } [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 350 - fn dup(&self) -> Box { [INFO] [stdout] 350 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:402:23 [INFO] [stdout] | [INFO] [stdout] 402 | fn dup(&self) -> 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] 402 - fn dup(&self) -> Box { [INFO] [stdout] 402 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:444:23 [INFO] [stdout] | [INFO] [stdout] 444 | fn dup(&self) -> 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] 444 - fn dup(&self) -> Box { [INFO] [stdout] 444 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:502:23 [INFO] [stdout] | [INFO] [stdout] 502 | fn dup(&self) -> 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] 502 - fn dup(&self) -> Box { [INFO] [stdout] 502 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:571:23 [INFO] [stdout] | [INFO] [stdout] 571 | fn dup(&self) -> 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] 571 - fn dup(&self) -> Box { [INFO] [stdout] 571 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:624:23 [INFO] [stdout] | [INFO] [stdout] 624 | fn dup(&self) -> 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] 624 - fn dup(&self) -> Box { [INFO] [stdout] 624 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:672:23 [INFO] [stdout] | [INFO] [stdout] 672 | fn dup(&self) -> 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] 672 - fn dup(&self) -> Box { [INFO] [stdout] 672 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:744:23 [INFO] [stdout] | [INFO] [stdout] 744 | fn dup(&self) -> 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] 744 - fn dup(&self) -> Box { [INFO] [stdout] 744 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:808:23 [INFO] [stdout] | [INFO] [stdout] 808 | fn dup(&self) -> 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] 808 - fn dup(&self) -> Box { [INFO] [stdout] 808 + fn dup(&self) -> Box { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:118:33 [INFO] [stdout] | [INFO] [stdout] 118 | Box::new(self.clone()) as 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] 118 - Box::new(self.clone()) as Box [INFO] [stdout] 118 + Box::new(self.clone()) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:158:45 [INFO] [stdout] | [INFO] [stdout] 158 | return Ok( Box::new(ElementENABLE) as 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] 158 - return Ok( Box::new(ElementENABLE) as Box ); [INFO] [stdout] 158 + return Ok( Box::new(ElementENABLE) as Box ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:168:34 [INFO] [stdout] | [INFO] [stdout] 168 | Box::new(ElementENABLE) as 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] 168 - Box::new(ElementENABLE) as Box [INFO] [stdout] 168 + Box::new(ElementENABLE) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:202:87 [INFO] [stdout] | [INFO] [stdout] 202 | return Ok( Box::new(ElementPULSE { dir_is_falling: dir, last_value: false }) as 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] 202 - return Ok( Box::new(ElementPULSE { dir_is_falling: dir, last_value: false }) as Box ); [INFO] [stdout] 202 + return Ok( Box::new(ElementPULSE { dir_is_falling: dir, last_value: false }) as Box ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:212:33 [INFO] [stdout] | [INFO] [stdout] 212 | Box::new(self.clone()) as 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] 212 - Box::new(self.clone()) as Box [INFO] [stdout] 212 + Box::new(self.clone()) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:245:96 [INFO] [stdout] | [INFO] [stdout] 245 | return Ok( Box::new(ElementHOLD { hold_time: time, times: ::from_elem(n_inputs, 0) }) as 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] 245 - return Ok( Box::new(ElementHOLD { hold_time: time, times: ::from_elem(n_inputs, 0) }) as Box ); [INFO] [stdout] 245 + return Ok( Box::new(ElementHOLD { hold_time: time, times: ::from_elem(n_inputs, 0) }) as Box ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:255:33 [INFO] [stdout] | [INFO] [stdout] 255 | Box::new(self.clone()) as 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] 255 - Box::new(self.clone()) as Box [INFO] [stdout] 255 + Box::new(self.clone()) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:304:33 [INFO] [stdout] | [INFO] [stdout] 304 | Box::new(self.clone()) as 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] 304 - Box::new(self.clone()) as Box [INFO] [stdout] 304 + Box::new(self.clone()) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:393:35 [INFO] [stdout] | [INFO] [stdout] 393 | Ok( Box::new(ElementNOT) as 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] 393 - Ok( Box::new(ElementNOT) as Box ) [INFO] [stdout] 393 + Ok( Box::new(ElementNOT) as Box ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:403:31 [INFO] [stdout] | [INFO] [stdout] 403 | Box::new(ElementNOT) as 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] 403 - Box::new(ElementNOT) as Box [INFO] [stdout] 403 + Box::new(ElementNOT) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:435:94 [INFO] [stdout] | [INFO] [stdout] 435 | Ok( Box::new(ElementLATCH { vals: ::from_elem(size, false), ..Default::default() }) as 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] 435 - Ok( Box::new(ElementLATCH { vals: ::from_elem(size, false), ..Default::default() }) as Box ) [INFO] [stdout] 435 + Ok( Box::new(ElementLATCH { vals: ::from_elem(size, false), ..Default::default() }) as Box ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:445:33 [INFO] [stdout] | [INFO] [stdout] 445 | Box::new(self.clone()) as 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] 445 - Box::new(self.clone()) as Box [INFO] [stdout] 445 + Box::new(self.clone()) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:503:33 [INFO] [stdout] | [INFO] [stdout] 503 | Box::new(self.clone()) as 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] 503 - Box::new(self.clone()) as Box [INFO] [stdout] 503 + Box::new(self.clone()) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:562:65 [INFO] [stdout] | [INFO] [stdout] 562 | Ok( Box::new(ElementMUX{bits: bits, bussize: bussize}) as 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] 562 - Ok( Box::new(ElementMUX{bits: bits, bussize: bussize}) as Box ) [INFO] [stdout] 562 + Ok( Box::new(ElementMUX{bits: bits, bussize: bussize}) as Box ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:572:33 [INFO] [stdout] | [INFO] [stdout] 572 | Box::new(self.clone()) as 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] 572 - Box::new(self.clone()) as Box [INFO] [stdout] 572 + Box::new(self.clone()) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:614:49 [INFO] [stdout] | [INFO] [stdout] 614 | Ok( Box::new(ElementDEMUX{bits: bits}) as 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] 614 - Ok( Box::new(ElementDEMUX{bits: bits}) as Box ) [INFO] [stdout] 614 + Ok( Box::new(ElementDEMUX{bits: bits}) as Box ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:625:33 [INFO] [stdout] | [INFO] [stdout] 625 | Box::new(self.clone()) as 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] 625 - Box::new(self.clone()) as Box [INFO] [stdout] 625 + Box::new(self.clone()) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:663:78 [INFO] [stdout] | [INFO] [stdout] 663 | return Ok( Box::new(ElementSEQUENCER { count: count, position: 0 }) as 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] 663 - return Ok( Box::new(ElementSEQUENCER { count: count, position: 0 }) as Box ); [INFO] [stdout] 663 + return Ok( Box::new(ElementSEQUENCER { count: count, position: 0 }) as Box ); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:673:33 [INFO] [stdout] | [INFO] [stdout] 673 | Box::new(self.clone()) as 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] 673 - Box::new(self.clone()) as Box [INFO] [stdout] 673 + Box::new(self.clone()) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:735:14 [INFO] [stdout] | [INFO] [stdout] 735 | }) as 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] 735 - }) as Box ) [INFO] [stdout] 735 + }) as Box ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:745:33 [INFO] [stdout] | [INFO] [stdout] 745 | Box::new(self.clone()) as 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] 745 - Box::new(self.clone()) as Box [INFO] [stdout] 745 + Box::new(self.clone()) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:795:14 [INFO] [stdout] | [INFO] [stdout] 795 | }) as 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] 795 - }) as Box ) [INFO] [stdout] 795 + }) as Box ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:340:72 [INFO] [stdout] | [INFO] [stdout] 340 | Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | def_logic!{ ElementNXOR, false, |v:bool,i:bool| v^i, |v:bool| !v } [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 340 - Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] 340 + Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:351:33 [INFO] [stdout] | [INFO] [stdout] 351 | Box::new(self.clone()) as Box [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 381 | def_logic!{ ElementNXOR, false, |v:bool,i:bool| v^i, |v:bool| !v } [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 351 - Box::new(self.clone()) as Box [INFO] [stdout] 351 + Box::new(self.clone()) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:340:72 [INFO] [stdout] | [INFO] [stdout] 340 | Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 382 | def_logic!{ ElementNAND, true, |v:bool,i:bool| v&i, |v:bool| !v } [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 340 - Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] 340 + Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:351:33 [INFO] [stdout] | [INFO] [stdout] 351 | Box::new(self.clone()) as Box [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 382 | def_logic!{ ElementNAND, true, |v:bool,i:bool| v&i, |v:bool| !v } [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 351 - Box::new(self.clone()) as Box [INFO] [stdout] 351 + Box::new(self.clone()) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:340:72 [INFO] [stdout] | [INFO] [stdout] 340 | Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | def_logic!{ ElementNOR, false, |v:bool,i:bool| v|i, |v:bool| !v } [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 340 - Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] 340 + Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:351:33 [INFO] [stdout] | [INFO] [stdout] 351 | Box::new(self.clone()) as Box [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 383 | def_logic!{ ElementNOR, false, |v:bool,i:bool| v|i, |v:bool| !v } [INFO] [stdout] | ------------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 351 - Box::new(self.clone()) as Box [INFO] [stdout] 351 + Box::new(self.clone()) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:340:72 [INFO] [stdout] | [INFO] [stdout] 340 | Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 384 | def_logic!{ ElementXOR, false, |v:bool,i:bool| v^i, |v| v } [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 340 - Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] 340 + Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:351:33 [INFO] [stdout] | [INFO] [stdout] 351 | Box::new(self.clone()) as Box [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 384 | def_logic!{ ElementXOR, false, |v:bool,i:bool| v^i, |v| v } [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 351 - Box::new(self.clone()) as Box [INFO] [stdout] 351 + Box::new(self.clone()) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:340:72 [INFO] [stdout] | [INFO] [stdout] 340 | Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 385 | def_logic!{ ElementAND, true, |v:bool,i:bool| v&i, |v| v } [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 340 - Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] 340 + Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:351:33 [INFO] [stdout] | [INFO] [stdout] 351 | Box::new(self.clone()) as Box [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 385 | def_logic!{ ElementAND, true, |v:bool,i:bool| v&i, |v| v } [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 351 - Box::new(self.clone()) as Box [INFO] [stdout] 351 + Box::new(self.clone()) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:340:72 [INFO] [stdout] | [INFO] [stdout] 340 | Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | def_logic!{ ElementOR, false, |v:bool,i:bool| v|i, |v| v } [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 340 - Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] 340 + Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/elements.rs:351:33 [INFO] [stdout] | [INFO] [stdout] 351 | Box::new(self.clone()) as Box [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 386 | def_logic!{ ElementOR, false, |v:bool,i:bool| v|i, |v| v } [INFO] [stdout] | ------------------------------------------------------------ in this macro invocation [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] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 351 - Box::new(self.clone()) as Box [INFO] [stdout] 351 + Box::new(self.clone()) as Box [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `unit` [INFO] [stdout] --> src/elements.rs:30:25 [INFO] [stdout] | [INFO] [stdout] 30 | fn finalise(&mut self, unit: &::cct_mesh::Unit) {} [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_unit` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_inputs` [INFO] [stdout] --> src/elements.rs:286:25 [INFO] [stdout] | [INFO] [stdout] 286 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_inputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_inputs` [INFO] [stdout] --> src/elements.rs:299:24 [INFO] [stdout] | [INFO] [stdout] 299 | fn get_outputs(&self, n_inputs: usize) -> usize { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_inputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n_inputs` [INFO] [stdout] --> src/elements.rs:782:25 [INFO] [stdout] | [INFO] [stdout] 782 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_inputs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `ExecLimit` [INFO] [stdout] --> src/cct_mesh/flat.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | type ExecLimit = u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/cct_mesh/flat.rs:71:2 [INFO] [stdout] | [INFO] [stdout] 71 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Breakpoint` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/cct_mesh/flat.rs:68:10 [INFO] [stdout] | [INFO] [stdout] 68 | #[derive(Clone)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:46:20 [INFO] [stdout] | [INFO] [stdout] 46 | Err(f) => panic!(f.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: add a "{}" format string to Display the message [INFO] [stdout] | [INFO] [stdout] 46 | Err(f) => panic!("{}", f.to_string()), [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 75 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.09s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/logiccircuit-db83308ee9c4bd69) [INFO] running `Command { std: "docker" "inspect" "91abb46197c9f94f7134ae450d78b18e54c0c8502e6d98e2ba0acfd5d5d1ae88", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91abb46197c9f94f7134ae450d78b18e54c0c8502e6d98e2ba0acfd5d5d1ae88", kill_on_drop: false }` [INFO] [stdout] 91abb46197c9f94f7134ae450d78b18e54c0c8502e6d98e2ba0acfd5d5d1ae88 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-75/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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ff9465356bab9c7d324840aa0d2614d60c32503d7a669a4e214322829f89324e [INFO] running `Command { std: "docker" "start" "-a" "ff9465356bab9c7d324840aa0d2614d60c32503d7a669a4e214322829f89324e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/cct_mesh/mod.rs:303:18 [INFO] [stderr] | [INFO] [stderr] 303 | let mut ele = try!(::elements::create(name, &*params, inputs.len())); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/parse/lex.rs:267:8 [INFO] [stderr] | [INFO] [stderr] 267 | '1' ... '7' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/parse/lex.rs:279:7 [INFO] [stderr] | [INFO] [stderr] 279 | '1' ... '9' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/parse/lex.rs:283:6 [INFO] [stderr] | [INFO] [stderr] 283 | 'a'...'z'|'A'...'Z'|'_' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: `...` range patterns are deprecated [INFO] [stderr] --> src/parse/lex.rs:283:16 [INFO] [stderr] | [INFO] [stderr] 283 | 'a'...'z'|'A'...'Z'|'_' => { [INFO] [stderr] | ^^^ help: use `..=` for an inclusive range [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `exp_enum` [INFO] [stderr] --> src/parse/mod.rs:19:14 [INFO] [stderr] | [INFO] [stderr] 19 | macro_rules! exp_enum{ [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused macro definition: `parse_try` [INFO] [stderr] --> src/parse/mod.rs:22:14 [INFO] [stderr] | [INFO] [stderr] 22 | macro_rules! parse_try{ [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/elements.rs:579:72 [INFO] [stderr] | [INFO] [stderr] 579 | let ofs = 1 + (self.bits as usize) + index * (self.bussize as usize);; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cct_mesh/mod.rs:36:12 [INFO] [stderr] | [INFO] [stderr] 36 | inst: Box<::elements::Element+'static>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 36 | inst: Box, [INFO] [stderr] | +++++ + [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/parse/lex.rs:40:34 [INFO] [stderr] | [INFO] [stderr] 40 | pub type InStream<'a> = &'a mut (::std::iter::Iterator + 'a); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 40 | pub type InStream<'a> = &'a mut (dyn (::std::iter::Iterator + 'a)); [INFO] [stderr] | +++++ + [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cct_mesh/flat.rs:19:16 [INFO] [stderr] | [INFO] [stderr] 19 | pub inst: Box<::elements::Element+'static>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 19 | pub inst: Box, [INFO] [stderr] | +++++ + [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cct_mesh/mod.rs:123:20 [INFO] [stderr] | [INFO] [stderr] 123 | impl Clone for Box<::elements::Element+'static> [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 123 | impl Clone for Box [INFO] [stderr] | +++++ + [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cct_mesh/mod.rs:125:25 [INFO] [stderr] | [INFO] [stderr] 125 | fn clone(&self) -> Box<::elements::Element+'static> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 125 | fn clone(&self) -> Box { [INFO] [stderr] | +++++ + [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:37:36 [INFO] [stderr] | [INFO] [stderr] 37 | pub type NewEleResult = Result,String>; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 37 - pub type NewEleResult = Result,String>; [INFO] [stderr] 37 + pub type NewEleResult = Result,String>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:33:23 [INFO] [stderr] | [INFO] [stderr] 33 | fn dup(&self) -> Box; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 33 - fn dup(&self) -> Box; [INFO] [stderr] 33 + fn dup(&self) -> Box; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:117:23 [INFO] [stderr] | [INFO] [stderr] 117 | fn dup(&self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 117 - fn dup(&self) -> Box { [INFO] [stderr] 117 + fn dup(&self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:167:23 [INFO] [stderr] | [INFO] [stderr] 167 | fn dup(&self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 167 - fn dup(&self) -> Box { [INFO] [stderr] 167 + fn dup(&self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:211:23 [INFO] [stderr] | [INFO] [stderr] 211 | fn dup(&self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 211 - fn dup(&self) -> Box { [INFO] [stderr] 211 + fn dup(&self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:254:23 [INFO] [stderr] | [INFO] [stderr] 254 | fn dup(&self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 254 - fn dup(&self) -> Box { [INFO] [stderr] 254 + fn dup(&self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:303:23 [INFO] [stderr] | [INFO] [stderr] 303 | fn dup(&self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 303 - fn dup(&self) -> Box { [INFO] [stderr] 303 + fn dup(&self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:350:23 [INFO] [stderr] | [INFO] [stderr] 350 | fn dup(&self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 381 | def_logic!{ ElementNXOR, false, |v:bool,i:bool| v^i, |v:bool| !v } [INFO] [stderr] | ------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 350 - fn dup(&self) -> Box { [INFO] [stderr] 350 + fn dup(&self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:350:23 [INFO] [stderr] | [INFO] [stderr] 350 | fn dup(&self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 382 | def_logic!{ ElementNAND, true, |v:bool,i:bool| v&i, |v:bool| !v } [INFO] [stderr] | ------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 350 - fn dup(&self) -> Box { [INFO] [stderr] 350 + fn dup(&self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:350:23 [INFO] [stderr] | [INFO] [stderr] 350 | fn dup(&self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 383 | def_logic!{ ElementNOR, false, |v:bool,i:bool| v|i, |v:bool| !v } [INFO] [stderr] | ------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 350 - fn dup(&self) -> Box { [INFO] [stderr] 350 + fn dup(&self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:350:23 [INFO] [stderr] | [INFO] [stderr] 350 | fn dup(&self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 384 | def_logic!{ ElementXOR, false, |v:bool,i:bool| v^i, |v| v } [INFO] [stderr] | ------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 350 - fn dup(&self) -> Box { [INFO] [stderr] 350 + fn dup(&self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:350:23 [INFO] [stderr] | [INFO] [stderr] 350 | fn dup(&self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 385 | def_logic!{ ElementAND, true, |v:bool,i:bool| v&i, |v| v } [INFO] [stderr] | ------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 350 - fn dup(&self) -> Box { [INFO] [stderr] 350 + fn dup(&self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:350:23 [INFO] [stderr] | [INFO] [stderr] 350 | fn dup(&self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 386 | def_logic!{ ElementOR, false, |v:bool,i:bool| v|i, |v| v } [INFO] [stderr] | ------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 350 - fn dup(&self) -> Box { [INFO] [stderr] 350 + fn dup(&self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:402:23 [INFO] [stderr] | [INFO] [stderr] 402 | fn dup(&self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 402 - fn dup(&self) -> Box { [INFO] [stderr] 402 + fn dup(&self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:444:23 [INFO] [stderr] | [INFO] [stderr] 444 | fn dup(&self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 444 - fn dup(&self) -> Box { [INFO] [stderr] 444 + fn dup(&self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:502:23 [INFO] [stderr] | [INFO] [stderr] 502 | fn dup(&self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 502 - fn dup(&self) -> Box { [INFO] [stderr] 502 + fn dup(&self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:571:23 [INFO] [stderr] | [INFO] [stderr] 571 | fn dup(&self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 571 - fn dup(&self) -> Box { [INFO] [stderr] 571 + fn dup(&self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:624:23 [INFO] [stderr] | [INFO] [stderr] 624 | fn dup(&self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 624 - fn dup(&self) -> Box { [INFO] [stderr] 624 + fn dup(&self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:672:23 [INFO] [stderr] | [INFO] [stderr] 672 | fn dup(&self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 672 - fn dup(&self) -> Box { [INFO] [stderr] 672 + fn dup(&self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:744:23 [INFO] [stderr] | [INFO] [stderr] 744 | fn dup(&self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 744 - fn dup(&self) -> Box { [INFO] [stderr] 744 + fn dup(&self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:808:23 [INFO] [stderr] | [INFO] [stderr] 808 | fn dup(&self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 808 - fn dup(&self) -> Box { [INFO] [stderr] 808 + fn dup(&self) -> Box { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:118:33 [INFO] [stderr] | [INFO] [stderr] 118 | Box::new(self.clone()) as Box [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 118 - Box::new(self.clone()) as Box [INFO] [stderr] 118 + Box::new(self.clone()) as Box [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:158:45 [INFO] [stderr] | [INFO] [stderr] 158 | return Ok( Box::new(ElementENABLE) as Box ); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 158 - return Ok( Box::new(ElementENABLE) as Box ); [INFO] [stderr] 158 + return Ok( Box::new(ElementENABLE) as Box ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:168:34 [INFO] [stderr] | [INFO] [stderr] 168 | Box::new(ElementENABLE) as Box [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 168 - Box::new(ElementENABLE) as Box [INFO] [stderr] 168 + Box::new(ElementENABLE) as Box [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:202:87 [INFO] [stderr] | [INFO] [stderr] 202 | return Ok( Box::new(ElementPULSE { dir_is_falling: dir, last_value: false }) as Box ); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 202 - return Ok( Box::new(ElementPULSE { dir_is_falling: dir, last_value: false }) as Box ); [INFO] [stderr] 202 + return Ok( Box::new(ElementPULSE { dir_is_falling: dir, last_value: false }) as Box ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:212:33 [INFO] [stderr] | [INFO] [stderr] 212 | Box::new(self.clone()) as Box [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 212 - Box::new(self.clone()) as Box [INFO] [stderr] 212 + Box::new(self.clone()) as Box [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:245:96 [INFO] [stderr] | [INFO] [stderr] 245 | return Ok( Box::new(ElementHOLD { hold_time: time, times: ::from_elem(n_inputs, 0) }) as Box ); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 245 - return Ok( Box::new(ElementHOLD { hold_time: time, times: ::from_elem(n_inputs, 0) }) as Box ); [INFO] [stderr] 245 + return Ok( Box::new(ElementHOLD { hold_time: time, times: ::from_elem(n_inputs, 0) }) as Box ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:255:33 [INFO] [stderr] | [INFO] [stderr] 255 | Box::new(self.clone()) as Box [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 255 - Box::new(self.clone()) as Box [INFO] [stderr] 255 + Box::new(self.clone()) as Box [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:304:33 [INFO] [stderr] | [INFO] [stderr] 304 | Box::new(self.clone()) as Box [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 304 - Box::new(self.clone()) as Box [INFO] [stderr] 304 + Box::new(self.clone()) as Box [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:393:35 [INFO] [stderr] | [INFO] [stderr] 393 | Ok( Box::new(ElementNOT) as Box ) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 393 - Ok( Box::new(ElementNOT) as Box ) [INFO] [stderr] 393 + Ok( Box::new(ElementNOT) as Box ) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:403:31 [INFO] [stderr] | [INFO] [stderr] 403 | Box::new(ElementNOT) as Box [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 403 - Box::new(ElementNOT) as Box [INFO] [stderr] 403 + Box::new(ElementNOT) as Box [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:435:94 [INFO] [stderr] | [INFO] [stderr] 435 | Ok( Box::new(ElementLATCH { vals: ::from_elem(size, false), ..Default::default() }) as Box ) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 435 - Ok( Box::new(ElementLATCH { vals: ::from_elem(size, false), ..Default::default() }) as Box ) [INFO] [stderr] 435 + Ok( Box::new(ElementLATCH { vals: ::from_elem(size, false), ..Default::default() }) as Box ) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:445:33 [INFO] [stderr] | [INFO] [stderr] 445 | Box::new(self.clone()) as Box [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 445 - Box::new(self.clone()) as Box [INFO] [stderr] 445 + Box::new(self.clone()) as Box [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:503:33 [INFO] [stderr] | [INFO] [stderr] 503 | Box::new(self.clone()) as Box [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 503 - Box::new(self.clone()) as Box [INFO] [stderr] 503 + Box::new(self.clone()) as Box [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:562:65 [INFO] [stderr] | [INFO] [stderr] 562 | Ok( Box::new(ElementMUX{bits: bits, bussize: bussize}) as Box ) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 562 - Ok( Box::new(ElementMUX{bits: bits, bussize: bussize}) as Box ) [INFO] [stderr] 562 + Ok( Box::new(ElementMUX{bits: bits, bussize: bussize}) as Box ) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:572:33 [INFO] [stderr] | [INFO] [stderr] 572 | Box::new(self.clone()) as Box [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 572 - Box::new(self.clone()) as Box [INFO] [stderr] 572 + Box::new(self.clone()) as Box [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:614:49 [INFO] [stderr] | [INFO] [stderr] 614 | Ok( Box::new(ElementDEMUX{bits: bits}) as Box ) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 614 - Ok( Box::new(ElementDEMUX{bits: bits}) as Box ) [INFO] [stderr] 614 + Ok( Box::new(ElementDEMUX{bits: bits}) as Box ) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:625:33 [INFO] [stderr] | [INFO] [stderr] 625 | Box::new(self.clone()) as Box [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 625 - Box::new(self.clone()) as Box [INFO] [stderr] 625 + Box::new(self.clone()) as Box [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:663:78 [INFO] [stderr] | [INFO] [stderr] 663 | return Ok( Box::new(ElementSEQUENCER { count: count, position: 0 }) as Box ); [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 663 - return Ok( Box::new(ElementSEQUENCER { count: count, position: 0 }) as Box ); [INFO] [stderr] 663 + return Ok( Box::new(ElementSEQUENCER { count: count, position: 0 }) as Box ); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:673:33 [INFO] [stderr] | [INFO] [stderr] 673 | Box::new(self.clone()) as Box [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 673 - Box::new(self.clone()) as Box [INFO] [stderr] 673 + Box::new(self.clone()) as Box [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:735:14 [INFO] [stderr] | [INFO] [stderr] 735 | }) as Box ) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 735 - }) as Box ) [INFO] [stderr] 735 + }) as Box ) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:745:33 [INFO] [stderr] | [INFO] [stderr] 745 | Box::new(self.clone()) as Box [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 745 - Box::new(self.clone()) as Box [INFO] [stderr] 745 + Box::new(self.clone()) as Box [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:795:14 [INFO] [stderr] | [INFO] [stderr] 795 | }) as Box ) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 795 - }) as Box ) [INFO] [stderr] 795 + }) as Box ) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:340:72 [INFO] [stderr] | [INFO] [stderr] 340 | Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 381 | def_logic!{ ElementNXOR, false, |v:bool,i:bool| v^i, |v:bool| !v } [INFO] [stderr] | ------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 340 - Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stderr] 340 + Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:351:33 [INFO] [stderr] | [INFO] [stderr] 351 | Box::new(self.clone()) as Box [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 381 | def_logic!{ ElementNXOR, false, |v:bool,i:bool| v^i, |v:bool| !v } [INFO] [stderr] | ------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 351 - Box::new(self.clone()) as Box [INFO] [stderr] 351 + Box::new(self.clone()) as Box [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:340:72 [INFO] [stderr] | [INFO] [stderr] 340 | Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 382 | def_logic!{ ElementNAND, true, |v:bool,i:bool| v&i, |v:bool| !v } [INFO] [stderr] | ------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 340 - Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stderr] 340 + Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:351:33 [INFO] [stderr] | [INFO] [stderr] 351 | Box::new(self.clone()) as Box [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 382 | def_logic!{ ElementNAND, true, |v:bool,i:bool| v&i, |v:bool| !v } [INFO] [stderr] | ------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 351 - Box::new(self.clone()) as Box [INFO] [stderr] 351 + Box::new(self.clone()) as Box [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:340:72 [INFO] [stderr] | [INFO] [stderr] 340 | Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 383 | def_logic!{ ElementNOR, false, |v:bool,i:bool| v|i, |v:bool| !v } [INFO] [stderr] | ------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 340 - Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stderr] 340 + Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:351:33 [INFO] [stderr] | [INFO] [stderr] 351 | Box::new(self.clone()) as Box [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 383 | def_logic!{ ElementNOR, false, |v:bool,i:bool| v|i, |v:bool| !v } [INFO] [stderr] | ------------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 351 - Box::new(self.clone()) as Box [INFO] [stderr] 351 + Box::new(self.clone()) as Box [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:340:72 [INFO] [stderr] | [INFO] [stderr] 340 | Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 384 | def_logic!{ ElementXOR, false, |v:bool,i:bool| v^i, |v| v } [INFO] [stderr] | ------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 340 - Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stderr] 340 + Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:351:33 [INFO] [stderr] | [INFO] [stderr] 351 | Box::new(self.clone()) as Box [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 384 | def_logic!{ ElementXOR, false, |v:bool,i:bool| v^i, |v| v } [INFO] [stderr] | ------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 351 - Box::new(self.clone()) as Box [INFO] [stderr] 351 + Box::new(self.clone()) as Box [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:340:72 [INFO] [stderr] | [INFO] [stderr] 340 | Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 385 | def_logic!{ ElementAND, true, |v:bool,i:bool| v&i, |v| v } [INFO] [stderr] | ------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 340 - Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stderr] 340 + Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:351:33 [INFO] [stderr] | [INFO] [stderr] 351 | Box::new(self.clone()) as Box [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 385 | def_logic!{ ElementAND, true, |v:bool,i:bool| v&i, |v| v } [INFO] [stderr] | ------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 351 - Box::new(self.clone()) as Box [INFO] [stderr] 351 + Box::new(self.clone()) as Box [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:340:72 [INFO] [stderr] | [INFO] [stderr] 340 | Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 386 | def_logic!{ ElementOR, false, |v:bool,i:bool| v|i, |v| v } [INFO] [stderr] | ------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 340 - Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stderr] 340 + Ok( Box::new($name { bussize: bussize, buscount: buscount }) as Box ) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/elements.rs:351:33 [INFO] [stderr] | [INFO] [stderr] 351 | Box::new(self.clone()) as Box [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 386 | def_logic!{ ElementOR, false, |v:bool,i:bool| v|i, |v| v } [INFO] [stderr] | ------------------------------------------------------------ in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 351 - Box::new(self.clone()) as Box [INFO] [stderr] 351 + Box::new(self.clone()) as Box [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused variable: `unit` [INFO] [stderr] --> src/elements.rs:30:25 [INFO] [stderr] | [INFO] [stderr] 30 | fn finalise(&mut self, unit: &::cct_mesh::Unit) {} [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_unit` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n_inputs` [INFO] [stderr] --> src/elements.rs:286:25 [INFO] [stderr] | [INFO] [stderr] 286 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_inputs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n_inputs` [INFO] [stderr] --> src/elements.rs:299:24 [INFO] [stderr] | [INFO] [stderr] 299 | fn get_outputs(&self, n_inputs: usize) -> usize { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_inputs` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `n_inputs` [INFO] [stderr] --> src/elements.rs:782:25 [INFO] [stderr] | [INFO] [stderr] 782 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_n_inputs` [INFO] [stderr] [INFO] [stderr] warning: type alias is never used: `ExecLimit` [INFO] [stderr] --> src/cct_mesh/flat.rs:4:1 [INFO] [stderr] | [INFO] [stderr] 4 | type ExecLimit = u32; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> src/cct_mesh/flat.rs:71:2 [INFO] [stderr] | [INFO] [stderr] 71 | name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Breakpoint` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/cct_mesh/flat.rs:68:10 [INFO] [stderr] | [INFO] [stderr] 68 | #[derive(Clone)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:46:20 [INFO] [stderr] | [INFO] [stderr] 46 | Err(f) => panic!(f.to_string()), [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: add a "{}" format string to Display the message [INFO] [stderr] | [INFO] [stderr] 46 | Err(f) => panic!("{}", f.to_string()), [INFO] [stderr] | +++++ [INFO] [stderr] [INFO] [stderr] warning: `logiccircuit` (bin "logiccircuit" test) generated 75 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 14.93s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/logiccircuit-db83308ee9c4bd69) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test parse::test_range_inc ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ff9465356bab9c7d324840aa0d2614d60c32503d7a669a4e214322829f89324e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff9465356bab9c7d324840aa0d2614d60c32503d7a669a4e214322829f89324e", kill_on_drop: false }` [INFO] [stdout] ff9465356bab9c7d324840aa0d2614d60c32503d7a669a4e214322829f89324e