[INFO] fetching crate amandine 0.1.2... [INFO] testing amandine-0.1.2 against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] extracting crate amandine 0.1.2 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate amandine 0.1.2 [INFO] finished tweaking crates.io crate amandine 0.1.2 [INFO] tweaked toml for crates.io crate amandine 0.1.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate amandine 0.1.2 on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 43 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b2c6e143a7c97d700decd73b4f0b07696d5918fde1861e60e99f4ca8768673a8 [INFO] running `Command { std: "docker" "start" "-a" "b2c6e143a7c97d700decd73b4f0b07696d5918fde1861e60e99f4ca8768673a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b2c6e143a7c97d700decd73b4f0b07696d5918fde1861e60e99f4ca8768673a8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2c6e143a7c97d700decd73b4f0b07696d5918fde1861e60e99f4ca8768673a8", kill_on_drop: false }` [INFO] [stdout] b2c6e143a7c97d700decd73b4f0b07696d5918fde1861e60e99f4ca8768673a8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4eecf034fb6de685709fdbc511225b25033be2368e132c6066a68aa35b97364c [INFO] running `Command { std: "docker" "start" "-a" "4eecf034fb6de685709fdbc511225b25033be2368e132c6066a68aa35b97364c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling bitflags v2.9.1 [INFO] [stderr] Compiling linux-raw-sys v0.9.4 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling tempfile v3.20.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling amandine v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | fn connect(&mut self, path: PathBuf) -> Result<(), DBError>; [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] 15 | fn connect(&mut self, path: PathBuf) -> Result<(), DBError<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | fn create_collection(&self, name: &str) -> Result<(), DBError>; [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] 16 | fn create_collection(&self, name: &str) -> Result<(), DBError<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | fn list_collections(&self) -> Result, DBError>; [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] 17 | fn list_collections(&self) -> Result, DBError<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | fn delete_collection(&self, name: &str) -> Result<(), DBError>; [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 delete_collection(&self, name: &str) -> Result<(), DBError<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | fn rename_collection(&self, name: &str, new_name: &str) -> Result<(), DBError>; [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 19 | fn rename_collection(&self, name: &str, new_name: &str) -> Result<(), DBError<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | fn insert_data(&self, collection: &str, data: T) -> Result<(), DBError>; [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 20 | fn insert_data(&self, collection: &str, data: T) -> Result<(), DBError<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | fn query_data(&mut self, collection: &str, uuid: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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 query_data(&mut self, collection: &str, uuid: &str) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | fn update_data(&mut self, collection: &str, data: T) -> Result<(), DBError>; [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 22 | fn update_data(&mut self, collection: &str, data: T) -> Result<(), DBError<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | fn delete_data(&mut self, collection: &str, uuid: &str) -> Result<(), DBError>; [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 23 | fn delete_data(&mut self, collection: &str, uuid: &str) -> Result<(), DBError<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | fn list_data(&self, collection: &str) -> Result, DBError>; [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 24 | fn list_data(&self, collection: &str) -> Result, DBError<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | fn read_collection(&self, collection: &str) -> Result, DBError> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 41 | fn read_collection(&self, collection: &str) -> Result, DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | fn write_collection(&self, collection: &str, data: Vec) -> Result<(), DBError> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 60 | fn write_collection(&self, collection: &str, data: Vec) -> Result<(), DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | fn connect(&mut self, path: PathBuf) -> Result<(), DBError> { [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] 81 | fn connect(&mut self, path: PathBuf) -> Result<(), DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | fn create_collection(&self, name: &str) -> Result<(), DBError> { [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] 99 | fn create_collection(&self, name: &str) -> Result<(), DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 117 | fn list_collections(&self) -> Result, DBError> { [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] 117 | fn list_collections(&self) -> Result, DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:131:26 [INFO] [stdout] | [INFO] [stdout] 131 | fn delete_collection(&self, name: &str) -> Result<(), DBError> { [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] 131 | fn delete_collection(&self, name: &str) -> Result<(), DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:146:29 [INFO] [stdout] | [INFO] [stdout] 146 | fn insert_data(&self, collection: &str, data: T) -> Result<(), DBError> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 146 | fn insert_data(&self, collection: &str, data: T) -> Result<(), DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:159:28 [INFO] [stdout] | [INFO] [stdout] 159 | fn query_data(&mut self, collection: &str, uuid: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 159 | fn query_data(&mut self, collection: &str, uuid: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:170:29 [INFO] [stdout] | [INFO] [stdout] 170 | fn update_data(&mut self, collection: &str, data: T) -> Result<(), DBError> { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 170 | fn update_data(&mut self, collection: &str, data: T) -> Result<(), DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | fn delete_data(&mut self, collection: &str, uuid: &str) -> Result<(), DBError> { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 183 | fn delete_data(&mut self, collection: &str, uuid: &str) -> Result<(), DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:196:27 [INFO] [stdout] | [INFO] [stdout] 196 | fn list_data(&self, collection: &str) -> Result, DBError> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 196 | fn list_data(&self, collection: &str) -> Result, DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:201:26 [INFO] [stdout] | [INFO] [stdout] 201 | fn rename_collection(&self, name: &str, new_name: &str) -> Result<(), DBError> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 201 | fn rename_collection(&self, name: &str, new_name: &str) -> Result<(), DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.54s [INFO] running `Command { std: "docker" "inspect" "4eecf034fb6de685709fdbc511225b25033be2368e132c6066a68aa35b97364c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4eecf034fb6de685709fdbc511225b25033be2368e132c6066a68aa35b97364c", kill_on_drop: false }` [INFO] [stdout] 4eecf034fb6de685709fdbc511225b25033be2368e132c6066a68aa35b97364c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4f056dff2833de05665b2e375a1e8d4b38f2963f071f570970606a4294a5199 [INFO] running `Command { std: "docker" "start" "-a" "e4f056dff2833de05665b2e375a1e8d4b38f2963f071f570970606a4294a5199", kill_on_drop: false }` [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | fn connect(&mut self, path: PathBuf) -> Result<(), DBError>; [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] 15 | fn connect(&mut self, path: PathBuf) -> Result<(), DBError<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | fn create_collection(&self, name: &str) -> Result<(), DBError>; [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] 16 | fn create_collection(&self, name: &str) -> Result<(), DBError<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | fn list_collections(&self) -> Result, DBError>; [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] 17 | fn list_collections(&self) -> Result, DBError<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | fn delete_collection(&self, name: &str) -> Result<(), DBError>; [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 delete_collection(&self, name: &str) -> Result<(), DBError<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | fn rename_collection(&self, name: &str, new_name: &str) -> Result<(), DBError>; [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 19 | fn rename_collection(&self, name: &str, new_name: &str) -> Result<(), DBError<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | fn insert_data(&self, collection: &str, data: T) -> Result<(), DBError>; [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 20 | fn insert_data(&self, collection: &str, data: T) -> Result<(), DBError<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | fn query_data(&mut self, collection: &str, uuid: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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 query_data(&mut self, collection: &str, uuid: &str) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | fn update_data(&mut self, collection: &str, data: T) -> Result<(), DBError>; [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 22 | fn update_data(&mut self, collection: &str, data: T) -> Result<(), DBError<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | fn delete_data(&mut self, collection: &str, uuid: &str) -> Result<(), DBError>; [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 23 | fn delete_data(&mut self, collection: &str, uuid: &str) -> Result<(), DBError<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | fn list_data(&self, collection: &str) -> Result, DBError>; [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 24 | fn list_data(&self, collection: &str) -> Result, DBError<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | fn read_collection(&self, collection: &str) -> Result, DBError> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 41 | fn read_collection(&self, collection: &str) -> Result, DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling amandine v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | fn write_collection(&self, collection: &str, data: Vec) -> Result<(), DBError> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 60 | fn write_collection(&self, collection: &str, data: Vec) -> Result<(), DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | fn connect(&mut self, path: PathBuf) -> Result<(), DBError> { [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] 81 | fn connect(&mut self, path: PathBuf) -> Result<(), DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | fn create_collection(&self, name: &str) -> Result<(), DBError> { [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] 99 | fn create_collection(&self, name: &str) -> Result<(), DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 117 | fn list_collections(&self) -> Result, DBError> { [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] 117 | fn list_collections(&self) -> Result, DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:131:26 [INFO] [stdout] | [INFO] [stdout] 131 | fn delete_collection(&self, name: &str) -> Result<(), DBError> { [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] 131 | fn delete_collection(&self, name: &str) -> Result<(), DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:146:29 [INFO] [stdout] | [INFO] [stdout] 146 | fn insert_data(&self, collection: &str, data: T) -> Result<(), DBError> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 146 | fn insert_data(&self, collection: &str, data: T) -> Result<(), DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:159:28 [INFO] [stdout] | [INFO] [stdout] 159 | fn query_data(&mut self, collection: &str, uuid: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 159 | fn query_data(&mut self, collection: &str, uuid: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:170:29 [INFO] [stdout] | [INFO] [stdout] 170 | fn update_data(&mut self, collection: &str, data: T) -> Result<(), DBError> { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 170 | fn update_data(&mut self, collection: &str, data: T) -> Result<(), DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | fn delete_data(&mut self, collection: &str, uuid: &str) -> Result<(), DBError> { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 183 | fn delete_data(&mut self, collection: &str, uuid: &str) -> Result<(), DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:196:27 [INFO] [stdout] | [INFO] [stdout] 196 | fn list_data(&self, collection: &str) -> Result, DBError> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 196 | fn list_data(&self, collection: &str) -> Result, DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:201:26 [INFO] [stdout] | [INFO] [stdout] 201 | fn rename_collection(&self, name: &str, new_name: &str) -> Result<(), DBError> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 201 | fn rename_collection(&self, name: &str, new_name: &str) -> Result<(), DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:15:16 [INFO] [stdout] | [INFO] [stdout] 15 | fn connect(&mut self, path: PathBuf) -> Result<(), DBError>; [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] 15 | fn connect(&mut self, path: PathBuf) -> Result<(), DBError<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:16:26 [INFO] [stdout] | [INFO] [stdout] 16 | fn create_collection(&self, name: &str) -> Result<(), DBError>; [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] 16 | fn create_collection(&self, name: &str) -> Result<(), DBError<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:17:25 [INFO] [stdout] | [INFO] [stdout] 17 | fn list_collections(&self) -> Result, DBError>; [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] 17 | fn list_collections(&self) -> Result, DBError<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | fn delete_collection(&self, name: &str) -> Result<(), DBError>; [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 delete_collection(&self, name: &str) -> Result<(), DBError<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:19:26 [INFO] [stdout] | [INFO] [stdout] 19 | fn rename_collection(&self, name: &str, new_name: &str) -> Result<(), DBError>; [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 19 | fn rename_collection(&self, name: &str, new_name: &str) -> Result<(), DBError<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | fn insert_data(&self, collection: &str, data: T) -> Result<(), DBError>; [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 20 | fn insert_data(&self, collection: &str, data: T) -> Result<(), DBError<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:21:28 [INFO] [stdout] | [INFO] [stdout] 21 | fn query_data(&mut self, collection: &str, uuid: &str) -> Result; [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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 query_data(&mut self, collection: &str, uuid: &str) -> Result>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | fn update_data(&mut self, collection: &str, data: T) -> Result<(), DBError>; [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 22 | fn update_data(&mut self, collection: &str, data: T) -> Result<(), DBError<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | fn delete_data(&mut self, collection: &str, uuid: &str) -> Result<(), DBError>; [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 23 | fn delete_data(&mut self, collection: &str, uuid: &str) -> Result<(), DBError<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | fn list_data(&self, collection: &str) -> Result, DBError>; [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 24 | fn list_data(&self, collection: &str) -> Result, DBError<'_>>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:41:33 [INFO] [stdout] | [INFO] [stdout] 41 | fn read_collection(&self, collection: &str) -> Result, DBError> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 41 | fn read_collection(&self, collection: &str) -> Result, DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:60:34 [INFO] [stdout] | [INFO] [stdout] 60 | fn write_collection(&self, collection: &str, data: Vec) -> Result<(), DBError> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 60 | fn write_collection(&self, collection: &str, data: Vec) -> Result<(), DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 81 | fn connect(&mut self, path: PathBuf) -> Result<(), DBError> { [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] 81 | fn connect(&mut self, path: PathBuf) -> Result<(), DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:99:26 [INFO] [stdout] | [INFO] [stdout] 99 | fn create_collection(&self, name: &str) -> Result<(), DBError> { [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] 99 | fn create_collection(&self, name: &str) -> Result<(), DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:117:25 [INFO] [stdout] | [INFO] [stdout] 117 | fn list_collections(&self) -> Result, DBError> { [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] 117 | fn list_collections(&self) -> Result, DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:131:26 [INFO] [stdout] | [INFO] [stdout] 131 | fn delete_collection(&self, name: &str) -> Result<(), DBError> { [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] 131 | fn delete_collection(&self, name: &str) -> Result<(), DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:146:29 [INFO] [stdout] | [INFO] [stdout] 146 | fn insert_data(&self, collection: &str, data: T) -> Result<(), DBError> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 146 | fn insert_data(&self, collection: &str, data: T) -> Result<(), DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:159:28 [INFO] [stdout] | [INFO] [stdout] 159 | fn query_data(&mut self, collection: &str, uuid: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 159 | fn query_data(&mut self, collection: &str, uuid: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:170:29 [INFO] [stdout] | [INFO] [stdout] 170 | fn update_data(&mut self, collection: &str, data: T) -> Result<(), DBError> { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 170 | fn update_data(&mut self, collection: &str, data: T) -> Result<(), DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:183:29 [INFO] [stdout] | [INFO] [stdout] 183 | fn delete_data(&mut self, collection: &str, uuid: &str) -> Result<(), DBError> { [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 183 | fn delete_data(&mut self, collection: &str, uuid: &str) -> Result<(), DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:196:27 [INFO] [stdout] | [INFO] [stdout] 196 | fn list_data(&self, collection: &str) -> Result, DBError> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 196 | fn list_data(&self, collection: &str) -> Result, DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/db.rs:201:26 [INFO] [stdout] | [INFO] [stdout] 201 | fn rename_collection(&self, name: &str, new_name: &str) -> Result<(), DBError> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 201 | fn rename_collection(&self, name: &str, new_name: &str) -> Result<(), DBError<'_>> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.13s [INFO] running `Command { std: "docker" "inspect" "e4f056dff2833de05665b2e375a1e8d4b38f2963f071f570970606a4294a5199", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4f056dff2833de05665b2e375a1e8d4b38f2963f071f570970606a4294a5199", kill_on_drop: false }` [INFO] [stdout] e4f056dff2833de05665b2e375a1e8d4b38f2963f071f570970606a4294a5199 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 07b57bd677550164a2a219eeb5bfb7f62737c7821fb3dc3ac29247691338bde9 [INFO] running `Command { std: "docker" "start" "-a" "07b57bd677550164a2a219eeb5bfb7f62737c7821fb3dc3ac29247691338bde9", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db.rs:15:16 [INFO] [stderr] | [INFO] [stderr] 15 | fn connect(&mut self, path: PathBuf) -> Result<(), DBError>; [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] 15 | fn connect(&mut self, path: PathBuf) -> Result<(), DBError<'_>>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db.rs:16:26 [INFO] [stderr] | [INFO] [stderr] 16 | fn create_collection(&self, name: &str) -> Result<(), DBError>; [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] 16 | fn create_collection(&self, name: &str) -> Result<(), DBError<'_>>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db.rs:17:25 [INFO] [stderr] | [INFO] [stderr] 17 | fn list_collections(&self) -> Result, DBError>; [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] 17 | fn list_collections(&self) -> Result, DBError<'_>>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db.rs:18:26 [INFO] [stderr] | [INFO] [stderr] 18 | fn delete_collection(&self, name: &str) -> Result<(), DBError>; [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 delete_collection(&self, name: &str) -> Result<(), DBError<'_>>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db.rs:19:26 [INFO] [stderr] | [INFO] [stderr] 19 | fn rename_collection(&self, name: &str, new_name: &str) -> Result<(), DBError>; [INFO] [stderr] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 19 | fn rename_collection(&self, name: &str, new_name: &str) -> Result<(), DBError<'_>>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db.rs:20:29 [INFO] [stderr] | [INFO] [stderr] 20 | fn insert_data(&self, collection: &str, data: T) -> Result<(), DBError>; [INFO] [stderr] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 20 | fn insert_data(&self, collection: &str, data: T) -> Result<(), DBError<'_>>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db.rs:21:28 [INFO] [stderr] | [INFO] [stderr] 21 | fn query_data(&mut self, collection: &str, uuid: &str) -> Result; [INFO] [stderr] | ^^^^^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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 query_data(&mut self, collection: &str, uuid: &str) -> Result>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db.rs:22:29 [INFO] [stderr] | [INFO] [stderr] 22 | fn update_data(&mut self, collection: &str, data: T) -> Result<(), DBError>; [INFO] [stderr] | ^^^^^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 22 | fn update_data(&mut self, collection: &str, data: T) -> Result<(), DBError<'_>>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db.rs:23:29 [INFO] [stderr] | [INFO] [stderr] 23 | fn delete_data(&mut self, collection: &str, uuid: &str) -> Result<(), DBError>; [INFO] [stderr] | ^^^^^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 23 | fn delete_data(&mut self, collection: &str, uuid: &str) -> Result<(), DBError<'_>>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db.rs:24:27 [INFO] [stderr] | [INFO] [stderr] 24 | fn list_data(&self, collection: &str) -> Result, DBError>; [INFO] [stderr] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 24 | fn list_data(&self, collection: &str) -> Result, DBError<'_>>; [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db.rs:41:33 [INFO] [stderr] | [INFO] [stderr] 41 | fn read_collection(&self, collection: &str) -> Result, DBError> { [INFO] [stderr] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 41 | fn read_collection(&self, collection: &str) -> Result, DBError<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db.rs:60:34 [INFO] [stderr] | [INFO] [stderr] 60 | fn write_collection(&self, collection: &str, data: Vec) -> Result<(), DBError> { [INFO] [stderr] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 60 | fn write_collection(&self, collection: &str, data: Vec) -> Result<(), DBError<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db.rs:81:16 [INFO] [stderr] | [INFO] [stderr] 81 | fn connect(&mut self, path: PathBuf) -> Result<(), DBError> { [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] 81 | fn connect(&mut self, path: PathBuf) -> Result<(), DBError<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db.rs:99:26 [INFO] [stderr] | [INFO] [stderr] 99 | fn create_collection(&self, name: &str) -> Result<(), DBError> { [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] 99 | fn create_collection(&self, name: &str) -> Result<(), DBError<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db.rs:117:25 [INFO] [stderr] | [INFO] [stderr] 117 | fn list_collections(&self) -> Result, DBError> { [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] 117 | fn list_collections(&self) -> Result, DBError<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db.rs:131:26 [INFO] [stderr] | [INFO] [stderr] 131 | fn delete_collection(&self, name: &str) -> Result<(), DBError> { [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] 131 | fn delete_collection(&self, name: &str) -> Result<(), DBError<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db.rs:146:29 [INFO] [stderr] | [INFO] [stderr] 146 | fn insert_data(&self, collection: &str, data: T) -> Result<(), DBError> { [INFO] [stderr] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 146 | fn insert_data(&self, collection: &str, data: T) -> Result<(), DBError<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db.rs:159:28 [INFO] [stderr] | [INFO] [stderr] 159 | fn query_data(&mut self, collection: &str, uuid: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 159 | fn query_data(&mut self, collection: &str, uuid: &str) -> Result> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db.rs:170:29 [INFO] [stderr] | [INFO] [stderr] 170 | fn update_data(&mut self, collection: &str, data: T) -> Result<(), DBError> { [INFO] [stderr] | ^^^^^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 170 | fn update_data(&mut self, collection: &str, data: T) -> Result<(), DBError<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db.rs:183:29 [INFO] [stderr] | [INFO] [stderr] 183 | fn delete_data(&mut self, collection: &str, uuid: &str) -> Result<(), DBError> { [INFO] [stderr] | ^^^^^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 183 | fn delete_data(&mut self, collection: &str, uuid: &str) -> Result<(), DBError<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db.rs:196:27 [INFO] [stderr] | [INFO] [stderr] 196 | fn list_data(&self, collection: &str) -> Result, DBError> { [INFO] [stderr] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 196 | fn list_data(&self, collection: &str) -> Result, DBError<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/db.rs:201:26 [INFO] [stderr] | [INFO] [stderr] 201 | fn rename_collection(&self, name: &str, new_name: &str) -> Result<(), DBError> { [INFO] [stderr] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [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] 201 | fn rename_collection(&self, name: &str, new_name: &str) -> Result<(), DBError<'_>> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `amandine` (lib) generated 22 warnings [INFO] [stderr] warning: `amandine` (lib test) generated 22 warnings (22 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/amandine-f573dd37d2f71f51) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test db::test::test_connect ... ok [INFO] [stdout] test db::test::test_create_collection ... ok [INFO] [stdout] test db::test::test_delete_collection ... ok [INFO] [stdout] test db::test::test_list_collections ... ok [INFO] [stdout] test db::test::test_rename_collection ... ok [INFO] [stdout] test db::test::test_insert_data ... ok [INFO] [stdout] test db::test::test_query_data ... ok [INFO] [stdout] test db::test::test_delete_data ... ok [INFO] [stdout] test db::test::test_update_data ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-3f2d15c1ac379485) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stderr] Doc-tests amandine [INFO] [stdout] test integration_single_collection ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test src/lib.rs - (line 5) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 5) stdout ---- [INFO] [stdout] error: expected `;`, found `db` [INFO] [stdout] --> src/lib.rs:26:6 [INFO] [stdout] | [INFO] [stdout] 23 | } [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 24 | db.insert("users", user).unwrap(); // insert data into collection [INFO] [stdout] | -- unexpected token [INFO] [stdout] [INFO] [stdout] error: cannot find derive macro `Data` in this scope [INFO] [stdout] --> src/lib.rs:12:48 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Serialize, Deserialize, Debug, Clone, Data)] [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Data` is imported here, but it is only a trait, without a derive macro [INFO] [stdout] --> src/lib.rs:7:16 [INFO] [stdout] | [INFO] [stdout] 4 | use amandine::{Data, Database}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `connect` found for struct `Database` in the current scope [INFO] [stdout] --> src/lib.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 18 | db.connect(dbPath.to_path_buf()).unwrap(); [INFO] [stdout] | ^^^^^^^ method not found in `Database` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/db.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | fn connect(&mut self, path: PathBuf) -> Result<(), DBError>; [INFO] [stdout] | ------- the method is available for `Database` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: trait `TDatabase` which provides `connect` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::amandine::db::TDatabase; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `create_collection` found for struct `Database` in the current scope [INFO] [stdout] --> src/lib.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 19 | db.create_collection("users").unwrap(); // create a collection to store data [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/src/db.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | fn create_collection(&self, name: &str) -> Result<(), DBError>; [INFO] [stdout] | ----------------- the method is available for `Database` here [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is in scope [INFO] [stdout] help: there is a method `rename_collection` with a similar name, but with different arguments [INFO] [stdout] --> /opt/rustwide/workdir/src/db.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | fn rename_collection(&self, name: &str, new_name: &str) -> Result<(), DBError>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: trait `TDatabase` which provides `create_collection` is implemented but not in scope; perhaps you want to import it [INFO] [stdout] | [INFO] [stdout] 2 + use crate::amandine::db::TDatabase; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `insert` found for struct `Database` in the current scope [INFO] [stdout] --> src/lib.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 24 | db.insert("users", user).unwrap(); // insert data into collection [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `insert_data` with a similar name [INFO] [stdout] | [INFO] [stdout] 24 | db.insert_data("users", user).unwrap(); // insert data into collection [INFO] [stdout] | +++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 5) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "07b57bd677550164a2a219eeb5bfb7f62737c7821fb3dc3ac29247691338bde9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07b57bd677550164a2a219eeb5bfb7f62737c7821fb3dc3ac29247691338bde9", kill_on_drop: false }` [INFO] [stdout] 07b57bd677550164a2a219eeb5bfb7f62737c7821fb3dc3ac29247691338bde9