[INFO] fetching crate app 0.6.5... [INFO] testing app-0.6.5 against 1.60.0 for beta-1.61-1 [INFO] extracting crate app 0.6.5 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate app 0.6.5 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate app 0.6.5 [INFO] finished tweaking crates.io crate app 0.6.5 [INFO] tweaked toml for crates.io crate app 0.6.5 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded stderr v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23c847b6a0b19e153e191749ff507b5da46de58c60a255453233364515384c95 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "23c847b6a0b19e153e191749ff507b5da46de58c60a255453233364515384c95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23c847b6a0b19e153e191749ff507b5da46de58c60a255453233364515384c95", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23c847b6a0b19e153e191749ff507b5da46de58c60a255453233364515384c95", kill_on_drop: false }` [INFO] [stdout] 23c847b6a0b19e153e191749ff507b5da46de58c60a255453233364515384c95 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2586c79659dc0a3069a4713c2b2568d112168005b904f80418d69501d87026e0 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2586c79659dc0a3069a4713c2b2568d112168005b904f80418d69501d87026e0", kill_on_drop: false }` [INFO] [stderr] Compiling dirs v1.0.5 [INFO] [stderr] Compiling stderr v0.8.0 [INFO] [stderr] Compiling term v0.5.2 [INFO] [stderr] Compiling app v0.6.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/lib.rs:277:37 [INFO] [stdout] | [INFO] [stdout] 277 | self.helper.home_dir = env::home_dir().map(|s| s.to_string_lossy().into_owned()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/ovp.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ovp.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | inner: Box + 'app>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - inner: Box + 'app>, [INFO] [stdout] 8 + inner: Box + 'app>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/avp.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | inner: Box + 'app>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - inner: Box + 'app>, [INFO] [stdout] 8 + inner: Box + 'app>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ovp.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'app> AsRef + 'app>> for OptValue<'app> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - impl<'app> AsRef + 'app>> for OptValue<'app> { [INFO] [stdout] 17 + impl<'app> AsRef + 'app>> for OptValue<'app> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ovp.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'app> AsMut + 'app>> for OptValue<'app> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - impl<'app> AsMut + 'app>> for OptValue<'app> { [INFO] [stdout] 22 + impl<'app> AsMut + 'app>> for OptValue<'app> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ovp.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(value: Box + 'app>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - pub fn new(value: Box + 'app>) -> Self { [INFO] [stdout] 12 + pub fn new(value: Box + 'app>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ovp.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | fn as_ref(&self) -> &Box + 'app> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - fn as_ref(&self) -> &Box + 'app> { [INFO] [stdout] 18 + fn as_ref(&self) -> &Box + 'app> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ovp.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 23 | fn as_mut(&mut self) -> &mut Box + 'app> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - fn as_mut(&mut self) -> &mut Box + 'app> { [INFO] [stdout] 23 + fn as_mut(&mut self) -> &mut Box + 'app> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/avp.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'app> AsRef + 'app>> for ArgsValue<'app> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - impl<'app> AsRef + 'app>> for ArgsValue<'app> { [INFO] [stdout] 17 + impl<'app> AsRef + 'app>> for ArgsValue<'app> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/avp.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'app> AsMut + 'app>> for ArgsValue<'app> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - impl<'app> AsMut + 'app>> for ArgsValue<'app> { [INFO] [stdout] 22 + impl<'app> AsMut + 'app>> for ArgsValue<'app> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/avp.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(value: Box + 'app>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - pub fn new(value: Box + 'app>) -> Self { [INFO] [stdout] 12 + pub fn new(value: Box + 'app>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/avp.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | fn as_ref(&self) -> &Box + 'app> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - fn as_ref(&self) -> &Box + 'app> { [INFO] [stdout] 18 + fn as_ref(&self) -> &Box + 'app> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/avp.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 23 | fn as_mut(&mut self) -> &mut Box + 'app> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - fn as_mut(&mut self) -> &mut Box + 'app> { [INFO] [stdout] 23 + fn as_mut(&mut self) -> &mut Box + 'app> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/help.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | / dbln!( [INFO] [stdout] 45 | | "{:?}\n{:?}\n\n{:?},\n\n{:?}\n\n{:?}", [INFO] [stdout] 46 | | cmd_name, [INFO] [stdout] 47 | | self.cmd_infos, [INFO] [stdout] ... | [INFO] [stdout] 50 | | self.cmd_args [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | dbln!("parse_strings(): {:?}", args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | dbln!("$CARGO_HOME: {:?}", cargo_home_bin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 414 | dbln!("$current_exe_dir: {:?}", current_exe_dir); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:453:17 [INFO] [stdout] | [INFO] [stdout] 453 | dbln!("{}", usage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:564:13 [INFO] [stdout] | [INFO] [stdout] 564 | dbln!("i+1/args_len: {}/{}: {:?}", i + 1, args.len(), &args[i..]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:645:9 [INFO] [stdout] | [INFO] [stdout] 645 | / dbln!( [INFO] [stdout] 646 | | "Args_len/argstr_len/argstr_used_len/a_len: {}/{}/{}/{}", [INFO] [stdout] 647 | | args.len(), [INFO] [stdout] 648 | | argstr.len(), [INFO] [stdout] 649 | | argstr_used_len, [INFO] [stdout] 650 | | a_len [INFO] [stdout] 651 | | ); [INFO] [stdout] | |_________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:653:13 [INFO] [stdout] | [INFO] [stdout] 653 | dbln!("argstr_used_len == argstr.len() && a_len != 0"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:656:13 [INFO] [stdout] | [INFO] [stdout] 656 | dbln!("argstr_used_len + a_len > argstr.len()"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:689:13 [INFO] [stdout] | [INFO] [stdout] 689 | / dbln!( [INFO] [stdout] 690 | | "Some(len): {} {:?} + {:?}", [INFO] [stdout] 691 | | len, [INFO] [stdout] 692 | | argstr.slice(0..len), [INFO] [stdout] 693 | | argstr.slice(len..) [INFO] [stdout] 694 | | ); [INFO] [stdout] | |_____________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:710:9 [INFO] [stdout] | [INFO] [stdout] 710 | dbln!("len()>1:\nRaw: {:?}\nslice: {}", argstr, argstr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.80s [INFO] running `Command { std: "docker" "inspect" "2586c79659dc0a3069a4713c2b2568d112168005b904f80418d69501d87026e0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2586c79659dc0a3069a4713c2b2568d112168005b904f80418d69501d87026e0", kill_on_drop: false }` [INFO] [stdout] 2586c79659dc0a3069a4713c2b2568d112168005b904f80418d69501d87026e0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e29106ece9bcb1ec0034feab0fab9627d8b8f61b5f1e7863168dd9a0b4ea6ee1 [INFO] running `Command { std: "docker" "start" "-a" "e29106ece9bcb1ec0034feab0fab9627d8b8f61b5f1e7863168dd9a0b4ea6ee1", kill_on_drop: false }` [INFO] [stdout] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/lib.rs:277:37 [INFO] [stdout] | [INFO] [stdout] 277 | self.helper.home_dir = env::home_dir().map(|s| s.to_string_lossy().into_owned()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/ovp.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ovp.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | inner: Box + 'app>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - inner: Box + 'app>, [INFO] [stdout] 8 + inner: Box + 'app>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/avp.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | inner: Box + 'app>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - inner: Box + 'app>, [INFO] [stdout] 8 + inner: Box + 'app>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ovp.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'app> AsRef + 'app>> for OptValue<'app> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - impl<'app> AsRef + 'app>> for OptValue<'app> { [INFO] [stdout] 17 + impl<'app> AsRef + 'app>> for OptValue<'app> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ovp.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'app> AsMut + 'app>> for OptValue<'app> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - impl<'app> AsMut + 'app>> for OptValue<'app> { [INFO] [stdout] 22 + impl<'app> AsMut + 'app>> for OptValue<'app> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ovp.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(value: Box + 'app>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - pub fn new(value: Box + 'app>) -> Self { [INFO] [stdout] 12 + pub fn new(value: Box + 'app>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ovp.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | fn as_ref(&self) -> &Box + 'app> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - fn as_ref(&self) -> &Box + 'app> { [INFO] [stdout] 18 + fn as_ref(&self) -> &Box + 'app> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ovp.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 23 | fn as_mut(&mut self) -> &mut Box + 'app> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - fn as_mut(&mut self) -> &mut Box + 'app> { [INFO] [stdout] 23 + fn as_mut(&mut self) -> &mut Box + 'app> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/avp.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'app> AsRef + 'app>> for ArgsValue<'app> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - impl<'app> AsRef + 'app>> for ArgsValue<'app> { [INFO] [stdout] 17 + impl<'app> AsRef + 'app>> for ArgsValue<'app> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/avp.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'app> AsMut + 'app>> for ArgsValue<'app> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - impl<'app> AsMut + 'app>> for ArgsValue<'app> { [INFO] [stdout] 22 + impl<'app> AsMut + 'app>> for ArgsValue<'app> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/avp.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(value: Box + 'app>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - pub fn new(value: Box + 'app>) -> Self { [INFO] [stdout] 12 + pub fn new(value: Box + 'app>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/avp.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | fn as_ref(&self) -> &Box + 'app> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - fn as_ref(&self) -> &Box + 'app> { [INFO] [stdout] 18 + fn as_ref(&self) -> &Box + 'app> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/avp.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 23 | fn as_mut(&mut self) -> &mut Box + 'app> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - fn as_mut(&mut self) -> &mut Box + 'app> { [INFO] [stdout] 23 + fn as_mut(&mut self) -> &mut Box + 'app> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/help.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | / dbln!( [INFO] [stdout] 45 | | "{:?}\n{:?}\n\n{:?},\n\n{:?}\n\n{:?}", [INFO] [stdout] 46 | | cmd_name, [INFO] [stdout] 47 | | self.cmd_infos, [INFO] [stdout] ... | [INFO] [stdout] 50 | | self.cmd_args [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | dbln!("parse_strings(): {:?}", args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | dbln!("$CARGO_HOME: {:?}", cargo_home_bin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 414 | dbln!("$current_exe_dir: {:?}", current_exe_dir); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:453:17 [INFO] [stdout] | [INFO] [stdout] 453 | dbln!("{}", usage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:564:13 [INFO] [stdout] | [INFO] [stdout] 564 | dbln!("i+1/args_len: {}/{}: {:?}", i + 1, args.len(), &args[i..]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:645:9 [INFO] [stdout] | [INFO] [stdout] 645 | / dbln!( [INFO] [stdout] 646 | | "Args_len/argstr_len/argstr_used_len/a_len: {}/{}/{}/{}", [INFO] [stdout] 647 | | args.len(), [INFO] [stdout] 648 | | argstr.len(), [INFO] [stdout] 649 | | argstr_used_len, [INFO] [stdout] 650 | | a_len [INFO] [stdout] 651 | | ); [INFO] [stdout] | |_________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:653:13 [INFO] [stdout] | [INFO] [stdout] 653 | dbln!("argstr_used_len == argstr.len() && a_len != 0"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:656:13 [INFO] [stdout] | [INFO] [stdout] 656 | dbln!("argstr_used_len + a_len > argstr.len()"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:689:13 [INFO] [stdout] | [INFO] [stdout] 689 | / dbln!( [INFO] [stdout] 690 | | "Some(len): {} {:?} + {:?}", [INFO] [stdout] 691 | | len, [INFO] [stdout] 692 | | argstr.slice(0..len), [INFO] [stdout] 693 | | argstr.slice(len..) [INFO] [stdout] 694 | | ); [INFO] [stdout] | |_____________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:710:9 [INFO] [stdout] | [INFO] [stdout] 710 | dbln!("len()>1:\nRaw: {:?}\nslice: {}", argstr, argstr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling app v0.6.5 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> tests/test.rs:169:5 [INFO] [stdout] | [INFO] [stdout] 169 | dbln!("msg_args: {:?}", args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> tests/test.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | dbln!("rest: {:?}\t\trest_parse: {:?}", rest, rest_parse); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> tests/test.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | dbln!("fht2p_value: {:?}", value); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> tests/test.rs:172:5 [INFO] [stdout] | [INFO] [stdout] 172 | dbln!("fht2p_parse: {:?}", fht2p); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> tests/test.rs:173:5 [INFO] [stdout] | [INFO] [stdout] 173 | dbln!(); [INFO] [stdout] | ^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (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 is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] --> src/lib.rs:277:37 [INFO] [stdout] | [INFO] [stdout] 277 | self.helper.home_dir = env::home_dir().map(|s| s.to_string_lossy().into_owned()); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[inline]` is ignored on function prototypes [INFO] [stdout] --> src/ovp.rs:385:5 [INFO] [stdout] | [INFO] [stdout] 385 | #[inline] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ovp.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | inner: Box + 'app>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - inner: Box + 'app>, [INFO] [stdout] 8 + inner: Box + 'app>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/avp.rs:8:16 [INFO] [stdout] | [INFO] [stdout] 8 | inner: Box + 'app>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 - inner: Box + 'app>, [INFO] [stdout] 8 + inner: Box + 'app>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ovp.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'app> AsRef + 'app>> for OptValue<'app> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - impl<'app> AsRef + 'app>> for OptValue<'app> { [INFO] [stdout] 17 + impl<'app> AsRef + 'app>> for OptValue<'app> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ovp.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'app> AsMut + 'app>> for OptValue<'app> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - impl<'app> AsMut + 'app>> for OptValue<'app> { [INFO] [stdout] 22 + impl<'app> AsMut + 'app>> for OptValue<'app> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ovp.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(value: Box + 'app>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - pub fn new(value: Box + 'app>) -> Self { [INFO] [stdout] 12 + pub fn new(value: Box + 'app>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ovp.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | fn as_ref(&self) -> &Box + 'app> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - fn as_ref(&self) -> &Box + 'app> { [INFO] [stdout] 18 + fn as_ref(&self) -> &Box + 'app> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/ovp.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 23 | fn as_mut(&mut self) -> &mut Box + 'app> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - fn as_mut(&mut self) -> &mut Box + 'app> { [INFO] [stdout] 23 + fn as_mut(&mut self) -> &mut Box + 'app> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/avp.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | impl<'app> AsRef + 'app>> for ArgsValue<'app> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 17 - impl<'app> AsRef + 'app>> for ArgsValue<'app> { [INFO] [stdout] 17 + impl<'app> AsRef + 'app>> for ArgsValue<'app> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/avp.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | impl<'app> AsMut + 'app>> for ArgsValue<'app> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 - impl<'app> AsMut + 'app>> for ArgsValue<'app> { [INFO] [stdout] 22 + impl<'app> AsMut + 'app>> for ArgsValue<'app> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/avp.rs:12:27 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn new(value: Box + 'app>) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 12 - pub fn new(value: Box + 'app>) -> Self { [INFO] [stdout] 12 + pub fn new(value: Box + 'app>) -> Self { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/avp.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | fn as_ref(&self) -> &Box + 'app> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 - fn as_ref(&self) -> &Box + 'app> { [INFO] [stdout] 18 + fn as_ref(&self) -> &Box + 'app> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/avp.rs:23:38 [INFO] [stdout] | [INFO] [stdout] 23 | fn as_mut(&mut self) -> &mut Box + 'app> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 23 - fn as_mut(&mut self) -> &mut Box + 'app> { [INFO] [stdout] 23 + fn as_mut(&mut self) -> &mut Box + 'app> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/help.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 44 | / dbln!( [INFO] [stdout] 45 | | "{:?}\n{:?}\n\n{:?},\n\n{:?}\n\n{:?}", [INFO] [stdout] 46 | | cmd_name, [INFO] [stdout] 47 | | self.cmd_infos, [INFO] [stdout] ... | [INFO] [stdout] 50 | | self.cmd_args [INFO] [stdout] 51 | | ); [INFO] [stdout] | |_________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:268:9 [INFO] [stdout] | [INFO] [stdout] 268 | dbln!("parse_strings(): {:?}", args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:413:9 [INFO] [stdout] | [INFO] [stdout] 413 | dbln!("$CARGO_HOME: {:?}", cargo_home_bin); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:414:9 [INFO] [stdout] | [INFO] [stdout] 414 | dbln!("$current_exe_dir: {:?}", current_exe_dir); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:453:17 [INFO] [stdout] | [INFO] [stdout] 453 | dbln!("{}", usage); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:564:13 [INFO] [stdout] | [INFO] [stdout] 564 | dbln!("i+1/args_len: {}/{}: {:?}", i + 1, args.len(), &args[i..]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:645:9 [INFO] [stdout] | [INFO] [stdout] 645 | / dbln!( [INFO] [stdout] 646 | | "Args_len/argstr_len/argstr_used_len/a_len: {}/{}/{}/{}", [INFO] [stdout] 647 | | args.len(), [INFO] [stdout] 648 | | argstr.len(), [INFO] [stdout] 649 | | argstr_used_len, [INFO] [stdout] 650 | | a_len [INFO] [stdout] 651 | | ); [INFO] [stdout] | |_________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:653:13 [INFO] [stdout] | [INFO] [stdout] 653 | dbln!("argstr_used_len == argstr.len() && a_len != 0"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:656:13 [INFO] [stdout] | [INFO] [stdout] 656 | dbln!("argstr_used_len + a_len > argstr.len()"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:689:13 [INFO] [stdout] | [INFO] [stdout] 689 | / dbln!( [INFO] [stdout] 690 | | "Some(len): {} {:?} + {:?}", [INFO] [stdout] 691 | | len, [INFO] [stdout] 692 | | argstr.slice(0..len), [INFO] [stdout] 693 | | argstr.slice(len..) [INFO] [stdout] 694 | | ); [INFO] [stdout] | |_____________^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/lib.rs:710:9 [INFO] [stdout] | [INFO] [stdout] 710 | dbln!("len()>1:\nRaw: {:?}\nslice: {}", argstr, argstr); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 11.15s [INFO] running `Command { std: "docker" "inspect" "e29106ece9bcb1ec0034feab0fab9627d8b8f61b5f1e7863168dd9a0b4ea6ee1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e29106ece9bcb1ec0034feab0fab9627d8b8f61b5f1e7863168dd9a0b4ea6ee1", kill_on_drop: false }` [INFO] [stdout] e29106ece9bcb1ec0034feab0fab9627d8b8f61b5f1e7863168dd9a0b4ea6ee1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 75df287ec39b6457699c1cfb1ce393ade93991b59f1a37eae17d72c7ec095fea [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "75df287ec39b6457699c1cfb1ce393ade93991b59f1a37eae17d72c7ec095fea", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] [INFO] [stderr] warning: use of deprecated function `std::env::home_dir`: This function's behavior is unexpected and probably not what you want. Consider using a crate from crates.io instead. [INFO] [stdout] running 2 tests [INFO] [stderr] --> src/lib.rs:277:37 [INFO] [stdout] test avp::tests::chars ... ok [INFO] [stderr] | [INFO] [stdout] test ovp::tests::chars ... ok [INFO] [stderr] 277 | self.helper.home_dir = env::home_dir().map(|s| s.to_string_lossy().into_owned()); [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^ [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `#[inline]` is ignored on function prototypes [INFO] [stderr] --> src/ovp.rs:385:5 [INFO] [stderr] | [INFO] [stderr] 385 | #[inline] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ovp.rs:8:16 [INFO] [stderr] | [INFO] [stderr] 8 | inner: Box + 'app>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 8 - inner: Box + 'app>, [INFO] [stderr] 8 + inner: Box + 'app>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/avp.rs:8:16 [INFO] [stderr] | [INFO] [stderr] 8 | inner: Box + 'app>, [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 8 - inner: Box + 'app>, [INFO] [stderr] 8 + inner: Box + 'app>, [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ovp.rs:17:22 [INFO] [stderr] | [INFO] [stderr] 17 | impl<'app> AsRef + 'app>> for OptValue<'app> { [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 17 - impl<'app> AsRef + 'app>> for OptValue<'app> { [INFO] [stderr] 17 + impl<'app> AsRef + 'app>> for OptValue<'app> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ovp.rs:22:22 [INFO] [stderr] | [INFO] [stderr] 22 | impl<'app> AsMut + 'app>> for OptValue<'app> { [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 22 - impl<'app> AsMut + 'app>> for OptValue<'app> { [INFO] [stderr] 22 + impl<'app> AsMut + 'app>> for OptValue<'app> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ovp.rs:12:27 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn new(value: Box + 'app>) -> Self { [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 12 - pub fn new(value: Box + 'app>) -> Self { [INFO] [stderr] 12 + pub fn new(value: Box + 'app>) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ovp.rs:18:30 [INFO] [stderr] | [INFO] [stderr] 18 | fn as_ref(&self) -> &Box + 'app> { [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 18 - fn as_ref(&self) -> &Box + 'app> { [INFO] [stderr] 18 + fn as_ref(&self) -> &Box + 'app> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/ovp.rs:23:38 [INFO] [stderr] | [INFO] [stderr] 23 | fn as_mut(&mut self) -> &mut Box + 'app> { [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 23 - fn as_mut(&mut self) -> &mut Box + 'app> { [INFO] [stderr] 23 + fn as_mut(&mut self) -> &mut Box + 'app> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/avp.rs:17:22 [INFO] [stderr] | [INFO] [stderr] 17 | impl<'app> AsRef + 'app>> for ArgsValue<'app> { [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 17 - impl<'app> AsRef + 'app>> for ArgsValue<'app> { [INFO] [stderr] 17 + impl<'app> AsRef + 'app>> for ArgsValue<'app> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/avp.rs:22:22 [INFO] [stderr] | [INFO] [stderr] 22 | impl<'app> AsMut + 'app>> for ArgsValue<'app> { [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 22 - impl<'app> AsMut + 'app>> for ArgsValue<'app> { [INFO] [stderr] 22 + impl<'app> AsMut + 'app>> for ArgsValue<'app> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/avp.rs:12:27 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn new(value: Box + 'app>) -> Self { [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 12 - pub fn new(value: Box + 'app>) -> Self { [INFO] [stderr] 12 + pub fn new(value: Box + 'app>) -> Self { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/avp.rs:18:30 [INFO] [stderr] | [INFO] [stderr] 18 | fn as_ref(&self) -> &Box + 'app> { [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 18 - fn as_ref(&self) -> &Box + 'app> { [INFO] [stderr] 18 + fn as_ref(&self) -> &Box + 'app> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/avp.rs:23:38 [INFO] [stderr] | [INFO] [stderr] 23 | fn as_mut(&mut self) -> &mut Box + 'app> { [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] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 23 - fn as_mut(&mut self) -> &mut Box + 'app> { [INFO] [stderr] 23 + fn as_mut(&mut self) -> &mut Box + 'app> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/help.rs:44:9 [INFO] [stderr] | [INFO] [stderr] 44 | / dbln!( [INFO] [stderr] 45 | | "{:?}\n{:?}\n\n{:?},\n\n{:?}\n\n{:?}", [INFO] [stderr] 46 | | cmd_name, [INFO] [stderr] 47 | | self.cmd_infos, [INFO] [stderr] ... | [INFO] [stderr] 50 | | self.cmd_args [INFO] [stderr] 51 | | ); [INFO] [stderr] | |_________^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/lib.rs:268:9 [INFO] [stderr] | [INFO] [stderr] 268 | dbln!("parse_strings(): {:?}", args); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/lib.rs:413:9 [INFO] [stderr] | [INFO] [stderr] 413 | dbln!("$CARGO_HOME: {:?}", cargo_home_bin); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/lib.rs:414:9 [INFO] [stderr] | [INFO] [stderr] 414 | dbln!("$current_exe_dir: {:?}", current_exe_dir); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/lib.rs:453:17 [INFO] [stderr] | [INFO] [stderr] 453 | dbln!("{}", usage); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/lib.rs:564:13 [INFO] [stderr] | [INFO] [stderr] 564 | dbln!("i+1/args_len: {}/{}: {:?}", i + 1, args.len(), &args[i..]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/lib.rs:645:9 [INFO] [stderr] | [INFO] [stderr] 645 | / dbln!( [INFO] [stderr] 646 | | "Args_len/argstr_len/argstr_used_len/a_len: {}/{}/{}/{}", [INFO] [stderr] 647 | | args.len(), [INFO] [stderr] 648 | | argstr.len(), [INFO] [stderr] 649 | | argstr_used_len, [INFO] [stderr] 650 | | a_len [INFO] [stderr] 651 | | ); [INFO] [stderr] | |_________^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/lib.rs:653:13 [INFO] [stderr] | [INFO] [stderr] 653 | dbln!("argstr_used_len == argstr.len() && a_len != 0"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/lib.rs:656:13 [INFO] [stderr] | [INFO] [stderr] 656 | dbln!("argstr_used_len + a_len > argstr.len()"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/lib.rs:689:13 [INFO] [stderr] | [INFO] [stderr] 689 | / dbln!( [INFO] [stderr] 690 | | "Some(len): {} {:?} + {:?}", [INFO] [stderr] 691 | | len, [INFO] [stderr] 692 | | argstr.slice(0..len), [INFO] [stderr] 693 | | argstr.slice(len..) [INFO] [stderr] 694 | | ); [INFO] [stderr] | |_____________^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/lib.rs:710:9 [INFO] [stderr] | [INFO] [stderr] 710 | dbln!("len()>1:\nRaw: {:?}\nslice: {}", argstr, argstr); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `app` (lib) generated 25 warnings [INFO] [stderr] warning: `app` (lib test) generated 25 warnings (25 duplicates) [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> tests/test.rs:169:5 [INFO] [stderr] | [INFO] [stderr] 169 | dbln!("msg_args: {:?}", args); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> tests/test.rs:170:5 [INFO] [stderr] | [INFO] [stderr] 170 | dbln!("rest: {:?}\t\trest_parse: {:?}", rest, rest_parse); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> tests/test.rs:171:5 [INFO] [stderr] | [INFO] [stderr] 171 | dbln!("fht2p_value: {:?}", value); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> tests/test.rs:172:5 [INFO] [stderr] | [INFO] [stderr] 172 | dbln!("fht2p_parse: {:?}", fht2p); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> tests/test.rs:173:5 [INFO] [stderr] | [INFO] [stderr] 173 | dbln!(); [INFO] [stderr] | ^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `db` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `app` (test "test") generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/app-87a98ec64833b5c3) [INFO] [stderr] Running tests/helps.rs (/opt/rustwide/target/debug/deps/helps-a3c6480be7cc8502) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/test-3e35a68cd9ed650c) [INFO] [stdout] test main ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] pkg!: "test" [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test inner ... 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 app [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "75df287ec39b6457699c1cfb1ce393ade93991b59f1a37eae17d72c7ec095fea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75df287ec39b6457699c1cfb1ce393ade93991b59f1a37eae17d72c7ec095fea", kill_on_drop: false }` [INFO] [stdout] 75df287ec39b6457699c1cfb1ce393ade93991b59f1a37eae17d72c7ec095fea