[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 try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbozso%2Fchelp" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bozso/chelp on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-5/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: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--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-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] fed615494ba0f9cd7830e4d5a9b725e408758ea8bad08c12a0a3faabffadbbf5 [INFO] running `Command { std: "docker" "start" "-a" "fed615494ba0f9cd7830e4d5a9b725e408758ea8bad08c12a0a3faabffadbbf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fed615494ba0f9cd7830e4d5a9b725e408758ea8bad08c12a0a3faabffadbbf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fed615494ba0f9cd7830e4d5a9b725e408758ea8bad08c12a0a3faabffadbbf5", kill_on_drop: false }` [INFO] [stdout] fed615494ba0f9cd7830e4d5a9b725e408758ea8bad08c12a0a3faabffadbbf5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f6dc676c9710787d814f750276d9a5f96b1d4f4ca5419285bc9fa315f9a303a [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4f6dc676c9710787d814f750276d9a5f96b1d4f4ca5419285bc9fa315f9a303a", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling syn v1.0.48 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling ahash v0.4.6 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling cbindgen v0.15.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking once_cell v1.4.1 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking hecs v0.3.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling atty v0.2.14 [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 serde_derive v1.0.117 [INFO] [stderr] Compiling thiserror-impl v1.0.21 [INFO] [stderr] Compiling thiserror v1.0.21 [INFO] [stderr] Compiling serde_json v1.0.59 [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] [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[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: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: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: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 `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 `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:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | do_it(|| { [INFO] [stdout] | ^^^^^ not found in this scope [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] [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[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_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: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: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: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 `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 `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: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] warning: unused imports: `database as db`, `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`, `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`, `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`, `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] [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] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `get` exists for struct `indirect::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::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] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | method `get` not found for this [INFO] [stdout] | doesn't satisfy `indirect::Indirect: Like` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Key = u64` [INFO] [stdout] which is required by `indirect::Indirect: Like` [INFO] [stdout] `DB: database::Generic` [INFO] [stdout] which is required by `indirect::Indirect: Like` [INFO] [stdout] help: consider restricting the type parameters to satisfy the trait bounds [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::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::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] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | method `insert` not found for this [INFO] [stdout] | doesn't satisfy `indirect::Indirect: Like` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Key = u64` [INFO] [stdout] which is required by `indirect::Indirect: Like` [INFO] [stdout] `DB: database::Generic` [INFO] [stdout] which is required by `indirect::Indirect: Like` [INFO] [stdout] help: consider restricting the type parameters to satisfy the trait bounds [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::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::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] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | method `remove` not found for this [INFO] [stdout] | doesn't satisfy `indirect::Indirect: Like` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Key = u64` [INFO] [stdout] which is required by `indirect::Indirect: Like` [INFO] [stdout] `DB: database::Generic` [INFO] [stdout] which is required by `indirect::Indirect: Like` [INFO] [stdout] help: consider restricting the type parameters to satisfy the trait bounds [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::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::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] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | method `get` not found for this [INFO] [stdout] | doesn't satisfy `indirect::Indirect: Like` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Key = u64` [INFO] [stdout] which is required by `indirect::Indirect: Like` [INFO] [stdout] `DB: database::Generic` [INFO] [stdout] which is required by `indirect::Indirect: Like` [INFO] [stdout] help: consider restricting the type parameters to satisfy the trait bounds [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::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::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] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | method `insert` not found for this [INFO] [stdout] | doesn't satisfy `indirect::Indirect: Like` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Key = u64` [INFO] [stdout] which is required by `indirect::Indirect: Like` [INFO] [stdout] `DB: database::Generic` [INFO] [stdout] which is required by `indirect::Indirect: Like` [INFO] [stdout] help: consider restricting the type parameters to satisfy the trait bounds [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::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::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] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | method `remove` not found for this [INFO] [stdout] | doesn't satisfy `indirect::Indirect: Like` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Key = u64` [INFO] [stdout] which is required by `indirect::Indirect: Like` [INFO] [stdout] `DB: database::Generic` [INFO] [stdout] which is required by `indirect::Indirect: Like` [INFO] [stdout] help: consider restricting the type parameters to satisfy the trait bounds [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::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::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] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | method `contains` not found for this [INFO] [stdout] | doesn't satisfy `indirect::Indirect: Like` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Key = u64` [INFO] [stdout] which is required by `indirect::Indirect: Like` [INFO] [stdout] `DB: database::Generic` [INFO] [stdout] which is required by `indirect::Indirect: Like` [INFO] [stdout] help: consider restricting the type parameters to satisfy the trait bounds [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::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::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] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | method `contains` not found for this [INFO] [stdout] | doesn't satisfy `indirect::Indirect: Like` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Key = u64` [INFO] [stdout] which is required by `indirect::Indirect: Like` [INFO] [stdout] `DB: database::Generic` [INFO] [stdout] which is required by `indirect::Indirect: Like` [INFO] [stdout] help: consider restricting the type parameters to satisfy the trait bounds [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::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::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 [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Key = u64` [INFO] [stdout] `DB: database::Generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `lazy_insert` exists for struct `indirect::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::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 [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Key = u64` [INFO] [stdout] `DB: database::Generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `lazy_insert` exists for struct `indirect::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::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 [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Key = u64` [INFO] [stdout] `DB: database::Generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `lazy_insert` exists for struct `indirect::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::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 [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Key = u64` [INFO] [stdout] `DB: database::Generic` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `remove` exists for struct `indirect::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::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] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | method `remove` not found for this [INFO] [stdout] | doesn't satisfy `_: Like` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Key = u64` [INFO] [stdout] which is required by `indirect::Indirect>: Like` [INFO] [stdout] `DB: database::Generic` [INFO] [stdout] which is required by `indirect::Indirect>: Like` [INFO] [stdout] help: consider restricting the type parameters to satisfy the trait bounds [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::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::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] | ------------------------------------ [INFO] [stdout] | | [INFO] [stdout] | method `remove` not found for this [INFO] [stdout] | doesn't satisfy `_: Like` [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `::Key = u64` [INFO] [stdout] which is required by `indirect::Indirect>: Like` [INFO] [stdout] `DB: database::Generic` [INFO] [stdout] which is required by `indirect::Indirect>: Like` [INFO] [stdout] help: consider restricting the type parameters to satisfy the trait bounds [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 enum `std::result::Result`, found enum `service::io::Error` [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 enum `std::result::Result`, found enum `service::io::Error` [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>` [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 implementations were found: [INFO] [stdout] as From> [INFO] [stdout] as From>> [INFO] [stdout] as From> [INFO] [stdout] = note: required by `from` [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>` [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 implementations were found: [INFO] [stdout] as From> [INFO] [stdout] as From>> [INFO] [stdout] as From> [INFO] [stdout] = note: required by `from` [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>` [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 implementations were found: [INFO] [stdout] as From> [INFO] [stdout] as From>> [INFO] [stdout] as From> [INFO] [stdout] = note: required by `from` [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>` [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 implementations were found: [INFO] [stdout] as From> [INFO] [stdout] as From>> [INFO] [stdout] as From> [INFO] [stdout] = note: required by `from` [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] 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: aborting due to 26 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 26 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0412, E0425, E0432, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chelper` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4f6dc676c9710787d814f750276d9a5f96b1d4f4ca5419285bc9fa315f9a303a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f6dc676c9710787d814f750276d9a5f96b1d4f4ca5419285bc9fa315f9a303a", kill_on_drop: false }` [INFO] [stdout] 4f6dc676c9710787d814f750276d9a5f96b1d4f4ca5419285bc9fa315f9a303a