[INFO] cloning repository https://github.com/wurstmineberg/slackminebot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/wurstmineberg/slackminebot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwurstmineberg%2Fslackminebot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwurstmineberg%2Fslackminebot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 67bf339ae212fe979a100ca002711a2cacd60d8e
[INFO] checking wurstmineberg/slackminebot against beta-2020-07-24 for pr-75494-beta
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwurstmineberg%2Fslackminebot" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/wurstmineberg/slackminebot on toolchain beta-2020-07-24
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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-6/source/Cargo.toml
[INFO] crate git repo https://github.com/wurstmineberg/slackminebot already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "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] 448a18ed3c4171ebcb40648ebd08e7c49b90603f21bf69a78a950fd42a2d46f0
[INFO] running `Command { std: "docker" "start" "-a" "448a18ed3c4171ebcb40648ebd08e7c49b90603f21bf69a78a950fd42a2d46f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "448a18ed3c4171ebcb40648ebd08e7c49b90603f21bf69a78a950fd42a2d46f0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "448a18ed3c4171ebcb40648ebd08e7c49b90603f21bf69a78a950fd42a2d46f0", kill_on_drop: false }`
[INFO] [stdout] 448a18ed3c4171ebcb40648ebd08e7c49b90603f21bf69a78a950fd42a2d46f0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e9ad264a65745451d87ad7dd760793f49237ec2fecebdc239a09a761221805ba
[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" "e9ad264a65745451d87ad7dd760793f49237ec2fecebdc239a09a761221805ba", kill_on_drop: false }`
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]    Compiling syn v1.0.39
[INFO] [stderr]     Checking futures-core v0.3.5
[INFO] [stderr]    Compiling pin-project-internal v0.4.23
[INFO] [stderr]    Compiling byteorder v1.3.4
[INFO] [stderr]     Checking slab v0.4.2
[INFO] [stderr]     Checking pin-project-lite v0.1.7
[INFO] [stderr]     Checking tinyvec v0.3.4
[INFO] [stderr]    Compiling serde v1.0.115
[INFO] [stderr]     Checking once_cell v1.4.1
[INFO] [stderr]     Checking futures-sink v0.3.5
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking try-lock v0.2.3
[INFO] [stderr]     Checking byte-tools v0.3.1
[INFO] [stderr]    Compiling encoding_rs v0.8.23
[INFO] [stderr]     Checking ppv-lite86 v0.2.9
[INFO] [stderr]     Checking dtoa v0.4.6
[INFO] [stderr]     Checking fake-simd v0.1.2
[INFO] [stderr]     Checking ipnet v2.3.0
[INFO] [stderr]     Checking opaque-debug v0.2.3
[INFO] [stderr]     Checking base64 v0.12.3
[INFO] [stderr]     Checking utf-8 v0.7.5
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]     Checking tracing-core v0.1.15
[INFO] [stderr]     Checking block-padding v0.1.5
[INFO] [stderr]     Checking futures-channel v0.3.5
[INFO] [stderr]     Checking futures-task v0.3.5
[INFO] [stderr]     Checking http-body v0.3.1
[INFO] [stderr]     Checking crc32fast v1.2.0
[INFO] [stderr]     Checking iovec v0.1.4
[INFO] [stderr]     Checking net2 v0.2.34
[INFO] [stderr]     Checking num_cpus v1.13.0
[INFO] [stderr]     Checking getrandom v0.1.14
[INFO] [stderr]     Checking socket2 v0.3.12
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking unicode-normalization v0.1.13
[INFO] [stderr]     Checking digest v0.8.1
[INFO] [stderr]     Checking flate2 v1.0.17
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]    Compiling hashbrown v0.8.2
[INFO] [stderr]    Compiling openssl-sys v0.9.58
[INFO] [stderr]    Compiling indexmap v1.5.1
[INFO] [stderr]     Checking mio v0.6.22
[INFO] [stderr]     Checking want v0.3.0
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]     Checking tracing v0.1.19
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking bytes v0.4.12
[INFO] [stderr]     Checking block-buffer v0.7.3
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]     Checking sha-1 v0.8.2
[INFO] [stderr]     Checking async-compression v0.3.5
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking idna v0.2.0
[INFO] [stderr]     Checking http v0.1.21
[INFO] [stderr]     Checking input_buffer v0.2.0
[INFO] [stderr]     Checking tokio v0.2.22
[INFO] [stderr]    Compiling openssl v0.10.30
[INFO] [stderr]    Compiling native-tls v0.2.4
[INFO] [stderr]     Checking url v2.1.1
[INFO] [stderr]     Checking tungstenite v0.9.2
[INFO] [stderr]     Checking tokio-util v0.3.1
[INFO] [stderr]     Checking serde_urlencoded v0.6.1
[INFO] [stderr]     Checking serde_json v1.0.57
[INFO] [stderr]    Compiling serde_derive v1.0.115
[INFO] [stderr]     Checking pin-project v0.4.23
[INFO] [stderr]     Checking futures-util v0.3.5
[INFO] [stderr]     Checking h2 v0.2.6
[INFO] [stderr]     Checking hyper v0.13.7
[INFO] [stderr]     Checking reqwest v0.10.7
[INFO] [stderr]     Checking slack_api v0.23.1
[INFO] [stderr]     Checking slack v0.24.0
[INFO] [stderr]     Checking slackminebot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0407]: method `on_ping` is not a member of trait `slack::EventHandler`
[INFO] [stdout]   --> src/main.rs:66:5
[INFO] [stdout]    |
[INFO] [stdout] 66 |     fn on_ping(&mut self, _: &mut slack::RtmClient) {}
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not a member of trait `slack::EventHandler`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stdout]   --> src/logtail.rs:31:44
[INFO] [stdout]    |
[INFO] [stdout] 31 |                 let mut f = BufReader::new(try!(File::open(self.path)));
[INFO] [stdout]    |                                            ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stdout]   --> src/logtail.rs:32:28
[INFO] [stdout]    |
[INFO] [stdout] 32 |                 self.pos = try!(f.seek(SeekFrom::End(0)));
[INFO] [stdout]    |                            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stdout]   --> src/logtail.rs:35:32
[INFO] [stdout]    |
[INFO] [stdout] 35 |                     self.pos = try!(f.seek(SeekFrom::Current(-1)));
[INFO] [stdout]    |                                ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stdout]   --> src/logtail.rs:37:21
[INFO] [stdout]    |
[INFO] [stdout] 37 |                     try!(f.read_exact(&mut buf));
[INFO] [stdout]    |                     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stdout]   --> src/logtail.rs:41:36
[INFO] [stdout]    |
[INFO] [stdout] 41 |                         self.pos = try!(f.seek(SeekFrom::Current(-1)));
[INFO] [stdout]    |                                    ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated item 'try': use the `?` operator instead
[INFO] [stdout]   --> src/logtail.rs:50:29
[INFO] [stdout]    |
[INFO] [stdout] 50 |                 self.pos += try!(f.read_line(&mut buf)) as u64;
[INFO] [stdout]    |                             ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0050]: method `on_event` has 4 parameters but the declaration in trait `slack::EventHandler::on_event` has 3
[INFO] [stdout]   --> src/main.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 |     fn on_event(&mut self, cli: &mut slack::RtmClient, event_result: Result<&slack::Event, slack::Error>, raw_json: &str) {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected 3 parameters, found 4
[INFO] [stdout]    |
[INFO] [stdout]    = note: `on_event` from trait: `fn(&mut Self, &slack::RtmClient, slack::Event)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0053]: method `on_close` has an incompatible type for trait
[INFO] [stdout]   --> src/main.rs:68:5
[INFO] [stdout]    |
[INFO] [stdout] 68 |     fn on_close(&mut self, _: &mut slack::RtmClient) {}
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ in mutability
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected fn pointer `fn(&mut SlackHandler, &slack::RtmClient)`
[INFO] [stdout]               found fn pointer `fn(&mut SlackHandler, &mut slack::RtmClient)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0053]: method `on_connect` has an incompatible type for trait
[INFO] [stdout]   --> src/main.rs:70:5
[INFO] [stdout]    |
[INFO] [stdout] 70 |     fn on_connect(&mut self, _: &mut slack::RtmClient) {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ types differ in mutability
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected fn pointer `fn(&mut SlackHandler, &slack::RtmClient)`
[INFO] [stdout]               found fn pointer `fn(&mut SlackHandler, &mut slack::RtmClient)`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0026]: variant `slack::Event::MessageSent` does not have fields named `reply_to`, `ts`, `text`
[INFO] [stdout]   --> src/main.rs:57:41
[INFO] [stdout]    |
[INFO] [stdout] 57 |             slack::Event::MessageSent { reply_to: _, ts: _, text: _ } => {
[INFO] [stdout]    |                                         ^^^^^^^^     ^^     ^^^^ variant `slack::Event::MessageSent` does not have these fields
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0027]: pattern does not mention field `0`
[INFO] [stdout]   --> src/main.rs:57:13
[INFO] [stdout]    |
[INFO] [stdout] 57 |             slack::Event::MessageSent { reply_to: _, ts: _, text: _ } => {
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing field `0`
[INFO] [stdout]    |
[INFO] [stdout]    = note: trying to match a tuple variant with a struct variant pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `send_message` found for mutable reference `&mut slack::RtmClient` in the current scope
[INFO] [stdout]   --> src/main.rs:40:29
[INFO] [stdout]    |
[INFO] [stdout] 40 |                 let _ = cli.send_message("#wurstminebot-test", "I'm back!");
[INFO] [stdout]    |                             ^^^^^^^^^^^^ method not found in `&mut slack::RtmClient`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:44:21
[INFO] [stdout]    |
[INFO] [stdout] 43 | ...atch *message {
[INFO] [stdout]    |         --------
[INFO] [stdout]    |         |
[INFO] [stdout]    |         this expression has type `std::boxed::Box<slack::Message>`
[INFO] [stdout]    |         help: consider dereferencing the boxed value: `**message`
[INFO] [stdout] 44 | ...   slack::Message::Standard { ts: _, channel: _, user: _, ref text, is_starred: _, pinned_to: _, reactions: _, edited: _, attachments: _ } =...
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::boxed::Box`, found enum `slack::Message`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected struct `std::boxed::Box<slack::Message>`
[INFO] [stdout]                 found enum `slack::Message`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0026]: variant `slack::Message::Standard` does not have fields named `ts`, `channel`, `user`, `text`, `is_starred`, `pinned_to`, `reactions`, `edited`, `attachments`
[INFO] [stdout]   --> src/main.rs:44:48
[INFO] [stdout]    |
[INFO] [stdout] 44 | ...::Standard { ts: _, channel: _, user: _, ref text, is_starred: _, pinned_to: _, reactions: _, edited: _, attachments: _ } => {
[INFO] [stdout]    |                 ^^     ^^^^^^^     ^^^^         ^^^^  ^^^^^^^^^^     ^^^^^^^^^     ^^^^^^^^^     ^^^^^^     ^^^^^^^^^^^ variant `slack::Message::Standard` does not have these fields
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0027]: pattern does not mention field `0`
[INFO] [stdout]   --> src/main.rs:44:21
[INFO] [stdout]    |
[INFO] [stdout] 44 | ...   slack::Message::Standard { ts: _, channel: _, user: _, ref text, is_starred: _, pinned_to: _, reactions: _, edited: _, attachments: _ } =...
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing field `0`
[INFO] [stdout]    |
[INFO] [stdout]    = note: trying to match a tuple variant with a struct variant pattern
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `send_message` found for mutable reference `&mut slack::RtmClient` in the current scope
[INFO] [stdout]   --> src/main.rs:47:45
[INFO] [stdout]    |
[INFO] [stdout] 47 | ...                   let _ = cli.send_message("#wurstminebot-test", "got test msg");
[INFO] [stdout]    |                                   ^^^^^^^^^^^^ method not found in `&mut slack::RtmClient`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `send_message` found for mutable reference `&mut slack::RtmClient` in the current scope
[INFO] [stdout]   --> src/main.rs:49:45
[INFO] [stdout]    |
[INFO] [stdout] 49 | ...                   let _ = cli.send_message("#wurstminebot-test", "bye");
[INFO] [stdout]    |                                   ^^^^^^^^^^^^ method not found in `&mut slack::RtmClient`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `slack::RtmClient` in the current scope
[INFO] [stdout]   --> src/main.rs:83:37
[INFO] [stdout]    |
[INFO] [stdout] 83 |     let mut cli = slack::RtmClient::new(&api_key);
[INFO] [stdout]    |                                     ^^^ function or associated item not found in `slack::RtmClient`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 13 previous errors; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0026, E0027, E0050, E0053, E0308, E0407, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0026`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `slackminebot`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "e9ad264a65745451d87ad7dd760793f49237ec2fecebdc239a09a761221805ba", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9ad264a65745451d87ad7dd760793f49237ec2fecebdc239a09a761221805ba", kill_on_drop: false }`
[INFO] [stdout] e9ad264a65745451d87ad7dd760793f49237ec2fecebdc239a09a761221805ba
