[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] testing ProgramFOX/lichess-event-stream-watcher against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FProgramFOX%2Flichess-event-stream-watcher" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ProgramFOX/lichess-event-stream-watcher on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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-1/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tempfile v3.0.3 [INFO] [stderr] Downloaded native-tls v0.2.1 [INFO] [stderr] Downloaded lazy_static v1.1.0 [INFO] [stderr] Downloaded schannel v0.1.13 [INFO] [stderr] Downloaded block-buffer v0.3.3 [INFO] [stderr] Downloaded log v0.4.3 [INFO] [stderr] Downloaded tokio-io v0.1.7 [INFO] [stderr] Downloaded tokio-codec v0.1.0 [INFO] [stderr] Downloaded mio v0.6.15 [INFO] [stderr] Downloaded crossbeam-utils v0.3.2 [INFO] [stderr] Downloaded input_buffer v0.2.0 [INFO] [stderr] Downloaded tokio-tcp v0.1.1 [INFO] [stderr] Downloaded tokio-fs v0.1.3 [INFO] [stderr] Downloaded memchr v2.1.1 [INFO] [stderr] Downloaded serde_json v1.0.26 [INFO] [stderr] Downloaded regex v1.0.6 [INFO] [stderr] Downloaded quote v0.6.6 [INFO] [stderr] Downloaded hyper-tls v0.3.0 [INFO] [stderr] Downloaded string v0.1.1 [INFO] [stderr] Downloaded h2 v0.1.12 [INFO] [stderr] Downloaded num-integer v0.1.39 [INFO] [stderr] Downloaded chrono v0.4.6 [INFO] [stderr] Downloaded cc v1.0.18 [INFO] [stderr] Downloaded slab v0.4.1 [INFO] [stderr] Downloaded serde v1.0.71 [INFO] [stderr] Downloaded tokio-threadpool v0.1.5 [INFO] [stderr] Downloaded tokio-timer v0.2.5 [INFO] [stderr] Downloaded tungstenite v0.6.0 [INFO] [stderr] Downloaded ryu v0.2.3 [INFO] [stderr] Downloaded hyper v0.12.8 [INFO] [stderr] Downloaded serde_regex v0.3.1 [INFO] [stderr] Downloaded itoa v0.4.2 [INFO] [stderr] Downloaded arrayvec v0.4.7 [INFO] [stderr] Downloaded tokio-reactor v0.1.3 [INFO] [stderr] Downloaded openssl v0.10.11 [INFO] [stderr] Downloaded tokio-executor v0.1.3 [INFO] [stderr] Downloaded byteorder v1.2.4 [INFO] [stderr] Downloaded bytes v0.4.9 [INFO] [stderr] Downloaded tokio-udp v0.1.1 [INFO] [stderr] Downloaded pkg-config v0.3.13 [INFO] [stderr] Downloaded url v1.7.1 [INFO] [stderr] Downloaded indexmap v1.0.1 [INFO] [stderr] Downloaded time v0.1.40 [INFO] [stderr] Downloaded syn v0.14.8 [INFO] [stderr] Downloaded proc-macro2 v0.4.12 [INFO] [stderr] Downloaded serde_derive v1.0.71 [INFO] [stderr] Downloaded tokio v0.1.7 [INFO] [stderr] Downloaded crossbeam-deque v0.3.1 [INFO] [stderr] Downloaded nodrop v0.1.12 [INFO] [stderr] Downloaded crossbeam-epoch v0.4.3 [INFO] [stderr] Downloaded http v0.1.10 [INFO] [stderr] Downloaded digest v0.7.5 [INFO] [stderr] Downloaded cfg-if v0.1.5 [INFO] [stderr] Downloaded futures v0.1.23 [INFO] [stderr] Downloaded httparse v1.3.2 [INFO] [stderr] Downloaded vcpkg v0.2.4 [INFO] [stderr] Downloaded base64 v0.9.2 [INFO] [stderr] Downloaded openssl-sys v0.9.35 [INFO] [stderr] Downloaded version_check v0.1.4 [INFO] [stderr] Downloaded generic-array v0.9.0 [INFO] [stderr] Downloaded rlua v0.16.2 [INFO] [stderr] Downloaded regex-syntax v0.6.3 [INFO] [stderr] Downloaded security-framework v0.2.1 [INFO] [stderr] Downloaded core-foundation v0.5.1 [INFO] [stderr] Downloaded security-framework-sys v0.2.1 [INFO] [stderr] Downloaded rand_core v0.2.1 [INFO] [stderr] Downloaded byte-tools v0.2.0 [INFO] [stderr] Downloaded sha-1 v0.7.0 [INFO] [stderr] Downloaded utf-8 v0.7.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 08e7920cfe8b6fbb24dffdcf7cb9498a82c3b93b51b41cdaf58d319efc2c8963 [INFO] running `Command { std: "docker" "start" "-a" "08e7920cfe8b6fbb24dffdcf7cb9498a82c3b93b51b41cdaf58d319efc2c8963", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "08e7920cfe8b6fbb24dffdcf7cb9498a82c3b93b51b41cdaf58d319efc2c8963", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "08e7920cfe8b6fbb24dffdcf7cb9498a82c3b93b51b41cdaf58d319efc2c8963", kill_on_drop: false }` [INFO] [stdout] 08e7920cfe8b6fbb24dffdcf7cb9498a82c3b93b51b41cdaf58d319efc2c8963 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa5d00615afd91c598b84856ed9a5ec86fa5b00666c625e5161246d3f758394f [INFO] running `Command { std: "docker" "start" "-a" "aa5d00615afd91c598b84856ed9a5ec86fa5b00666c625e5161246d3f758394f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling byteorder v1.2.4 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Compiling pkg-config v0.3.13 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling lazycell v0.6.0 [INFO] [stderr] Compiling typenum v1.10.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling proc-macro2 v0.4.12 [INFO] [stderr] Compiling openssl v0.10.11 [INFO] [stderr] Compiling native-tls v0.2.1 [INFO] [stderr] Compiling serde v1.0.71 [INFO] [stderr] Compiling indexmap v1.0.1 [INFO] [stderr] Compiling string v0.1.1 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling ryu v0.2.3 [INFO] [stderr] Compiling regex v1.0.6 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling safemem v0.2.0 [INFO] [stderr] Compiling utf-8 v0.7.4 [INFO] [stderr] Compiling log v0.4.3 [INFO] [stderr] Compiling tokio-executor v0.1.3 [INFO] [stderr] Compiling crossbeam-utils v0.3.2 [INFO] [stderr] Compiling memchr v2.1.1 [INFO] [stderr] Compiling block-buffer v0.3.3 [INFO] [stderr] Compiling regex-syntax v0.6.3 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling base64 v0.9.2 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling tokio-timer v0.2.5 [INFO] [stderr] Compiling crossbeam-epoch v0.4.3 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling rand v0.4.2 [INFO] [stderr] Compiling time v0.1.40 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling url v1.7.1 [INFO] [stderr] Compiling bytes v0.4.9 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling quote v0.6.6 [INFO] [stderr] Compiling crossbeam-deque v0.3.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling syn v0.14.8 [INFO] [stderr] Compiling mio v0.6.15 [INFO] [stderr] Compiling tokio-io v0.1.7 [INFO] [stderr] Compiling http v0.1.10 [INFO] [stderr] Compiling input_buffer v0.2.0 [INFO] [stderr] Compiling openssl-sys v0.9.35 [INFO] [stderr] Compiling rlua v0.16.2 [INFO] [stderr] Compiling tokio-codec v0.1.0 [INFO] [stderr] Compiling tokio-threadpool v0.1.5 [INFO] [stderr] Compiling generic-array v0.9.0 [INFO] [stderr] Compiling tokio-reactor v0.1.3 [INFO] [stderr] Compiling digest v0.7.5 [INFO] [stderr] Compiling sha-1 v0.7.0 [INFO] [stderr] Compiling tokio-udp v0.1.1 [INFO] [stderr] Compiling tokio-tcp v0.1.1 [INFO] [stderr] Compiling h2 v0.1.12 [INFO] [stderr] Compiling tokio-fs v0.1.3 [INFO] [stderr] Compiling tokio v0.1.7 [INFO] [stderr] Compiling serde_derive v1.0.71 [INFO] [stderr] Compiling serde_json v1.0.26 [INFO] [stderr] Compiling serde_regex v0.3.1 [INFO] [stderr] Compiling hyper v0.12.8 [INFO] [stderr] Compiling tungstenite v0.6.0 [INFO] [stderr] Compiling hyper-tls v0.3.0 [INFO] [stderr] Compiling 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" or "src/conf/mod.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[E0277]: the `?` operator can only be used on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/slack/command.rs:11:23 [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] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 17 | | } [INFO] [stdout] 18 | | } [INFO] [stdout] | |_- this function returns a `Result` [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 on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/slack/command.rs:29:34 [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] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function returns a `Result` [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 on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/slack/command.rs:38:20 [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] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function returns a `Result` [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 on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/slack/command.rs:39:23 [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] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function returns a `Result` [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 on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/slack/command.rs:41:32 [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] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function returns a `Result` [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 on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/slack/command.rs:50:22 [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] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function returns a `Result` [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 on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/slack/command.rs:52:38 [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] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function returns a `Result` [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 on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/slack/command.rs:52:73 [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] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function returns a `Result` [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 on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/slack/command.rs:53:29 [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] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function returns a `Result` [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 on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/slack/command.rs:53:69 [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] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function returns a `Result` [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 on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/slack/command.rs:57: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] 57 | | let name: String = (***args.get(2)?).to_owned(); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function returns a `Result` [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 on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/slack/command.rs:59:48 [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] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function returns a `Result` [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 on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/slack/command.rs:60:46 [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] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function returns a `Result` [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 on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/slack/command.rs:61: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] 61 | | let criterion_value: String = (***args.get(6)?).to_owned(); [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function returns a `Result` [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 on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/slack/command.rs:88:24 [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] 88 | | .get(8)? [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function returns a `Result` [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 on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/slack/command.rs:104:44 [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] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function returns a `Result` [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 on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/slack/command.rs:129:60 [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] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function returns a `Result` [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 on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/slack/command.rs:135: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] 135 | | tx.send(Event::InternalRemoveRule((***args.get(2)?).to_owned())) [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function returns a `Result` [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 on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/slack/command.rs:141:64 [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] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function returns a `Result` [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 on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/slack/command.rs:147:63 [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] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function returns a `Result` [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 on `Result`s, not `Option`s, in a function that returns `Result` [INFO] [stdout] --> src/slack/command.rs:163:24 [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] 163 | | .get(1)? [INFO] [stdout] | | ^ use `.ok_or(...)?` to provide an error compatible with `Result, command::ParseError>` [INFO] [stdout] ... | [INFO] [stdout] 178 | | } [INFO] [stdout] 179 | | } [INFO] [stdout] | |_- this function returns a `Result` [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] running `Command { std: "docker" "inspect" "aa5d00615afd91c598b84856ed9a5ec86fa5b00666c625e5161246d3f758394f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa5d00615afd91c598b84856ed9a5ec86fa5b00666c625e5161246d3f758394f", kill_on_drop: false }` [INFO] [stdout] aa5d00615afd91c598b84856ed9a5ec86fa5b00666c625e5161246d3f758394f