[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] checking thepowersgang/rust-logiccircuit against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthepowersgang%2Frust-logiccircuit" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thepowersgang/rust-logiccircuit on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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-7/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7fc4bc64b35ab1e3acd00c4e5038620727c7620f54e9fb1e2be199070466173a [INFO] running `Command { std: "docker" "start" "-a" "7fc4bc64b35ab1e3acd00c4e5038620727c7620f54e9fb1e2be199070466173a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7fc4bc64b35ab1e3acd00c4e5038620727c7620f54e9fb1e2be199070466173a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fc4bc64b35ab1e3acd00c4e5038620727c7620f54e9fb1e2be199070466173a", kill_on_drop: false }` [INFO] [stdout] 7fc4bc64b35ab1e3acd00c4e5038620727c7620f54e9fb1e2be199070466173a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3c985ff2296a4b6437453737a35551378d80a9c48594a206f459839de37bc48 [INFO] running `Command { std: "docker" "start" "-a" "f3c985ff2296a4b6437453737a35551378d80a9c48594a206f459839de37bc48", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.91 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking log v0.4.14 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking logiccircuit v0.0.1 (/opt/rustwide/workdir) [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ::elements::Element+'static` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ::elements::Element+'static` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ::elements::Element+'static` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ::elements::Element+'static` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ::std::iter::Iterator + 'a` [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/parse/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / macro_rules! exp_enum{ [INFO] [stdout] 20 | | ($val:expr, $exp:ident) => (match $val { $exp(x) => x, _ => panic!("Expected enum {}", $exp) }) [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/parse/mod.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / macro_rules! parse_try{ [INFO] [stdout] 23 | | ($e:expr, $rv:expr) => (match $e {Ok(v) => v, Err(e) => {error!("Read error: {}", e); return $rv}}) [INFO] [stdout] 24 | | } [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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/elements.rs:614:49 [INFO] [stdout] | [INFO] [stdout] 614 | Ok( Box::new(ElementDEMUX{bits: bits}) as Box ) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ::elements::Element+'static` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ::elements::Element+'static` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ::elements::Element+'static` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ::elements::Element+'static` [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [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: 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] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn ::std::iter::Iterator + 'a` [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [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 issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/parse/mod.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / macro_rules! exp_enum{ [INFO] [stdout] 20 | | ($val:expr, $exp:ident) => (match $val { $exp(x) => x, _ => panic!("Expected enum {}", $exp) }) [INFO] [stdout] 21 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/parse/mod.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | / macro_rules! parse_try{ [INFO] [stdout] 23 | | ($e:expr, $rv:expr) => (match $e {Ok(v) => v, Err(e) => {error!("Read error: {}", e); return $rv}}) [INFO] [stdout] 24 | | } [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [INFO] [stdout] = note: this warning originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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/elements.rs:614:49 [INFO] [stdout] | [INFO] [stdout] 614 | Ok( Box::new(ElementDEMUX{bits: bits}) as Box ) [INFO] [stdout] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^ help: use `dyn`: `dyn Element` [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 issue #80165 [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] | ^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Element+'static` [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 issue #80165 [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: 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: `flattened` [INFO] [stdout] --> src/cct_mesh/mod.rs:90:2 [INFO] [stdout] | [INFO] [stdout] 90 | flattened: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 46 | Err(f) => std::panic::panic_any(f.to_string()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 75 warnings emitted [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: `flattened` [INFO] [stdout] --> src/cct_mesh/mod.rs:90:2 [INFO] [stdout] | [INFO] [stdout] 90 | flattened: Option>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: or use std::panic::panic_any instead [INFO] [stdout] | [INFO] [stdout] 46 | Err(f) => std::panic::panic_any(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 4.18s [INFO] running `Command { std: "docker" "inspect" "f3c985ff2296a4b6437453737a35551378d80a9c48594a206f459839de37bc48", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3c985ff2296a4b6437453737a35551378d80a9c48594a206f459839de37bc48", kill_on_drop: false }` [INFO] [stdout] f3c985ff2296a4b6437453737a35551378d80a9c48594a206f459839de37bc48