[INFO] fetching crate treehouse 0.1.0... [INFO] testing treehouse-0.1.0 against 1.90.0 for beta-1.91-3 [INFO] extracting crate treehouse 0.1.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate treehouse 0.1.0 [INFO] finished tweaking crates.io crate treehouse 0.1.0 [INFO] tweaked toml for crates.io crate treehouse 0.1.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate treehouse 0.1.0 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate treehouse 0.1.0 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v1.0.19 [INFO] [stderr] Downloaded smallvec v1.4.0 [INFO] [stderr] Downloaded thiserror v1.0.19 [INFO] [stderr] Downloaded parking_lot_core v0.7.2 [INFO] [stderr] Downloaded proc-macro2 v1.0.18 [INFO] [stderr] Downloaded quote v1.0.7 [INFO] [stderr] Downloaded memoffset v0.5.4 [INFO] [stderr] Downloaded hermit-abi v0.1.14 [INFO] [stderr] Downloaded memchr v2.3.3 [INFO] [stderr] Downloaded rustc-demangle v0.1.16 [INFO] [stderr] Downloaded thread_local v1.0.1 [INFO] [stderr] Downloaded bincode v1.2.1 [INFO] [stderr] Downloaded serde_cbor v0.11.1 [INFO] [stderr] Downloaded termcolor v1.1.0 [INFO] [stderr] Downloaded serde_derive v1.0.111 [INFO] [stderr] Downloaded serde v1.0.111 [INFO] [stderr] Downloaded backtrace v0.3.48 [INFO] [stderr] Downloaded aho-corasick v0.7.10 [INFO] [stderr] Downloaded syn v1.0.31 [INFO] [stderr] Downloaded object v0.19.0 [INFO] [stderr] Downloaded addr2line v0.12.1 [INFO] [stderr] Downloaded crc32fast v1.2.0 [INFO] [stderr] Downloaded env_logger v0.7.1 [INFO] [stderr] Downloaded regex v1.3.9 [INFO] [stderr] Downloaded half v1.6.0 [INFO] [stderr] Downloaded regex-syntax v0.6.18 [INFO] [stderr] Downloaded log v0.4.8 [INFO] [stderr] Downloaded autocfg v1.0.0 [INFO] [stderr] Downloaded byteorder v1.3.4 [INFO] [stderr] Downloaded sled v0.32.0-rc1 [INFO] [stderr] Downloaded libc v0.2.71 [INFO] [stderr] Downloaded gimli v0.21.0 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 35a17203c8b2cb57a5c739268716c30c8fa2bd2cb33761f63e2ae6819a318e2e [INFO] running `Command { std: "docker" "start" "-a" "35a17203c8b2cb57a5c739268716c30c8fa2bd2cb33761f63e2ae6819a318e2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "35a17203c8b2cb57a5c739268716c30c8fa2bd2cb33761f63e2ae6819a318e2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35a17203c8b2cb57a5c739268716c30c8fa2bd2cb33761f63e2ae6819a318e2e", kill_on_drop: false }` [INFO] [stdout] 35a17203c8b2cb57a5c739268716c30c8fa2bd2cb33761f63e2ae6819a318e2e [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e92371b6b19cc3d72df7eea3c1d1a870f622f0d83205f7fbc839be62c2d2a31a [INFO] running `Command { std: "docker" "start" "-a" "e92371b6b19cc3d72df7eea3c1d1a870f622f0d83205f7fbc839be62c2d2a31a", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling serde v1.0.111 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling gimli v0.21.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling object v0.19.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling parking_lot_core v0.7.2 [INFO] [stderr] Compiling fs2 v0.4.3 [INFO] [stderr] Compiling parking_lot v0.10.2 [INFO] [stderr] Compiling addr2line v0.12.1 [INFO] [stderr] Compiling backtrace v0.3.48 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling thiserror-impl v1.0.19 [INFO] [stderr] Compiling sled v0.32.0-rc1 [INFO] [stderr] Compiling thiserror v1.0.19 [INFO] [stderr] Compiling bincode v1.2.1 [INFO] [stderr] Compiling treehouse v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sled::transaction::TransactionalTree` [INFO] [stdout] --> src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | use sled::transaction::TransactionalTree; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnabortableTransactionError` [INFO] [stdout] --> src/ext.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | use sled::transaction::{TransactionalTree, UnabortableTransactionError, ConflictableTransactionError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/query.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | let mut ids: Vec = utils::deserialize(&val)?; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:233:87 [INFO] [stdout] | [INFO] [stdout] 233 | ...::TransactionalTree>>(&self, query: Q) -> Result, ConflictableTransactionError> { [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] 233 | pub fn filter>(&self, query: Q) -> Result, ConflictableTransactionError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:240:24 [INFO] [stdout] | [INFO] [stdout] 240 | #[derive(Debug, Clone, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^--------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Object` [INFO] [stdout] 241 | pub struct Object { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `serde::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:240:42 [INFO] [stdout] | [INFO] [stdout] 240 | #[derive(Debug, Clone, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^----------------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Object` [INFO] [stdout] 241 | pub struct Object { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `serde::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:333:36 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn filter(&self, query: Q) -> err::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] 333 | pub fn filter(&self, query: Q) -> err::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | fn query_terms(&self) -> Vec; [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] 23 | fn query_terms(&self) -> Vec>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 25.89s [INFO] running `Command { std: "docker" "inspect" "e92371b6b19cc3d72df7eea3c1d1a870f622f0d83205f7fbc839be62c2d2a31a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e92371b6b19cc3d72df7eea3c1d1a870f622f0d83205f7fbc839be62c2d2a31a", kill_on_drop: false }` [INFO] [stdout] e92371b6b19cc3d72df7eea3c1d1a870f622f0d83205f7fbc839be62c2d2a31a [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 20fccae53025b7c0e9097b5bc0440240b0e8e1c9fdff87b6e2350f1216fea072 [INFO] running `Command { std: "docker" "start" "-a" "20fccae53025b7c0e9097b5bc0440240b0e8e1c9fdff87b6e2350f1216fea072", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling termcolor v1.1.0 [INFO] [stdout] warning: unused import: `sled::transaction::TransactionalTree` [INFO] [stdout] --> src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | use sled::transaction::TransactionalTree; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnabortableTransactionError` [INFO] [stdout] --> src/ext.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | use sled::transaction::{TransactionalTree, UnabortableTransactionError, ConflictableTransactionError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/query.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | let mut ids: Vec = utils::deserialize(&val)?; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:233:87 [INFO] [stdout] | [INFO] [stdout] 233 | ...::TransactionalTree>>(&self, query: Q) -> Result, ConflictableTransactionError> { [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] 233 | pub fn filter>(&self, query: Q) -> Result, ConflictableTransactionError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:240:24 [INFO] [stdout] | [INFO] [stdout] 240 | #[derive(Debug, Clone, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^--------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Object` [INFO] [stdout] 241 | pub struct Object { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `serde::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:240:42 [INFO] [stdout] | [INFO] [stdout] 240 | #[derive(Debug, Clone, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^----------------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Object` [INFO] [stdout] 241 | pub struct Object { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `serde::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:333:36 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn filter(&self, query: Q) -> err::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] 333 | pub fn filter(&self, query: Q) -> err::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | fn query_terms(&self) -> Vec; [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] 23 | fn query_terms(&self) -> Vec>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling treehouse v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sled::transaction::TransactionalTree` [INFO] [stdout] --> src/lib.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | use sled::transaction::TransactionalTree; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UnabortableTransactionError` [INFO] [stdout] --> src/ext.rs:5:44 [INFO] [stdout] | [INFO] [stdout] 5 | use sled::transaction::{TransactionalTree, UnabortableTransactionError, ConflictableTransactionError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `house` [INFO] [stdout] --> examples/simple.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | impl house::query::Queryable for Book { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `house` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `house`, use `cargo add house` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use treehouse::query; [INFO] [stdout] | [INFO] [stdout] help: if you import `query`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 10 - impl house::query::Queryable for Book { [INFO] [stdout] 10 + impl query::Queryable for Book { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `house` [INFO] [stdout] --> examples/simple.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | fn query_terms(&self) -> Vec { [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `house` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `house`, use `cargo add house` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use treehouse::query; [INFO] [stdout] | [INFO] [stdout] help: if you import `query`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 11 - fn query_terms(&self) -> Vec { [INFO] [stdout] 11 + fn query_terms(&self) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `house` [INFO] [stdout] --> examples/simple.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | house::query::Term { field: "title", value: self.title.as_bytes() }, [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `house` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `house`, use `cargo add house` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use treehouse::query; [INFO] [stdout] | [INFO] [stdout] help: if you import `query`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 13 - house::query::Term { field: "title", value: self.title.as_bytes() }, [INFO] [stdout] 13 + query::Term { field: "title", value: self.title.as_bytes() }, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `house` [INFO] [stdout] --> examples/simple.rs:24:37 [INFO] [stdout] | [INFO] [stdout] 24 | let store: house::Store = house::StoreBuilder::default() [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `house` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `house`, use `cargo add house` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use treehouse::StoreBuilder; [INFO] [stdout] | [INFO] [stdout] help: if you import `StoreBuilder`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 24 - let store: house::Store = house::StoreBuilder::default() [INFO] [stdout] 24 + let store: house::Store = StoreBuilder::default() [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `house` [INFO] [stdout] --> examples/simple.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | .filter(house::query::StrEquals("title", "The Greatest")) [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `house` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `house`, use `cargo add house` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use treehouse::query; [INFO] [stdout] | [INFO] [stdout] help: if you import `query`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 49 - .filter(house::query::StrEquals("title", "The Greatest")) [INFO] [stdout] 49 + .filter(query::StrEquals("title", "The Greatest")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `house` [INFO] [stdout] --> examples/simple.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | .filter(house::query::StrEquals("title", "The Greatest")) [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `house` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `house`, use `cargo add house` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing this module [INFO] [stdout] | [INFO] [stdout] 1 + use treehouse::query; [INFO] [stdout] | [INFO] [stdout] help: if you import `query`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 67 - .filter(house::query::StrEquals("title", "The Greatest")) [INFO] [stdout] 67 + .filter(query::StrEquals("title", "The Greatest")) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `house` [INFO] [stdout] --> examples/simple.rs:24:16 [INFO] [stdout] | [INFO] [stdout] 24 | let store: house::Store = house::StoreBuilder::default() [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `house` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `house`, use `cargo add house` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `house` [INFO] [stdout] --> examples/simple.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | let mut book = house::Object { id, inner: book }; [INFO] [stdout] | ^^^^^ use of unresolved module or unlinked crate `house` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `house`, use `cargo add house` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `treehouse` (example "simple") due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/query.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | let mut ids: Vec = utils::deserialize(&val)?; [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:233:87 [INFO] [stdout] | [INFO] [stdout] 233 | ...::TransactionalTree>>(&self, query: Q) -> Result, ConflictableTransactionError> { [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] 233 | pub fn filter>(&self, query: Q) -> Result, ConflictableTransactionError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:240:24 [INFO] [stdout] | [INFO] [stdout] 240 | #[derive(Debug, Clone, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^--------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_Object` [INFO] [stdout] 241 | pub struct Object { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `serde::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/lib.rs:240:42 [INFO] [stdout] | [INFO] [stdout] 240 | #[derive(Debug, Clone, serde::Serialize, serde::Deserialize)] [INFO] [stdout] | ^----------------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_Object` [INFO] [stdout] 241 | pub struct Object { [INFO] [stdout] | ------ `Object` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `serde::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/lib.rs:333:36 [INFO] [stdout] | [INFO] [stdout] 333 | pub fn filter(&self, query: Q) -> err::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] 333 | pub fn filter(&self, query: Q) -> err::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/query.rs:23:20 [INFO] [stdout] | [INFO] [stdout] 23 | fn query_terms(&self) -> Vec; [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] 23 | fn query_terms(&self) -> Vec>; [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "20fccae53025b7c0e9097b5bc0440240b0e8e1c9fdff87b6e2350f1216fea072", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20fccae53025b7c0e9097b5bc0440240b0e8e1c9fdff87b6e2350f1216fea072", kill_on_drop: false }` [INFO] [stdout] 20fccae53025b7c0e9097b5bc0440240b0e8e1c9fdff87b6e2350f1216fea072