[INFO] updating cached repository https://github.com/wurstmineberg/slackminebot [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 67bf339ae212fe979a100ca002711a2cacd60d8e [INFO] testing wurstmineberg/slackminebot against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwurstmineberg%2Fslackminebot" "work/builds/worker-4/source"` [INFO] [stderr] Cloning into 'work/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/wurstmineberg/slackminebot on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/wurstmineberg/slackminebot [INFO] finished tweaking git repo https://github.com/wurstmineberg/slackminebot [INFO] tweaked toml for git repo https://github.com/wurstmineberg/slackminebot written to work/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/wurstmineberg/slackminebot already has a lockfile, it will not be regenerated [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /big/crater/work/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 91794ed9099b05d8dc3e209172f24886f9a9970e92c9fd141b6f5f043f9da011 [INFO] running `"docker" "start" "-a" "91794ed9099b05d8dc3e209172f24886f9a9970e92c9fd141b6f5f043f9da011"` [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling serde v1.0.101 [INFO] [stderr] Compiling openssl v0.10.25 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling indexmap v1.2.0 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling encoding_rs v0.8.20 [INFO] [stderr] Compiling adler32 v1.0.4 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling utf-8 v0.7.5 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling openssl-sys v0.9.50 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling block-padding v0.1.4 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling miniz_oxide v0.3.2 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling url v2.1.0 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling flate2 v1.0.12 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling http v0.1.18 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling input_buffer v0.2.0 [INFO] [stderr] Compiling publicsuffix v1.5.3 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling tokio-reactor v0.1.10 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling sha-1 v0.8.1 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tungstenite v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.41 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling reqwest v0.9.21 [INFO] [stderr] Compiling slack_api v0.21.0 [INFO] [stderr] Compiling slack v0.22.0 [INFO] [stderr] Compiling slackminebot v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] error[E0407]: method `on_ping` is not a member of trait `slack::EventHandler` [INFO] [stderr] --> src/main.rs:66:5 [INFO] [stderr] | [INFO] [stderr] 66 | fn on_ping(&mut self, _: &mut slack::RtmClient) {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `slack::EventHandler` [INFO] [stderr] [INFO] [stderr] error[E0050]: method `on_event` has 4 parameters but the declaration in trait `slack::EventHandler::on_event` has 3 [INFO] [stderr] --> src/main.rs:22:17 [INFO] [stderr] | [INFO] [stderr] 22 | fn on_event(&mut self, cli: &mut slack::RtmClient, event_result: Result<&slack::Event, slack::Error>, raw_json: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters, found 4 [INFO] [stderr] | [INFO] [stderr] = note: `on_event` from trait: `fn(&mut Self, &slack::RtmClient, slack::Event)` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `on_close` has an incompatible type for trait [INFO] [stderr] --> src/main.rs:68:5 [INFO] [stderr] | [INFO] [stderr] 68 | fn on_close(&mut self, _: &mut slack::RtmClient) {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(&mut SlackHandler, &slack::RtmClient)` [INFO] [stderr] found type `fn(&mut SlackHandler, &mut slack::RtmClient)` [INFO] [stderr] [INFO] [stderr] error[E0053]: method `on_connect` has an incompatible type for trait [INFO] [stderr] --> src/main.rs:70:5 [INFO] [stderr] | [INFO] [stderr] 70 | fn on_connect(&mut self, _: &mut slack::RtmClient) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ in mutability [INFO] [stderr] | [INFO] [stderr] = note: expected type `fn(&mut SlackHandler, &slack::RtmClient)` [INFO] [stderr] found type `fn(&mut SlackHandler, &mut slack::RtmClient)` [INFO] [stderr] [INFO] [stderr] error[E0026]: variant `slack::Event::MessageSent` does not have fields named `reply_to`, `ts`, `text` [INFO] [stderr] --> src/main.rs:57:41 [INFO] [stderr] | [INFO] [stderr] 57 | slack::Event::MessageSent { reply_to: _, ts: _, text: _ } => { [INFO] [stderr] | ^^^^^^^^ ^^ ^^^^ variant `slack::Event::MessageSent` does not have these fields [INFO] [stderr] [INFO] [stderr] error[E0027]: pattern does not mention field `0` [INFO] [stderr] --> src/main.rs:57:13 [INFO] [stderr] | [INFO] [stderr] 57 | slack::Event::MessageSent { reply_to: _, ts: _, text: _ } => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing field `0` [INFO] [stderr] | [INFO] [stderr] = note: trying to match a tuple variant with a struct variant pattern [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `send_message` found for type `&mut slack::RtmClient` in the current scope [INFO] [stderr] --> src/main.rs:40:29 [INFO] [stderr] | [INFO] [stderr] 40 | let _ = cli.send_message("#wurstminebot-test", "I'm back!"); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:44:21 [INFO] [stderr] | [INFO] [stderr] 43 | match *message { [INFO] [stderr] | -------- [INFO] [stderr] | | [INFO] [stderr] | this match expression has type `std::boxed::Box` [INFO] [stderr] | help: consider dereferencing the boxed value: `**message` [INFO] [stderr] 44 | slack::Message::Standard { ts: _, channel: _, user: _, ref text, is_starred: _, pinned_to: _, reactions: _, edited: _, attachments: _ } => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::boxed::Box`, found enum `slack::Message` [INFO] [stderr] | [INFO] [stderr] = note: expected type `std::boxed::Box` [INFO] [stderr] found type `slack::Message` [INFO] [stderr] [INFO] [stderr] error[E0026]: variant `slack::Message::Standard` does not have fields named `ts`, `channel`, `user`, `text`, `is_starred`, `pinned_to`, `reactions`, `edited`, `attachments` [INFO] [stderr] --> src/main.rs:44:48 [INFO] [stderr] | [INFO] [stderr] 44 | slack::Message::Standard { ts: _, channel: _, user: _, ref text, is_starred: _, pinned_to: _, reactions: _, edited: _, attachments: _ } => { [INFO] [stderr] | ^^ ^^^^^^^ ^^^^ ^^^^ ^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^ ^^^^^^ ^^^^^^^^^^^ variant `slack::Message::Standard` does not have these fields [INFO] [stderr] [INFO] [stderr] error[E0027]: pattern does not mention field `0` [INFO] [stderr] --> src/main.rs:44:21 [INFO] [stderr] | [INFO] [stderr] 44 | slack::Message::Standard { ts: _, channel: _, user: _, ref text, is_starred: _, pinned_to: _, reactions: _, edited: _, attachments: _ } => { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing field `0` [INFO] [stderr] | [INFO] [stderr] = note: trying to match a tuple variant with a struct variant pattern [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `send_message` found for type `&mut slack::RtmClient` in the current scope [INFO] [stderr] --> src/main.rs:47:45 [INFO] [stderr] | [INFO] [stderr] 47 | let _ = cli.send_message("#wurstminebot-test", "got test msg"); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no method named `send_message` found for type `&mut slack::RtmClient` in the current scope [INFO] [stderr] --> src/main.rs:49:45 [INFO] [stderr] | [INFO] [stderr] 49 | let _ = cli.send_message("#wurstminebot-test", "bye"); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0599]: no function or associated item named `new` found for type `slack::RtmClient` in the current scope [INFO] [stderr] --> src/main.rs:83:37 [INFO] [stderr] | [INFO] [stderr] 83 | let mut cli = slack::RtmClient::new(&api_key); [INFO] [stderr] | ^^^ function or associated item not found in `slack::RtmClient` [INFO] [stderr] [INFO] [stderr] error: aborting due to 13 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0026, E0027, E0050, E0053, E0308, E0407, E0599. [INFO] [stderr] For more information about an error, try `rustc --explain E0026`. [INFO] [stderr] error: Could not compile `slackminebot`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "91794ed9099b05d8dc3e209172f24886f9a9970e92c9fd141b6f5f043f9da011"` [INFO] running `"docker" "rm" "-f" "91794ed9099b05d8dc3e209172f24886f9a9970e92c9fd141b6f5f043f9da011"` [INFO] [stdout] 91794ed9099b05d8dc3e209172f24886f9a9970e92c9fd141b6f5f043f9da011