[INFO] updating cached repository https://github.com/frjonsen/IPBot
[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] cae06998087f95ad3b815ed2555f414817baa917
[INFO] checking frjonsen/IPBot against master#209b2be09fcaff937480d1fbbe8b31646e361c7a for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrjonsen%2FIPBot" "/workspace/builds/worker-14/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/frjonsen/IPBot on toolchain 209b2be09fcaff937480d1fbbe8b31646e361c7a
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "read-manifest" "--manifest-path" "Cargo.toml"`
[INFO] started tweaking git repo https://github.com/frjonsen/IPBot
[INFO] finished tweaking git repo https://github.com/frjonsen/IPBot
[INFO] tweaked toml for git repo https://github.com/frjonsen/IPBot written to /workspace/builds/worker-14/source/Cargo.toml
[INFO] crate git repo https://github.com/frjonsen/IPBot already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] [stderr] error: the lock file /workspace/builds/worker-14/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 `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"`
[INFO] [stderr]     Updating git repository `https://github.com/SpaceManiac/discord-rs`
[INFO] [stderr]     Updating git repository `https://github.com/dckc/rust-sqlite3`
[INFO] [stderr]     Updating git repository `https://github.com/ArtemGr/rust-websocket`
[INFO] running `"/workspace/cargo-home/bin/cargo" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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=forbid" "-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" "+209b2be09fcaff937480d1fbbe8b31646e361c7a" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 522e0ae7ed2243d80e3d2a7bd7fb3a009e47c9cb6bd4b4d662fc9f959f3670d9
[INFO] running `"docker" "start" "-a" "522e0ae7ed2243d80e3d2a7bd7fb3a009e47c9cb6bd4b4d662fc9f959f3670d9"`
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling log v0.4.8
[INFO] [stderr]    Compiling getrandom v0.1.14
[INFO] [stderr]    Compiling openssl v0.10.29
[INFO] [stderr]    Compiling httparse v1.3.4
[INFO] [stderr]    Compiling adler32 v1.0.4
[INFO] [stderr]    Compiling rle-decode-fast v1.0.1
[INFO] [stderr]    Compiling take_mut v0.2.2
[INFO] [stderr]     Checking safemem v0.3.3
[INFO] [stderr]    Compiling serde v1.0.106
[INFO] [stderr]     Checking ppv-lite86 v0.2.6
[INFO] [stderr]     Checking typeable v0.1.2
[INFO] [stderr]     Checking language-tags v0.2.2
[INFO] [stderr]    Compiling ryu v1.0.3
[INFO] [stderr]    Compiling native-tls v0.2.4
[INFO] [stderr]    Compiling syn v1.0.17
[INFO] [stderr]     Checking traitobject v0.1.0
[INFO] [stderr]     Checking remove_dir_all v0.5.2
[INFO] [stderr]     Checking antidote v1.0.0
[INFO] [stderr]     Checking itoa v0.4.5
[INFO] [stderr]     Checking utf8-ranges v0.1.3
[INFO] [stderr]     Checking regex-syntax v0.3.9
[INFO] [stderr]     Checking bitflags v0.1.1
[INFO] [stderr]     Checking base64-rs v0.1.1
[INFO] [stderr]    Compiling num-integer v0.1.42
[INFO] [stderr]     Checking unicode-normalization v0.1.12
[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 openssl-sys v0.9.55
[INFO] [stderr]    Compiling opus-sys v0.2.1
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling libc v0.2.68
[INFO] [stderr]    Compiling crc32fast v1.2.0
[INFO] [stderr]     Checking time v0.1.42
[INFO] [stderr]     Checking rand_os v0.1.3
[INFO] [stderr]     Checking memchr v0.1.11
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]     Checking base64 v0.9.3
[INFO] [stderr]     Checking flate2 v1.0.14
[INFO] [stderr]    Compiling libflate v0.1.27
[INFO] [stderr]     Checking aho-corasick v0.5.3
[INFO] [stderr]     Checking num-traits v0.1.43
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking thread-id v2.0.0
[INFO] [stderr]     Checking enum_primitive v0.1.1
[INFO] [stderr]     Checking log v0.3.9
[INFO] [stderr]    Compiling phf v0.7.24
[INFO] [stderr]     Checking thread_local v0.2.7
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking rust-sqlite v0.3.1 (https://github.com/dckc/rust-sqlite3#b0dc7d6c)
[INFO] [stderr]     Checking opus v0.2.1
[INFO] [stderr]    Compiling filetime v0.2.9
[INFO] [stderr]    Compiling xattr v0.2.2
[INFO] [stderr]     Checking regex v0.1.80
[INFO] [stderr]     Checking mime v0.2.6
[INFO] [stderr]    Compiling tar v0.4.26
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking idna v0.1.5
[INFO] [stderr]     Checking url v1.7.2
[INFO] [stderr]    Compiling libsodium-sys v0.2.5
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]     Checking tempfile v3.1.0
[INFO] [stderr]    Compiling phf_codegen v0.7.24
[INFO] [stderr]    Compiling mime_guess v1.8.8
[INFO] [stderr]     Checking hyper v0.10.16
[INFO] [stderr]    Compiling serde_derive v1.0.106
[INFO] [stderr]     Checking multipart v0.16.1
[INFO] [stderr]     Checking websocket v0.18.0 (https://github.com/ArtemGr/rust-websocket?branch=hyper-bump#b5965662)
[INFO] [stderr]     Checking hyper-native-tls v0.3.0
[INFO] [stderr]     Checking chrono v0.4.11
[INFO] [stderr]     Checking serde_json v1.0.51
[INFO] [stderr]     Checking sodiumoxide v0.2.5
[INFO] [stderr]     Checking discord v0.8.0 (https://github.com/SpaceManiac/discord-rs#767a930b)
[INFO] [stderr]     Checking ipbot v0.9.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/bot.rs:22:35
[INFO] [stderr]    |
[INFO] [stderr] 22 |     handlers: HashMap<String, Box<DiscordMessageHandler>>
[INFO] [stderr]    |                                   ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn DiscordMessageHandler`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bot.rs:43:9
[INFO] [stderr]    |
[INFO] [stderr] 43 | /         lazy_static! {
[INFO] [stderr] 44 | |             static ref KEYWORD: Regex = Regex::new(r"^!([:word:]+)").unwrap();
[INFO] [stderr] 45 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/messagehandler.rs:36:9
[INFO] [stderr]    |
[INFO] [stderr] 36 | /         lazy_static! {
[INFO] [stderr] 37 | |             static ref FIND: Regex = Regex::new(r"^!file(?:\s([[:word:]ÅÄÖåäö]+))?(?:\s([^\s]+))?$").unwrap();
[INFO] [stderr] 38 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stderr]   --> src/bot.rs:22:35
[INFO] [stderr]    |
[INFO] [stderr] 22 |     handlers: HashMap<String, Box<DiscordMessageHandler>>
[INFO] [stderr]    |                                   ^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn DiscordMessageHandler`
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/bot.rs:43:9
[INFO] [stderr]    |
[INFO] [stderr] 43 | /         lazy_static! {
[INFO] [stderr] 44 | |             static ref KEYWORD: Regex = Regex::new(r"^!([:word:]+)").unwrap();
[INFO] [stderr] 45 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(deprecated)]` on by default
[INFO] [stderr]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::sync::ONCE_INIT': the `new` function is now preferred
[INFO] [stderr]   --> src/messagehandler.rs:36:9
[INFO] [stderr]    |
[INFO] [stderr] 36 | /         lazy_static! {
[INFO] [stderr] 37 | |             static ref FIND: Regex = Regex::new(r"^!file(?:\s([[:word:]ÅÄÖåäö]+))?(?:\s([^\s]+))?$").unwrap();
[INFO] [stderr] 38 | |         }
[INFO] [stderr]    | |_________^
[INFO] [stderr]    |
[INFO] [stderr]    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
[INFO] [stderr]   --> src/bot.rs:29:34
[INFO] [stderr]    |
[INFO] [stderr] 29 |             Err(err) => return Err(err.description().to_string()),
[INFO] [stderr]    |                                        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
[INFO] [stderr]   --> src/bot.rs:37:27
[INFO] [stderr]    |
[INFO] [stderr] 37 |             Err(err) => Err(err.description().to_string()),
[INFO] [stderr]    |                                 ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
[INFO] [stderr]   --> src/bot.rs:29:34
[INFO] [stderr]    |
[INFO] [stderr] 29 |             Err(err) => return Err(err.description().to_string()),
[INFO] [stderr]    |                                        ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/bot.rs:102:48
[INFO] [stderr]     |
[INFO] [stderr] 102 |                     .and_then(|s| self.client.send_message(&message.channel_id, &s, "", false).ok());
[INFO] [stderr]     |                                                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |                                                            |
[INFO] [stderr]     |                                                            expected struct `bot::discord::model::ChannelId`, found `&bot::discord::model::ChannelId`
[INFO] [stderr]     |                                                            help: consider removing the borrow: `message.channel_id`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
[INFO] [stderr]   --> src/bot.rs:37:27
[INFO] [stderr]    |
[INFO] [stderr] 37 |             Err(err) => Err(err.description().to_string()),
[INFO] [stderr]    |                                 ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/bot.rs:102:48
[INFO] [stderr]     |
[INFO] [stderr] 102 |                     .and_then(|s| self.client.send_message(&message.channel_id, &s, "", false).ok());
[INFO] [stderr]     |                                                            ^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |                                                            |
[INFO] [stderr]     |                                                            expected struct `bot::discord::model::ChannelId`, found `&bot::discord::model::ChannelId`
[INFO] [stderr]     |                                                            help: consider removing the borrow: `message.channel_id`
[INFO] [stderr] 
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/bot.rs:106:91
[INFO] [stderr]     |
[INFO] [stderr] 106 |                     println!("Gateway closed on us with code {:?}: {}", code, String::from_utf8_lossy(&body));
[INFO] [stderr]     |                                                                                                       ^^^^^ expected slice `[u8]`, found struct `std::string::String`
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected reference `&[u8]`
[INFO] [stderr]                found reference `&std::string::String`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'bot::discord::Discord::logout': Accomplishes nothing and may fail for no reason.
[INFO] [stderr]    --> src/bot.rs:113:21
[INFO] [stderr]     |
[INFO] [stderr] 113 |         self.client.logout().expect("logout failed");
[INFO] [stderr]     |                     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
[INFO] [stderr]   --> src/database.rs:47:33
[INFO] [stderr]    |
[INFO] [stderr] 47 |             Err(err) => Err(err.description().to_string())
[INFO] [stderr]    |                                 ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 2 previous errors
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0308`.
[INFO] [stderr] error: could not compile `ipbot`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error[E0308]: mismatched types
[INFO] [stderr]    --> src/bot.rs:106:91
[INFO] [stderr]     |
[INFO] [stderr] 106 |                     println!("Gateway closed on us with code {:?}: {}", code, String::from_utf8_lossy(&body));
[INFO] [stderr]     |                                                                                                       ^^^^^ expected slice `[u8]`, found struct `std::string::String`
[INFO] [stderr]     |
[INFO] [stderr]     = note: expected reference `&[u8]`
[INFO] [stderr]                found reference `&std::string::String`
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'bot::discord::Discord::logout': Accomplishes nothing and may fail for no reason.
[INFO] [stderr]    --> src/bot.rs:113:21
[INFO] [stderr]     |
[INFO] [stderr] 113 |         self.client.logout().expect("logout failed");
[INFO] [stderr]     |                     ^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string()
[INFO] [stderr]   --> src/database.rs:47:33
[INFO] [stderr]    |
[INFO] [stderr] 47 |             Err(err) => Err(err.description().to_string())
[INFO] [stderr]    |                                 ^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 2 previous errors
[INFO] [stderr] 
[INFO] [stderr] For more information about this error, try `rustc --explain E0308`.
[INFO] [stderr] error: could not compile `ipbot`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "522e0ae7ed2243d80e3d2a7bd7fb3a009e47c9cb6bd4b4d662fc9f959f3670d9"`
[INFO] running `"docker" "rm" "-f" "522e0ae7ed2243d80e3d2a7bd7fb3a009e47c9cb6bd4b4d662fc9f959f3670d9"`
[INFO] [stdout] 522e0ae7ed2243d80e3d2a7bd7fb3a009e47c9cb6bd4b4d662fc9f959f3670d9
