[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] testing frjonsen/IPBot against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrjonsen%2FIPBot" "/workspace/builds/worker-3/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/frjonsen/IPBot on toolchain 1.44.0 [INFO] running `"/workspace/cargo-home/bin/cargo" "+1.44.0" "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-3/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" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] error: the lock file /workspace/builds/worker-3/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" "+1.44.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [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" "+1.44.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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.44.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] 5c47f62302eb4779cfc8bcdb25abb5442f387a3643ece24fc3371d86ceb0c41a [INFO] running `"docker" "start" "-a" "5c47f62302eb4779cfc8bcdb25abb5442f387a3643ece24fc3371d86ceb0c41a"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling regex-syntax v0.3.9 [INFO] [stderr] Compiling base64-rs v0.1.1 [INFO] [stderr] Compiling utf8-ranges v0.1.3 [INFO] [stderr] Compiling bitflags v0.1.1 [INFO] [stderr] Compiling opus-sys v0.2.1 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling serde_json v1.0.53 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling tar v0.4.28 [INFO] [stderr] Compiling rust-sqlite v0.3.1 (https://github.com/dckc/rust-sqlite3#b0dc7d6c) [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling opus v0.2.1 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling libsodium-sys v0.2.5 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling multipart v0.16.1 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling hyper-native-tls v0.3.0 [INFO] [stderr] Compiling websocket v0.18.0 (https://github.com/ArtemGr/rust-websocket?branch=hyper-bump#b5965662) [INFO] [stderr] Compiling sodiumoxide v0.2.5 [INFO] [stderr] Compiling discord v0.8.0 (https://github.com/SpaceManiac/discord-rs#767a930b) [INFO] [stderr] Compiling 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> [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] 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; 7 warnings emitted [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" "5c47f62302eb4779cfc8bcdb25abb5442f387a3643ece24fc3371d86ceb0c41a"` [INFO] running `"docker" "rm" "-f" "5c47f62302eb4779cfc8bcdb25abb5442f387a3643ece24fc3371d86ceb0c41a"` [INFO] [stdout] 5c47f62302eb4779cfc8bcdb25abb5442f387a3643ece24fc3371d86ceb0c41a