[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#8424f8e8cdf07010967a57584fd647b30e930d4d for pr-120095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthepowersgang%2Frust-logiccircuit" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thepowersgang/rust-logiccircuit on toolchain 8424f8e8cdf07010967a57584fd647b30e930d4d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "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-0-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking thepowersgang/rust-logiccircuit against try#047472f299946caf090d1b5608ae4bd9f0416256+rustflags=-Ddereferencing_mut_binding for pr-120095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fthepowersgang%2Frust-logiccircuit" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/thepowersgang/rust-logiccircuit on toolchain 047472f299946caf090d1b5608ae4bd9f0416256 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "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-0-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c48e415495eb473bdfede293b4ad8737a6f8a21bc592cbbcbc91895e1f462c0 [INFO] running `Command { std: "docker" "start" "-a" "0c48e415495eb473bdfede293b4ad8737a6f8a21bc592cbbcbc91895e1f462c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c48e415495eb473bdfede293b4ad8737a6f8a21bc592cbbcbc91895e1f462c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c48e415495eb473bdfede293b4ad8737a6f8a21bc592cbbcbc91895e1f462c0", kill_on_drop: false }` [INFO] [stdout] 0c48e415495eb473bdfede293b4ad8737a6f8a21bc592cbbcbc91895e1f462c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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 -Ddereferencing_mut_binding" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e80c198a4c6995bcf15f0c7e715df1fb10ab4c50018a0507a1107a4dac30571 [INFO] running `Command { std: "docker" "start" "-a" "9e80c198a4c6995bcf15f0c7e715df1fb10ab4c50018a0507a1107a4dac30571", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libc v0.2.91 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking getopts v0.2.21 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking 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: 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] = warning: 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: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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:267:8 [INFO] [stdout] | [INFO] [stdout] 267 | '1' ... '7' => { [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [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: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: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: `...` 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: 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 parentheses around match arm expression [INFO] [stdout] --> src/parse/mod.rs:526:58 [INFO] [stdout] | [INFO] [stdout] 526 | let limit = syntax_assert_get!(parser, TokNumber(v) => (v), "Expected number after #testcase"); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 526 - let limit = syntax_assert_get!(parser, TokNumber(v) => (v), "Expected number after #testcase"); [INFO] [stdout] 526 + let limit = syntax_assert_get!(parser, TokNumber(v) => v, "Expected number after #testcase"); [INFO] [stdout] | [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: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/parse/mod.rs:527:57 [INFO] [stdout] | [INFO] [stdout] 527 | let name = syntax_assert_get!(parser, TokString(v) => (v), "Expected test name after execution limit"); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 527 - let name = syntax_assert_get!(parser, TokString(v) => (v), "Expected test name after execution limit"); [INFO] [stdout] 527 + let name = syntax_assert_get!(parser, TokString(v) => v, "Expected test name after execution limit"); [INFO] [stdout] | [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: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/parse/mod.rs:526:58 [INFO] [stdout] | [INFO] [stdout] 526 | let limit = syntax_assert_get!(parser, TokNumber(v) => (v), "Expected number after #testcase"); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 526 - let limit = syntax_assert_get!(parser, TokNumber(v) => (v), "Expected number after #testcase"); [INFO] [stdout] 526 + let limit = syntax_assert_get!(parser, TokNumber(v) => v, "Expected number after #testcase"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/parse/mod.rs:527:57 [INFO] [stdout] | [INFO] [stdout] 527 | let name = syntax_assert_get!(parser, TokString(v) => (v), "Expected test name after execution limit"); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 527 - let name = syntax_assert_get!(parser, TokString(v) => (v), "Expected test name after execution limit"); [INFO] [stdout] 527 + let name = syntax_assert_get!(parser, TokString(v) => v, "Expected test name after execution limit"); [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/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] = note: `#[warn(bare_trait_objects)]` on by default [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:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | 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] 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/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] | +++ [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] = note: `#[warn(bare_trait_objects)]` on by default [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:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | 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] 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/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] | +++ [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] | +++ [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] | +++ [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] | +++ [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] | +++ [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] | +++ [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] | +++ [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] | +++ [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] | +++ [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] | +++ [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] | +++ [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] | +++ [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] | +++ [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] [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] | +++ [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] | +++ [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] | +++ [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] | +++ [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] | +++ [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] | +++ [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] | +++ [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] | +++ [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] | +++ [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] | +++ [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] | +++ [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] | +++ [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] | +++ [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] | +++ [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] | +++ [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] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/cct_mesh/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | inst: Box<::elements::Element+'static>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] ::: src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/cct_mesh/mod.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | inst: Box<::elements::Element+'static>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] ::: src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/cct_mesh/mod.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | impl Clone for Box<::elements::Element+'static> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] ::: src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/cct_mesh/mod.rs:123:16 [INFO] [stdout] | [INFO] [stdout] 123 | impl Clone for Box<::elements::Element+'static> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] ::: src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/cct_mesh/mod.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | fn clone(&self) -> Box<::elements::Element+'static> { [INFO] [stdout] | ^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] ::: src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/cct_mesh/mod.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | fn clone(&self) -> Box<::elements::Element+'static> { [INFO] [stdout] | ^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] ::: src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/cct_mesh/flat.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub inst: Box<::elements::Element+'static>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] ::: src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/cct_mesh/flat.rs:19:16 [INFO] [stdout] | [INFO] [stdout] 19 | pub inst: Box<::elements::Element+'static>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] ::: src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:54:63 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn create(name: &str, params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:54:63 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn create(name: &str, params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:100:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 100 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 117 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:152:50 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 152 | fn new(_/*params*/: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:167:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 167 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:191:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 191 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:211:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 211 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:100:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 100 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:237:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 237 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:117:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 117 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:152:50 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 152 | fn new(_/*params*/: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:167:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 167 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:254:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 254 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:286:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 286 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:191:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 191 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:303:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 303 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:331:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 331 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [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] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] = note: this error originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:350:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 350 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [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] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] = note: this error originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:331:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 331 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [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] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] = note: this error originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:211:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 211 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:350:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 350 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [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] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] = note: this error originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:331:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 331 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [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] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] = note: this error originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:237:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 237 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:350:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 350 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [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] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] = note: this error originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:331:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 331 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [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] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] = note: this error originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:254:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 254 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:350:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 350 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [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] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] = note: this error originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:331:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 331 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [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] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] = note: this error originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:350:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 350 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [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] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] = note: this error originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:286:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 286 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:331:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 331 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [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] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] = note: this error originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:350:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 350 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [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] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] = note: this error originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:303:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 303 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:391:55 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 391 | fn new(_/*params*/: &[u64], _/*n_inputs*/: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:402:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 402 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:426:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 426 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:331:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 331 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [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] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] = note: this error originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:444:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 444 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:350:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 350 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [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] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] = note: this error originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:488:46 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 488 | fn new(_params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:502:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 502 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:331:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 331 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [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] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] = note: this error originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:544:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 544 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:571:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 571 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:350:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 350 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [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] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] = note: this error originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:597:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 597 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:624:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 624 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:652:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 652 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:672:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 672 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:331:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 331 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [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] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] = note: this error originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:713:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 713 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:744:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 744 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:350:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 350 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [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] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] = note: this error originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:782:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 782 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:331:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 331 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [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] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] = note: this error originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:350:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 350 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [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] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] = note: this error originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:331:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 331 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [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] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] = note: this error originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:350:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 350 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [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] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] = note: this error originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:808:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 808 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:331:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 331 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [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] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] = note: this error originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | | [INFO] [stdout] | help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:350:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 350 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [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] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] = note: this error originates in the macro `def_logic` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:391:55 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 391 | fn new(_/*params*/: &[u64], _/*n_inputs*/: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:402:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 402 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:426:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 426 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:444:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 444 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:488:46 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 488 | fn new(_params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:502:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 502 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:544:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 544 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:571:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 571 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:597:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 597 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:624:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 624 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:652:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 652 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:672:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 672 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:713:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 713 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:744:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 744 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 45 previous errors; 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:782:45 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 782 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:808:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] ... [INFO] [stdout] 808 | fn dup(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:29:45 [INFO] [stdout] | [INFO] [stdout] 29 | fn new(params: &[u64], n_inputs: usize) -> NewEleResult where Self: Sized; [INFO] [stdout] | ^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0038]: the trait `elements::Element` cannot be made into an object [INFO] [stdout] --> src/elements.rs:33:23 [INFO] [stdout] | [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^ `elements::Element` cannot be made into an object [INFO] [stdout] | | [INFO] [stdout] | help: consider changing method `dup`'s `self` parameter to be `&self` (notice the capitalization): `&Self` [INFO] [stdout] | [INFO] [stdout] note: for a trait to be "object safe" it needs to allow building a vtable to allow the call to be resolvable dynamically; for more information visit [INFO] [stdout] --> src/elements.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub trait Element //: ::std::fmt::Display [INFO] [stdout] | ------- this trait cannot be made into an object... [INFO] [stdout] ... [INFO] [stdout] 33 | fn dup(&self) -> Box; [INFO] [stdout] | ^^^^^ ...because method `dup`'s `self` parameter cannot be dispatched on [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 45 previous errors; 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0038`. [INFO] [stdout] [INFO] [stderr] error: could not compile `logiccircuit` (bin "logiccircuit") due to 46 previous errors; 36 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `logiccircuit` (bin "logiccircuit" test) due to 46 previous errors; 36 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9e80c198a4c6995bcf15f0c7e715df1fb10ab4c50018a0507a1107a4dac30571", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e80c198a4c6995bcf15f0c7e715df1fb10ab4c50018a0507a1107a4dac30571", kill_on_drop: false }` [INFO] [stdout] 9e80c198a4c6995bcf15f0c7e715df1fb10ab4c50018a0507a1107a4dac30571