[INFO] updating cached repository https://github.com/wurstmineberg/slackminebot
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/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.40.0 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwurstmineberg%2Fslackminebot" "/workspace/builds/worker-4/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/wurstmineberg/slackminebot on toolchain 1.40.0
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.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 /workspace/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 `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /workspace/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 `"/workspace/cargo-home/bin/cargo" "+1.40.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+1.40.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=0" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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.40.0" "build" "--frozen"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 9c7032900814f72ff04b7d8310bf0e8922df157a746646018d1b61a7890296bd
[INFO] running `"docker" "start" "-a" "9c7032900814f72ff04b7d8310bf0e8922df157a746646018d1b61a7890296bd"`
[INFO] [stderr]    Compiling smallvec v1.1.0
[INFO] [stderr]    Compiling typenum v1.11.2
[INFO] [stderr]    Compiling regex-syntax v0.6.12
[INFO] [stderr]    Compiling byte-tools v0.3.1
[INFO] [stderr]    Compiling encoding_rs v0.8.22
[INFO] [stderr]    Compiling fake-simd v0.1.2
[INFO] [stderr]    Compiling opaque-debug v0.2.3
[INFO] [stderr]    Compiling utf-8 v0.7.5
[INFO] [stderr]    Compiling rand v0.5.6
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling input_buffer v0.2.0
[INFO] [stderr]    Compiling serde v1.0.104
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling unicode-normalization v0.1.11
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling generic-array v0.12.3
[INFO] [stderr]    Compiling uuid v0.7.4
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling url v2.1.0
[INFO] [stderr]    Compiling sha-1 v0.8.1
[INFO] [stderr]    Compiling regex v1.3.1
[INFO] [stderr]    Compiling cookie v0.12.0
[INFO] [stderr]    Compiling tungstenite v0.6.1
[INFO] [stderr]    Compiling publicsuffix v1.5.4
[INFO] [stderr]    Compiling serde_json v1.0.44
[INFO] [stderr]    Compiling serde_urlencoded v0.5.5
[INFO] [stderr]    Compiling cookie_store v0.7.0
[INFO] [stderr]    Compiling reqwest v0.9.24
[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] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/logtail.rs:31:44
[INFO] [stderr]    |
[INFO] [stderr] 31 |                 let mut f = BufReader::new(try!(File::open(self.path)));
[INFO] [stderr]    |                                            ^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/logtail.rs:32:28
[INFO] [stderr]    |
[INFO] [stderr] 32 |                 self.pos = try!(f.seek(SeekFrom::End(0)));
[INFO] [stderr]    |                            ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/logtail.rs:35:32
[INFO] [stderr]    |
[INFO] [stderr] 35 |                     self.pos = try!(f.seek(SeekFrom::Current(-1)));
[INFO] [stderr]    |                                ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/logtail.rs:37:21
[INFO] [stderr]    |
[INFO] [stderr] 37 |                     try!(f.read_exact(&mut buf));
[INFO] [stderr]    |                     ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/logtail.rs:41:36
[INFO] [stderr]    |
[INFO] [stderr] 41 |                         self.pos = try!(f.seek(SeekFrom::Current(-1)));
[INFO] [stderr]    |                                    ^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stderr]   --> src/logtail.rs:50:29
[INFO] [stderr]    |
[INFO] [stderr] 50 |                 self.pos += try!(f.read_line(&mut buf)) as u64;
[INFO] [stderr]    |                             ^^^
[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]    |                             ^^^^^^^^^^^^ method not found in `&mut slack::RtmClient`
[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<slack::Message>`
[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<slack::Message>`
[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]    |                                   ^^^^^^^^^^^^ method not found in `&mut slack::RtmClient`
[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]    |                                   ^^^^^^^^^^^^ method not found in `&mut slack::RtmClient`
[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" "9c7032900814f72ff04b7d8310bf0e8922df157a746646018d1b61a7890296bd"`
[INFO] running `"docker" "rm" "-f" "9c7032900814f72ff04b7d8310bf0e8922df157a746646018d1b61a7890296bd"`
[INFO] [stdout] 9c7032900814f72ff04b7d8310bf0e8922df157a746646018d1b61a7890296bd
