[INFO] fetching crate md5sum 0.1.0... [INFO] testing md5sum-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate md5sum 0.1.0 into /workspace/builds/worker-0-tc2/source [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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate md5sum 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 46 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.51) [INFO] [stderr] Adding clippy v0.0.165 (available: v0.0.302) [INFO] [stderr] Adding md5 v0.3.8 (available: v0.8.0) [INFO] [stderr] Adding nom v3.2.1 (available: v8.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6536ad15e8fc4a13869cfed3584da923363e5f15d6f7405870fa9715b5c7cf6b [INFO] running `Command { std: "docker" "start" "-a" "6536ad15e8fc4a13869cfed3584da923363e5f15d6f7405870fa9715b5c7cf6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6536ad15e8fc4a13869cfed3584da923363e5f15d6f7405870fa9715b5c7cf6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6536ad15e8fc4a13869cfed3584da923363e5f15d6f7405870fa9715b5c7cf6b", kill_on_drop: false }` [INFO] [stdout] 6536ad15e8fc4a13869cfed3584da923363e5f15d6f7405870fa9715b5c7cf6b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e56ae3d474a7396f259d2a7be9f7eb266d3257b43c477f8843c804ef9cf9444 [INFO] running `Command { std: "docker" "start" "-a" "6e56ae3d474a7396f259d2a7be9f7eb266d3257b43c477f8843c804ef9cf9444", 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.177 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling ansi_term v0.12.1 [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: 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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)]` (part of `#[warn(unused)]`) 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, io::Error), [INFO] [stdout] 188 + ReadError(String, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [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] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 171 | named!(md5sum_output<&'a str>, verify!(take_str!(32), is_hex_str)); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/main.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | named!(md5sum_line<(&str, &str)>, do_parse!( [INFO] [stdout] | - ^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | _| the same lifetime is elided here [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] | | - [INFO] [stdout] | | | [INFO] [stdout] | |______the lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 173 | named!(md5sum_line<(&'a str, &'a str)>, do_parse!( [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.41s [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 1` [INFO] running `Command { std: "docker" "inspect" "6e56ae3d474a7396f259d2a7be9f7eb266d3257b43c477f8843c804ef9cf9444", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e56ae3d474a7396f259d2a7be9f7eb266d3257b43c477f8843c804ef9cf9444", kill_on_drop: false }` [INFO] [stdout] 6e56ae3d474a7396f259d2a7be9f7eb266d3257b43c477f8843c804ef9cf9444 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ae049dd4bd713289a7fa10f37016a3e3a0afa6f503e58290c2f4796f79487d8 [INFO] running `Command { std: "docker" "start" "-a" "6ae049dd4bd713289a7fa10f37016a3e3a0afa6f503e58290c2f4796f79487d8", 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: 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)]` (part of `#[warn(rust_2021_compatibility)]`) 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)]` (part of `#[warn(unused)]`) 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, io::Error), [INFO] [stdout] 188 + ReadError(String, ()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [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] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 171 | named!(md5sum_output<&'a str>, verify!(take_str!(32), is_hex_str)); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/main.rs:173:21 [INFO] [stdout] | [INFO] [stdout] 173 | named!(md5sum_line<(&str, &str)>, do_parse!( [INFO] [stdout] | - ^^^^ ^^^^ the same lifetime is elided here [INFO] [stdout] | | | [INFO] [stdout] | _| the same lifetime is elided here [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] | | - [INFO] [stdout] | | | [INFO] [stdout] | |______the lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 173 | named!(md5sum_line<(&'a str, &'a str)>, do_parse!( [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.81s [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 1` [INFO] running `Command { std: "docker" "inspect" "6ae049dd4bd713289a7fa10f37016a3e3a0afa6f503e58290c2f4796f79487d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ae049dd4bd713289a7fa10f37016a3e3a0afa6f503e58290c2f4796f79487d8", kill_on_drop: false }` [INFO] [stdout] 6ae049dd4bd713289a7fa10f37016a3e3a0afa6f503e58290c2f4796f79487d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 493753cc0115cb8bce7eaf8fea4f15690e4be64ed598249b1928d8d1083bdadc [INFO] running `Command { std: "docker" "start" "-a" "493753cc0115cb8bce7eaf8fea4f15690e4be64ed598249b1928d8d1083bdadc", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:227:25 [INFO] [stderr] | [INFO] [stderr] 227 | where F: FnMut(&mut BufRead) -> io::Result [INFO] [stderr] | ^^^^^^^ [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: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 227 | where F: FnMut(&mut dyn BufRead) -> io::Result [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:233:33 [INFO] [stderr] | [INFO] [stderr] 233 | Box::new($e) as Box [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 239 | boxed_bufread!(stdin.lock()) [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 `boxed_bufread` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:233:33 [INFO] [stderr] | [INFO] [stderr] 233 | Box::new($e) as Box [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 242 | boxed_bufread!(file) [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 `boxed_bufread` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field `1` is never read [INFO] [stderr] --> src/main.rs:188:23 [INFO] [stderr] | [INFO] [stderr] 188 | ReadError(String, io::Error), [INFO] [stderr] | --------- ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 188 - ReadError(String, io::Error), [INFO] [stderr] 188 + ReadError(String, ()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/main.rs:171:22 [INFO] [stderr] | [INFO] [stderr] 171 | named!(md5sum_output<&str>, verify!(take_str!(32), is_hex_str)); [INFO] [stderr] | ---------------------^^^^-------------------------------------- [INFO] [stderr] | | | [INFO] [stderr] | | the same lifetime is elided here [INFO] [stderr] | the lifetime is named here [INFO] [stderr] | the same lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 171 | named!(md5sum_output<&'a str>, verify!(take_str!(32), is_hex_str)); [INFO] [stderr] | ++ [INFO] [stderr] [INFO] [stderr] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/main.rs:173:21 [INFO] [stderr] | [INFO] [stderr] 173 | named!(md5sum_line<(&str, &str)>, do_parse!( [INFO] [stderr] | - ^^^^ ^^^^ the same lifetime is elided here [INFO] [stderr] | | | [INFO] [stderr] | _| the same lifetime is elided here [INFO] [stderr] | | [INFO] [stderr] 174 | | sum: md5sum_output >> char!(' ') >> [INFO] [stderr] 175 | | prefix: alt!(char!(' ') | char!('*'))>> [INFO] [stderr] 176 | | filename: map_res!(rest, ::std::str::from_utf8) >> [INFO] [stderr] 177 | | (sum, filename) [INFO] [stderr] 178 | | )); [INFO] [stderr] | | - [INFO] [stderr] | | | [INFO] [stderr] | |______the lifetime is named here [INFO] [stderr] | the same lifetime is named here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 173 | named!(md5sum_line<(&'a str, &'a str)>, do_parse!( [INFO] [stderr] | ++ ++ [INFO] [stderr] [INFO] [stderr] warning: `md5sum` (bin "md5sum" test) generated 6 warnings (run `cargo fix --bin "md5sum" -p md5sum --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [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 1` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/md5sum-d360d33acffba725) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test tests::it_should_validate_checksum_lines ... 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] running `Command { std: "docker" "inspect" "493753cc0115cb8bce7eaf8fea4f15690e4be64ed598249b1928d8d1083bdadc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "493753cc0115cb8bce7eaf8fea4f15690e4be64ed598249b1928d8d1083bdadc", kill_on_drop: false }` [INFO] [stdout] 493753cc0115cb8bce7eaf8fea4f15690e4be64ed598249b1928d8d1083bdadc