[INFO] cloning repository https://github.com/MegaBouncer/DataStore [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MegaBouncer/DataStore" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMegaBouncer%2FDataStore", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMegaBouncer%2FDataStore'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 68f31e6070844d71006625101e9e12fe5a8a3b73 [INFO] checking MegaBouncer/DataStore against try#c8bdaa84ec1b37f18f30375e196a65b7602f3790 for pr-73345 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMegaBouncer%2FDataStore" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MegaBouncer/DataStore on toolchain c8bdaa84ec1b37f18f30375e196a65b7602f3790 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MegaBouncer/DataStore [INFO] removed path dependency shared from git repo https://github.com/MegaBouncer/DataStore [INFO] finished tweaking git repo https://github.com/MegaBouncer/DataStore [INFO] tweaked toml for git repo https://github.com/MegaBouncer/DataStore written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/MegaBouncer/DataStore already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (shared) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-8/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (shared) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "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] fad136e7add1a8bb62c340bcf92dfa4a804ce30c70a79f9cf0a259c5491a5bb1 [INFO] running `Command { std: "docker" "start" "-a" "fad136e7add1a8bb62c340bcf92dfa4a804ce30c70a79f9cf0a259c5491a5bb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fad136e7add1a8bb62c340bcf92dfa4a804ce30c70a79f9cf0a259c5491a5bb1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fad136e7add1a8bb62c340bcf92dfa4a804ce30c70a79f9cf0a259c5491a5bb1", kill_on_drop: false }` [INFO] [stdout] fad136e7add1a8bb62c340bcf92dfa4a804ce30c70a79f9cf0a259c5491a5bb1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:6c9ffe128752d56c8d75334ed354142a5229917ed99767f56566dd8e857ad726" "/opt/rustwide/cargo-home/bin/cargo" "+c8bdaa84ec1b37f18f30375e196a65b7602f3790" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 788798aace872e4fc9092f24527fa80daac55e8c887807becff541597661951c [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" "788798aace872e4fc9092f24527fa80daac55e8c887807becff541597661951c", kill_on_drop: false }` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] warning: dependency (shared) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling proc-macro2 v1.0.18 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking once_cell v1.4.0 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking futures-io v0.3.5 [INFO] [stderr] Compiling cortex-m v0.6.2 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling serde v1.0.112 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking smallvec v1.4.0 [INFO] [stderr] Checking serde v0.8.23 [INFO] [stderr] Checking matches v0.1.8 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling lexical-core v0.7.4 [INFO] [stderr] Checking vcell v0.1.2 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking async-task v3.0.0 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Compiling cortex-m v0.5.10 [INFO] [stderr] Checking itoa v0.4.5 [INFO] [stderr] Checking scoped-tls-hkt v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.55 [INFO] [stderr] Checking aligned v0.2.0 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking dtoa v0.4.5 [INFO] [stderr] Checking rust-ini v0.13.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking futures-task v0.3.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking unicode-bidi v0.3.4 [INFO] [stderr] Checking volatile-register v0.2.0 [INFO] [stderr] Checking unicode-normalization v0.1.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking aho-corasick v0.7.10 [INFO] [stderr] Checking kv-log-macro v1.0.6 [INFO] [stderr] Compiling bare-metal v0.2.5 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking socket2 v0.3.12 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling syn v1.0.31 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking generic-array v0.12.3 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking as-slice v0.1.3 [INFO] [stderr] Checking serde_test v0.8.23 [INFO] [stderr] Checking url v2.1.1 [INFO] [stderr] Checking linked-hash-map v0.3.0 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio v0.2.21 [INFO] [stderr] Checking aligned v0.3.2 [INFO] [stderr] Checking serde-hjson v0.9.1 [INFO] [stderr] Checking shared v0.1.2 [INFO] [stderr] Checking tokio-util v0.3.1 [INFO] [stderr] Checking toml v0.5.6 [INFO] [stderr] Checking config v0.10.1 [INFO] [stderr] Compiling pin-project-internal v0.4.22 [INFO] [stderr] Compiling async-trait v0.1.35 [INFO] [stderr] Checking pin-project v0.4.22 [INFO] [stderr] Checking futures-util v0.3.5 [INFO] [stderr] Checking piper v0.1.3 [INFO] [stderr] Checking combine v4.2.1 [INFO] [stderr] Checking smol v0.1.12 [INFO] [stderr] Checking async-std v1.6.1 [INFO] [stderr] Checking redis v0.16.0 [INFO] [stderr] Checking datastore v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read src/../config.toml: No such file or directory (os error 2) [INFO] [stdout] --> src/main.rs:22:50 [INFO] [stdout] | [INFO] [stdout] 22 | let config_file = config::File::from_str(include_str!("../config.toml"), config::FileFormat::Toml).required(true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `shared::prelude` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use shared::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `shared` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ComponentResponse` [INFO] [stdout] --> src/main.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | ComponentResponse::ListenToChannel(Channel::from_string("data.get_by_key")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `ComponentResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Channel` [INFO] [stdout] --> src/main.rs:39:48 [INFO] [stdout] | [INFO] [stdout] 39 | ComponentResponse::ListenToChannel(Channel::from_string("data.get_by_key")), [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ComponentResponse` [INFO] [stdout] --> src/main.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | ComponentResponse::ListenToChannel(Channel::from_string("data.set")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `ComponentResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Channel` [INFO] [stdout] --> src/main.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | ComponentResponse::ListenToChannel(Channel::from_string("data.set")), [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stdout] --> src/main.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | Some(Some(&Value::String(ref str))) => str, [INFO] [stdout] | ^^^^^ use of undeclared type or module `Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Message` [INFO] [stdout] --> src/main.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 54 | let mut message = Message::new_emit(format!("data.{}", key), |_|{}); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ComponentResponse` [INFO] [stdout] --> src/main.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | vec![ComponentResponse::Send(message)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `ComponentResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stdout] --> src/main.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | Some(Some(&Value::String(ref str))) => str, [INFO] [stdout] | ^^^^^ use of undeclared type or module `Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Message` [INFO] [stdout] --> src/main.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 79 | let mut message = Message::new_emit(format!("data.{}", key), |_|{}); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ComponentResponse` [INFO] [stdout] --> src/main.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | vec![ComponentResponse::Send(message)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `ComponentResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Client` in `shared` [INFO] [stdout] --> src/main.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | let mut client = shared::Client::default(); [INFO] [stdout] | ^^^^^^ not found in `shared` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use redis::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Component` in this scope [INFO] [stdout] --> src/main.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | impl Component for RedisConnector { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Poll` in this scope [INFO] [stdout] --> src/main.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | fn init(&self, _poll: &Poll) -> Vec{ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 6 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ComponentResponse` in this scope [INFO] [stdout] --> src/main.rs:37:41 [INFO] [stdout] | [INFO] [stdout] 36 | impl Component for RedisConnector { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 37 | fn init(&self, _poll: &Poll) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Poll` in this scope [INFO] [stdout] --> src/main.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | fn message_received(&mut self, _poll: &Poll, channel: &Channel, _sender: &Option, message: &Value) -> Vec { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 6 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Channel` in this scope [INFO] [stdout] --> src/main.rs:43:60 [INFO] [stdout] | [INFO] [stdout] 43 | fn message_received(&mut self, _poll: &Poll, channel: &Channel, _sender: &Option, message: &Value) -> Vec { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> src/main.rs:43:105 [INFO] [stdout] | [INFO] [stdout] 43 | fn message_received(&mut self, _poll: &Poll, channel: &Channel, _sender: &Option, message: &Value) -> Vec { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use config::Value; [INFO] [stdout] | [INFO] [stdout] 6 | use redis::Value; [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ComponentResponse` in this scope [INFO] [stdout] --> src/main.rs:43:119 [INFO] [stdout] | [INFO] [stdout] 36 | impl Component for RedisConnector { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 43 | fn message_received(&mut self, _poll: &Poll, channel: &Channel, _sender: &Option, message: &Value) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stdout] --> src/main.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | Value::String(result) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use config::Value; [INFO] [stdout] | [INFO] [stdout] 6 | use redis::Value; [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `datastore`. [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] [stdout] error: couldn't read src/../config.toml: No such file or directory (os error 2) [INFO] [stdout] --> src/main.rs:22:50 [INFO] [stdout] | [INFO] [stdout] 22 | let config_file = config::File::from_str(include_str!("../config.toml"), config::FileFormat::Toml).required(true); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `shared::prelude` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use shared::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `prelude` in `shared` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ComponentResponse` [INFO] [stdout] --> src/main.rs:39:13 [INFO] [stdout] | [INFO] [stdout] 39 | ComponentResponse::ListenToChannel(Channel::from_string("data.get_by_key")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `ComponentResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Channel` [INFO] [stdout] --> src/main.rs:39:48 [INFO] [stdout] | [INFO] [stdout] 39 | ComponentResponse::ListenToChannel(Channel::from_string("data.get_by_key")), [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ComponentResponse` [INFO] [stdout] --> src/main.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | ComponentResponse::ListenToChannel(Channel::from_string("data.set")), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `ComponentResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Channel` [INFO] [stdout] --> src/main.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | ComponentResponse::ListenToChannel(Channel::from_string("data.set")), [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Channel` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stdout] --> src/main.rs:46:28 [INFO] [stdout] | [INFO] [stdout] 46 | Some(Some(&Value::String(ref str))) => str, [INFO] [stdout] | ^^^^^ use of undeclared type or module `Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Message` [INFO] [stdout] --> src/main.rs:54:31 [INFO] [stdout] | [INFO] [stdout] 54 | let mut message = Message::new_emit(format!("data.{}", key), |_|{}); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ComponentResponse` [INFO] [stdout] --> src/main.rs:61:18 [INFO] [stdout] | [INFO] [stdout] 61 | vec![ComponentResponse::Send(message)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `ComponentResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stdout] --> src/main.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | Some(Some(&Value::String(ref str))) => str, [INFO] [stdout] | ^^^^^ use of undeclared type or module `Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Message` [INFO] [stdout] --> src/main.rs:79:31 [INFO] [stdout] | [INFO] [stdout] 79 | let mut message = Message::new_emit(format!("data.{}", key), |_|{}); [INFO] [stdout] | ^^^^^^^ use of undeclared type or module `Message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `ComponentResponse` [INFO] [stdout] --> src/main.rs:82:18 [INFO] [stdout] | [INFO] [stdout] 82 | vec![ComponentResponse::Send(message)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type or module `ComponentResponse` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Client` in `shared` [INFO] [stdout] --> src/main.rs:10:30 [INFO] [stdout] | [INFO] [stdout] 10 | let mut client = shared::Client::default(); [INFO] [stdout] | ^^^^^^ not found in `shared` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 | use redis::Client; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Component` in this scope [INFO] [stdout] --> src/main.rs:36:6 [INFO] [stdout] | [INFO] [stdout] 36 | impl Component for RedisConnector { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Poll` in this scope [INFO] [stdout] --> src/main.rs:37:28 [INFO] [stdout] | [INFO] [stdout] 37 | fn init(&self, _poll: &Poll) -> Vec{ [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 6 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ComponentResponse` in this scope [INFO] [stdout] --> src/main.rs:37:41 [INFO] [stdout] | [INFO] [stdout] 36 | impl Component for RedisConnector { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] 37 | fn init(&self, _poll: &Poll) -> Vec{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Poll` in this scope [INFO] [stdout] --> src/main.rs:43:44 [INFO] [stdout] | [INFO] [stdout] 43 | fn message_received(&mut self, _poll: &Poll, channel: &Channel, _sender: &Option, message: &Value) -> Vec { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 6 | use std::task::Poll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Channel` in this scope [INFO] [stdout] --> src/main.rs:43:60 [INFO] [stdout] | [INFO] [stdout] 43 | fn message_received(&mut self, _poll: &Poll, channel: &Channel, _sender: &Option, message: &Value) -> Vec { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> src/main.rs:43:105 [INFO] [stdout] | [INFO] [stdout] 43 | fn message_received(&mut self, _poll: &Poll, channel: &Channel, _sender: &Option, message: &Value) -> Vec { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use config::Value; [INFO] [stdout] | [INFO] [stdout] 6 | use redis::Value; [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ComponentResponse` in this scope [INFO] [stdout] --> src/main.rs:43:119 [INFO] [stdout] | [INFO] [stdout] 36 | impl Component for RedisConnector { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 43 | fn message_received(&mut self, _poll: &Poll, channel: &Channel, _sender: &Option, message: &Value) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type or module `Value` [INFO] [stdout] --> src/main.rs:59:17 [INFO] [stdout] | [INFO] [stdout] 59 | Value::String(result) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 | use config::Value; [INFO] [stdout] | [INFO] [stdout] 6 | use redis::Value; [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "788798aace872e4fc9092f24527fa80daac55e8c887807becff541597661951c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "788798aace872e4fc9092f24527fa80daac55e8c887807becff541597661951c", kill_on_drop: false }` [INFO] [stdout] 788798aace872e4fc9092f24527fa80daac55e8c887807becff541597661951c