[INFO] fetching crate argparsnip 0.1.6... [INFO] testing argparsnip-0.1.6 against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-2 [INFO] extracting crate argparsnip 0.1.6 into /workspace/builds/worker-1-tc2/source [INFO] started tweaking crates.io crate argparsnip 0.1.6 [INFO] finished tweaking crates.io crate argparsnip 0.1.6 [INFO] tweaked toml for crates.io crate argparsnip 0.1.6 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate argparsnip 0.1.6 on toolchain 1.100.0-beta.1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "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" "+1.100.0-beta.1" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 139 packages to highest compatible versions [INFO] [stderr] Adding bitflags v1.2.1 (available: v1.3.2) [INFO] [stderr] Adding criterion v0.3.6 (available: v0.8.2) [INFO] [stderr] Adding hashbrown v0.11.2 (available: v0.17.1) [INFO] [stderr] Adding pprof v0.4.5 (available: v0.15.0) [INFO] [stderr] Adding pretty_assertions v0.7.2 (available: v1.4.1) [INFO] [stderr] Adding simple_logger v1.16.0 (available: v5.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: `package.homepage` is redundant with `package.repository` [INFO] [stderr] --> Cargo.toml:64:12 [INFO] [stderr] | [INFO] [stderr] 64 | homepage = "https://github.com/MichaelLeith/ArgParsnip" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 69 | repository = "https://github.com/MichaelLeith/ArgParsnip" [INFO] [stderr] | -------------------------------------------- [INFO] [stderr] | [INFO] [stderr] = note: `cargo::redundant_homepage` is set to `warn` by default [INFO] [stderr] help: consider removing `package.homepage` [INFO] [stderr] warning: `argparsnip` (manifest) generated 1 warning [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] ed17d638743752e491de957f97e859b3184c0b7457cc6b77abefeea477b3b22d [INFO] running `Command { std: "docker" "start" "ed17d638743752e491de957f97e859b3184c0b7457cc6b77abefeea477b3b22d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed17d638743752e491de957f97e859b3184c0b7457cc6b77abefeea477b3b22d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ed17d638743752e491de957f97e859b3184c0b7457cc6b77abefeea477b3b22d" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed17d638743752e491de957f97e859b3184c0b7457cc6b77abefeea477b3b22d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ed17d638743752e491de957f97e859b3184c0b7457cc6b77abefeea477b3b22d" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] warning: `package.homepage` is redundant with `package.repository` [INFO] [stderr] --> Cargo.toml:64:12 [INFO] [stderr] | [INFO] [stderr] 64 | homepage = "https://github.com/MichaelLeith/ArgParsnip" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 69 | repository = "https://github.com/MichaelLeith/ArgParsnip" [INFO] [stderr] | -------------------------------------------- [INFO] [stderr] | [INFO] [stderr] = note: `cargo::redundant_homepage` is set to `warn` by default [INFO] [stderr] help: consider removing `package.homepage` [INFO] [stderr] warning: `argparsnip` (manifest) generated 1 warning [INFO] [stderr] Compiling unicode-segmentation v1.13.3 [INFO] [stderr] Compiling argparsnip v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:333:29 [INFO] [stdout] | [INFO] [stdout] 333 | fn get_values_unbounded(&self, arg: &Arg, args: &mut Peekable, est: usize) -> Result, Error>; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 333 | fn get_values_unbounded(&self, arg: &Arg, args: &mut Peekable, est: usize) -> Result, Error<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:335:27 [INFO] [stdout] | [INFO] [stdout] 335 | fn get_values_bounded(&self, arg: &Arg, args: &mut Peekable, est: usize) -> Result, Error>; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 335 | fn get_values_bounded(&self, arg: &Arg, args: &mut Peekable, est: usize) -> Result, Error<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:338:107 [INFO] [stdout] | [INFO] [stdout] 338 | fn update_values(&'a self, arg: &'a Arg, args: &mut Peekable, out: &mut Builder<'a>) -> Result<(), Error>; [INFO] [stdout] | -- -- -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | the lifetime is named here the lifetime is named here [INFO] [stdout] | the 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] 338 | fn update_values(&'a self, arg: &'a Arg, args: &mut Peekable, out: &mut Builder<'a>) -> Result<(), Error<'a>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:342:101 [INFO] [stdout] | [INFO] [stdout] 342 | fn handle_arg(&'a self, arg: &str, args: &mut Peekable, out: &mut Builder<'a>) -> Result<(), Error>; [INFO] [stdout] | -- -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the 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] 342 | fn handle_arg(&'a self, arg: &str, args: &mut Peekable, out: &mut Builder<'a>) -> Result<(), Error<'a>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:344:46 [INFO] [stdout] | [INFO] [stdout] 344 | fn apply(&'a self, args: T) -> Result; [INFO] [stdout] | -- the lifetime is named here ^^^^^ the same lifetime is hidden 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] 344 | fn apply(&'a self, args: T) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:348:29 [INFO] [stdout] | [INFO] [stdout] 348 | fn get_values_unbounded(&self, arg: &Arg, args: &mut Peekable, est: usize) -> Result, Error> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 348 | fn get_values_unbounded(&self, arg: &Arg, args: &mut Peekable, est: usize) -> Result, Error<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:367:27 [INFO] [stdout] | [INFO] [stdout] 367 | fn get_values_bounded(&self, arg: &Arg, args: &mut Peekable, est: usize) -> Result, Error> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 367 | fn get_values_bounded(&self, arg: &Arg, args: &mut Peekable, est: usize) -> Result, Error<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:386:107 [INFO] [stdout] | [INFO] [stdout] 386 | fn update_values(&'a self, arg: &'a Arg, args: &mut Peekable, out: &mut Builder<'a>) -> Result<(), Error> { [INFO] [stdout] | -- -- -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | the lifetime is named here the lifetime is named here [INFO] [stdout] | the 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] 386 | fn update_values(&'a self, arg: &'a Arg, args: &mut Peekable, out: &mut Builder<'a>) -> Result<(), Error<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:434:101 [INFO] [stdout] | [INFO] [stdout] 434 | fn handle_arg(&'a self, arg: &str, args: &mut Peekable, out: &mut Builder<'a>) -> Result<(), Error> { [INFO] [stdout] | -- -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the 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] 434 | fn handle_arg(&'a self, arg: &str, args: &mut Peekable, out: &mut Builder<'a>) -> Result<(), Error<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:476:46 [INFO] [stdout] | [INFO] [stdout] 476 | fn apply(&'a self, args: T) -> Result { [INFO] [stdout] | -- the lifetime is named here ^^^^^ the same lifetime is hidden 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] 476 | fn apply(&'a self, args: T) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:653:25 [INFO] [stdout] | [INFO] [stdout] 653 | fn try_insert_param(&self, key: &'a str, value: Value, out: &mut Builder<'a>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 653 | fn try_insert_param(&self, key: &'a str, value: Value, out: &mut Builder<'a>) -> Result<(), Error<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:668:24 [INFO] [stdout] | [INFO] [stdout] 668 | fn try_insert_flag(&self, key: &'a str, out: &mut Builder<'a>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 668 | fn try_insert_flag(&self, key: &'a str, out: &mut Builder<'a>) -> Result<(), Error<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:691:27 [INFO] [stdout] | [INFO] [stdout] 691 | fn handle_arg_missing(&self, arg: &str, _: &mut Builder<'a>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 691 | fn handle_arg_missing(&self, arg: &str, _: &mut Builder<'a>) -> Result<(), Error<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/value.rs:218:52 [INFO] [stdout] | [INFO] [stdout] 218 | Type::Any | Type::String => Value::from(val.clone()), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1.24s [INFO] running `Command { std: "docker" "inspect" "ed17d638743752e491de957f97e859b3184c0b7457cc6b77abefeea477b3b22d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ed17d638743752e491de957f97e859b3184c0b7457cc6b77abefeea477b3b22d" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--no-run" "--message-format=json" "--release", kill_on_drop: false }` [INFO] [stderr] warning: `package.homepage` is redundant with `package.repository` [INFO] [stderr] --> Cargo.toml:64:12 [INFO] [stderr] | [INFO] [stderr] 64 | homepage = "https://github.com/MichaelLeith/ArgParsnip" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 69 | repository = "https://github.com/MichaelLeith/ArgParsnip" [INFO] [stderr] | -------------------------------------------- [INFO] [stderr] | [INFO] [stderr] = note: `cargo::redundant_homepage` is set to `warn` by default [INFO] [stderr] help: consider removing `package.homepage` [INFO] [stderr] warning: `argparsnip` (manifest) generated 1 warning [INFO] [stderr] Compiling libc v0.2.191 [INFO] [stderr] Compiling autocfg v1.5.1 [INFO] [stderr] Compiling cfg-if v1.0.5 [INFO] [stderr] Compiling proc-macro2 v1.0.107 [INFO] [stderr] Compiling memchr v2.8.3 [INFO] [stderr] Compiling quote v1.0.47 [INFO] [stderr] Compiling serde_core v1.0.229 [INFO] [stderr] Compiling unicode-ident v1.0.27 [INFO] [stderr] Compiling crossbeam-utils v0.8.23 [INFO] [stderr] Compiling crossbeam-epoch v0.9.21 [INFO] [stderr] Compiling itoa v1.0.18 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Compiling crossbeam-deque v0.8.8 [INFO] [stderr] Compiling zmij v1.0.23 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling lazy_static v1.5.1 [INFO] [stderr] Compiling either v1.19.0 [INFO] [stderr] Compiling serde_json v1.0.154 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling object v0.37.3 [INFO] [stderr] Compiling getrandom v0.4.3 [INFO] [stderr] Compiling parking_lot_core v0.8.6 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling rustix v1.1.5 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling once_cell v1.21.4 [INFO] [stderr] Compiling cpp_demangle v0.3.5 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling regex-syntax v0.8.11 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling arrayvec v0.7.8 [INFO] [stderr] Compiling linux-raw-sys v0.12.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling debugid v0.7.3 [INFO] [stderr] Compiling csv-core v0.1.13 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling num-conv v0.2.2 [INFO] [stderr] Compiling time-core v0.1.9 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling bitflags v2.13.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling gimli v0.32.3 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling syn v3.0.9 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling log v0.4.34 [INFO] [stderr] Compiling ryu v1.0.23 [INFO] [stderr] Compiling smallvec v1.16.3 [INFO] [stderr] Compiling bytemuck v1.25.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling symbolic-demangle v8.8.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling rustc-demangle v0.1.28 [INFO] [stderr] Compiling rgb v0.8.53 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling time-macros v0.2.32 [INFO] [stderr] Compiling num-format v0.4.4 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling quick-xml v0.22.0 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling regex-automata v0.4.18 [INFO] [stderr] Compiling memmap2 v0.5.10 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling symbolic-common v8.8.0 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling rayon v1.12.0 [INFO] [stderr] Compiling fastrand v2.5.0 [INFO] [stderr] Compiling deranged v0.5.9 [INFO] [stderr] Compiling pprof v0.4.5 [INFO] [stderr] Compiling str_stack v0.1.1 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling num_threads v0.1.8 [INFO] [stderr] Compiling powerfmt v0.2.1 [INFO] [stderr] Compiling inferno v0.10.12 [INFO] [stderr] Compiling tempfile v3.27.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling nix v0.20.2 [INFO] [stderr] Compiling colored v1.9.4 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling diff v0.1.13 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:333:29 [INFO] [stdout] | [INFO] [stdout] 333 | fn get_values_unbounded(&self, arg: &Arg, args: &mut Peekable, est: usize) -> Result, Error>; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 333 | fn get_values_unbounded(&self, arg: &Arg, args: &mut Peekable, est: usize) -> Result, Error<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:335:27 [INFO] [stdout] | [INFO] [stdout] 335 | fn get_values_bounded(&self, arg: &Arg, args: &mut Peekable, est: usize) -> Result, Error>; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 335 | fn get_values_bounded(&self, arg: &Arg, args: &mut Peekable, est: usize) -> Result, Error<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:338:107 [INFO] [stdout] | [INFO] [stdout] 338 | fn update_values(&'a self, arg: &'a Arg, args: &mut Peekable, out: &mut Builder<'a>) -> Result<(), Error>; [INFO] [stdout] | -- -- -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | the lifetime is named here the lifetime is named here [INFO] [stdout] | the 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] 338 | fn update_values(&'a self, arg: &'a Arg, args: &mut Peekable, out: &mut Builder<'a>) -> Result<(), Error<'a>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:342:101 [INFO] [stdout] | [INFO] [stdout] 342 | fn handle_arg(&'a self, arg: &str, args: &mut Peekable, out: &mut Builder<'a>) -> Result<(), Error>; [INFO] [stdout] | -- -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the 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] 342 | fn handle_arg(&'a self, arg: &str, args: &mut Peekable, out: &mut Builder<'a>) -> Result<(), Error<'a>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:344:46 [INFO] [stdout] | [INFO] [stdout] 344 | fn apply(&'a self, args: T) -> Result; [INFO] [stdout] | -- the lifetime is named here ^^^^^ the same lifetime is hidden 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] 344 | fn apply(&'a self, args: T) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:348:29 [INFO] [stdout] | [INFO] [stdout] 348 | fn get_values_unbounded(&self, arg: &Arg, args: &mut Peekable, est: usize) -> Result, Error> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 348 | fn get_values_unbounded(&self, arg: &Arg, args: &mut Peekable, est: usize) -> Result, Error<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:367:27 [INFO] [stdout] | [INFO] [stdout] 367 | fn get_values_bounded(&self, arg: &Arg, args: &mut Peekable, est: usize) -> Result, Error> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 367 | fn get_values_bounded(&self, arg: &Arg, args: &mut Peekable, est: usize) -> Result, Error<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:386:107 [INFO] [stdout] | [INFO] [stdout] 386 | fn update_values(&'a self, arg: &'a Arg, args: &mut Peekable, out: &mut Builder<'a>) -> Result<(), Error> { [INFO] [stdout] | -- -- -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | the lifetime is named here the lifetime is named here [INFO] [stdout] | the 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] 386 | fn update_values(&'a self, arg: &'a Arg, args: &mut Peekable, out: &mut Builder<'a>) -> Result<(), Error<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:434:101 [INFO] [stdout] | [INFO] [stdout] 434 | fn handle_arg(&'a self, arg: &str, args: &mut Peekable, out: &mut Builder<'a>) -> Result<(), Error> { [INFO] [stdout] | -- -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the 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] 434 | fn handle_arg(&'a self, arg: &str, args: &mut Peekable, out: &mut Builder<'a>) -> Result<(), Error<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:476:46 [INFO] [stdout] | [INFO] [stdout] 476 | fn apply(&'a self, args: T) -> Result { [INFO] [stdout] | -- the lifetime is named here ^^^^^ the same lifetime is hidden 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] 476 | fn apply(&'a self, args: T) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:653:25 [INFO] [stdout] | [INFO] [stdout] 653 | fn try_insert_param(&self, key: &'a str, value: Value, out: &mut Builder<'a>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 653 | fn try_insert_param(&self, key: &'a str, value: Value, out: &mut Builder<'a>) -> Result<(), Error<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:668:24 [INFO] [stdout] | [INFO] [stdout] 668 | fn try_insert_flag(&self, key: &'a str, out: &mut Builder<'a>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 668 | fn try_insert_flag(&self, key: &'a str, out: &mut Builder<'a>) -> Result<(), Error<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:691:27 [INFO] [stdout] | [INFO] [stdout] 691 | fn handle_arg_missing(&self, arg: &str, _: &mut Builder<'a>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 691 | fn handle_arg_missing(&self, arg: &str, _: &mut Builder<'a>) -> Result<(), Error<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/value.rs:218:52 [INFO] [stdout] | [INFO] [stdout] 218 | Type::Any | Type::String => Value::from(val.clone()), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pretty_assertions v0.7.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling addr2line v0.25.1 [INFO] [stderr] Compiling csv v1.4.0 [INFO] [stderr] Compiling time v0.3.55 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling regex v1.13.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.229 [INFO] [stderr] Compiling backtrace v0.3.76 [INFO] [stderr] Compiling simple_logger v1.16.0 [INFO] [stderr] Compiling criterion v0.3.6 [INFO] [stderr] Compiling argparsnip v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/lib.rs:1039:44 [INFO] [stdout] | [INFO] [stdout] 1039 | handler: |r| assert_has!(&i64::max_value(), r, "arg"), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stdout] --> src/lib.rs:1041:65 [INFO] [stdout] | [INFO] [stdout] 1041 | assert_eq!(Ok(1), args.parse(vec!["prog", "--arg", i64::max_value().to_string().as_str()])); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:333:29 [INFO] [stdout] | [INFO] [stdout] 333 | fn get_values_unbounded(&self, arg: &Arg, args: &mut Peekable, est: usize) -> Result, Error>; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden 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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 333 | fn get_values_unbounded(&self, arg: &Arg, args: &mut Peekable, est: usize) -> Result, Error<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:335:27 [INFO] [stdout] | [INFO] [stdout] 335 | fn get_values_bounded(&self, arg: &Arg, args: &mut Peekable, est: usize) -> Result, Error>; [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 335 | fn get_values_bounded(&self, arg: &Arg, args: &mut Peekable, est: usize) -> Result, Error<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:338:107 [INFO] [stdout] | [INFO] [stdout] 338 | fn update_values(&'a self, arg: &'a Arg, args: &mut Peekable, out: &mut Builder<'a>) -> Result<(), Error>; [INFO] [stdout] | -- -- -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | the lifetime is named here the lifetime is named here [INFO] [stdout] | the 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] 338 | fn update_values(&'a self, arg: &'a Arg, args: &mut Peekable, out: &mut Builder<'a>) -> Result<(), Error<'a>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:342:101 [INFO] [stdout] | [INFO] [stdout] 342 | fn handle_arg(&'a self, arg: &str, args: &mut Peekable, out: &mut Builder<'a>) -> Result<(), Error>; [INFO] [stdout] | -- -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the 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] 342 | fn handle_arg(&'a self, arg: &str, args: &mut Peekable, out: &mut Builder<'a>) -> Result<(), Error<'a>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:344:46 [INFO] [stdout] | [INFO] [stdout] 344 | fn apply(&'a self, args: T) -> Result; [INFO] [stdout] | -- the lifetime is named here ^^^^^ the same lifetime is hidden 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] 344 | fn apply(&'a self, args: T) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:348:29 [INFO] [stdout] | [INFO] [stdout] 348 | fn get_values_unbounded(&self, arg: &Arg, args: &mut Peekable, est: usize) -> Result, Error> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 348 | fn get_values_unbounded(&self, arg: &Arg, args: &mut Peekable, est: usize) -> Result, Error<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:367:27 [INFO] [stdout] | [INFO] [stdout] 367 | fn get_values_bounded(&self, arg: &Arg, args: &mut Peekable, est: usize) -> Result, Error> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 367 | fn get_values_bounded(&self, arg: &Arg, args: &mut Peekable, est: usize) -> Result, Error<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:386:107 [INFO] [stdout] | [INFO] [stdout] 386 | fn update_values(&'a self, arg: &'a Arg, args: &mut Peekable, out: &mut Builder<'a>) -> Result<(), Error> { [INFO] [stdout] | -- -- -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | | [INFO] [stdout] | | the lifetime is named here the lifetime is named here [INFO] [stdout] | the 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] 386 | fn update_values(&'a self, arg: &'a Arg, args: &mut Peekable, out: &mut Builder<'a>) -> Result<(), Error<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:434:101 [INFO] [stdout] | [INFO] [stdout] 434 | fn handle_arg(&'a self, arg: &str, args: &mut Peekable, out: &mut Builder<'a>) -> Result<(), Error> { [INFO] [stdout] | -- -- ^^^^^ the same lifetime is hidden here [INFO] [stdout] | | | [INFO] [stdout] | the lifetime is named here the 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] 434 | fn handle_arg(&'a self, arg: &str, args: &mut Peekable, out: &mut Builder<'a>) -> Result<(), Error<'a>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/lib.rs:476:46 [INFO] [stdout] | [INFO] [stdout] 476 | fn apply(&'a self, args: T) -> Result { [INFO] [stdout] | -- the lifetime is named here ^^^^^ the same lifetime is hidden 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] 476 | fn apply(&'a self, args: T) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:653:25 [INFO] [stdout] | [INFO] [stdout] 653 | fn try_insert_param(&self, key: &'a str, value: Value, out: &mut Builder<'a>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 653 | fn try_insert_param(&self, key: &'a str, value: Value, out: &mut Builder<'a>) -> Result<(), Error<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:668:24 [INFO] [stdout] | [INFO] [stdout] 668 | fn try_insert_flag(&self, key: &'a str, out: &mut Builder<'a>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 668 | fn try_insert_flag(&self, key: &'a str, out: &mut Builder<'a>) -> Result<(), Error<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:691:27 [INFO] [stdout] | [INFO] [stdout] 691 | fn handle_arg_missing(&self, arg: &str, _: &mut Builder<'a>) -> Result<(), Error> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 691 | fn handle_arg_missing(&self, arg: &str, _: &mut Builder<'a>) -> Result<(), Error<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/value.rs:218:52 [INFO] [stdout] | [INFO] [stdout] 218 | Type::Any | Type::String => Value::from(val.clone()), [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `release` profile [optimized] target(s) in 1m 29s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.22.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "ed17d638743752e491de957f97e859b3184c0b7457cc6b77abefeea477b3b22d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ed17d638743752e491de957f97e859b3184c0b7457cc6b77abefeea477b3b22d" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "test" "--frozen" "--release", kill_on_drop: false }` [INFO] [stderr] warning: `package.homepage` is redundant with `package.repository` [INFO] [stderr] --> Cargo.toml:64:12 [INFO] [stderr] | [INFO] [stderr] 64 | homepage = "https://github.com/MichaelLeith/ArgParsnip" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 69 | repository = "https://github.com/MichaelLeith/ArgParsnip" [INFO] [stderr] | -------------------------------------------- [INFO] [stderr] | [INFO] [stderr] = note: `cargo::redundant_homepage` is set to `warn` by default [INFO] [stderr] help: consider removing `package.homepage` [INFO] [stderr] warning: `argparsnip` (manifest) generated 1 warning [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:333:29 [INFO] [stderr] | [INFO] [stderr] 333 | fn get_values_unbounded(&self, arg: &Arg, args: &mut Peekable, est: usize) -> Result, Error>; [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden 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: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 333 | fn get_values_unbounded(&self, arg: &Arg, args: &mut Peekable, est: usize) -> Result, Error<'_>>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:335:27 [INFO] [stderr] | [INFO] [stderr] 335 | fn get_values_bounded(&self, arg: &Arg, args: &mut Peekable, est: usize) -> Result, Error>; [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 335 | fn get_values_bounded(&self, arg: &Arg, args: &mut Peekable, est: usize) -> Result, Error<'_>>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:338:107 [INFO] [stderr] | [INFO] [stderr] 338 | fn update_values(&'a self, arg: &'a Arg, args: &mut Peekable, out: &mut Builder<'a>) -> Result<(), Error>; [INFO] [stderr] | -- -- -- ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | | [INFO] [stderr] | | the lifetime is named here the lifetime is named here [INFO] [stderr] | the 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] 338 | fn update_values(&'a self, arg: &'a Arg, args: &mut Peekable, out: &mut Builder<'a>) -> Result<(), Error<'a>>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:342:101 [INFO] [stderr] | [INFO] [stderr] 342 | fn handle_arg(&'a self, arg: &str, args: &mut Peekable, out: &mut Builder<'a>) -> Result<(), Error>; [INFO] [stderr] | -- -- ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | the lifetime is named here the 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] 342 | fn handle_arg(&'a self, arg: &str, args: &mut Peekable, out: &mut Builder<'a>) -> Result<(), Error<'a>>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:344:46 [INFO] [stderr] | [INFO] [stderr] 344 | fn apply(&'a self, args: T) -> Result; [INFO] [stderr] | -- the lifetime is named here ^^^^^ the same lifetime is hidden 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] 344 | fn apply(&'a self, args: T) -> Result>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:348:29 [INFO] [stderr] | [INFO] [stderr] 348 | fn get_values_unbounded(&self, arg: &Arg, args: &mut Peekable, est: usize) -> Result, Error> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 348 | fn get_values_unbounded(&self, arg: &Arg, args: &mut Peekable, est: usize) -> Result, Error<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:367:27 [INFO] [stderr] | [INFO] [stderr] 367 | fn get_values_bounded(&self, arg: &Arg, args: &mut Peekable, est: usize) -> Result, Error> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 367 | fn get_values_bounded(&self, arg: &Arg, args: &mut Peekable, est: usize) -> Result, Error<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:386:107 [INFO] [stderr] | [INFO] [stderr] 386 | fn update_values(&'a self, arg: &'a Arg, args: &mut Peekable, out: &mut Builder<'a>) -> Result<(), Error> { [INFO] [stderr] | -- -- -- ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | | [INFO] [stderr] | | the lifetime is named here the lifetime is named here [INFO] [stderr] | the 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] 386 | fn update_values(&'a self, arg: &'a Arg, args: &mut Peekable, out: &mut Builder<'a>) -> Result<(), Error<'a>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:434:101 [INFO] [stderr] | [INFO] [stderr] 434 | fn handle_arg(&'a self, arg: &str, args: &mut Peekable, out: &mut Builder<'a>) -> Result<(), Error> { [INFO] [stderr] | -- -- ^^^^^ the same lifetime is hidden here [INFO] [stderr] | | | [INFO] [stderr] | the lifetime is named here the 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] 434 | fn handle_arg(&'a self, arg: &str, args: &mut Peekable, out: &mut Builder<'a>) -> Result<(), Error<'a>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stderr] --> src/lib.rs:476:46 [INFO] [stderr] | [INFO] [stderr] 476 | fn apply(&'a self, args: T) -> Result { [INFO] [stderr] | -- the lifetime is named here ^^^^^ the same lifetime is hidden 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] 476 | fn apply(&'a self, args: T) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:653:25 [INFO] [stderr] | [INFO] [stderr] 653 | fn try_insert_param(&self, key: &'a str, value: Value, out: &mut Builder<'a>) -> Result<(), Error> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 653 | fn try_insert_param(&self, key: &'a str, value: Value, out: &mut Builder<'a>) -> Result<(), Error<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:668:24 [INFO] [stderr] | [INFO] [stderr] 668 | fn try_insert_flag(&self, key: &'a str, out: &mut Builder<'a>) -> Result<(), Error> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 668 | fn try_insert_flag(&self, key: &'a str, out: &mut Builder<'a>) -> Result<(), Error<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/lib.rs:691:27 [INFO] [stderr] | [INFO] [stderr] 691 | fn handle_arg_missing(&self, arg: &str, _: &mut Builder<'a>) -> Result<(), Error> { [INFO] [stderr] | ^^^^^ the lifetime is elided here ^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 691 | fn handle_arg_missing(&self, arg: &str, _: &mut Builder<'a>) -> Result<(), Error<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/value.rs:218:52 [INFO] [stderr] | [INFO] [stderr] 218 | Type::Any | Type::String => Value::from(val.clone()), [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `argparsnip` (lib) generated 14 warnings (run `cargo fix --lib -p argparsnip` to apply 14 suggestions) [INFO] [stderr] warning: use of deprecated associated function `core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stderr] --> src/lib.rs:1039:44 [INFO] [stderr] | [INFO] [stderr] 1039 | handler: |r| assert_has!(&i64::max_value(), r, "arg"), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `core::num::::max_value`: replaced by the `MAX` associated constant on this type [INFO] [stderr] --> src/lib.rs:1041:65 [INFO] [stderr] | [INFO] [stderr] 1041 | assert_eq!(Ok(1), args.parse(vec!["prog", "--arg", i64::max_value().to_string().as_str()])); [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `argparsnip` (lib test) generated 16 warnings (14 duplicates) [INFO] [stderr] Finished `release` profile [optimized] target(s) in 0.25s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.22.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/release/build/argparsnip/a6271ad4ed42c72b/out/argparsnip-a6271ad4ed42c72b) [INFO] [stdout] [INFO] [stdout] running 55 tests [INFO] [stdout] test tests::test_arg_with_any_values_single ... ok [INFO] [stdout] test tests::test_arg_with_any_values_none ... ok [INFO] [stdout] test tests::test_arg_with_any_values_multiple ... ok [INFO] [stdout] test tests::test_arg_with_fixed_num_values_too_many_values ... ok [INFO] [stdout] test tests::test_arg_with_fixed_num_values_and_other_args ... ok [INFO] [stdout] test tests::test_default_returns_wrong_type ... ok [INFO] [stdout] test tests::test_arg_with_fixed_num_values ... ok [INFO] [stdout] test tests::test_flag ... ok [INFO] [stdout] test tests::test_arg_with_fixed_num_values_fails_on_none ... ok [INFO] [stdout] test tests::test_fail_duplicate_arg ... ok [INFO] [stdout] test tests::test_default_arg ... ok [INFO] [stdout] test tests::test_combinations ... ok [INFO] [stdout] test tests::test_multiple_filters_any ... ok [INFO] [stdout] test tests::test_long_arg_ignores_single_dash ... ok [INFO] [stdout] test tests::test_arg_with_fixed_num_values_and_other_args_double_dash ... ok [INFO] [stdout] test tests::test_multiple_filters_any_not ... ok [INFO] [stdout] test tests::test_multiple_values_split_unsupported ... ok [INFO] [stdout] test tests::test_missing_arg ... ok [INFO] [stdout] test tests::test_property_after_arg ... ok [INFO] [stdout] test tests::test_multiple_args ... ok [INFO] [stdout] test tests::test_multiple_filters_all ... ok [INFO] [stdout] test tests::test_multiple_filters_all_not ... ok [INFO] [stdout] test tests::test_right_type_array ... ok [INFO] [stdout] test tests::test_right_type_float ... ok [INFO] [stdout] test tests::test_short_arg ... ok [INFO] [stdout] test tests::test_positional_after_double_dash ... ok [INFO] [stdout] test tests::test_simple_and_filter ... ok [INFO] [stdout] test tests::test_right_type_array_single ... ok [INFO] [stdout] test tests::test_fail_on_unknown_args ... ok [INFO] [stdout] test tests::test_simple_and_filter_fails ... ok [INFO] [stdout] test tests::test_flag_repeats ... ok [INFO] [stdout] test tests::test_required_arg ... ok [INFO] [stdout] test tests::test_sub_commands ... ok [INFO] [stdout] test tests::test_sub_command_not_called ... ok [INFO] [stdout] test tests::test_sub_commands_after_arg_is_not_called ... ok [INFO] [stdout] test tests::test_property ... ok [INFO] [stdout] test tests::test_right_type_double ... ok [INFO] [stdout] test tests::test_validation ... ok [INFO] [stdout] test tests::test_returning_results ... ok [INFO] [stdout] test tests::test_validation_fails_unbounded ... ok [INFO] [stdout] test tests::test_unicode_short_arg ... ok [INFO] [stdout] test tests::test_simple_or_filter_fails ... ok [INFO] [stdout] test tests::test_required_arg_missing ... ok [INFO] [stdout] test tests::test_wrong_type ... ok [INFO] [stdout] test tests::test_validation_fails ... ok [INFO] [stdout] test tests::test_validation_unbounded ... ok [INFO] [stdout] test tests::test_simple_or_filter ... ok [INFO] [stdout] test tests::test_validation_vec ... ok [INFO] [stdout] test tests::test_wrong_type_array ... ok [INFO] [stdout] test tests::test_right_type_bool ... ok [INFO] [stdout] test tests::test_right_type_int ... ok [INFO] [stdout] test tests::test_right_type_long ... ok [INFO] [stdout] test tests::test_right_type_string ... ok [INFO] [stdout] test tests::test_unicode_short_arg_no_match ... ok [INFO] [stdout] test tests::test_short_arg_ignores_mario_kart_double_dash ... ok [INFO] [stderr] Doc-tests argparsnip [INFO] [stdout] [INFO] [stdout] test result: ok. 55 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [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" "ed17d638743752e491de957f97e859b3184c0b7457cc6b77abefeea477b3b22d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed17d638743752e491de957f97e859b3184c0b7457cc6b77abefeea477b3b22d", kill_on_drop: false }` [INFO] [stdout] ed17d638743752e491de957f97e859b3184c0b7457cc6b77abefeea477b3b22d