[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 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbozso%2Fchelp" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bozso/chelp on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "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-0-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cbindgen v0.15.0 [INFO] [stderr] Downloaded hecs v0.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b65054dd320a555a9b5bd01a3979da74d140506beb672701c31aad38831159c5 [INFO] running `Command { std: "docker" "start" "-a" "b65054dd320a555a9b5bd01a3979da74d140506beb672701c31aad38831159c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b65054dd320a555a9b5bd01a3979da74d140506beb672701c31aad38831159c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b65054dd320a555a9b5bd01a3979da74d140506beb672701c31aad38831159c5", kill_on_drop: false }` [INFO] [stdout] b65054dd320a555a9b5bd01a3979da74d140506beb672701c31aad38831159c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cc72755af02222dfa237e308da6363a8d98e628477f5850038a6a7b3dc43a08 [INFO] running `Command { std: "docker" "start" "-a" "6cc72755af02222dfa237e308da6363a8d98e628477f5850038a6a7b3dc43a08", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling ahash v0.4.6 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling cbindgen v0.15.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling cc v1.0.61 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Checking hecs v0.3.1 [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 core::default::Default; [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 core::default::Default; [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[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:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | pub trait Generic : Like [INFO] [stdout] | ------- ^^^^^^^ unsatisfied trait bound introduced here [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: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] 21 | DB: db::Generic [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:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | pub trait Generic : Like [INFO] [stdout] | ------- ^^^^^^^ unsatisfied trait bound introduced here [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: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] 21 | DB: db::Generic [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:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | pub trait Generic : Like [INFO] [stdout] | ------- ^^^^^^^ unsatisfied trait bound introduced here [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: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] 21 | DB: db::Generic [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:91:32 [INFO] [stdout] | [INFO] [stdout] 91 | pub trait Generic : Like [INFO] [stdout] | ------- ^^^^^^^ unsatisfied trait bound introduced here [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: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] 21 | DB: db::Generic [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 `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] as From> [INFO] [stdout] as From>> [INFO] [stdout] as 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] as From> [INFO] [stdout] as From>> [INFO] [stdout] as 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] as From> [INFO] [stdout] as From>> [INFO] [stdout] as 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] as From> [INFO] [stdout] as From>> [INFO] [stdout] as 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 `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 `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_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: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_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_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: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: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_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: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: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: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] 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] 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] [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] [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: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: aborting due to 29 previous errors [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 [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 test) due to 30 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `chelper` (lib) due to 30 previous errors [INFO] running `Command { std: "docker" "inspect" "6cc72755af02222dfa237e308da6363a8d98e628477f5850038a6a7b3dc43a08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cc72755af02222dfa237e308da6363a8d98e628477f5850038a6a7b3dc43a08", kill_on_drop: false }` [INFO] [stdout] 6cc72755af02222dfa237e308da6363a8d98e628477f5850038a6a7b3dc43a08 [INFO] checking bozso/chelp against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-4 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbozso%2Fchelp" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bozso/chelp on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "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-0-tc2/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" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca5c586e04e3e210c787441d67d6018d5945122a66f36c8251f302cd7363c4a4 [INFO] running `Command { std: "docker" "start" "-a" "ca5c586e04e3e210c787441d67d6018d5945122a66f36c8251f302cd7363c4a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca5c586e04e3e210c787441d67d6018d5945122a66f36c8251f302cd7363c4a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca5c586e04e3e210c787441d67d6018d5945122a66f36c8251f302cd7363c4a4", kill_on_drop: false }` [INFO] [stdout] ca5c586e04e3e210c787441d67d6018d5945122a66f36c8251f302cd7363c4a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1d800f8fe6756bf7dd6d27a199fb9e80ef9b973f8625998c42169188dd5888c [INFO] running `Command { std: "docker" "start" "-a" "f1d800f8fe6756bf7dd6d27a199fb9e80ef9b973f8625998c42169188dd5888c", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "f1d800f8fe6756bf7dd6d27a199fb9e80ef9b973f8625998c42169188dd5888c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1d800f8fe6756bf7dd6d27a199fb9e80ef9b973f8625998c42169188dd5888c", kill_on_drop: false }` [INFO] [stdout] f1d800f8fe6756bf7dd6d27a199fb9e80ef9b973f8625998c42169188dd5888c