[INFO] fetching crate md5sum 0.1.0... [INFO] building md5sum-0.1.0 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate md5sum 0.1.0 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate md5sum 0.1.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 md5sum 0.1.0 [INFO] finished tweaking crates.io crate md5sum 0.1.0 [INFO] tweaked toml for crates.io crate md5sum 0.1.0 written to /workspace/builds/worker-2-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 44 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.23) [INFO] [stderr] Adding clippy v0.0.165 (available: v0.0.302) [INFO] [stderr] Adding md5 v0.3.8 (available: v0.7.0) [INFO] [stderr] Adding nom v3.2.1 (available: v7.1.3) [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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quine-mc_cluskey v0.2.4 [INFO] [stderr] Downloaded md5 v0.3.8 [INFO] [stderr] Downloaded cargo_metadata v0.2.3 [INFO] [stderr] Downloaded semver v0.6.0 [INFO] [stderr] Downloaded toml v0.4.10 [INFO] [stderr] Downloaded itertools v0.6.5 [INFO] [stderr] Downloaded clippy_lints v0.0.165 [INFO] [stderr] Downloaded pulldown-cmark v0.0.15 [INFO] [stderr] Downloaded regex-syntax v0.4.2 [INFO] [stderr] Downloaded clippy v0.0.165 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 294d7fc0c8fe87183ebb54be2781e3d4dfc087a9d6a3c133281e55f33cb25ab1 [INFO] running `Command { std: "docker" "start" "-a" "294d7fc0c8fe87183ebb54be2781e3d4dfc087a9d6a3c133281e55f33cb25ab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "294d7fc0c8fe87183ebb54be2781e3d4dfc087a9d6a3c133281e55f33cb25ab1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "294d7fc0c8fe87183ebb54be2781e3d4dfc087a9d6a3c133281e55f33cb25ab1", kill_on_drop: false }` [INFO] [stdout] 294d7fc0c8fe87183ebb54be2781e3d4dfc087a9d6a3c133281e55f33cb25ab1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 4a45230060377a77bfb459cd6d12fe95b4c23c3775141c5f8d7dd3f67d7cd408 [INFO] running `Command { std: "docker" "start" "-a" "4a45230060377a77bfb459cd6d12fe95b4c23c3775141c5f8d7dd3f67d7cd408", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling md5 v0.3.8 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling md5sum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/main.rs:171:22 [INFO] [stdout] | [INFO] [stdout] 171 | named!(md5sum_output<&str>, verify!(take_str!(32), is_hex_str)); [INFO] [stdout] | ---------------------^----------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this elided lifetime gets resolved as `'a` [INFO] [stdout] | lifetime `'a` declared here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/main.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | named!(md5sum_line<(&str, &str)>, do_parse!( [INFO] [stdout] | - ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | _| [INFO] [stdout] | | [INFO] [stdout] 174 | | sum: md5sum_output >> char!(' ') >> [INFO] [stdout] 175 | | prefix: alt!(char!(' ') | char!('*'))>> [INFO] [stdout] 176 | | filename: map_res!(rest, ::std::str::from_utf8) >> [INFO] [stdout] 177 | | (sum, filename) [INFO] [stdout] 178 | | )); [INFO] [stdout] | |______- lifetime `'a` declared here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/main.rs:173:27 [INFO] [stdout] | [INFO] [stdout] 173 | named!(md5sum_line<(&str, &str)>, do_parse!( [INFO] [stdout] | - ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | _| [INFO] [stdout] | | [INFO] [stdout] 174 | | sum: md5sum_output >> char!(' ') >> [INFO] [stdout] 175 | | prefix: alt!(char!(' ') | char!('*'))>> [INFO] [stdout] 176 | | filename: map_res!(rest, ::std::str::from_utf8) >> [INFO] [stdout] 177 | | (sum, filename) [INFO] [stdout] 178 | | )); [INFO] [stdout] | |______- lifetime `'a` declared here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:227:25 [INFO] [stdout] | [INFO] [stdout] 227 | where F: FnMut(&mut BufRead) -> 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 227 | where F: FnMut(&mut dyn BufRead) -> io::Result [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:233:33 [INFO] [stdout] | [INFO] [stdout] 233 | Box::new($e) as Box [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | boxed_bufread!(stdin.lock()) [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 `boxed_bufread` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:233:33 [INFO] [stdout] | [INFO] [stdout] 233 | Box::new($e) as Box [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | boxed_bufread!(file) [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 `boxed_bufread` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/main.rs:188:23 [INFO] [stdout] | [INFO] [stdout] 188 | ReadError(String, io::Error), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 188 | ReadError(String, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.08s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "4a45230060377a77bfb459cd6d12fe95b4c23c3775141c5f8d7dd3f67d7cd408", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a45230060377a77bfb459cd6d12fe95b4c23c3775141c5f8d7dd3f67d7cd408", kill_on_drop: false }` [INFO] [stdout] 4a45230060377a77bfb459cd6d12fe95b4c23c3775141c5f8d7dd3f67d7cd408 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3b11bfdfad44e730aa58df47dabd6e084d59d4780c58eecb1c397008200de20 [INFO] running `Command { std: "docker" "start" "-a" "f3b11bfdfad44e730aa58df47dabd6e084d59d4780c58eecb1c397008200de20", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling md5sum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/main.rs:171:22 [INFO] [stdout] | [INFO] [stdout] 171 | named!(md5sum_output<&str>, verify!(take_str!(32), is_hex_str)); [INFO] [stdout] | ---------------------^----------------------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | this elided lifetime gets resolved as `'a` [INFO] [stdout] | lifetime `'a` declared here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(elided_named_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/main.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | named!(md5sum_line<(&str, &str)>, do_parse!( [INFO] [stdout] | - ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | _| [INFO] [stdout] | | [INFO] [stdout] 174 | | sum: md5sum_output >> char!(' ') >> [INFO] [stdout] 175 | | prefix: alt!(char!(' ') | char!('*'))>> [INFO] [stdout] 176 | | filename: map_res!(rest, ::std::str::from_utf8) >> [INFO] [stdout] 177 | | (sum, filename) [INFO] [stdout] 178 | | )); [INFO] [stdout] | |______- lifetime `'a` declared here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: elided lifetime has a name [INFO] [stdout] --> src/main.rs:173:27 [INFO] [stdout] | [INFO] [stdout] 173 | named!(md5sum_line<(&str, &str)>, do_parse!( [INFO] [stdout] | - ^ this elided lifetime gets resolved as `'a` [INFO] [stdout] | _| [INFO] [stdout] | | [INFO] [stdout] 174 | | sum: md5sum_output >> char!(' ') >> [INFO] [stdout] 175 | | prefix: alt!(char!(' ') | char!('*'))>> [INFO] [stdout] 176 | | filename: map_res!(rest, ::std::str::from_utf8) >> [INFO] [stdout] 177 | | (sum, filename) [INFO] [stdout] 178 | | )); [INFO] [stdout] | |______- lifetime `'a` declared here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:227:25 [INFO] [stdout] | [INFO] [stdout] 227 | where F: FnMut(&mut BufRead) -> 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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 227 | where F: FnMut(&mut dyn BufRead) -> io::Result [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:233:33 [INFO] [stdout] | [INFO] [stdout] 233 | Box::new($e) as Box [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | boxed_bufread!(stdin.lock()) [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 `boxed_bufread` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:233:33 [INFO] [stdout] | [INFO] [stdout] 233 | Box::new($e) as Box [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | boxed_bufread!(file) [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 `boxed_bufread` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `1` is never read [INFO] [stdout] --> src/main.rs:188:23 [INFO] [stdout] | [INFO] [stdout] 188 | ReadError(String, io::Error), [INFO] [stdout] | --------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 188 | ReadError(String, ()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "f3b11bfdfad44e730aa58df47dabd6e084d59d4780c58eecb1c397008200de20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3b11bfdfad44e730aa58df47dabd6e084d59d4780c58eecb1c397008200de20", kill_on_drop: false }` [INFO] [stdout] f3b11bfdfad44e730aa58df47dabd6e084d59d4780c58eecb1c397008200de20