[INFO] updating cached repository https://github.com/Jakender/medium-discord-bot [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] c0736f5f10dcaf7125496acc7035df6e62538c80 [INFO] testing Jakender/medium-discord-bot against 1.44.0 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJakender%2Fmedium-discord-bot" "/workspace/builds/worker-10/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Jakender/medium-discord-bot 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/Jakender/medium-discord-bot [INFO] finished tweaking git repo https://github.com/Jakender/medium-discord-bot [INFO] tweaked toml for git repo https://github.com/Jakender/medium-discord-bot written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/Jakender/medium-discord-bot 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] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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] 5129f617d41a9912065b90141b700a2558c9ae7b5d7da7593b9d08c3c8c563a8 [INFO] running `"docker" "start" "-a" "5129f617d41a9912065b90141b700a2558c9ae7b5d7da7593b9d08c3c8c563a8"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling untrusted v0.7.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.14 [INFO] [stderr] Compiling arc-swap v0.4.5 [INFO] [stderr] Compiling serenity v0.8.0 (https://github.com/serenity-rs/serenity?branch=current#8bba7b02) [INFO] [stderr] Compiling uwl v0.5.1 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Compiling audiopus_sys v0.1.7 [INFO] [stderr] Compiling filetime v0.2.8 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling tar v0.4.26 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling input_buffer v0.2.0 [INFO] [stderr] Compiling audiopus v0.1.3 [INFO] [stderr] Compiling tokio v0.2.13 [INFO] [stderr] Compiling libsodium-sys v0.2.5 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling webpki v0.21.2 [INFO] [stderr] Compiling ct-logs v0.6.0 [INFO] [stderr] Compiling tungstenite v0.9.2 [INFO] [stderr] Compiling rustls v0.17.0 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling rustls v0.16.0 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling rustls-native-certs v0.3.0 [INFO] [stderr] Compiling tokio-rustls v0.13.0 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.105 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling derive_more v0.99.5 [INFO] [stderr] Compiling actix-macros v0.1.1 [INFO] [stderr] Compiling command_attr v0.1.7 (https://github.com/serenity-rs/serenity?branch=current#8bba7b02) [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling h2 v0.2.3 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling actix-threadpool v0.3.1 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling actix-rt v1.0.0 [INFO] [stderr] Compiling serde v1.0.105 [INFO] [stderr] Compiling hyper v0.13.4 [INFO] [stderr] Compiling hyper-rustls v0.20.0 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.50 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling ron v0.5.1 [INFO] [stderr] Compiling reqwest v0.10.4 [INFO] [stderr] Compiling sodiumoxide v0.2.5 [INFO] [stderr] Compiling examplebot v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused imports: `CommandResult`, `StandardFramework`, `client::bridge::gateway::ShardManager`, `command`, `event::ResumedEvent`, `gateway::Ready`, `prelude::*`, `prelude::*` [INFO] [stderr] --> src/commands/dnd/mod.rs:6:3 [INFO] [stderr] | [INFO] [stderr] 6 | client::bridge::gateway::ShardManager, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 7 | framework::{ [INFO] [stderr] 8 | StandardFramework, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 9 | standard::{ [INFO] [stderr] 10 | CommandResult, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 11 | macros::{command, group} [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 15 | event::ResumedEvent, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 16 | gateway::Ready, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 17 | prelude::*, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 18 | }, [INFO] [stderr] 19 | prelude::*, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `StandardFramework`, `client::bridge::gateway::ShardManager`, `event::ResumedEvent`, `gateway::Ready`, `group` [INFO] [stderr] --> src/commands/dnd/dice.rs:7:3 [INFO] [stderr] | [INFO] [stderr] 7 | client::bridge::gateway::ShardManager, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 8 | framework::{ [INFO] [stderr] 9 | StandardFramework, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 12 | macros::{command, group}, [INFO] [stderr] | ^^^^^ [INFO] [stderr] ... [INFO] [stderr] 16 | event::ResumedEvent, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 17 | gateway::Ready, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `StandardFramework`, `client::bridge::gateway::ShardManager`, `event::ResumedEvent`, `gateway::Ready` [INFO] [stderr] --> src/commands/general.rs:7:3 [INFO] [stderr] | [INFO] [stderr] 7 | client::bridge::gateway::ShardManager, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 8 | framework::{ [INFO] [stderr] 9 | StandardFramework, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 16 | event::ResumedEvent, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 17 | gateway::Ready, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `CommandResult`, `StandardFramework`, `client::bridge::gateway::ShardManager`, `command`, `event::ResumedEvent`, `gateway::Ready`, `prelude::*`, `prelude::*` [INFO] [stderr] --> src/commands/math.rs:6:3 [INFO] [stderr] | [INFO] [stderr] 6 | client::bridge::gateway::ShardManager, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 7 | framework::{ [INFO] [stderr] 8 | StandardFramework, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 9 | standard::{ [INFO] [stderr] 10 | CommandResult, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 11 | macros::{command, group} [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 15 | event::ResumedEvent, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 16 | gateway::Ready, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 17 | prelude::*, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 18 | }, [INFO] [stderr] 19 | prelude::*, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `StandardFramework`, `client::bridge::gateway::ShardManager`, `event::ResumedEvent`, `gateway::Ready` [INFO] [stderr] --> src/commands/owner.rs:7:3 [INFO] [stderr] | [INFO] [stderr] 7 | client::bridge::gateway::ShardManager, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 8 | framework::{ [INFO] [stderr] 9 | StandardFramework, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 16 | event::ResumedEvent, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 17 | gateway::Ready, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Read` [INFO] [stderr] --> src/core/config.rs:31:22 [INFO] [stderr] | [INFO] [stderr] 31 | use std::io::{Write, Read}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `collections::HashMap`, `iter::FromIterator` [INFO] [stderr] --> src/core/config.rs:33:11 [INFO] [stderr] | [INFO] [stderr] 33 | use std::{collections::HashMap, iter::FromIterator}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Deserializer` [INFO] [stderr] --> src/core/config.rs:34:37 [INFO] [stderr] | [INFO] [stderr] 34 | use serde::{Serialize, Deserialize, Deserializer}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rand::AsByteSliceMut` [INFO] [stderr] --> src/core/config.rs:36:5 [INFO] [stderr] | [INFO] [stderr] 36 | use rand::AsByteSliceMut; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `standard::macros::group` [INFO] [stderr] --> src/core/mod.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | standard::macros::group, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/core/mod.rs:75:18 [INFO] [stderr] | [INFO] [stderr] 75 | config::load(conf).await; [INFO] [stderr] | ^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected `&core::config::Config`, found struct `core::config::Config` [INFO] [stderr] | help: consider borrowing here: `&conf` [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `for<'de> &core::config::Config: serde::Deserialize<'de>` is not satisfied [INFO] [stderr] --> src/core/config.rs:120:9 [INFO] [stderr] | [INFO] [stderr] 120 | cfg = ron::de::from_reader(fi).expect("Failed to deserialize configuration!"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> serde::Deserialize<'de>` is not implemented for `&core::config::Config` [INFO] [stderr] | [INFO] [stderr] ::: /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/ron-0.5.1/src/de/mod.rs:46:8 [INFO] [stderr] | [INFO] [stderr] 46 | T: de::DeserializeOwned, [INFO] [stderr] | -------------------- required by this bound in `ron::de::from_reader` [INFO] [stderr] | [INFO] [stderr] = help: the following implementations were found: [INFO] [stderr] > [INFO] [stderr] = note: required because of the requirements on the impl of `serde::de::DeserializeOwned` for `&core::config::Config` [INFO] [stderr] [INFO] [stderr] error: aborting due to 2 previous errors; 10 warnings emitted [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0277, E0308. [INFO] [stderr] For more information about an error, try `rustc --explain E0277`. [INFO] [stderr] error: could not compile `examplebot`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "5129f617d41a9912065b90141b700a2558c9ae7b5d7da7593b9d08c3c8c563a8"` [INFO] running `"docker" "rm" "-f" "5129f617d41a9912065b90141b700a2558c9ae7b5d7da7593b9d08c3c8c563a8"` [INFO] [stdout] 5129f617d41a9912065b90141b700a2558c9ae7b5d7da7593b9d08c3c8c563a8