[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 beta-2019-12-18 for beta-1.41-1
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwurstmineberg%2Fslackminebot" "/workspace/builds/worker-12/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/wurstmineberg/slackminebot on toolchain beta-2019-12-18
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "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-12/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" "+beta-2019-12-18" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /workspace/builds/worker-12/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" "+beta-2019-12-18" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2019-12-18" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "+beta-2019-12-18" "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] 44e13c815ec1b4ad2684c9648cd07aa5e7bc50fbb85b02f476f77e2d24af669f
[INFO] running `"docker" "start" "-a" "44e13c815ec1b4ad2684c9648cd07aa5e7bc50fbb85b02f476f77e2d24af669f"`
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling autocfg v0.1.7
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling futures v0.1.29
[INFO] [stderr]    Compiling either v1.5.3
[INFO] [stderr]    Compiling proc-macro2 v1.0.6
[INFO] [stderr]    Compiling unicode-xid v0.2.0
[INFO] [stderr]    Compiling syn v1.0.11
[INFO] [stderr]    Compiling smallvec v1.1.0
[INFO] [stderr]    Compiling scopeguard v1.0.0
[INFO] [stderr]    Compiling itoa v0.4.4
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling serde v1.0.104
[INFO] [stderr]    Compiling ryu v1.0.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 mime v0.3.14
[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_core v0.3.1
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling error-chain v0.12.1
[INFO] [stderr]    Compiling block-padding v0.1.5
[INFO] [stderr]    Compiling lock_api v0.3.2
[INFO] [stderr]    Compiling crossbeam-utils v0.6.6
[INFO] [stderr]    Compiling try_from v0.3.2
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.11
[INFO] [stderr]    Compiling iovec v0.1.4
[INFO] [stderr]    Compiling net2 v0.2.33
[INFO] [stderr]    Compiling rand v0.5.6
[INFO] [stderr]    Compiling parking_lot_core v0.6.2
[INFO] [stderr]    Compiling memoffset v0.5.3
[INFO] [stderr]    Compiling parking_lot v0.9.0
[INFO] [stderr]    Compiling hyper v0.12.35
[INFO] [stderr]    Compiling generic-array v0.12.3
[INFO] [stderr]    Compiling flate2 v1.0.13
[INFO] [stderr]    Compiling bytes v0.4.12
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling backtrace v0.3.40
[INFO] [stderr]    Compiling crossbeam-queue v0.1.2
[INFO] [stderr]    Compiling crossbeam-utils v0.7.0
[INFO] [stderr]    Compiling openssl-sys v0.9.53
[INFO] [stderr]    Compiling crossbeam-epoch v0.8.0
[INFO] [stderr]    Compiling indexmap v1.3.0
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling mio v0.6.21
[INFO] [stderr]    Compiling http v0.1.21
[INFO] [stderr]    Compiling string v0.2.1
[INFO] [stderr]    Compiling input_buffer v0.2.0
[INFO] [stderr]    Compiling block-buffer v0.7.3
[INFO] [stderr]    Compiling digest v0.8.1
[INFO] [stderr]    Compiling mime_guess v2.0.1
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling idna v0.2.0
[INFO] [stderr]    Compiling quote v1.0.2
[INFO] [stderr]    Compiling sha-1 v0.8.1
[INFO] [stderr]    Compiling regex v1.3.1
[INFO] [stderr]    Compiling tokio-executor v0.1.9
[INFO] [stderr]    Compiling tokio-io v0.1.12
[INFO] [stderr]    Compiling tokio-sync v0.1.7
[INFO] [stderr]    Compiling tokio-buf v0.1.1
[INFO] [stderr]    Compiling want v0.2.0
[INFO] [stderr]    Compiling futures-cpupool v0.1.8
[INFO] [stderr]    Compiling url v2.1.0
[INFO] [stderr]    Compiling tokio-timer v0.2.12
[INFO] [stderr]    Compiling tokio-current-thread v0.1.6
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling openssl v0.10.26
[INFO] [stderr]    Compiling native-tls v0.2.3
[INFO] [stderr]    Compiling tokio-reactor v0.1.11
[INFO] [stderr]    Compiling crossbeam-deque v0.7.2
[INFO] [stderr]    Compiling tokio-threadpool v0.1.17
[INFO] [stderr]    Compiling tokio-tcp v0.1.3
[INFO] [stderr]    Compiling publicsuffix v1.5.4
[INFO] [stderr]    Compiling cookie v0.12.0
[INFO] [stderr]    Compiling uuid v0.7.4
[INFO] [stderr]    Compiling tokio v0.1.22
[INFO] [stderr]    Compiling h2 v0.1.26
[INFO] [stderr]    Compiling http-body v0.1.0
[INFO] [stderr]    Compiling synstructure v0.12.3
[INFO] [stderr]    Compiling tungstenite v0.6.1
[INFO] [stderr]    Compiling serde_derive v1.0.104
[INFO] [stderr]    Compiling failure_derive v0.1.6
[INFO] [stderr]    Compiling failure v0.1.6
[INFO] [stderr]    Compiling hyper-tls v0.3.2
[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 fn pointer `fn(&mut SlackHandler, &slack::RtmClient)`
[INFO] [stderr]               found fn pointer `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 fn pointer `fn(&mut SlackHandler, &slack::RtmClient)`
[INFO] [stderr]               found fn pointer `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 struct `std::boxed::Box<slack::Message>`
[INFO] [stderr]                 found enum `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" "44e13c815ec1b4ad2684c9648cd07aa5e7bc50fbb85b02f476f77e2d24af669f"`
[INFO] running `"docker" "rm" "-f" "44e13c815ec1b4ad2684c9648cd07aa5e7bc50fbb85b02f476f77e2d24af669f"`
[INFO] [stdout] 44e13c815ec1b4ad2684c9648cd07aa5e7bc50fbb85b02f476f77e2d24af669f
