[INFO] cloning repository https://github.com/bozso/chelp [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bozso/chelp" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbozso%2Fchelp", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbozso%2Fchelp'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 05bcd0c3c8a10a7735cc50a234cec6dac390d28c [INFO] checking bozso/chelp/05bcd0c3c8a10a7735cc50a234cec6dac390d28c against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbozso%2Fchelp" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bozso/chelp on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bozso/chelp [INFO] finished tweaking git repo https://github.com/bozso/chelp [INFO] tweaked toml for git repo https://github.com/bozso/chelp written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/bozso/chelp 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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.0.61 [INFO] [stderr] Downloaded thiserror v1.0.21 [INFO] [stderr] Downloaded thiserror-impl v1.0.21 [INFO] [stderr] Downloaded hecs v0.3.1 [INFO] [stderr] Downloaded ahash v0.4.6 [INFO] [stderr] Downloaded serde_json v1.0.59 [INFO] [stderr] Downloaded cbindgen v0.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 23698e147bb24e3be09bb1631f253c740fc4add887848f1375c65e41f773ae6d [INFO] running `Command { std: "docker" "start" "-a" "23698e147bb24e3be09bb1631f253c740fc4add887848f1375c65e41f773ae6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23698e147bb24e3be09bb1631f253c740fc4add887848f1375c65e41f773ae6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23698e147bb24e3be09bb1631f253c740fc4add887848f1375c65e41f773ae6d", kill_on_drop: false }` [INFO] [stdout] 23698e147bb24e3be09bb1631f253c740fc4add887848f1375c65e41f773ae6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f6effb64c0e783f84f39dec019e595dd7df272dd845c82de6676c3bd2cd7c12 [INFO] running `Command { std: "docker" "start" "-a" "0f6effb64c0e783f84f39dec019e595dd7df272dd845c82de6676c3bd2cd7c12", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling ahash v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cbindgen v0.15.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Checking hecs v0.3.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling thiserror v1.0.21 [INFO] [stderr] Compiling toml v0.5.7 [INFO] [stderr] Compiling chelper v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `database::Database` [INFO] [stdout] --> src/lib.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | pub use database::{Database}; [INFO] [stdout] | ^^^^^^^^ no `Database` in `database` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `database::Database` [INFO] [stdout] --> src/lib.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | pub use database::{Database}; [INFO] [stdout] | ^^^^^^^^ no `Database` in `database` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Default` in module `service` [INFO] [stdout] --> src/bindings/mod.rs:42:52 [INFO] [stdout] | [INFO] [stdout] 42 | pub extern fn chelp_new_service() -> *mut service::Default { [INFO] [stdout] | ^^^^^^^ not found in `service` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::database::indirect::Default; [INFO] [stdout] | [INFO] [stdout] 1 + use std::default::Default; [INFO] [stdout] | [INFO] [stdout] help: if you import `Default`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 42 - pub extern fn chelp_new_service() -> *mut service::Default { [INFO] [stdout] 42 + pub extern fn chelp_new_service() -> *mut Default { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_default` in module `service` [INFO] [stdout] --> src/bindings/mod.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | Box::new(service::new_default()) [INFO] [stdout] | ^^^^^^^^^^^ not found in `service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Default` in module `service` [INFO] [stdout] --> src/bindings/mod.rs:42:52 [INFO] [stdout] | [INFO] [stdout] 42 | pub extern fn chelp_new_service() -> *mut service::Default { [INFO] [stdout] | ^^^^^^^ not found in `service` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::database::indirect::Default; [INFO] [stdout] | [INFO] [stdout] 1 + use std::default::Default; [INFO] [stdout] | [INFO] [stdout] help: if you import `Default`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 42 - pub extern fn chelp_new_service() -> *mut service::Default { [INFO] [stdout] 42 + pub extern fn chelp_new_service() -> *mut Default { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `new_default` in module `service` [INFO] [stdout] --> src/bindings/mod.rs:43:23 [INFO] [stdout] | [INFO] [stdout] 43 | Box::new(service::new_default()) [INFO] [stdout] | ^^^^^^^^^^^ not found in `service` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `database as db` and `service as sv` [INFO] [stdout] --> src/service/service.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | service as sv, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 3 | database as db, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MutexGuard` and `Mutex` [INFO] [stdout] --> src/bindings/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | sync::{Mutex, MutexGuard}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::Lazy` [INFO] [stdout] --> src/bindings/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use once_cell::sync::Lazy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `database as db` and `service as sv` [INFO] [stdout] --> src/service/service.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | service as sv, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 3 | database as db, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MutexGuard` and `Mutex` [INFO] [stdout] --> src/bindings/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | sync::{Mutex, MutexGuard}, [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::Lazy` [INFO] [stdout] --> src/bindings/mod.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use once_cell::sync::Lazy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_display` exists for reference `&T`, but its trait bounds were not satisfied [INFO] [stdout] --> src/database/mod.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | #[error("no entry not found with key {0}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method cannot be called on `&T` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `T: std::fmt::Display` [INFO] [stdout] which is required by `&T: DisplayAsDisplay` [INFO] [stdout] = help: items from traits can only be used if the type parameter is bounded by the trait [INFO] [stdout] help: the following traits define an item `as_display`, perhaps you need to restrict type parameter `T` with one of them: [INFO] [stdout] | [INFO] [stdout] 35 | pub enum Error { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] 35 | pub enum Error { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `as_display` exists for reference `&T`, but its trait bounds were not satisfied [INFO] [stdout] --> src/database/mod.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | #[error("no entry not found with key {0}")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method cannot be called on `&T` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `T: std::fmt::Display` [INFO] [stdout] which is required by `&T: DisplayAsDisplay` [INFO] [stdout] = help: items from traits can only be used if the type parameter is bounded by the trait [INFO] [stdout] help: the following traits define an item `as_display`, perhaps you need to restrict type parameter `T` with one of them: [INFO] [stdout] | [INFO] [stdout] 35 | pub enum Error { [INFO] [stdout] | ++++++++++++++++++ [INFO] [stdout] 35 | pub enum Error { [INFO] [stdout] | +++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get` exists for struct `Indirect`, but its trait bounds were not satisfied [INFO] [stdout] --> src/service/io.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | self.indir.get(key) [INFO] [stdout] | ^^^ method cannot be called on `Indirect` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/database/indirect.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Indirect { [INFO] [stdout] | ------------------------------------ method `get` not found for this struct because it doesn't satisfy `indirect::Indirect: Like` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] `::Key = u64` [INFO] [stdout] `DB: database::Generic` [INFO] [stdout] --> src/database/indirect.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 34 | impl db::Like for Indirect [INFO] [stdout] | -------- ------------------------- [INFO] [stdout] ... [INFO] [stdout] 38 | KC: db::key::Calculator, [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] 39 | DB: db::Generic [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] help: consider restricting the type parameters to satisfy the trait bounds [INFO] [stdout] --> src/database/indirect.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Indirect where ::Key = u64, DB: database::Generic { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get` exists for struct `Indirect`, but its trait bounds were not satisfied [INFO] [stdout] --> src/service/io.rs:78:20 [INFO] [stdout] | [INFO] [stdout] 78 | self.indir.get(key) [INFO] [stdout] | ^^^ method cannot be called on `Indirect` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/database/indirect.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Indirect { [INFO] [stdout] | ------------------------------------ method `get` not found for this struct because it doesn't satisfy `indirect::Indirect: Like` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] `::Key = u64` [INFO] [stdout] `DB: database::Generic` [INFO] [stdout] --> src/database/indirect.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 34 | impl db::Like for Indirect [INFO] [stdout] | -------- ------------------------- [INFO] [stdout] ... [INFO] [stdout] 38 | KC: db::key::Calculator, [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] 39 | DB: db::Generic [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] help: consider restricting the type parameters to satisfy the trait bounds [INFO] [stdout] --> src/database/indirect.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Indirect where ::Key = u64, DB: database::Generic { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for struct `Indirect`, but its trait bounds were not satisfied [INFO] [stdout] --> src/service/io.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | self.indir.insert(key, val) [INFO] [stdout] | ^^^^^^ method cannot be called on `Indirect` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/database/indirect.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Indirect { [INFO] [stdout] | ------------------------------------ method `insert` not found for this struct because it doesn't satisfy `indirect::Indirect: Like` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] `::Key = u64` [INFO] [stdout] `DB: database::Generic` [INFO] [stdout] --> src/database/indirect.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 34 | impl db::Like for Indirect [INFO] [stdout] | -------- ------------------------- [INFO] [stdout] ... [INFO] [stdout] 38 | KC: db::key::Calculator, [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] 39 | DB: db::Generic [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] help: consider restricting the type parameters to satisfy the trait bounds [INFO] [stdout] --> src/database/indirect.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Indirect where ::Key = u64, DB: database::Generic { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `insert` exists for struct `Indirect`, but its trait bounds were not satisfied [INFO] [stdout] --> src/service/io.rs:82:20 [INFO] [stdout] | [INFO] [stdout] 82 | self.indir.insert(key, val) [INFO] [stdout] | ^^^^^^ method cannot be called on `Indirect` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/database/indirect.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Indirect { [INFO] [stdout] | ------------------------------------ method `insert` not found for this struct because it doesn't satisfy `indirect::Indirect: Like` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] `::Key = u64` [INFO] [stdout] `DB: database::Generic` [INFO] [stdout] --> src/database/indirect.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 34 | impl db::Like for Indirect [INFO] [stdout] | -------- ------------------------- [INFO] [stdout] ... [INFO] [stdout] 38 | KC: db::key::Calculator, [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] 39 | DB: db::Generic [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] help: consider restricting the type parameters to satisfy the trait bounds [INFO] [stdout] --> src/database/indirect.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Indirect where ::Key = u64, DB: database::Generic { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `remove` exists for struct `Indirect`, but its trait bounds were not satisfied [INFO] [stdout] --> src/service/io.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | self.indir.remove(key) [INFO] [stdout] | ^^^^^^ method cannot be called on `Indirect` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/database/indirect.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Indirect { [INFO] [stdout] | ------------------------------------ method `remove` not found for this struct because it doesn't satisfy `indirect::Indirect: Like` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] `::Key = u64` [INFO] [stdout] `DB: database::Generic` [INFO] [stdout] --> src/database/indirect.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 34 | impl db::Like for Indirect [INFO] [stdout] | -------- ------------------------- [INFO] [stdout] ... [INFO] [stdout] 38 | KC: db::key::Calculator, [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] 39 | DB: db::Generic [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] help: consider restricting the type parameters to satisfy the trait bounds [INFO] [stdout] --> src/database/indirect.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Indirect where ::Key = u64, DB: database::Generic { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `remove` exists for struct `Indirect`, but its trait bounds were not satisfied [INFO] [stdout] --> src/service/io.rs:86:20 [INFO] [stdout] | [INFO] [stdout] 86 | self.indir.remove(key) [INFO] [stdout] | ^^^^^^ method cannot be called on `Indirect` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/database/indirect.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Indirect { [INFO] [stdout] | ------------------------------------ method `remove` not found for this struct because it doesn't satisfy `indirect::Indirect: Like` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] `::Key = u64` [INFO] [stdout] `DB: database::Generic` [INFO] [stdout] --> src/database/indirect.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 34 | impl db::Like for Indirect [INFO] [stdout] | -------- ------------------------- [INFO] [stdout] ... [INFO] [stdout] 38 | KC: db::key::Calculator, [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] 39 | DB: db::Generic [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] help: consider restricting the type parameters to satisfy the trait bounds [INFO] [stdout] --> src/database/indirect.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Indirect where ::Key = u64, DB: database::Generic { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `contains` exists for struct `Indirect`, but its trait bounds were not satisfied [INFO] [stdout] --> src/service/io.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | self.indir.contains(key) [INFO] [stdout] | ^^^^^^^^ method cannot be called on `Indirect` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/database/indirect.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Indirect { [INFO] [stdout] | ------------------------------------ method `contains` not found for this struct because it doesn't satisfy `indirect::Indirect: Like` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] `::Key = u64` [INFO] [stdout] `DB: database::Generic` [INFO] [stdout] --> src/database/indirect.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 34 | impl db::Like for Indirect [INFO] [stdout] | -------- ------------------------- [INFO] [stdout] ... [INFO] [stdout] 38 | KC: db::key::Calculator, [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] 39 | DB: db::Generic [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] help: consider restricting the type parameters to satisfy the trait bounds [INFO] [stdout] --> src/database/indirect.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Indirect where ::Key = u64, DB: database::Generic { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `contains` exists for struct `Indirect`, but its trait bounds were not satisfied [INFO] [stdout] --> src/service/io.rs:90:20 [INFO] [stdout] | [INFO] [stdout] 90 | self.indir.contains(key) [INFO] [stdout] | ^^^^^^^^ method cannot be called on `Indirect` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/database/indirect.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Indirect { [INFO] [stdout] | ------------------------------------ method `contains` not found for this struct because it doesn't satisfy `indirect::Indirect: Like` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] `::Key = u64` [INFO] [stdout] `DB: database::Generic` [INFO] [stdout] --> src/database/indirect.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 34 | impl db::Like for Indirect [INFO] [stdout] | -------- ------------------------- [INFO] [stdout] ... [INFO] [stdout] 38 | KC: db::key::Calculator, [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] 39 | DB: db::Generic [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] help: consider restricting the type parameters to satisfy the trait bounds [INFO] [stdout] --> src/database/indirect.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Indirect where ::Key = u64, DB: database::Generic { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `lazy_insert` exists for struct `Indirect>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/service/io.rs:126:23 [INFO] [stdout] | [INFO] [stdout] 126 | Ok(self.indir.lazy_insert( [INFO] [stdout] | -----------^^^^^^^^^^^ method cannot be called on `Indirect>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/database/indirect.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Indirect { [INFO] [stdout] | ------------------------------------ method `lazy_insert` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `::Key = u64` was not satisfied [INFO] [stdout] --> src/database/mod.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 96 | impl Generic for T [INFO] [stdout] | ------------- - [INFO] [stdout] 97 | where [INFO] [stdout] 98 | T: Like, [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: trait bound `::Key = u64` was not satisfied [INFO] [stdout] --> src/database/indirect.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 16 | impl Indirect [INFO] [stdout] | ------------------------- [INFO] [stdout] ... [INFO] [stdout] 20 | KC: db::key::Calculator, [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `lazy_insert` exists for struct `Indirect>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/service/io.rs:126:23 [INFO] [stdout] | [INFO] [stdout] 126 | Ok(self.indir.lazy_insert( [INFO] [stdout] | -----------^^^^^^^^^^^ method cannot be called on `Indirect>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/database/indirect.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Indirect { [INFO] [stdout] | ------------------------------------ method `lazy_insert` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `::Key = u64` was not satisfied [INFO] [stdout] --> src/database/mod.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 96 | impl Generic for T [INFO] [stdout] | ------------- - [INFO] [stdout] 97 | where [INFO] [stdout] 98 | T: Like, [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: trait bound `::Key = u64` was not satisfied [INFO] [stdout] --> src/database/indirect.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 16 | impl Indirect [INFO] [stdout] | ------------------------- [INFO] [stdout] ... [INFO] [stdout] 20 | KC: db::key::Calculator, [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `lazy_insert` exists for struct `Indirect>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/service/io.rs:132:23 [INFO] [stdout] | [INFO] [stdout] 132 | Ok(self.indir.lazy_insert( [INFO] [stdout] | -----------^^^^^^^^^^^ method cannot be called on `Indirect>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/database/indirect.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Indirect { [INFO] [stdout] | ------------------------------------ method `lazy_insert` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `::Key = u64` was not satisfied [INFO] [stdout] --> src/database/mod.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 96 | impl Generic for T [INFO] [stdout] | ------------- - [INFO] [stdout] 97 | where [INFO] [stdout] 98 | T: Like, [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: trait bound `::Key = u64` was not satisfied [INFO] [stdout] --> src/database/indirect.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 16 | impl Indirect [INFO] [stdout] | ------------------------- [INFO] [stdout] ... [INFO] [stdout] 20 | KC: db::key::Calculator, [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `remove` exists for struct `Indirect>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/service/io.rs:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | match self.indir.remove(id) { [INFO] [stdout] | ^^^^^^ method cannot be called on `Indirect>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/database/indirect.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Indirect { [INFO] [stdout] | ------------------------------------ method `remove` not found for this struct because it doesn't satisfy `_: Like` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] `::Key = u64` [INFO] [stdout] `DB: database::Generic` [INFO] [stdout] --> src/database/indirect.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 34 | impl db::Like for Indirect [INFO] [stdout] | -------- ------------------------- [INFO] [stdout] ... [INFO] [stdout] 38 | KC: db::key::Calculator, [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] 39 | DB: db::Generic [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] help: consider restricting the type parameters to satisfy the trait bounds [INFO] [stdout] --> src/database/indirect.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Indirect where ::Key = u64, DB: database::Generic { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `lazy_insert` exists for struct `Indirect>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/service/io.rs:132:23 [INFO] [stdout] | [INFO] [stdout] 132 | Ok(self.indir.lazy_insert( [INFO] [stdout] | -----------^^^^^^^^^^^ method cannot be called on `Indirect>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/database/indirect.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Indirect { [INFO] [stdout] | ------------------------------------ method `lazy_insert` not found for this struct [INFO] [stdout] | [INFO] [stdout] note: trait bound `::Key = u64` was not satisfied [INFO] [stdout] --> src/database/mod.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 96 | impl Generic for T [INFO] [stdout] | ------------- - [INFO] [stdout] 97 | where [INFO] [stdout] 98 | T: Like, [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] note: trait bound `::Key = u64` was not satisfied [INFO] [stdout] --> src/database/indirect.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 16 | impl Indirect [INFO] [stdout] | ------------------------- [INFO] [stdout] ... [INFO] [stdout] 20 | KC: db::key::Calculator, [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `remove` exists for struct `Indirect>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/service/io.rs:138:26 [INFO] [stdout] | [INFO] [stdout] 138 | match self.indir.remove(id) { [INFO] [stdout] | ^^^^^^ method cannot be called on `Indirect>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] ::: src/database/indirect.rs:10:1 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Indirect { [INFO] [stdout] | ------------------------------------ method `remove` not found for this struct because it doesn't satisfy `_: Like` [INFO] [stdout] | [INFO] [stdout] note: the following trait bounds were not satisfied: [INFO] [stdout] `::Key = u64` [INFO] [stdout] `DB: database::Generic` [INFO] [stdout] --> src/database/indirect.rs:38:29 [INFO] [stdout] | [INFO] [stdout] 34 | impl db::Like for Indirect [INFO] [stdout] | -------- ------------------------- [INFO] [stdout] ... [INFO] [stdout] 38 | KC: db::key::Calculator, [INFO] [stdout] | ^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] 39 | DB: db::Generic [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] help: consider restricting the type parameters to satisfy the trait bounds [INFO] [stdout] --> src/database/indirect.rs:10:37 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Indirect where ::Key = u64, DB: database::Generic { [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/service/io.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 138 | / match self.indir.remove(id) { [INFO] [stdout] 139 | | Some(_) => Ok(()), [INFO] [stdout] | | ------ this is found to be of type `std::result::Result<(), service::io::Error>` [INFO] [stdout] 140 | | None => Error::CloseFail(db::Error::EntryNotFound(id)), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(), Error>`, found `Error<&u64>` [INFO] [stdout] 141 | | } [INFO] [stdout] | |_________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), service::io::Error>` [INFO] [stdout] found enum `service::io::Error<&u64>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: `match` arms have incompatible types [INFO] [stdout] --> src/service/io.rs:140:21 [INFO] [stdout] | [INFO] [stdout] 138 | / match self.indir.remove(id) { [INFO] [stdout] 139 | | Some(_) => Ok(()), [INFO] [stdout] | | ------ this is found to be of type `std::result::Result<(), service::io::Error>` [INFO] [stdout] 140 | | None => Error::CloseFail(db::Error::EntryNotFound(id)), [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<(), Error>`, found `Error<&u64>` [INFO] [stdout] 141 | | } [INFO] [stdout] | |_________- `match` arms have incompatible types [INFO] [stdout] | [INFO] [stdout] = note: expected enum `std::result::Result<(), service::io::Error>` [INFO] [stdout] found enum `service::io::Error<&u64>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `service::error::Error>` [INFO] [stdout] --> src/service/string.rs:52:35 [INFO] [stdout] | [INFO] [stdout] 52 | self.db.must_get(&one)?.to_owned() + self.db.must_get(&two)?; [INFO] [stdout] | ^ the trait `From>` is not implemented for `service::error::Error>`, which is required by `std::result::Result>>: FromResidual>>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `service::error::Error` implements `From` [INFO] [stdout] `service::error::Error` implements `From>` [INFO] [stdout] `service::error::Error` implements `From` [INFO] [stdout] = note: required for `std::result::Result>>` to implement `FromResidual>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `service::error::Error>` [INFO] [stdout] --> src/service/string.rs:52:35 [INFO] [stdout] | [INFO] [stdout] 52 | self.db.must_get(&one)?.to_owned() + self.db.must_get(&two)?; [INFO] [stdout] | ^ the trait `From>` is not implemented for `service::error::Error>`, which is required by `std::result::Result>>: FromResidual>>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `service::error::Error` implements `From` [INFO] [stdout] `service::error::Error` implements `From>` [INFO] [stdout] `service::error::Error` implements `From` [INFO] [stdout] = note: required for `std::result::Result>>` to implement `FromResidual>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `service::error::Error>` [INFO] [stdout] --> src/service/string.rs:52:72 [INFO] [stdout] | [INFO] [stdout] 52 | self.db.must_get(&one)?.to_owned() + self.db.must_get(&two)?; [INFO] [stdout] | ^ the trait `From>` is not implemented for `service::error::Error>`, which is required by `std::result::Result>>: FromResidual>>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `service::error::Error` implements `From` [INFO] [stdout] `service::error::Error` implements `From>` [INFO] [stdout] `service::error::Error` implements `From` [INFO] [stdout] = note: required for `std::result::Result>>` to implement `FromResidual>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `?` couldn't convert the error to `service::error::Error>` [INFO] [stdout] --> src/service/string.rs:52:72 [INFO] [stdout] | [INFO] [stdout] 52 | self.db.must_get(&one)?.to_owned() + self.db.must_get(&two)?; [INFO] [stdout] | ^ the trait `From>` is not implemented for `service::error::Error>`, which is required by `std::result::Result>>: FromResidual>>` [INFO] [stdout] | [INFO] [stdout] = note: the question mark operation (`?`) implicitly performs a conversion on the error value using the `From` trait [INFO] [stdout] = help: the following other types implement trait `From`: [INFO] [stdout] `service::error::Error` implements `From` [INFO] [stdout] `service::error::Error` implements `From>` [INFO] [stdout] `service::error::Error` implements `From` [INFO] [stdout] = note: required for `std::result::Result>>` to implement `FromResidual>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lock` in this scope [INFO] [stdout] --> src/bindings/mod.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | lock()?.string_service.put(ptr).map_err(Error::Service) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `do_id` in this scope [INFO] [stdout] --> src/bindings/mod.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | do_id(|| { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lock` in this scope [INFO] [stdout] --> src/bindings/mod.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | lock()?.string_service.concat(one, two).map_err(Error::Service) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lock` in this scope [INFO] [stdout] --> src/bindings/mod.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | lock()?.string_service.put(ptr).map_err(Error::Service) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `do_id` in this scope [INFO] [stdout] --> src/bindings/mod.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | do_id(|| { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lock` in this scope [INFO] [stdout] --> src/bindings/mod.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | lock()?.string_service.remove(id); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `do_id` in this scope [INFO] [stdout] --> src/bindings/mod.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | do_id(|| { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lock` in this scope [INFO] [stdout] --> src/bindings/mod.rs:78:9 [INFO] [stdout] | [INFO] [stdout] 78 | lock()?.string_service.concat(one, two).map_err(Error::Service) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `do_it` in this scope [INFO] [stdout] --> src/bindings/mod.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | do_it(|| { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lock` in this scope [INFO] [stdout] --> src/bindings/mod.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | lock()? [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `do_id` in this scope [INFO] [stdout] --> src/bindings/mod.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | do_id(|| { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lock` in this scope [INFO] [stdout] --> src/bindings/mod.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | lock()?.string_service.remove(id); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `do_id` in this scope [INFO] [stdout] --> src/bindings/mod.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | do_id(|| { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `do_it` in this scope [INFO] [stdout] --> src/bindings/mod.rs:84:5 [INFO] [stdout] | [INFO] [stdout] 84 | do_it(|| { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lock` in this scope [INFO] [stdout] --> src/bindings/mod.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | lock()?.file_service.must_remove(id)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lock` in this scope [INFO] [stdout] --> src/bindings/mod.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 94 | lock()? [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `do_it` in this scope [INFO] [stdout] --> src/bindings/mod.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | do_it(|| { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `do_id` in this scope [INFO] [stdout] --> src/bindings/mod.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | do_id(|| { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lock` in this scope [INFO] [stdout] --> src/bindings/mod.rs:112:55 [INFO] [stdout] | [INFO] [stdout] 112 | write!(std::io::stdout(), "Database: {:?}\n", lock()?) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lock` in this scope [INFO] [stdout] --> src/bindings/mod.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | lock()?.file_service.must_remove(id)?; [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `do_it` in this scope [INFO] [stdout] --> src/bindings/mod.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | do_it(|| { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `do_it` in this scope [INFO] [stdout] --> src/bindings/mod.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | do_it(|| { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Like` [INFO] [stdout] --> src/service/io.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | database::{self as db, Like}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `lock` in this scope [INFO] [stdout] --> src/bindings/mod.rs:112:55 [INFO] [stdout] | [INFO] [stdout] 112 | write!(std::io::stdout(), "Database: {:?}\n", lock()?) [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `do_it` in this scope [INFO] [stdout] --> src/bindings/mod.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | do_it(|| { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Like` [INFO] [stdout] --> src/service/io.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | database::{self as db, Like}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `key` [INFO] [stdout] --> src/database/indirect.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 24 | let key = self.key_calculator.calc_key(c); [INFO] [stdout] | --- move occurs because `key` has type `K`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 27 | self.db.insert(key, c.create()?) [INFO] [stdout] | --- value moved here [INFO] [stdout] ... [INFO] [stdout] 30 | Ok(key) [INFO] [stdout] | ^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `insert` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/database/mod.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | fn insert(&mut self, key: Self::Key, entry: Self::Value); [INFO] [stdout] | ------ ^^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this function [INFO] [stdout] help: if `K` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/database/indirect.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | impl Indirect [INFO] [stdout] | ^ consider constraining this type parameter with `Clone` [INFO] [stdout] ... [INFO] [stdout] 27 | self.db.insert(key, c.create()?) [INFO] [stdout] | --- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: use of moved value: `key` [INFO] [stdout] --> src/database/indirect.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 24 | let key = self.key_calculator.calc_key(c); [INFO] [stdout] | --- move occurs because `key` has type `K`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 27 | self.db.insert(key, c.create()?) [INFO] [stdout] | --- value moved here [INFO] [stdout] ... [INFO] [stdout] 30 | Ok(key) [INFO] [stdout] | ^^^ value used here after move [INFO] [stdout] | [INFO] [stdout] note: consider changing this parameter type in function `insert` to borrow instead if owning the value isn't necessary [INFO] [stdout] --> src/database/mod.rs:63:31 [INFO] [stdout] | [INFO] [stdout] 63 | fn insert(&mut self, key: Self::Key, entry: Self::Value); [INFO] [stdout] | ------ ^^^^^^^^^ this parameter takes ownership of the value [INFO] [stdout] | | [INFO] [stdout] | in this function [INFO] [stdout] help: if `K` implemented `Clone`, you could clone the value [INFO] [stdout] --> src/database/indirect.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | impl Indirect [INFO] [stdout] | ^ consider constraining this type parameter with `Clone` [INFO] [stdout] ... [INFO] [stdout] 27 | self.db.insert(key, c.create()?) [INFO] [stdout] | --- you could clone this value [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `*key` which is behind a shared reference [INFO] [stdout] --> src/database/mod.rs:59:50 [INFO] [stdout] | [INFO] [stdout] 59 | self.get(key).ok_or(Error::EntryNotFound(*key)) [INFO] [stdout] | ^^^^ move occurs because `*key` has type `::Key`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `*key` which is behind a shared reference [INFO] [stdout] --> src/database/mod.rs:59:50 [INFO] [stdout] | [INFO] [stdout] 59 | self.get(key).ok_or(Error::EntryNotFound(*key)) [INFO] [stdout] | ^^^^ move occurs because `*key` has type `::Key`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `*key` which is behind a shared reference [INFO] [stdout] --> src/database/mod.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | self.remove(key).ok_or(Error::EntryNotFound(*key)) [INFO] [stdout] | ^^^^ move occurs because `*key` has type `::Key`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0507]: cannot move out of `*key` which is behind a shared reference [INFO] [stdout] --> src/database/mod.rs:73:53 [INFO] [stdout] | [INFO] [stdout] 73 | self.remove(key).ok_or(Error::EntryNotFound(*key)) [INFO] [stdout] | ^^^^ move occurs because `*key` has type `::Key`, which does not implement the `Copy` trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0382, E0412, E0425, E0432, E0507, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0382, E0412, E0425, E0432, E0507, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chelper` (lib) due to 30 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `chelper` (lib test) due to 30 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "0f6effb64c0e783f84f39dec019e595dd7df272dd845c82de6676c3bd2cd7c12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f6effb64c0e783f84f39dec019e595dd7df272dd845c82de6676c3bd2cd7c12", kill_on_drop: false }` [INFO] [stdout] 0f6effb64c0e783f84f39dec019e595dd7df272dd845c82de6676c3bd2cd7c12