[INFO] fetching crate tinf 0.14.0... [INFO] building tinf-0.14.0 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate tinf 0.14.0 into /workspace/builds/worker-5-tc1/source [INFO] validating manifest of crates.io crate tinf 0.14.0 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate tinf 0.14.0 [INFO] finished tweaking crates.io crate tinf 0.14.0 [INFO] tweaked toml for crates.io crate tinf 0.14.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest compatible version [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9823b09be70809db54097465a18c0c38489d288768e718852dfe3cbe702c6c10 [INFO] running `Command { std: "docker" "start" "-a" "9823b09be70809db54097465a18c0c38489d288768e718852dfe3cbe702c6c10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9823b09be70809db54097465a18c0c38489d288768e718852dfe3cbe702c6c10", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9823b09be70809db54097465a18c0c38489d288768e718852dfe3cbe702c6c10", kill_on_drop: false }` [INFO] [stdout] 9823b09be70809db54097465a18c0c38489d288768e718852dfe3cbe702c6c10 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail-expr-drop-order" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36668a7b866625221f5288a341a469ffab21b07e6d5d8b1bff2242cdefbc301a [INFO] running `Command { std: "docker" "start" "-a" "36668a7b866625221f5288a341a469ffab21b07e6d5d8b1bff2242cdefbc301a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling tinf v0.14.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:587:59 [INFO] [stdout] | [INFO] [stdout] 587 | ($n:expr, $($xs:tt)*) => { desc!(@acc [$n] [] $($xs)*); }; [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 684 | / desc![ [INFO] [stdout] 685 | | "dumb", "80-column dumb tty", [INFO] [stdout] 686 | | cap::am => true, [INFO] [stdout] 687 | | cap::cols => 80, [INFO] [stdout] ... | [INFO] [stdout] 691 | | cap::ind => "\n", [INFO] [stdout] 692 | | ] [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: `#[warn(semicolon_in_expressions_from_macros)]` on by default [INFO] [stdout] = note: this warning originates in the macro `desc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:574:53 [INFO] [stdout] | [INFO] [stdout] 574 | desc!(@acc [$($ns,)* $n] [$($ps),*] $($xs)*); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 684 | / desc![ [INFO] [stdout] 685 | | "dumb", "80-column dumb tty", [INFO] [stdout] 686 | | cap::am => true, [INFO] [stdout] 687 | | cap::cols => 80, [INFO] [stdout] ... | [INFO] [stdout] 691 | | cap::ind => "\n", [INFO] [stdout] 692 | | ] [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `desc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:582:66 [INFO] [stdout] | [INFO] [stdout] 582 | desc!(@acc [$($ns),*] [$($ps,)* ($k, $v).into()] $($xs)*); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 684 | / desc![ [INFO] [stdout] 685 | | "dumb", "80-column dumb tty", [INFO] [stdout] 686 | | cap::am => true, [INFO] [stdout] 687 | | cap::cols => 80, [INFO] [stdout] ... | [INFO] [stdout] 691 | | cap::ind => "\n", [INFO] [stdout] 692 | | ] [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `desc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:582:66 [INFO] [stdout] | [INFO] [stdout] 582 | desc!(@acc [$($ns),*] [$($ps,)* ($k, $v).into()] $($xs)*); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 684 | / desc![ [INFO] [stdout] 685 | | "dumb", "80-column dumb tty", [INFO] [stdout] 686 | | cap::am => true, [INFO] [stdout] 687 | | cap::cols => 80, [INFO] [stdout] ... | [INFO] [stdout] 691 | | cap::ind => "\n", [INFO] [stdout] 692 | | ] [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `desc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:582:66 [INFO] [stdout] | [INFO] [stdout] 582 | desc!(@acc [$($ns),*] [$($ps,)* ($k, $v).into()] $($xs)*); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 684 | / desc![ [INFO] [stdout] 685 | | "dumb", "80-column dumb tty", [INFO] [stdout] 686 | | cap::am => true, [INFO] [stdout] 687 | | cap::cols => 80, [INFO] [stdout] ... | [INFO] [stdout] 691 | | cap::ind => "\n", [INFO] [stdout] 692 | | ] [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `desc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:582:66 [INFO] [stdout] | [INFO] [stdout] 582 | desc!(@acc [$($ns),*] [$($ps,)* ($k, $v).into()] $($xs)*); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 684 | / desc![ [INFO] [stdout] 685 | | "dumb", "80-column dumb tty", [INFO] [stdout] 686 | | cap::am => true, [INFO] [stdout] 687 | | cap::cols => 80, [INFO] [stdout] ... | [INFO] [stdout] 691 | | cap::ind => "\n", [INFO] [stdout] 692 | | ] [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `desc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:582:66 [INFO] [stdout] | [INFO] [stdout] 582 | desc!(@acc [$($ns),*] [$($ps,)* ($k, $v).into()] $($xs)*); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 684 | / desc![ [INFO] [stdout] 685 | | "dumb", "80-column dumb tty", [INFO] [stdout] 686 | | cap::am => true, [INFO] [stdout] 687 | | cap::cols => 80, [INFO] [stdout] ... | [INFO] [stdout] 691 | | cap::ind => "\n", [INFO] [stdout] 692 | | ] [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `desc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:582:66 [INFO] [stdout] | [INFO] [stdout] 582 | desc!(@acc [$($ns),*] [$($ps,)* ($k, $v).into()] $($xs)*); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 684 | / desc![ [INFO] [stdout] 685 | | "dumb", "80-column dumb tty", [INFO] [stdout] 686 | | cap::am => true, [INFO] [stdout] 687 | | cap::cols => 80, [INFO] [stdout] ... | [INFO] [stdout] 691 | | cap::ind => "\n", [INFO] [stdout] 692 | | ] [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `desc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trailing semicolon in macro used in expression position [INFO] [stdout] --> src/lib.rs:566:10 [INFO] [stdout] | [INFO] [stdout] 566 | ); [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 684 | / desc![ [INFO] [stdout] 685 | | "dumb", "80-column dumb tty", [INFO] [stdout] 686 | | cap::am => true, [INFO] [stdout] 687 | | cap::cols => 80, [INFO] [stdout] ... | [INFO] [stdout] 691 | | cap::ind => "\n", [INFO] [stdout] 692 | | ] [INFO] [stdout] | |_________________- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #79813 [INFO] [stdout] = note: this warning originates in the macro `desc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:676:1 [INFO] [stdout] | [INFO] [stdout] 676 | / lazy_static! { [INFO] [stdout] 677 | | static ref CURRENT: Desc = { [INFO] [stdout] 678 | | env::var("TERM") [INFO] [stdout] 679 | | .ok() [INFO] [stdout] ... | [INFO] [stdout] 710 | | }; [INFO] [stdout] 711 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/lib.rs:676:1 [INFO] [stdout] | [INFO] [stdout] 676 | / lazy_static! { [INFO] [stdout] 677 | | static ref CURRENT: Desc = { [INFO] [stdout] 678 | | env::var("TERM") [INFO] [stdout] 679 | | .ok() [INFO] [stdout] ... | [INFO] [stdout] 710 | | }; [INFO] [stdout] 711 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior may be unexpected on Windows. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/lib.rs:151:31 [INFO] [stdout] | [INFO] [stdout] 151 | let d2 = to_path(env::home_dir()).map(|d| d.join(".terminfo")); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:602:16 [INFO] [stdout] | [INFO] [stdout] 602 | r: &'a mut Read, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 602 | r: &'a mut dyn Read, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:607:20 [INFO] [stdout] | [INFO] [stdout] 607 | fn new(r: &mut Read) -> AlignReader { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 607 | fn new(r: &mut dyn Read) -> AlignReader { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:763:32 [INFO] [stdout] | [INFO] [stdout] 763 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 763 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:186:26 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn parse(r: &mut Read) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 186 | pub fn parse(r: &mut dyn Read) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/print.rs:278:18 [INFO] [stdout] | [INFO] [stdout] 278 | output: &mut Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 278 | output: &mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/print.rs:591:25 [INFO] [stdout] | [INFO] [stdout] 591 | impl<'a> BytePusher for Write + 'a {} [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 591 | impl<'a> BytePusher for dyn Write + 'a {} [INFO] [stdout] | +++ [INFO] [stdout] help: alternatively use a blanket implementation to implement `BytePusher` for all types that also implement `Write + 'a` [INFO] [stdout] | [INFO] [stdout] 591 | impl<'a, T: Write + 'a> BytePusher for T {} [INFO] [stdout] | +++++++++++++++ ~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/print.rs:631:18 [INFO] [stdout] | [INFO] [stdout] 631 | output: &mut Write, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 631 | output: &mut dyn Write, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/print.rs:772:32 [INFO] [stdout] | [INFO] [stdout] 772 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 772 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/print.rs:528:34 [INFO] [stdout] | [INFO] [stdout] 528 | fn printf_int(&self, w: &mut Write, fs: char, val: i32) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 528 | fn printf_int(&self, w: &mut dyn Write, fs: char, val: i32) -> io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/print.rs:562:34 [INFO] [stdout] | [INFO] [stdout] 562 | fn printf_str(&self, w: &mut Write, mut val: Vec) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 562 | fn printf_str(&self, w: &mut dyn Write, mut val: Vec) -> io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/print.rs:569:30 [INFO] [stdout] | [INFO] [stdout] 569 | fn printf(&self, w: &mut Write, val: Vec) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 569 | fn printf(&self, w: &mut dyn Write, val: Vec) -> io::Result<()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/print.rs:766:32 [INFO] [stdout] | [INFO] [stdout] 766 | Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:756:32 [INFO] [stdout] | [INFO] [stdout] 756 | Io(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lib.rs:187:13 [INFO] [stdout] | [INFO] [stdout] 187 | let mut r = &mut AlignReader::new(r); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: relative drop order changing in Rust 2024 [INFO] [stdout] --> src/lib.rs:172:28 [INFO] [stdout] | [INFO] [stdout] 169 | if let Ok(f) = File::open(d.join(&first_char).join(term_name)) { [INFO] [stdout] | ----------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#1` [INFO] [stdout] | `#1` will be dropped later as of Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 172 | if let Ok(f) = File::open(d.join(&first_hex).join(term_name)) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this value will be stored in a temporary; let us call it `#2` [INFO] [stdout] | up until Edition 2021 `#2` is dropped last but will be dropped earlier in Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | } [INFO] [stdout] | - now the temporary value is dropped here, before the local variables in the block or statement [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] note: `#2` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/std/src/os/fd/owned.rs:172:1 [INFO] [stdout] note: `#1` invokes this custom destructor [INFO] [stdout] --> /rustc/11663cd3bfefef7d34e8f0892c250bf698049392/library/std/src/os/fd/owned.rs:172:1 [INFO] [stdout] = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `tinf` (lib) due to 1 previous error; 35 warnings emitted [INFO] running `Command { std: "docker" "inspect" "36668a7b866625221f5288a341a469ffab21b07e6d5d8b1bff2242cdefbc301a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36668a7b866625221f5288a341a469ffab21b07e6d5d8b1bff2242cdefbc301a", kill_on_drop: false }` [INFO] [stdout] 36668a7b866625221f5288a341a469ffab21b07e6d5d8b1bff2242cdefbc301a