[INFO] fetching crate either_n 0.2.0... [INFO] testing either_n-0.2.0 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate either_n 0.2.0 into /workspace/builds/worker-24/source [INFO] validating manifest of crates.io crate either_n 0.2.0 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate either_n 0.2.0 [INFO] finished tweaking crates.io crate either_n 0.2.0 [INFO] tweaked toml for crates.io crate either_n 0.2.0 written to /workspace/builds/worker-24/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d69033fedf8ca79b9810563fc3a79ec65579d4aaf2a992dade986055764331d4 [INFO] running `Command { std: "docker" "start" "-a" "d69033fedf8ca79b9810563fc3a79ec65579d4aaf2a992dade986055764331d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d69033fedf8ca79b9810563fc3a79ec65579d4aaf2a992dade986055764331d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d69033fedf8ca79b9810563fc3a79ec65579d4aaf2a992dade986055764331d4", kill_on_drop: false }` [INFO] [stdout] d69033fedf8ca79b9810563fc3a79ec65579d4aaf2a992dade986055764331d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a84da55a7a5ad64fb6ae3e1d36246efd2f95e98b29ac86ddae388c434ed27609 [INFO] running `Command { std: "docker" "start" "-a" "a84da55a7a5ad64fb6ae3e1d36246efd2f95e98b29ac86ddae388c434ed27609", kill_on_drop: false }` [INFO] [stderr] Compiling either_n v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `reverse_idents` [INFO] [stdout] --> src/lib.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | macro_rules! reverse_idents { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:337:40 [INFO] [stdout] | [INFO] [stdout] 337 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 337 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 337 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:337:40 [INFO] [stdout] | [INFO] [stdout] 337 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [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 `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 337 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 337 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:337:40 [INFO] [stdout] | [INFO] [stdout] 337 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [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 `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 337 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 337 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:337:40 [INFO] [stdout] | [INFO] [stdout] 337 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [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 `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 337 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 337 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:337:40 [INFO] [stdout] | [INFO] [stdout] 337 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [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 `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 337 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 337 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:337:40 [INFO] [stdout] | [INFO] [stdout] 337 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [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 `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 337 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 337 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:337:40 [INFO] [stdout] | [INFO] [stdout] 337 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [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 `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 337 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 337 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:337:40 [INFO] [stdout] | [INFO] [stdout] 337 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [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 `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 337 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 337 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:332:76 [INFO] [stdout] | [INFO] [stdout] 332 | $enum_name_head::$n_titlecase_head(ref value) => value.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:333:79 [INFO] [stdout] | [INFO] [stdout] 333 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.description() ),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:339:76 [INFO] [stdout] | [INFO] [stdout] 339 | $enum_name_head::$n_titlecase_head(ref value) => value.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:340:79 [INFO] [stdout] | [INFO] [stdout] 340 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.cause() ),* [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:332:76 [INFO] [stdout] | [INFO] [stdout] 332 | $enum_name_head::$n_titlecase_head(ref value) => value.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:333:79 [INFO] [stdout] | [INFO] [stdout] 333 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.description() ),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:339:76 [INFO] [stdout] | [INFO] [stdout] 339 | $enum_name_head::$n_titlecase_head(ref value) => value.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:340:79 [INFO] [stdout] | [INFO] [stdout] 340 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.cause() ),* [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:332:76 [INFO] [stdout] | [INFO] [stdout] 332 | $enum_name_head::$n_titlecase_head(ref value) => value.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:333:79 [INFO] [stdout] | [INFO] [stdout] 333 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.description() ),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:339:76 [INFO] [stdout] | [INFO] [stdout] 339 | $enum_name_head::$n_titlecase_head(ref value) => value.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:340:79 [INFO] [stdout] | [INFO] [stdout] 340 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.cause() ),* [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:332:76 [INFO] [stdout] | [INFO] [stdout] 332 | $enum_name_head::$n_titlecase_head(ref value) => value.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:333:79 [INFO] [stdout] | [INFO] [stdout] 333 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.description() ),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:339:76 [INFO] [stdout] | [INFO] [stdout] 339 | $enum_name_head::$n_titlecase_head(ref value) => value.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:340:79 [INFO] [stdout] | [INFO] [stdout] 340 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.cause() ),* [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:332:76 [INFO] [stdout] | [INFO] [stdout] 332 | $enum_name_head::$n_titlecase_head(ref value) => value.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:333:79 [INFO] [stdout] | [INFO] [stdout] 333 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.description() ),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:339:76 [INFO] [stdout] | [INFO] [stdout] 339 | $enum_name_head::$n_titlecase_head(ref value) => value.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:340:79 [INFO] [stdout] | [INFO] [stdout] 340 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.cause() ),* [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:332:76 [INFO] [stdout] | [INFO] [stdout] 332 | $enum_name_head::$n_titlecase_head(ref value) => value.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:333:79 [INFO] [stdout] | [INFO] [stdout] 333 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.description() ),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:339:76 [INFO] [stdout] | [INFO] [stdout] 339 | $enum_name_head::$n_titlecase_head(ref value) => value.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:340:79 [INFO] [stdout] | [INFO] [stdout] 340 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.cause() ),* [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:332:76 [INFO] [stdout] | [INFO] [stdout] 332 | $enum_name_head::$n_titlecase_head(ref value) => value.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:333:79 [INFO] [stdout] | [INFO] [stdout] 333 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.description() ),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:339:76 [INFO] [stdout] | [INFO] [stdout] 339 | $enum_name_head::$n_titlecase_head(ref value) => value.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:340:79 [INFO] [stdout] | [INFO] [stdout] 340 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.cause() ),* [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:332:76 [INFO] [stdout] | [INFO] [stdout] 332 | $enum_name_head::$n_titlecase_head(ref value) => value.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:339:76 [INFO] [stdout] | [INFO] [stdout] 339 | $enum_name_head::$n_titlecase_head(ref value) => value.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.92s [INFO] running `Command { std: "docker" "inspect" "a84da55a7a5ad64fb6ae3e1d36246efd2f95e98b29ac86ddae388c434ed27609", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a84da55a7a5ad64fb6ae3e1d36246efd2f95e98b29ac86ddae388c434ed27609", kill_on_drop: false }` [INFO] [stdout] a84da55a7a5ad64fb6ae3e1d36246efd2f95e98b29ac86ddae388c434ed27609 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f26f245bdb6139cf03f1a30ce10e90a58b12222f8f4d624e7a4f3014a98138c [INFO] running `Command { std: "docker" "start" "-a" "8f26f245bdb6139cf03f1a30ce10e90a58b12222f8f4d624e7a4f3014a98138c", kill_on_drop: false }` [INFO] [stdout] warning: unused macro definition: `reverse_idents` [INFO] [stdout] --> src/lib.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | macro_rules! reverse_idents { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:337:40 [INFO] [stdout] | [INFO] [stdout] 337 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 337 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 337 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:337:40 [INFO] [stdout] | [INFO] [stdout] 337 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [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 `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 337 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 337 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:337:40 [INFO] [stdout] | [INFO] [stdout] 337 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [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 `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 337 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 337 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:337:40 [INFO] [stdout] | [INFO] [stdout] 337 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [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 `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 337 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 337 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:337:40 [INFO] [stdout] | [INFO] [stdout] 337 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [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 `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 337 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 337 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:337:40 [INFO] [stdout] | [INFO] [stdout] 337 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [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 `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 337 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 337 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:337:40 [INFO] [stdout] | [INFO] [stdout] 337 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [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 `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 337 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 337 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:337:40 [INFO] [stdout] | [INFO] [stdout] 337 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [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 `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 337 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 337 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:332:76 [INFO] [stdout] | [INFO] [stdout] 332 | $enum_name_head::$n_titlecase_head(ref value) => value.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:333:79 [INFO] [stdout] | [INFO] [stdout] 333 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.description() ),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:339:76 [INFO] [stdout] | [INFO] [stdout] 339 | $enum_name_head::$n_titlecase_head(ref value) => value.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:340:79 [INFO] [stdout] | [INFO] [stdout] 340 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.cause() ),* [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:332:76 [INFO] [stdout] | [INFO] [stdout] 332 | $enum_name_head::$n_titlecase_head(ref value) => value.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:333:79 [INFO] [stdout] | [INFO] [stdout] 333 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.description() ),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:339:76 [INFO] [stdout] | [INFO] [stdout] 339 | $enum_name_head::$n_titlecase_head(ref value) => value.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:340:79 [INFO] [stdout] | [INFO] [stdout] 340 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.cause() ),* [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:332:76 [INFO] [stdout] | [INFO] [stdout] 332 | $enum_name_head::$n_titlecase_head(ref value) => value.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:333:79 [INFO] [stdout] | [INFO] [stdout] 333 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.description() ),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:339:76 [INFO] [stdout] | [INFO] [stdout] 339 | $enum_name_head::$n_titlecase_head(ref value) => value.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:340:79 [INFO] [stdout] | [INFO] [stdout] 340 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.cause() ),* [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:332:76 [INFO] [stdout] | [INFO] [stdout] 332 | $enum_name_head::$n_titlecase_head(ref value) => value.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:333:79 [INFO] [stdout] | [INFO] [stdout] 333 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.description() ),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:339:76 [INFO] [stdout] | [INFO] [stdout] 339 | $enum_name_head::$n_titlecase_head(ref value) => value.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:340:79 [INFO] [stdout] | [INFO] [stdout] 340 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.cause() ),* [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:332:76 [INFO] [stdout] | [INFO] [stdout] 332 | $enum_name_head::$n_titlecase_head(ref value) => value.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:333:79 [INFO] [stdout] | [INFO] [stdout] 333 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.description() ),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:339:76 [INFO] [stdout] | [INFO] [stdout] 339 | $enum_name_head::$n_titlecase_head(ref value) => value.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:340:79 [INFO] [stdout] | [INFO] [stdout] 340 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.cause() ),* [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:332:76 [INFO] [stdout] | [INFO] [stdout] 332 | $enum_name_head::$n_titlecase_head(ref value) => value.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:333:79 [INFO] [stdout] | [INFO] [stdout] 333 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.description() ),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:339:76 [INFO] [stdout] | [INFO] [stdout] 339 | $enum_name_head::$n_titlecase_head(ref value) => value.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:340:79 [INFO] [stdout] | [INFO] [stdout] 340 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.cause() ),* [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:332:76 [INFO] [stdout] | [INFO] [stdout] 332 | $enum_name_head::$n_titlecase_head(ref value) => value.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:333:79 [INFO] [stdout] | [INFO] [stdout] 333 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.description() ),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:339:76 [INFO] [stdout] | [INFO] [stdout] 339 | $enum_name_head::$n_titlecase_head(ref value) => value.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:340:79 [INFO] [stdout] | [INFO] [stdout] 340 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.cause() ),* [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling either_n v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:332:76 [INFO] [stdout] | [INFO] [stdout] 332 | $enum_name_head::$n_titlecase_head(ref value) => value.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:339:76 [INFO] [stdout] | [INFO] [stdout] 339 | $enum_name_head::$n_titlecase_head(ref value) => value.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 39 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `reverse_idents` [INFO] [stdout] --> src/lib.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | macro_rules! reverse_idents { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/lib.rs:389:33 [INFO] [stdout] | [INFO] [stdout] 389 | _ => Either7::Seven(([()])), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 389 - _ => Either7::Seven(([()])), [INFO] [stdout] 389 + _ => Either7::Seven([()]), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:337:40 [INFO] [stdout] | [INFO] [stdout] 337 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 337 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 337 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:337:40 [INFO] [stdout] | [INFO] [stdout] 337 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [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 `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 337 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 337 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:337:40 [INFO] [stdout] | [INFO] [stdout] 337 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [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 `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 337 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 337 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:337:40 [INFO] [stdout] | [INFO] [stdout] 337 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [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 `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 337 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 337 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:337:40 [INFO] [stdout] | [INFO] [stdout] 337 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [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 `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 337 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 337 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:337:40 [INFO] [stdout] | [INFO] [stdout] 337 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [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 `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 337 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 337 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:337:40 [INFO] [stdout] | [INFO] [stdout] 337 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [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 `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 337 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 337 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:337:40 [INFO] [stdout] | [INFO] [stdout] 337 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [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 `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 337 - fn cause(&self) -> Option<&Error> { [INFO] [stdout] 337 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:332:76 [INFO] [stdout] | [INFO] [stdout] 332 | $enum_name_head::$n_titlecase_head(ref value) => value.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:333:79 [INFO] [stdout] | [INFO] [stdout] 333 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.description() ),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:339:76 [INFO] [stdout] | [INFO] [stdout] 339 | $enum_name_head::$n_titlecase_head(ref value) => value.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:340:79 [INFO] [stdout] | [INFO] [stdout] 340 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.cause() ),* [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:332:76 [INFO] [stdout] | [INFO] [stdout] 332 | $enum_name_head::$n_titlecase_head(ref value) => value.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:333:79 [INFO] [stdout] | [INFO] [stdout] 333 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.description() ),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:339:76 [INFO] [stdout] | [INFO] [stdout] 339 | $enum_name_head::$n_titlecase_head(ref value) => value.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:340:79 [INFO] [stdout] | [INFO] [stdout] 340 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.cause() ),* [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:332:76 [INFO] [stdout] | [INFO] [stdout] 332 | $enum_name_head::$n_titlecase_head(ref value) => value.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:333:79 [INFO] [stdout] | [INFO] [stdout] 333 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.description() ),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:339:76 [INFO] [stdout] | [INFO] [stdout] 339 | $enum_name_head::$n_titlecase_head(ref value) => value.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:340:79 [INFO] [stdout] | [INFO] [stdout] 340 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.cause() ),* [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:332:76 [INFO] [stdout] | [INFO] [stdout] 332 | $enum_name_head::$n_titlecase_head(ref value) => value.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:333:79 [INFO] [stdout] | [INFO] [stdout] 333 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.description() ),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:339:76 [INFO] [stdout] | [INFO] [stdout] 339 | $enum_name_head::$n_titlecase_head(ref value) => value.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:340:79 [INFO] [stdout] | [INFO] [stdout] 340 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.cause() ),* [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:332:76 [INFO] [stdout] | [INFO] [stdout] 332 | $enum_name_head::$n_titlecase_head(ref value) => value.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:333:79 [INFO] [stdout] | [INFO] [stdout] 333 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.description() ),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:339:76 [INFO] [stdout] | [INFO] [stdout] 339 | $enum_name_head::$n_titlecase_head(ref value) => value.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:340:79 [INFO] [stdout] | [INFO] [stdout] 340 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.cause() ),* [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:332:76 [INFO] [stdout] | [INFO] [stdout] 332 | $enum_name_head::$n_titlecase_head(ref value) => value.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:333:79 [INFO] [stdout] | [INFO] [stdout] 333 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.description() ),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:339:76 [INFO] [stdout] | [INFO] [stdout] 339 | $enum_name_head::$n_titlecase_head(ref value) => value.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:340:79 [INFO] [stdout] | [INFO] [stdout] 340 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.cause() ),* [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:332:76 [INFO] [stdout] | [INFO] [stdout] 332 | $enum_name_head::$n_titlecase_head(ref value) => value.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:333:79 [INFO] [stdout] | [INFO] [stdout] 333 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.description() ),* [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:339:76 [INFO] [stdout] | [INFO] [stdout] 339 | $enum_name_head::$n_titlecase_head(ref value) => value.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:340:79 [INFO] [stdout] | [INFO] [stdout] 340 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.cause() ),* [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:332:76 [INFO] [stdout] | [INFO] [stdout] 332 | $enum_name_head::$n_titlecase_head(ref value) => value.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/lib.rs:339:76 [INFO] [stdout] | [INFO] [stdout] 339 | $enum_name_head::$n_titlecase_head(ref value) => value.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | / impl_enums!( [INFO] [stdout] 366 | | (Either8, Eight, eight), [INFO] [stdout] 367 | | (Either7, Seven, seven), [INFO] [stdout] 368 | | (Either6, Six, six), [INFO] [stdout] ... | [INFO] [stdout] 373 | | (Either1, One, one), [INFO] [stdout] 374 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.99s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/either_n-0a4ef46b0e63b4a6) [INFO] running `Command { std: "docker" "inspect" "8f26f245bdb6139cf03f1a30ce10e90a58b12222f8f4d624e7a4f3014a98138c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f26f245bdb6139cf03f1a30ce10e90a58b12222f8f4d624e7a4f3014a98138c", kill_on_drop: false }` [INFO] [stdout] 8f26f245bdb6139cf03f1a30ce10e90a58b12222f8f4d624e7a4f3014a98138c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-24/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 194b70731585e4d4ae44313d52446ab2cddc76f08fd6048cd57079f41147f081 [INFO] running `Command { std: "docker" "start" "-a" "194b70731585e4d4ae44313d52446ab2cddc76f08fd6048cd57079f41147f081", kill_on_drop: false }` [INFO] [stderr] warning: unused macro definition: `reverse_idents` [INFO] [stderr] --> src/lib.rs:41:14 [INFO] [stderr] | [INFO] [stderr] 41 | macro_rules! reverse_idents { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:337:40 [INFO] [stderr] | [INFO] [stderr] 337 | fn cause(&self) -> Option<&Error> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 365 | / impl_enums!( [INFO] [stderr] 366 | | (Either8, Eight, eight), [INFO] [stderr] 367 | | (Either7, Seven, seven), [INFO] [stderr] 368 | | (Either6, Six, six), [INFO] [stderr] ... | [INFO] [stderr] 373 | | (Either1, One, one), [INFO] [stderr] 374 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 337 - fn cause(&self) -> Option<&Error> { [INFO] [stderr] 337 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/lib.rs:337:40 [INFO] [stderr] | [INFO] [stderr] 337 | fn cause(&self) -> Option<&Error> { [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 365 | / impl_enums!( [INFO] [stderr] 366 | | (Either8, Eight, eight), [INFO] [stderr] 367 | | (Either7, Seven, seven), [INFO] [stderr] 368 | | (Either6, Six, six), [INFO] [stderr] ... | [INFO] [stderr] 373 | | (Either1, One, one), [INFO] [stderr] 374 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 337 - fn cause(&self) -> Option<&Error> { [INFO] [stderr] 337 + fn cause(&self) -> Option<&dyn Error> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:332:76 [INFO] [stderr] | [INFO] [stderr] 332 | $enum_name_head::$n_titlecase_head(ref value) => value.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 365 | / impl_enums!( [INFO] [stderr] 366 | | (Either8, Eight, eight), [INFO] [stderr] 367 | | (Either7, Seven, seven), [INFO] [stderr] 368 | | (Either6, Six, six), [INFO] [stderr] ... | [INFO] [stderr] 373 | | (Either1, One, one), [INFO] [stderr] 374 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:333:79 [INFO] [stderr] | [INFO] [stderr] 333 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.description() ),* [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 365 | / impl_enums!( [INFO] [stderr] 366 | | (Either8, Eight, eight), [INFO] [stderr] 367 | | (Either7, Seven, seven), [INFO] [stderr] 368 | | (Either6, Six, six), [INFO] [stderr] ... | [INFO] [stderr] 373 | | (Either1, One, one), [INFO] [stderr] 374 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/lib.rs:339:76 [INFO] [stderr] | [INFO] [stderr] 339 | $enum_name_head::$n_titlecase_head(ref value) => value.cause(), [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 365 | / impl_enums!( [INFO] [stderr] 366 | | (Either8, Eight, eight), [INFO] [stderr] 367 | | (Either7, Seven, seven), [INFO] [stderr] 368 | | (Either6, Six, six), [INFO] [stderr] ... | [INFO] [stderr] 373 | | (Either1, One, one), [INFO] [stderr] 374 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stderr] --> src/lib.rs:340:79 [INFO] [stderr] | [INFO] [stderr] 340 | $( $enum_name_head::$n_titlecase_tail(ref value) => value.cause() ),* [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 365 | / impl_enums!( [INFO] [stderr] 366 | | (Either8, Eight, eight), [INFO] [stderr] 367 | | (Either7, Seven, seven), [INFO] [stderr] 368 | | (Either6, Six, six), [INFO] [stderr] ... | [INFO] [stderr] 373 | | (Either1, One, one), [INFO] [stderr] 374 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/lib.rs:332:76 [INFO] [stderr] | [INFO] [stderr] 332 | $enum_name_head::$n_titlecase_head(ref value) => value.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 365 | / impl_enums!( [INFO] [stderr] 366 | | (Either8, Eight, eight), [INFO] [stderr] 367 | | (Either7, Seven, seven), [INFO] [stderr] 368 | | (Either6, Six, six), [INFO] [stderr] ... | [INFO] [stderr] 373 | | (Either1, One, one), [INFO] [stderr] 374 | | ); [INFO] [stderr] | |_- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_enums` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `either_n` (lib) generated 39 warnings (31 duplicates) [INFO] [stderr] warning: unnecessary parentheses around function argument [INFO] [stderr] --> src/lib.rs:389:33 [INFO] [stderr] | [INFO] [stderr] 389 | _ => Either7::Seven(([()])), [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 389 - _ => Either7::Seven(([()])), [INFO] [stderr] 389 + _ => Either7::Seven([()]), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `either_n` (lib test) generated 40 warnings (39 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.01s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/either_n-0a4ef46b0e63b4a6) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests either_n [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 6) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.29s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "194b70731585e4d4ae44313d52446ab2cddc76f08fd6048cd57079f41147f081", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "194b70731585e4d4ae44313d52446ab2cddc76f08fd6048cd57079f41147f081", kill_on_drop: false }` [INFO] [stdout] 194b70731585e4d4ae44313d52446ab2cddc76f08fd6048cd57079f41147f081