[INFO] updating cached repository wurstmineberg/slackminebot [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/wurstmineberg/slackminebot [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/wurstmineberg/slackminebot" "work/ex/beta-1.38-1/sources/1.37.0/gh/wurstmineberg/slackminebot"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/wurstmineberg/slackminebot'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/wurstmineberg/slackminebot" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/wurstmineberg/slackminebot"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/wurstmineberg/slackminebot'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 67bf339ae212fe979a100ca002711a2cacd60d8e [INFO] sha for GitHub repo wurstmineberg/slackminebot: 67bf339ae212fe979a100ca002711a2cacd60d8e [INFO] validating manifest of wurstmineberg/slackminebot on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of wurstmineberg/slackminebot on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing wurstmineberg/slackminebot [INFO] finished frobbing wurstmineberg/slackminebot [INFO] frobbed toml for wurstmineberg/slackminebot written to work/ex/beta-1.38-1/sources/1.37.0/gh/wurstmineberg/slackminebot/Cargo.toml [INFO] started frobbing wurstmineberg/slackminebot [INFO] finished frobbing wurstmineberg/slackminebot [INFO] frobbed toml for wurstmineberg/slackminebot written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/wurstmineberg/slackminebot/Cargo.toml [INFO] crate wurstmineberg/slackminebot already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] error: the lock file /mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/wurstmineberg/slackminebot/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] the lockfile is outdated, regenerating it [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing wurstmineberg/slackminebot against beta-2019-08-13 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-1/beta-2019-08-13:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/wurstmineberg/slackminebot:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+beta-2019-08-13" "build" "--frozen"` [INFO] [stdout] a4384913238046c61ce3983ec46ab6f8790cb19c630e1ac53797f7492becc3bb [INFO] running `"docker" "start" "-a" "a4384913238046c61ce3983ec46ab6f8790cb19c630e1ac53797f7492becc3bb"` [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling openssl v0.10.24 [INFO] [stderr] Compiling serde v1.0.99 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling miniz_oxide v0.3.2 [INFO] [stderr] Compiling hyper v0.12.33 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling block-padding v0.1.4 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling publicsuffix v1.5.2 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling http v0.1.18 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling input_buffer v0.2.0 [INFO] [stderr] Compiling flate2 v1.0.11 [INFO] [stderr] Compiling sha-1 v0.8.1 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling tungstenite v0.6.1 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.40 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling reqwest v0.9.19 [INFO] [stderr] Compiling slack_api v0.21.0 [INFO] [stderr] Compiling slack v0.22.0 [INFO] [stderr] Compiling slackminebot v0.1.0 (/opt/crater/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" "a4384913238046c61ce3983ec46ab6f8790cb19c630e1ac53797f7492becc3bb"` [INFO] running `"docker" "rm" "-f" "a4384913238046c61ce3983ec46ab6f8790cb19c630e1ac53797f7492becc3bb"` [INFO] [stdout] a4384913238046c61ce3983ec46ab6f8790cb19c630e1ac53797f7492becc3bb