[INFO] fetching crate retriever 0.0.3... [INFO] testing retriever-0.0.3 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate retriever 0.0.3 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate retriever 0.0.3 [INFO] finished tweaking crates.io crate retriever 0.0.3 [INFO] tweaked toml for crates.io crate retriever 0.0.3 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate retriever 0.0.3 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 113 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.3.6 (available: v0.6.0) [INFO] [stderr] Adding rand v0.6.5 (available: v0.9.1) [INFO] [stderr] Adding simple_logger v1.16.0 (available: v5.0.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e021f45c418bf32062864b7d93e7b6b0e7d733b4b26998fa07b9166d7d3f2958 [INFO] running `Command { std: "docker" "start" "-a" "e021f45c418bf32062864b7d93e7b6b0e7d733b4b26998fa07b9166d7d3f2958", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e021f45c418bf32062864b7d93e7b6b0e7d733b4b26998fa07b9166d7d3f2958", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e021f45c418bf32062864b7d93e7b6b0e7d733b4b26998fa07b9166d7d3f2958", kill_on_drop: false }` [INFO] [stdout] e021f45c418bf32062864b7d93e7b6b0e7d733b4b26998fa07b9166d7d3f2958 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 10efa73e38f0ac537ec499e3ea1e296297683b19c8d3e37891dc2e0c05007d72 [INFO] running `Command { std: "docker" "start" "-a" "10efa73e38f0ac537ec499e3ea1e296297683b19c8d3e37891dc2e0c05007d72", kill_on_drop: false }` [INFO] [stderr] Compiling retriever v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bits/bitfield.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) const BITS: usize = (std::mem::size_of::() * 8); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 5 - pub(crate) const BITS: usize = (std::mem::size_of::() * 8); [INFO] [stdout] 5 + pub(crate) const BITS: usize = std::mem::size_of::() * 8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits/record.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | fn chunk_key(&self) -> Cow; [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 18 | fn chunk_key(&self) -> Cow<'_, ChunkKey>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits/record.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | fn item_key(&self) -> Cow; [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 21 | fn item_key(&self) -> Cow<'_, ItemKey>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits/record.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | fn chunk_key(&self) -> Cow { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 30 | fn chunk_key(&self) -> Cow<'_, ChunkKey> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits/record.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | fn item_key(&self) -> Cow { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 34 | fn item_key(&self) -> Cow<'_, ItemKey> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits/record.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | fn chunk_key(&self) -> Cow<()> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 43 | fn chunk_key(&self) -> Cow<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits/record.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | fn item_key(&self) -> Cow { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 47 | fn item_key(&self) -> Cow<'_, ItemKey> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits/record.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | fn chunk_key(&self) -> Cow { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 57 | fn chunk_key(&self) -> Cow<'_, ChunkKey> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits/record.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | fn item_key(&self) -> Cow { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 61 | fn item_key(&self) -> Cow<'_, ItemKey> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/types/entry.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 100 | | "retriever: Entry::or_panic(): {:?} doesn't exist", [INFO] [stdout] 101 | | &self.id [INFO] [stdout] 102 | | )) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 99 ~ panic!( [INFO] [stdout] 100 | "retriever: Entry::or_panic(): {:?} doesn't exist", [INFO] [stdout] 101 | &self.id [INFO] [stdout] 102 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/types/id.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | fn chunk_key(&self) -> Cow { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 123 | fn chunk_key(&self) -> Cow<'_, ChunkKey> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/types/id.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | fn item_key(&self) -> Cow { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 127 | fn item_key(&self) -> Cow<'_, ItemKey> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] running `Command { std: "docker" "inspect" "10efa73e38f0ac537ec499e3ea1e296297683b19c8d3e37891dc2e0c05007d72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10efa73e38f0ac537ec499e3ea1e296297683b19c8d3e37891dc2e0c05007d72", kill_on_drop: false }` [INFO] [stdout] 10efa73e38f0ac537ec499e3ea1e296297683b19c8d3e37891dc2e0c05007d72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] bb069d4c7a1efa682386db33463cdc0a75607d788b96df06cf393af13fd4efde [INFO] running `Command { std: "docker" "start" "-a" "bb069d4c7a1efa682386db33463cdc0a75607d788b96df06cf393af13fd4efde", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling deranged v0.4.0 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling half v1.8.3 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling num_threads v0.1.7 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling csv-core v0.1.12 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bits/bitfield.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) const BITS: usize = (std::mem::size_of::() * 8); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 5 - pub(crate) const BITS: usize = (std::mem::size_of::() * 8); [INFO] [stdout] 5 + pub(crate) const BITS: usize = std::mem::size_of::() * 8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits/record.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | fn chunk_key(&self) -> Cow; [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 18 | fn chunk_key(&self) -> Cow<'_, ChunkKey>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits/record.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | fn item_key(&self) -> Cow; [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 21 | fn item_key(&self) -> Cow<'_, ItemKey>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits/record.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | fn chunk_key(&self) -> Cow { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 30 | fn chunk_key(&self) -> Cow<'_, ChunkKey> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits/record.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | fn item_key(&self) -> Cow { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 34 | fn item_key(&self) -> Cow<'_, ItemKey> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits/record.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | fn chunk_key(&self) -> Cow<()> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 43 | fn chunk_key(&self) -> Cow<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits/record.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | fn item_key(&self) -> Cow { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 47 | fn item_key(&self) -> Cow<'_, ItemKey> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits/record.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | fn chunk_key(&self) -> Cow { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 57 | fn chunk_key(&self) -> Cow<'_, ChunkKey> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits/record.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | fn item_key(&self) -> Cow { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 61 | fn item_key(&self) -> Cow<'_, ItemKey> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/types/entry.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 100 | | "retriever: Entry::or_panic(): {:?} doesn't exist", [INFO] [stdout] 101 | | &self.id [INFO] [stdout] 102 | | )) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 99 ~ panic!( [INFO] [stdout] 100 | "retriever: Entry::or_panic(): {:?} doesn't exist", [INFO] [stdout] 101 | &self.id [INFO] [stdout] 102 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/types/id.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | fn chunk_key(&self) -> Cow { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 123 | fn chunk_key(&self) -> Cow<'_, ChunkKey> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/types/id.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | fn item_key(&self) -> Cow { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 127 | fn item_key(&self) -> Cow<'_, ItemKey> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling colored v1.9.4 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling criterion-plot v0.4.5 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling simple_logger v1.16.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling csv v1.3.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling criterion v0.3.6 [INFO] [stderr] Compiling retriever v0.0.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/bits/bitfield.rs:5:32 [INFO] [stdout] | [INFO] [stdout] 5 | pub(crate) const BITS: usize = (std::mem::size_of::() * 8); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 5 - pub(crate) const BITS: usize = (std::mem::size_of::() * 8); [INFO] [stdout] 5 + pub(crate) const BITS: usize = std::mem::size_of::() * 8; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/queries/secondary_index.rs:377:32 [INFO] [stdout] | [INFO] [stdout] 377 | fn chunk_key(self: &Kitten) -> Cow<()> { [INFO] [stdout] | ^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 377 | fn chunk_key(self: &Kitten) -> Cow<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/queries/secondary_index.rs:381:31 [INFO] [stdout] | [INFO] [stdout] 381 | fn item_key(self: &Kitten) -> Cow { [INFO] [stdout] | ^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 381 | fn item_key(self: &Kitten) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits/record.rs:18:18 [INFO] [stdout] | [INFO] [stdout] 18 | fn chunk_key(&self) -> Cow; [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 18 | fn chunk_key(&self) -> Cow<'_, ChunkKey>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits/record.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | fn item_key(&self) -> Cow; [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 21 | fn item_key(&self) -> Cow<'_, ItemKey>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits/record.rs:30:18 [INFO] [stdout] | [INFO] [stdout] 30 | fn chunk_key(&self) -> Cow { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 30 | fn chunk_key(&self) -> Cow<'_, ChunkKey> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits/record.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | fn item_key(&self) -> Cow { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 34 | fn item_key(&self) -> Cow<'_, ItemKey> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits/record.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | fn chunk_key(&self) -> Cow<()> { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 43 | fn chunk_key(&self) -> Cow<'_, ()> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits/record.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | fn item_key(&self) -> Cow { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 47 | fn item_key(&self) -> Cow<'_, ItemKey> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits/record.rs:57:18 [INFO] [stdout] | [INFO] [stdout] 57 | fn chunk_key(&self) -> Cow { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 57 | fn chunk_key(&self) -> Cow<'_, ChunkKey> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/traits/record.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | fn item_key(&self) -> Cow { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 61 | fn item_key(&self) -> Cow<'_, ItemKey> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/types/entry.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | panic!(format!( [INFO] [stdout] | ____________________^ [INFO] [stdout] 100 | | "retriever: Entry::or_panic(): {:?} doesn't exist", [INFO] [stdout] 101 | | &self.id [INFO] [stdout] 102 | | )) [INFO] [stdout] | |_____________^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 99 ~ panic!( [INFO] [stdout] 100 | "retriever: Entry::or_panic(): {:?} doesn't exist", [INFO] [stdout] 101 | &self.id [INFO] [stdout] 102 ~ ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/types/id.rs:123:18 [INFO] [stdout] | [INFO] [stdout] 123 | fn chunk_key(&self) -> Cow { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 123 | fn chunk_key(&self) -> Cow<'_, ChunkKey> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/types/id.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | fn item_key(&self) -> Cow { [INFO] [stdout] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 127 | fn item_key(&self) -> Cow<'_, ItemKey> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:345:22 [INFO] [stdout] | [INFO] [stdout] 345 | fn chunk_key(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 345 | fn chunk_key(&self) -> Cow<'_, u64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:349:21 [INFO] [stdout] | [INFO] [stdout] 349 | fn item_key(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 349 | fn item_key(&self) -> Cow<'_, u64> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:358:22 [INFO] [stdout] | [INFO] [stdout] 358 | fn chunk_key(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 358 | fn chunk_key(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/lib.rs:362:21 [INFO] [stdout] | [INFO] [stdout] 362 | fn item_key(&self) -> Cow { [INFO] [stdout] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 362 | fn item_key(&self) -> Cow<'_, str> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 9.92s [INFO] running `Command { std: "docker" "inspect" "bb069d4c7a1efa682386db33463cdc0a75607d788b96df06cf393af13fd4efde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb069d4c7a1efa682386db33463cdc0a75607d788b96df06cf393af13fd4efde", kill_on_drop: false }` [INFO] [stdout] bb069d4c7a1efa682386db33463cdc0a75607d788b96df06cf393af13fd4efde [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 47000dee7a8b94c699112920617854ba47fd9446bd96d03a6758149657ca0132 [INFO] running `Command { std: "docker" "start" "-a" "47000dee7a8b94c699112920617854ba47fd9446bd96d03a6758149657ca0132", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/bits/bitfield.rs:5:32 [INFO] [stderr] | [INFO] [stderr] 5 | pub(crate) const BITS: usize = (std::mem::size_of::() * 8); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 5 - pub(crate) const BITS: usize = (std::mem::size_of::() * 8); [INFO] [stderr] 5 + pub(crate) const BITS: usize = std::mem::size_of::() * 8; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/traits/record.rs:18:18 [INFO] [stderr] | [INFO] [stderr] 18 | fn chunk_key(&self) -> Cow; [INFO] [stderr] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 18 | fn chunk_key(&self) -> Cow<'_, ChunkKey>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/traits/record.rs:21:17 [INFO] [stderr] | [INFO] [stderr] 21 | fn item_key(&self) -> Cow; [INFO] [stderr] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 21 | fn item_key(&self) -> Cow<'_, ItemKey>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/traits/record.rs:30:18 [INFO] [stderr] | [INFO] [stderr] 30 | fn chunk_key(&self) -> Cow { [INFO] [stderr] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 30 | fn chunk_key(&self) -> Cow<'_, ChunkKey> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/traits/record.rs:34:17 [INFO] [stderr] | [INFO] [stderr] 34 | fn item_key(&self) -> Cow { [INFO] [stderr] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 34 | fn item_key(&self) -> Cow<'_, ItemKey> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/traits/record.rs:43:18 [INFO] [stderr] | [INFO] [stderr] 43 | fn chunk_key(&self) -> Cow<()> { [INFO] [stderr] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 43 | fn chunk_key(&self) -> Cow<'_, ()> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/traits/record.rs:47:17 [INFO] [stderr] | [INFO] [stderr] 47 | fn item_key(&self) -> Cow { [INFO] [stderr] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 47 | fn item_key(&self) -> Cow<'_, ItemKey> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/traits/record.rs:57:18 [INFO] [stderr] | [INFO] [stderr] 57 | fn chunk_key(&self) -> Cow { [INFO] [stderr] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 57 | fn chunk_key(&self) -> Cow<'_, ChunkKey> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/traits/record.rs:61:17 [INFO] [stderr] | [INFO] [stderr] 61 | fn item_key(&self) -> Cow { [INFO] [stderr] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 61 | fn item_key(&self) -> Cow<'_, ItemKey> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/types/entry.rs:99:20 [INFO] [stderr] | [INFO] [stderr] 99 | panic!(format!( [INFO] [stderr] | ____________________^ [INFO] [stderr] 100 | | "retriever: Entry::or_panic(): {:?} doesn't exist", [INFO] [stderr] 101 | | &self.id [INFO] [stderr] 102 | | )) [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 99 ~ panic!( [INFO] [stderr] 100 | "retriever: Entry::or_panic(): {:?} doesn't exist", [INFO] [stderr] 101 | &self.id [INFO] [stderr] 102 ~ ) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/types/id.rs:123:18 [INFO] [stderr] | [INFO] [stderr] 123 | fn chunk_key(&self) -> Cow { [INFO] [stderr] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 123 | fn chunk_key(&self) -> Cow<'_, ChunkKey> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/types/id.rs:127:17 [INFO] [stderr] | [INFO] [stderr] 127 | fn item_key(&self) -> Cow { [INFO] [stderr] | ^^^^^ ------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 127 | fn item_key(&self) -> Cow<'_, ItemKey> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `retriever` (lib) generated 12 warnings (run `cargo fix --lib -p retriever` to apply 12 suggestions) [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/queries/secondary_index.rs:377:32 [INFO] [stderr] | [INFO] [stderr] 377 | fn chunk_key(self: &Kitten) -> Cow<()> { [INFO] [stderr] | ^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 377 | fn chunk_key(self: &Kitten) -> Cow<'_, ()> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/queries/secondary_index.rs:381:31 [INFO] [stderr] | [INFO] [stderr] 381 | fn item_key(self: &Kitten) -> Cow { [INFO] [stderr] | ^^^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 381 | fn item_key(self: &Kitten) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/traits/record.rs:18:18 [INFO] [stderr] | [INFO] [stderr] 18 | fn chunk_key(&self) -> Cow; [INFO] [stderr] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 18 | fn chunk_key(&self) -> Cow<'_, ChunkKey>; [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:345:22 [INFO] [stderr] | [INFO] [stderr] 345 | fn chunk_key(&self) -> Cow { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 345 | fn chunk_key(&self) -> Cow<'_, u64> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:349:21 [INFO] [stderr] | [INFO] [stderr] 349 | fn item_key(&self) -> Cow { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 349 | fn item_key(&self) -> Cow<'_, u64> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:358:22 [INFO] [stderr] | [INFO] [stderr] 358 | fn chunk_key(&self) -> Cow { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 358 | fn chunk_key(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/lib.rs:362:21 [INFO] [stderr] | [INFO] [stderr] 362 | fn item_key(&self) -> Cow { [INFO] [stderr] | ^^^^^ -------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 362 | fn item_key(&self) -> Cow<'_, str> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `retriever` (lib test) generated 18 warnings (11 duplicates) (run `cargo fix --lib -p retriever --tests` to apply 7 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/retriever-3e9f9e0557944edf) [INFO] [stdout] [INFO] [stdout] running 38 tests [INFO] [stdout] test bits::bitfield::test::test_two_bits ... ok [INFO] [stdout] test bits::bitfield::test::test_unset ... ok [INFO] [stdout] test bits::bitset::test::test_single_bit ... ok [INFO] [stdout] test bits::bitset::test::test_sparse ... ok [INFO] [stdout] test bits::bitset::test::test_tight_cluster ... ok [INFO] [stdout] test bits::bitset::test::test_unset ... ok [INFO] [stdout] test bits::bitfield::test::test_random ... ok [INFO] [stdout] test internal::mr::reduce::test::test_sum ... ok [INFO] [stdout] test internal::mr::reduce::test::test_sum_with_removal ... ok [INFO] [stdout] test internal::mr::reduce::test::test_sum_with_addition ... ok [INFO] [stdout] test internal::mr::rvec::test::test_change_count ... ok [INFO] [stdout] test internal::mr::rvec::test::test_len ... ok [INFO] [stdout] test internal::mr::reduce::test::test_sum_with_update ... ok [INFO] [stdout] test internal::mr::rvec::test::test_map_reduce_small_sum ... ok [INFO] [stdout] test internal::mr::rvec::test::test_map_reduce_small_sum_with_edit ... ok [INFO] [stdout] test internal::mr::rvec::test::test_map_reduce_small_sum_with_removal ... ok [INFO] [stdout] test internal::mr::rvec::test::test_map_reduce_with_two_layers ... ok [INFO] [stdout] test internal::mr::rvec::test::test_map_reduce_with_changing_source_should_no_longer_panic ... ok [INFO] [stdout] test internal::mr::summarize::test::test_sum ... ok [INFO] [stdout] test internal::mr::summarize::test::test_sum_with_addition ... ok [INFO] [stdout] test internal::mr::summarize::test::test_sum_with_removal ... ok [INFO] [stdout] test internal::mr::summarize::test::test_sum_with_update ... ok [INFO] [stdout] test test::test_editor ... ok [INFO] [stdout] test test::test_entry ... ok [INFO] [stdout] test queries::secondary_index::test::test_kitten_removal ... ok [INFO] [stdout] test test::test_filter ... ok [INFO] [stdout] test test::test_query_by_id ... ok [INFO] [stdout] test test::test_index_intersections ... ok [INFO] [stdout] test test::test_query_by_chunks ... ok [INFO] [stdout] test test::test_str ... ok [INFO] [stdout] test test::test_remove_and_replace_chunk_with_secondary_index ... ok [INFO] [stdout] test bits::bitset::test::test_random ... ok [INFO] [stdout] test test::test_chunk_chaos ... ok [INFO] [stdout] test test::test_entry_with_bogus_chunk - should panic ... ok [INFO] [stdout] test test::test_entry_with_bogus_item - should panic ... ok [INFO] [stdout] test bits::bitfield::test::test_from_range ... ok [INFO] [stdout] test bits::bitfield::test::test_from_range_rev ... ok [INFO] [stdout] test test::test_random_edits ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 38 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 6.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "47000dee7a8b94c699112920617854ba47fd9446bd96d03a6758149657ca0132", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47000dee7a8b94c699112920617854ba47fd9446bd96d03a6758149657ca0132", kill_on_drop: false }` [INFO] [stdout] 47000dee7a8b94c699112920617854ba47fd9446bd96d03a6758149657ca0132