[INFO] updating cached repository https://github.com/TorstenCScholz/fs-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] df4593c035e5d8ff252854c3590837b34253882e [INFO] testing TorstenCScholz/fs-bot against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTorstenCScholz%2Ffs-bot" "/workspace/builds/worker-11/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TorstenCScholz/fs-bot on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/TorstenCScholz/fs-bot [INFO] finished tweaking git repo https://github.com/TorstenCScholz/fs-bot [INFO] tweaked toml for git repo https://github.com/TorstenCScholz/fs-bot written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/TorstenCScholz/fs-bot already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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-11/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" "+beta-2020-06-03" "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.git` [INFO] [stderr] Updating git repository `https://github.com/ArtemGr/rust-websocket` [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "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-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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" "+beta-2020-06-03" "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] f0dfe4a83cfd4d73cd9905e84f8c3bea5243ad466dc125dcd1f319ab7961df75 [INFO] running `"docker" "start" "-a" "f0dfe4a83cfd4d73cd9905e84f8c3bea5243ad466dc125dcd1f319ab7961df75"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling rle-decode-fast v1.0.1 [INFO] [stderr] Compiling syn v1.0.30 [INFO] [stderr] Compiling dtoa v0.3.1 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling base64-rs v0.1.1 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling hound v2.0.0 [INFO] [stderr] Compiling opus-sys v0.2.1 [INFO] [stderr] Compiling xattr v0.2.2 [INFO] [stderr] Compiling openssl v0.10.29 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling ordered-float v0.2.3 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling multipart v0.16.1 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling libflate v0.1.27 [INFO] [stderr] Compiling tar v0.4.28 [INFO] [stderr] Compiling opus v0.2.1 [INFO] [stderr] Compiling libsodium-sys v0.2.5 [INFO] [stderr] Compiling websocket v0.18.0 (https://github.com/ArtemGr/rust-websocket?branch=hyper-bump#b5965662) [INFO] [stderr] Compiling serde_test v0.8.23 [INFO] [stderr] Compiling serde-value v0.3.1 [INFO] [stderr] Compiling hyper-native-tls v0.3.0 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling serde_derive v1.0.111 [INFO] [stderr] Compiling serde_yaml v0.5.1 [INFO] [stderr] Compiling log4rs v0.5.2 [INFO] [stderr] Compiling sodiumoxide v0.2.5 [INFO] [stderr] Compiling discord v0.8.0 (https://github.com/SpaceManiac/discord-rs.git#767a930b) [INFO] [stderr] Compiling fs-bot-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/command.rs:9:19 [INFO] [stderr] | [INFO] [stderr] 9 | callback: Box ()>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Context, &[&str]) -> ()` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/command.rs:14:57 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn new_default<'r>(name: &'r str, callback: Box ()>) -> Command<'r> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Context, &[&str]) -> ()` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/command.rs:18:49 [INFO] [stderr] | [INFO] [stderr] 18 | pub fn new<'r>(name: &'r str, callback: Box ()>, req_perm: bool) -> Command<'r> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Context, &[&str]) -> ()` [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:68:64 [INFO] [stderr] | [INFO] [stderr] 68 | pub fn create_pcm_source (stereo: bool, read: Vec) -> Box { [INFO] [stderr] | ^^^^^^^^^^^ help: use `dyn`: `dyn AudioSource` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:31:31 [INFO] [stderr] | [INFO] [stderr] 31 | let _ = discord.send_message(channel_id, &message, "", false); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `discord::model::ChannelId`, found `&discord::model::ChannelId` [INFO] [stderr] | help: consider dereferencing the borrow: `*channel_id` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:221:35 [INFO] [stderr] | [INFO] [stderr] 221 | let _ = discord.send_message(&message.channel_id, "You can find my internals at https://github.com/TorstenCScholz/fs-bot", "", false); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `discord::model::ChannelId`, found `&discord::model::ChannelId` [INFO] [stderr] | help: consider removing the borrow: `message.channel_id` [INFO] [stderr] [INFO] [stderr] error[E0308]: mismatched types [INFO] [stderr] --> src/main.rs:226:36 [INFO] [stderr] | [INFO] [stderr] 226 | let _ = discord.send_message(&message.channel_id, &text, "", false); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | expected struct `discord::model::ChannelId`, found `&discord::model::ChannelId` [INFO] [stderr] | help: consider removing the borrow: `message.channel_id` [INFO] [stderr] [INFO] [stderr] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0308`. [INFO] [stderr] error: could not compile `fs-bot-rs`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "f0dfe4a83cfd4d73cd9905e84f8c3bea5243ad466dc125dcd1f319ab7961df75"` [INFO] running `"docker" "rm" "-f" "f0dfe4a83cfd4d73cd9905e84f8c3bea5243ad466dc125dcd1f319ab7961df75"` [INFO] [stdout] f0dfe4a83cfd4d73cd9905e84f8c3bea5243ad466dc125dcd1f319ab7961df75