[INFO] fetching crate pickledb 0.5.1... [INFO] testing pickledb-0.5.1 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate pickledb 0.5.1 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate pickledb 0.5.1 [INFO] removed 2 missing examples [INFO] finished tweaking crates.io crate pickledb 0.5.1 [INFO] tweaked toml for crates.io crate pickledb 0.5.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate pickledb 0.5.1 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pickledb 0.5.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rstest v0.2.2 [INFO] [stderr] Downloaded libc v0.2.124 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9bfbf135e087d9155d454986c37e9f121683afd5c1659ad75a52b94ef7ad5ce4 [INFO] running `Command { std: "docker" "start" "-a" "9bfbf135e087d9155d454986c37e9f121683afd5c1659ad75a52b94ef7ad5ce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9bfbf135e087d9155d454986c37e9f121683afd5c1659ad75a52b94ef7ad5ce4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9bfbf135e087d9155d454986c37e9f121683afd5c1659ad75a52b94ef7ad5ce4", kill_on_drop: false }` [INFO] [stdout] 9bfbf135e087d9155d454986c37e9f121683afd5c1659ad75a52b94ef7ad5ce4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1714bbf33e77a2371afcb7c252ec3cf6b59f2901bd66b4b6c7567f95dc322e0a [INFO] running `Command { std: "docker" "start" "-a" "1714bbf33e77a2371afcb7c252ec3cf6b59f2901bd66b4b6c7567f95dc322e0a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling pickledb v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/extenders.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn ladd(&mut self, value: &V) -> PickleDbListExtender [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | pub fn ladd(&mut self, value: &V) -> PickleDbListExtender<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/extenders.rs:76:30 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn lextend<'i, V, I>(&mut self, seq: I) -> PickleDbListExtender [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | pub fn lextend<'i, V, I>(&mut self, seq: I) -> PickleDbListExtender<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pickledb.rs:628:20 [INFO] [stdout] | [INFO] [stdout] 628 | pub fn lcreate(&mut self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 628 | pub fn lcreate(&mut self, name: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pickledb.rs:686:20 [INFO] [stdout] | [INFO] [stdout] 686 | pub fn ladd(&mut self, name: &str, value: &V) -> Option [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 686 | pub fn ladd(&mut self, name: &str, value: &V) -> Option> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pickledb.rs:733:30 [INFO] [stdout] | [INFO] [stdout] 733 | pub fn lextend<'a, V, I>(&mut self, name: &str, seq: I) -> Option [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 733 | pub fn lextend<'a, V, I>(&mut self, name: &str, seq: I) -> Option> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pickledb.rs:1015:17 [INFO] [stdout] | [INFO] [stdout] 1015 | pub fn iter(&self) -> PickleDbIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1015 | pub fn iter(&self) -> PickleDbIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pickledb.rs:1042:18 [INFO] [stdout] | [INFO] [stdout] 1042 | pub fn liter(&self, name: &str) -> PickleDbListIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1042 | pub fn liter(&self, name: &str) -> PickleDbListIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.43s [INFO] running `Command { std: "docker" "inspect" "1714bbf33e77a2371afcb7c252ec3cf6b59f2901bd66b4b6c7567f95dc322e0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1714bbf33e77a2371afcb7c252ec3cf6b59f2901bd66b4b6c7567f95dc322e0a", kill_on_drop: false }` [INFO] [stdout] 1714bbf33e77a2371afcb7c252ec3cf6b59f2901bd66b4b6c7567f95dc322e0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bdd1c8c78df10f35da3fe5cb8f317f94782925b9c93e5b00378e6842d9ed5218 [INFO] running `Command { std: "docker" "start" "-a" "bdd1c8c78df10f35da3fe5cb8f317f94782925b9c93e5b00378e6842d9ed5218", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/extenders.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn ladd(&mut self, value: &V) -> PickleDbListExtender [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | pub fn ladd(&mut self, value: &V) -> PickleDbListExtender<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/extenders.rs:76:30 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn lextend<'i, V, I>(&mut self, seq: I) -> PickleDbListExtender [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | pub fn lextend<'i, V, I>(&mut self, seq: I) -> PickleDbListExtender<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pickledb.rs:628:20 [INFO] [stdout] | [INFO] [stdout] 628 | pub fn lcreate(&mut self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 628 | pub fn lcreate(&mut self, name: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pickledb.rs:686:20 [INFO] [stdout] | [INFO] [stdout] 686 | pub fn ladd(&mut self, name: &str, value: &V) -> Option [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 686 | pub fn ladd(&mut self, name: &str, value: &V) -> Option> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pickledb.rs:733:30 [INFO] [stdout] | [INFO] [stdout] 733 | pub fn lextend<'a, V, I>(&mut self, name: &str, seq: I) -> Option [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 733 | pub fn lextend<'a, V, I>(&mut self, name: &str, seq: I) -> Option> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pickledb.rs:1015:17 [INFO] [stdout] | [INFO] [stdout] 1015 | pub fn iter(&self) -> PickleDbIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1015 | pub fn iter(&self) -> PickleDbIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pickledb.rs:1042:18 [INFO] [stdout] | [INFO] [stdout] 1042 | pub fn liter(&self, name: &str) -> PickleDbListIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1042 | pub fn liter(&self, name: &str) -> PickleDbListIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling rstest v0.2.2 [INFO] [stderr] Compiling pickledb v0.5.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no function or associated item named `load_bin` found for struct `PickleDb` in the current scope [INFO] [stdout] --> tests/pickledb_error_tests.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | let load_as_bin = PickleDb::load_bin("json_db.db", PickleDbDumpPolicy::NeverDump); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `PickleDb` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `PickleDb` consider using one of the following associated functions: [INFO] [stdout] PickleDb::new [INFO] [stdout] PickleDb::new_json [INFO] [stdout] PickleDb::load [INFO] [stdout] PickleDb::load_json [INFO] [stdout] PickleDb::load_read_only [INFO] [stdout] --> /opt/rustwide/workdir/src/pickledb.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / pub fn new>( [INFO] [stdout] 57 | | db_path: P, [INFO] [stdout] 58 | | dump_policy: PickleDbDumpPolicy, [INFO] [stdout] 59 | | serialization_method: SerializationMethod, [INFO] [stdout] 60 | | ) -> PickleDb { [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn new_json>(db_path: P, dump_policy: PickleDbDumpPolicy) -> PickleDb { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | / pub fn load>( [INFO] [stdout] 190 | | db_path: P, [INFO] [stdout] 191 | | dump_policy: PickleDbDumpPolicy, [INFO] [stdout] 192 | | serialization_method: SerializationMethod, [INFO] [stdout] 193 | | ) -> Result { [INFO] [stdout] | |_________________________^ [INFO] [stdout] ... [INFO] [stdout] 239 | / pub fn load_json>( [INFO] [stdout] 240 | | db_path: P, [INFO] [stdout] 241 | | dump_policy: PickleDbDumpPolicy, [INFO] [stdout] 242 | | ) -> Result { [INFO] [stdout] | |_________________________^ [INFO] [stdout] ... [INFO] [stdout] 351 | / pub fn load_read_only>( [INFO] [stdout] 352 | | db_path: P, [INFO] [stdout] 353 | | serialization_method: SerializationMethod, [INFO] [stdout] 354 | | ) -> Result { [INFO] [stdout] | |_________________________^ [INFO] [stdout] help: there is an associated function `load` with a similar name [INFO] [stdout] --> /opt/rustwide/workdir/src/pickledb.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | / pub fn load>( [INFO] [stdout] 190 | | db_path: P, [INFO] [stdout] 191 | | dump_policy: PickleDbDumpPolicy, [INFO] [stdout] 192 | | serialization_method: SerializationMethod, [INFO] [stdout] 193 | | ) -> Result { [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load_cbor` found for struct `PickleDb` in the current scope [INFO] [stdout] --> tests/pickledb_error_tests.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | let load_as_cbor = PickleDb::load_cbor("json_db.db", PickleDbDumpPolicy::NeverDump); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `PickleDb` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `PickleDb` consider using one of the following associated functions: [INFO] [stdout] PickleDb::new [INFO] [stdout] PickleDb::new_json [INFO] [stdout] PickleDb::load [INFO] [stdout] PickleDb::load_json [INFO] [stdout] PickleDb::load_read_only [INFO] [stdout] --> /opt/rustwide/workdir/src/pickledb.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / pub fn new>( [INFO] [stdout] 57 | | db_path: P, [INFO] [stdout] 58 | | dump_policy: PickleDbDumpPolicy, [INFO] [stdout] 59 | | serialization_method: SerializationMethod, [INFO] [stdout] 60 | | ) -> PickleDb { [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn new_json>(db_path: P, dump_policy: PickleDbDumpPolicy) -> PickleDb { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | / pub fn load>( [INFO] [stdout] 190 | | db_path: P, [INFO] [stdout] 191 | | dump_policy: PickleDbDumpPolicy, [INFO] [stdout] 192 | | serialization_method: SerializationMethod, [INFO] [stdout] 193 | | ) -> Result { [INFO] [stdout] | |_________________________^ [INFO] [stdout] ... [INFO] [stdout] 239 | / pub fn load_json>( [INFO] [stdout] 240 | | db_path: P, [INFO] [stdout] 241 | | dump_policy: PickleDbDumpPolicy, [INFO] [stdout] 242 | | ) -> Result { [INFO] [stdout] | |_________________________^ [INFO] [stdout] ... [INFO] [stdout] 351 | / pub fn load_read_only>( [INFO] [stdout] 352 | | db_path: P, [INFO] [stdout] 353 | | serialization_method: SerializationMethod, [INFO] [stdout] 354 | | ) -> Result { [INFO] [stdout] | |_________________________^ [INFO] [stdout] help: there is an associated function `load_json` with a similar name [INFO] [stdout] | [INFO] [stdout] 37 - let load_as_cbor = PickleDb::load_cbor("json_db.db", PickleDbDumpPolicy::NeverDump); [INFO] [stdout] 37 + let load_as_cbor = PickleDb::load_json("json_db.db", PickleDbDumpPolicy::NeverDump); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load_yaml` found for struct `PickleDb` in the current scope [INFO] [stdout] --> tests/pickledb_error_tests.rs:48:23 [INFO] [stdout] | [INFO] [stdout] 48 | assert!(PickleDb::load_yaml("json_db.db", PickleDbDumpPolicy::NeverDump).is_ok()); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `PickleDb` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `PickleDb` consider using one of the following associated functions: [INFO] [stdout] PickleDb::new [INFO] [stdout] PickleDb::new_json [INFO] [stdout] PickleDb::load [INFO] [stdout] PickleDb::load_json [INFO] [stdout] PickleDb::load_read_only [INFO] [stdout] --> /opt/rustwide/workdir/src/pickledb.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / pub fn new>( [INFO] [stdout] 57 | | db_path: P, [INFO] [stdout] 58 | | dump_policy: PickleDbDumpPolicy, [INFO] [stdout] 59 | | serialization_method: SerializationMethod, [INFO] [stdout] 60 | | ) -> PickleDb { [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn new_json>(db_path: P, dump_policy: PickleDbDumpPolicy) -> PickleDb { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | / pub fn load>( [INFO] [stdout] 190 | | db_path: P, [INFO] [stdout] 191 | | dump_policy: PickleDbDumpPolicy, [INFO] [stdout] 192 | | serialization_method: SerializationMethod, [INFO] [stdout] 193 | | ) -> Result { [INFO] [stdout] | |_________________________^ [INFO] [stdout] ... [INFO] [stdout] 239 | / pub fn load_json>( [INFO] [stdout] 240 | | db_path: P, [INFO] [stdout] 241 | | dump_policy: PickleDbDumpPolicy, [INFO] [stdout] 242 | | ) -> Result { [INFO] [stdout] | |_________________________^ [INFO] [stdout] ... [INFO] [stdout] 351 | / pub fn load_read_only>( [INFO] [stdout] 352 | | db_path: P, [INFO] [stdout] 353 | | serialization_method: SerializationMethod, [INFO] [stdout] 354 | | ) -> Result { [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `load_bin` found for struct `PickleDb` in the current scope [INFO] [stdout] --> tests/pickledb_error_tests.rs:54:33 [INFO] [stdout] | [INFO] [stdout] 54 | let load_result = PickleDb::load_bin("doesnt_exists.db", PickleDbDumpPolicy::NeverDump); [INFO] [stdout] | ^^^^^^^^ function or associated item not found in `PickleDb` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `PickleDb` consider using one of the following associated functions: [INFO] [stdout] PickleDb::new [INFO] [stdout] PickleDb::new_json [INFO] [stdout] PickleDb::load [INFO] [stdout] PickleDb::load_json [INFO] [stdout] PickleDb::load_read_only [INFO] [stdout] --> /opt/rustwide/workdir/src/pickledb.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | / pub fn new>( [INFO] [stdout] 57 | | db_path: P, [INFO] [stdout] 58 | | dump_policy: PickleDbDumpPolicy, [INFO] [stdout] 59 | | serialization_method: SerializationMethod, [INFO] [stdout] 60 | | ) -> PickleDb { [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn new_json>(db_path: P, dump_policy: PickleDbDumpPolicy) -> PickleDb { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | / pub fn load>( [INFO] [stdout] 190 | | db_path: P, [INFO] [stdout] 191 | | dump_policy: PickleDbDumpPolicy, [INFO] [stdout] 192 | | serialization_method: SerializationMethod, [INFO] [stdout] 193 | | ) -> Result { [INFO] [stdout] | |_________________________^ [INFO] [stdout] ... [INFO] [stdout] 239 | / pub fn load_json>( [INFO] [stdout] 240 | | db_path: P, [INFO] [stdout] 241 | | dump_policy: PickleDbDumpPolicy, [INFO] [stdout] 242 | | ) -> Result { [INFO] [stdout] | |_________________________^ [INFO] [stdout] ... [INFO] [stdout] 351 | / pub fn load_read_only>( [INFO] [stdout] 352 | | db_path: P, [INFO] [stdout] 353 | | serialization_method: SerializationMethod, [INFO] [stdout] 354 | | ) -> Result { [INFO] [stdout] | |_________________________^ [INFO] [stdout] help: there is an associated function `load` with a similar name [INFO] [stdout] --> /opt/rustwide/workdir/src/pickledb.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | / pub fn load>( [INFO] [stdout] 190 | | db_path: P, [INFO] [stdout] 191 | | dump_policy: PickleDbDumpPolicy, [INFO] [stdout] 192 | | serialization_method: SerializationMethod, [INFO] [stdout] 193 | | ) -> Result { [INFO] [stdout] | |_________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pickledb` (test "pickledb_error_tests") due to 4 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/extenders.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn ladd(&mut self, value: &V) -> PickleDbListExtender [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 37 | pub fn ladd(&mut self, value: &V) -> PickleDbListExtender<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/extenders.rs:76:30 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn lextend<'i, V, I>(&mut self, seq: I) -> PickleDbListExtender [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 76 | pub fn lextend<'i, V, I>(&mut self, seq: I) -> PickleDbListExtender<'_> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pickledb.rs:628:20 [INFO] [stdout] | [INFO] [stdout] 628 | pub fn lcreate(&mut self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 628 | pub fn lcreate(&mut self, name: &str) -> Result> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pickledb.rs:686:20 [INFO] [stdout] | [INFO] [stdout] 686 | pub fn ladd(&mut self, name: &str, value: &V) -> Option [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 686 | pub fn ladd(&mut self, name: &str, value: &V) -> Option> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pickledb.rs:733:30 [INFO] [stdout] | [INFO] [stdout] 733 | pub fn lextend<'a, V, I>(&mut self, name: &str, seq: I) -> Option [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 733 | pub fn lextend<'a, V, I>(&mut self, name: &str, seq: I) -> Option> [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pickledb.rs:1015:17 [INFO] [stdout] | [INFO] [stdout] 1015 | pub fn iter(&self) -> PickleDbIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1015 | pub fn iter(&self) -> PickleDbIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/pickledb.rs:1042:18 [INFO] [stdout] | [INFO] [stdout] 1042 | pub fn liter(&self, name: &str) -> PickleDbListIterator { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1042 | pub fn liter(&self, name: &str) -> PickleDbListIterator<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bdd1c8c78df10f35da3fe5cb8f317f94782925b9c93e5b00378e6842d9ed5218", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bdd1c8c78df10f35da3fe5cb8f317f94782925b9c93e5b00378e6842d9ed5218", kill_on_drop: false }` [INFO] [stdout] bdd1c8c78df10f35da3fe5cb8f317f94782925b9c93e5b00378e6842d9ed5218