[INFO] cloning repository https://github.com/ProgramFOX/lichess-event-stream-watcher [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ProgramFOX/lichess-event-stream-watcher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProgramFOX%2Flichess-event-stream-watcher", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProgramFOX%2Flichess-event-stream-watcher'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 548f6b80ee628c0ef32e140247e49a943e0d4def [INFO] checking ProgramFOX/lichess-event-stream-watcher against try#4a23c45c7893f1416456144e3883cc48ea91722e for pr-82322 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProgramFOX%2Flichess-event-stream-watcher" "/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/ProgramFOX/lichess-event-stream-watcher on toolchain 4a23c45c7893f1416456144e3883cc48ea91722e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ProgramFOX/lichess-event-stream-watcher [INFO] finished tweaking git repo https://github.com/ProgramFOX/lichess-event-stream-watcher [INFO] tweaked toml for git repo https://github.com/ProgramFOX/lichess-event-stream-watcher written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/ProgramFOX/lichess-event-stream-watcher already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a23c45c7893f1416456144e3883cc48ea91722e" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bytes v0.4.9 [INFO] [stderr] Downloaded digest v0.7.5 [INFO] [stderr] Downloaded tokio-threadpool v0.1.5 [INFO] [stderr] Downloaded openssl-sys v0.9.35 [INFO] [stderr] Downloaded base64 v0.9.2 [INFO] [stderr] Downloaded serde_derive v1.0.71 [INFO] [stderr] Downloaded serde v1.0.71 [INFO] [stderr] Downloaded proc-macro2 v0.4.12 [INFO] [stderr] Downloaded serde_json v1.0.26 [INFO] [stderr] Downloaded quote v0.6.6 [INFO] [stderr] Downloaded tokio-tcp v0.1.1 [INFO] [stderr] Downloaded regex-syntax v0.6.3 [INFO] [stderr] Downloaded tokio-reactor v0.1.3 [INFO] [stderr] Downloaded futures v0.1.23 [INFO] [stderr] Downloaded http v0.1.10 [INFO] [stderr] Downloaded tempfile v3.0.3 [INFO] [stderr] Downloaded hyper v0.12.8 [INFO] [stderr] Downloaded regex v1.0.6 [INFO] [stderr] Downloaded syn v0.14.8 [INFO] [stderr] Downloaded string v0.1.1 [INFO] [stderr] Downloaded tokio-executor v0.1.3 [INFO] [stderr] Downloaded openssl v0.10.11 [INFO] [stderr] Downloaded h2 v0.1.12 [INFO] [stderr] Downloaded tokio-timer v0.2.5 [INFO] [stderr] Downloaded tungstenite v0.6.0 [INFO] [stderr] Downloaded utf-8 v0.7.4 [INFO] [stderr] Downloaded native-tls v0.2.1 [INFO] [stderr] Downloaded pkg-config v0.3.13 [INFO] [stderr] Downloaded rlua v0.16.2 [INFO] [stderr] Downloaded serde_regex v0.3.1 [INFO] [stderr] Downloaded ryu v0.2.3 [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" "+4a23c45c7893f1416456144e3883cc48ea91722e" "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] a3f19957adc815814ee1e2e0b5081b4a7b8af3e371858266a9fb8c3d74b0384d [INFO] running `Command { std: "docker" "start" "-a" "a3f19957adc815814ee1e2e0b5081b4a7b8af3e371858266a9fb8c3d74b0384d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a3f19957adc815814ee1e2e0b5081b4a7b8af3e371858266a9fb8c3d74b0384d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a3f19957adc815814ee1e2e0b5081b4a7b8af3e371858266a9fb8c3d74b0384d", kill_on_drop: false }` [INFO] [stdout] a3f19957adc815814ee1e2e0b5081b4a7b8af3e371858266a9fb8c3d74b0384d [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" "+4a23c45c7893f1416456144e3883cc48ea91722e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e009b5ef9a0252642e676d2ad69bd0233c05c46808bed5c4eda3b492ab23cde [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" "5e009b5ef9a0252642e676d2ad69bd0233c05c46808bed5c4eda3b492ab23cde", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking cfg-if v0.1.5 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Checking byteorder v1.2.4 [INFO] [stderr] Checking futures v0.1.23 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Compiling pkg-config v0.3.13 [INFO] [stderr] Checking slab v0.4.1 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking lazycell v0.6.0 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Checking bitflags v1.0.4 [INFO] [stderr] Compiling openssl v0.10.11 [INFO] [stderr] Compiling httparse v1.3.2 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Compiling proc-macro2 v0.4.12 [INFO] [stderr] Checking itoa v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling native-tls v0.2.1 [INFO] [stderr] Compiling serde v1.0.71 [INFO] [stderr] Checking string v0.1.1 [INFO] [stderr] Checking unicode-normalization v0.1.7 [INFO] [stderr] Checking arrayref v0.3.5 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Checking openssl-probe v0.1.2 [INFO] [stderr] Compiling ryu v0.2.3 [INFO] [stderr] Checking try-lock v0.2.2 [INFO] [stderr] Checking indexmap v1.0.1 [INFO] [stderr] Checking byte-tools v0.2.0 [INFO] [stderr] Checking rand_core v0.2.1 [INFO] [stderr] Checking fake-simd v0.1.2 [INFO] [stderr] Checking utf8-ranges v1.0.2 [INFO] [stderr] Checking utf-8 v0.7.4 [INFO] [stderr] Checking log v0.4.3 [INFO] [stderr] Checking crossbeam-utils v0.3.2 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking regex-syntax v0.6.3 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Checking block-buffer v0.3.3 [INFO] [stderr] Checking base64 v0.9.2 [INFO] [stderr] Checking iovec v0.1.2 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking time v0.1.40 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking bytes v0.4.9 [INFO] [stderr] Checking mio v0.6.15 [INFO] [stderr] Compiling quote v0.6.6 [INFO] [stderr] Checking tokio-executor v0.1.3 [INFO] [stderr] Checking want v0.0.6 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking aho-corasick v0.6.9 [INFO] [stderr] Compiling syn v0.14.8 [INFO] [stderr] Checking crossbeam-epoch v0.4.3 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking tokio-io v0.1.7 [INFO] [stderr] Checking http v0.1.10 [INFO] [stderr] Checking input_buffer v0.2.0 [INFO] [stderr] Checking tokio-timer v0.2.5 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Checking generic-array v0.9.0 [INFO] [stderr] Checking crossbeam-deque v0.3.1 [INFO] [stderr] Compiling openssl-sys v0.9.35 [INFO] [stderr] Compiling rlua v0.16.2 [INFO] [stderr] Checking num-integer v0.1.39 [INFO] [stderr] Checking tokio-threadpool v0.1.5 [INFO] [stderr] Checking tokio-codec v0.1.0 [INFO] [stderr] Checking tokio-reactor v0.1.3 [INFO] [stderr] Checking digest v0.7.5 [INFO] [stderr] Checking sha-1 v0.7.0 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking tokio-udp v0.1.1 [INFO] [stderr] Checking tokio-tcp v0.1.1 [INFO] [stderr] Checking url v1.7.1 [INFO] [stderr] Checking tokio-fs v0.1.3 [INFO] [stderr] Checking tokio v0.1.7 [INFO] [stderr] Checking h2 v0.1.12 [INFO] [stderr] Compiling serde_derive v1.0.71 [INFO] [stderr] Checking tungstenite v0.6.0 [INFO] [stderr] Checking serde_json v1.0.26 [INFO] [stderr] Checking serde_regex v0.3.1 [INFO] [stderr] Checking hyper v0.12.8 [INFO] [stderr] Checking hyper-tls v0.3.0 [INFO] [stderr] Checking lichess-event-stream v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0583]: file not found for module `conf` [INFO] [stdout] --> src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | mod conf; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `conf`, create file "src/conf.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `conf` [INFO] [stdout] --> src/main.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | mod conf; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `conf`, create file "src/conf.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SLACK_BOT_TOKEN` in module `conf` [INFO] [stdout] --> src/status.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | ... conf::SLACK_BOT_TOKEN, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SLACK_BOT_USER_ID` in module `conf` [INFO] [stdout] --> src/status.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | ... conf::SLACK_BOT_USER_ID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SLACK_CHANNEL` in module `conf` [INFO] [stdout] --> src/status.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | ... conf::SLACK_CHANNEL, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOKEN` in module `conf` [INFO] [stdout] --> src/main.rs:40:59 [INFO] [stdout] | [INFO] [stdout] 40 | eventstream::watch_event_stream(tx.clone(), conf::TOKEN, status_tx.clone()); [INFO] [stdout] | ^^^^^ not found in `conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SLACK_BOT_TOKEN` in module `conf` [INFO] [stdout] --> src/main.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | conf::SLACK_BOT_TOKEN, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SLACK_BOT_USER_ID` in module `conf` [INFO] [stdout] --> src/main.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | conf::SLACK_BOT_USER_ID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SLACK_CHANNEL` in module `conf` [INFO] [stdout] --> src/main.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | conf::SLACK_CHANNEL, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOKEN` in module `conf` [INFO] [stdout] --> src/main.rs:50:58 [INFO] [stdout] | [INFO] [stdout] 50 | status::status_loop(status_rx, tx.clone(), conf::TOKEN, status_tx.clone()); [INFO] [stdout] | ^^^^^ not found in `conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOKEN` in module `conf` [INFO] [stdout] --> src/main.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | conf::TOKEN, [INFO] [stdout] | ^^^^^ not found in `conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RULES_PATH` in module `conf` [INFO] [stdout] --> src/main.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | conf::RULES_PATH, [INFO] [stdout] | ^^^^^^^^^^ not found in `conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SLACK_BOT_TOKEN` in module `conf` [INFO] [stdout] --> src/main.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | conf::SLACK_BOT_TOKEN, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SLACK_CHANNEL` in module `conf` [INFO] [stdout] --> src/main.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | conf::SLACK_CHANNEL, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SLACK_NOTIFY_CHANNEL` in module `conf` [INFO] [stdout] --> src/main.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | conf::SLACK_NOTIFY_CHANNEL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SLACK_BOT_TOKEN` in module `conf` [INFO] [stdout] --> src/status.rs:49:35 [INFO] [stdout] | [INFO] [stdout] 49 | ... conf::SLACK_BOT_TOKEN, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SLACK_BOT_USER_ID` in module `conf` [INFO] [stdout] --> src/status.rs:50:35 [INFO] [stdout] | [INFO] [stdout] 50 | ... conf::SLACK_BOT_USER_ID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SLACK_CHANNEL` in module `conf` [INFO] [stdout] --> src/status.rs:51:35 [INFO] [stdout] | [INFO] [stdout] 51 | ... conf::SLACK_CHANNEL, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOKEN` in module `conf` [INFO] [stdout] --> src/main.rs:40:59 [INFO] [stdout] | [INFO] [stdout] 40 | eventstream::watch_event_stream(tx.clone(), conf::TOKEN, status_tx.clone()); [INFO] [stdout] | ^^^^^ not found in `conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SLACK_BOT_TOKEN` in module `conf` [INFO] [stdout] --> src/main.rs:43:19 [INFO] [stdout] | [INFO] [stdout] 43 | conf::SLACK_BOT_TOKEN, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SLACK_BOT_USER_ID` in module `conf` [INFO] [stdout] --> src/main.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 44 | conf::SLACK_BOT_USER_ID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in `conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SLACK_CHANNEL` in module `conf` [INFO] [stdout] --> src/main.rs:45:19 [INFO] [stdout] | [INFO] [stdout] 45 | conf::SLACK_CHANNEL, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOKEN` in module `conf` [INFO] [stdout] --> src/main.rs:50:58 [INFO] [stdout] | [INFO] [stdout] 50 | status::status_loop(status_rx, tx.clone(), conf::TOKEN, status_tx.clone()); [INFO] [stdout] | ^^^^^ not found in `conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOKEN` in module `conf` [INFO] [stdout] --> src/main.rs:55:19 [INFO] [stdout] | [INFO] [stdout] 55 | conf::TOKEN, [INFO] [stdout] | ^^^^^ not found in `conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `RULES_PATH` in module `conf` [INFO] [stdout] --> src/main.rs:56:19 [INFO] [stdout] | [INFO] [stdout] 56 | conf::RULES_PATH, [INFO] [stdout] | ^^^^^^^^^^ not found in `conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SLACK_BOT_TOKEN` in module `conf` [INFO] [stdout] --> src/main.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | conf::SLACK_BOT_TOKEN, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in `conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SLACK_CHANNEL` in module `conf` [INFO] [stdout] --> src/main.rs:58:19 [INFO] [stdout] | [INFO] [stdout] 58 | conf::SLACK_CHANNEL, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in `conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SLACK_NOTIFY_CHANNEL` in module `conf` [INFO] [stdout] --> src/main.rs:59:19 [INFO] [stdout] | [INFO] [stdout] 59 | conf::SLACK_NOTIFY_CHANNEL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in `conf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 8 | / pub fn handle_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 9 | | let cmd = command.clone(); [INFO] [stdout] 10 | | let parts: Vec<&str> = cmd.split(" ").collect(); [INFO] [stdout] 11 | | match parts.get(0)? { [INFO] [stdout] | | ^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] 29 | | code = first_split.get(1)?.clone(); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 8 | / pub fn handle_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 9 | | let cmd = command.clone(); [INFO] [stdout] 10 | | let parts: Vec<&str> = cmd.split(" ").collect(); [INFO] [stdout] 11 | | match parts.get(0)? { [INFO] [stdout] | | ^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 38 | | if !args.get(0)?.eq(&&"rules") { [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:29:16 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] 29 | | code = first_split.get(1)?.clone(); [INFO] [stdout] | | ^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 39 | | if args.get(0)?.eq(&&"seen") { [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 41 | | (***args.get(1)?).to_owned(), [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:38:9 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 38 | | if !args.get(0)?.eq(&&"rules") { [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 39 | | if args.get(0)?.eq(&&"seen") { [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 50 | | match args.get(1)? { [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 52 | | let susp_ip = args.get(3)?.eq(&&"if_susp_ip") || args.get(3)?.eq(&&"if_ip_susp"); [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:52:62 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 52 | | let susp_ip = args.get(3)?.eq(&&"if_susp_ip") || args.get(3)?.eq(&&"if_ip_susp"); [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 41 | | (***args.get(1)?).to_owned(), [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 53 | | if !(args.get(3)?.eq(&&"if") || susp_ip) || !args.get(7)?.eq(&&"then") { [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:53:58 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 53 | | if !(args.get(3)?.eq(&&"if") || susp_ip) || !args.get(7)?.eq(&&"then") { [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:57:36 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 57 | | let name: String = (***args.get(2)?).to_owned(); [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 50 | | match args.get(1)? { [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:59:37 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 59 | | let criterion_element = args.get(4)?; [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 60 | | let criterion_check = args.get(5)?; [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:52:27 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 52 | | let susp_ip = args.get(3)?.eq(&&"if_susp_ip") || args.get(3)?.eq(&&"if_ip_susp"); [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:52:62 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 52 | | let susp_ip = args.get(3)?.eq(&&"if_susp_ip") || args.get(3)?.eq(&&"if_ip_susp"); [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:61:47 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 61 | | let criterion_value: String = (***args.get(6)?).to_owned(); [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 53 | | if !(args.get(3)?.eq(&&"if") || susp_ip) || !args.get(7)?.eq(&&"then") { [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:87:40 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 87 | | let actions: Vec = args [INFO] [stdout] | |________________________________________^ [INFO] [stdout] 88 | || .get(8)? [INFO] [stdout] | ||________________________^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:53:58 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 53 | | if !(args.get(3)?.eq(&&"if") || susp_ip) || !args.get(7)?.eq(&&"then") { [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 104 | | if actions.len() != args.get(8)?.split("+").count() { [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:57:36 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 57 | | let name: String = (***args.get(2)?).to_owned(); [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:129:49 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 129 | | tx.send(Event::InternalShowRule((***args.get(2)?).to_owned())) [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:59:37 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 59 | | let criterion_element = args.get(4)?; [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:135:51 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 135 | | tx.send(Event::InternalRemoveRule((***args.get(2)?).to_owned())) [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 60 | | let criterion_check = args.get(5)?; [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:61:47 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 61 | | let criterion_value: String = (***args.get(6)?).to_owned(); [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:141:53 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 141 | | tx.send(Event::InternalDisableRules((***args.get(2)?).to_owned())) [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:87:40 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 87 | | let actions: Vec = args [INFO] [stdout] | |________________________________________^ [INFO] [stdout] 88 | || .get(8)? [INFO] [stdout] | ||________________________^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:147:52 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 147 | | tx.send(Event::InternalEnableRules((***args.get(2)?).to_owned())) [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:160:35 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 160 | | let email_processed = email [INFO] [stdout] | |___________________________________^ [INFO] [stdout] 161 | || .split("|") [INFO] [stdout] 162 | || .collect::>() [INFO] [stdout] 163 | || .get(1)? [INFO] [stdout] | ||________________________^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:104:33 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 104 | | if actions.len() != args.get(8)?.split("+").count() { [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:129:49 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 129 | | tx.send(Event::InternalShowRule((***args.get(2)?).to_owned())) [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:135:51 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 135 | | tx.send(Event::InternalRemoveRule((***args.get(2)?).to_owned())) [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:141:53 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 141 | | tx.send(Event::InternalDisableRules((***args.get(2)?).to_owned())) [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:147:52 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 147 | | tx.send(Event::InternalEnableRules((***args.get(2)?).to_owned())) [INFO] [stdout] | | ^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`) [INFO] [stdout] --> src/slack/command.rs:160:35 [INFO] [stdout] | [INFO] [stdout] 25 | / fn handle_signup_command(command: String, tx: Sender) -> Result, ParseError> { [INFO] [stdout] 26 | | let mut first_split: Vec<&str> = command.split("`").collect(); [INFO] [stdout] 27 | | let mut code = ""; [INFO] [stdout] 28 | | if first_split.len() > 2 { [INFO] [stdout] ... | [INFO] [stdout] 160 | | let email_processed = email [INFO] [stdout] | |___________________________________^ [INFO] [stdout] 161 | || .split("|") [INFO] [stdout] 162 | || .collect::>() [INFO] [stdout] 163 | || .get(1)? [INFO] [stdout] | ||________________________^ cannot use the `?` operator in a function that returns `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function should return `Result` or `Option` to accept `?` [INFO] [stdout] | [INFO] [stdout] = help: the trait `FromResidual>` is not implemented for `Result, command::ParseError>` [INFO] [stdout] = note: required by `from_residual` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lichess-event-stream` [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: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5e009b5ef9a0252642e676d2ad69bd0233c05c46808bed5c4eda3b492ab23cde", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e009b5ef9a0252642e676d2ad69bd0233c05c46808bed5c4eda3b492ab23cde", kill_on_drop: false }` [INFO] [stdout] 5e009b5ef9a0252642e676d2ad69bd0233c05c46808bed5c4eda3b492ab23cde