[INFO] cloning repository https://github.com/TorstenCScholz/fs-bot [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TorstenCScholz/fs-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTorstenCScholz%2Ffs-bot", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTorstenCScholz%2Ffs-bot'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] df4593c035e5d8ff252854c3590837b34253882e [INFO] testing TorstenCScholz/fs-bot against 1.49.0 for beta-1.50-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTorstenCScholz%2Ffs-bot" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TorstenCScholz/fs-bot on toolchain 1.49.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-3/source/Cargo.toml [INFO] crate git repo https://github.com/TorstenCScholz/fs-bot already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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 `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [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 `Command { std: "/workspace/cargo-home/bin/cargo" "+1.49.0" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "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" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c620730fcb2c4940c817d54f388e34a0a4bad8defe42fb58ce82d857c004a99c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c620730fcb2c4940c817d54f388e34a0a4bad8defe42fb58ce82d857c004a99c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c620730fcb2c4940c817d54f388e34a0a4bad8defe42fb58ce82d857c004a99c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c620730fcb2c4940c817d54f388e34a0a4bad8defe42fb58ce82d857c004a99c", kill_on_drop: false }` [INFO] [stdout] c620730fcb2c4940c817d54f388e34a0a4bad8defe42fb58ce82d857c004a99c [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+1.49.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cdf5a6fb45f3df18f6ced8e482a31c4f0b6c4d3bb83e3410fe79556000153ecd [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cdf5a6fb45f3df18f6ced8e482a31c4f0b6c4d3bb83e3410fe79556000153ecd", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.81 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling dtoa v0.3.1 [INFO] [stderr] Compiling base64-rs v0.1.1 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling hound v2.0.0 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling opus-sys v0.2.1 [INFO] [stderr] Compiling unreachable v0.1.1 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling ordered-float v0.2.3 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling serde-value v0.3.1 [INFO] [stderr] Compiling serde_yaml v0.5.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling flate2 v1.0.19 [INFO] [stderr] Compiling libsodium-sys v0.2.6 [INFO] [stderr] Compiling opus v0.2.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling log4rs v0.5.2 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling multipart v0.17.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling websocket v0.18.0 (https://github.com/ArtemGr/rust-websocket?branch=hyper-bump#b5965662) [INFO] [stderr] Compiling hyper-native-tls v0.3.0 [INFO] [stderr] Compiling sodiumoxide v0.2.6 [INFO] [stderr] Compiling discord v0.9.0 (https://github.com/SpaceManiac/discord-rs.git#245f5731) [INFO] [stderr] Compiling fs-bot-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/command.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | callback: Box ()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Context, &[&str]) -> ()` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/command.rs:14:57 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new_default<'r>(name: &'r str, callback: Box ()>) -> Command<'r> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Context, &[&str]) -> ()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/command.rs:18:49 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn new<'r>(name: &'r str, callback: Box ()>, req_perm: bool) -> Command<'r> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Fn(&mut Context, &[&str]) -> ()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:68:64 [INFO] [stdout] | [INFO] [stdout] 68 | pub fn create_pcm_source (stereo: bool, read: Vec) -> Box { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn AudioSource` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:31:31 [INFO] [stdout] | [INFO] [stdout] 31 | let _ = discord.send_message(channel_id, &message, "", false); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `ChannelId`, found `&ChannelId` [INFO] [stdout] | help: consider dereferencing the borrow: `*channel_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:221:35 [INFO] [stdout] | [INFO] [stdout] 221 | let _ = discord.send_message(&message.channel_id, "You can find my internals at https://github.com/TorstenCScholz/fs-bot", "", false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `ChannelId`, found `&ChannelId` [INFO] [stdout] | help: consider removing the borrow: `message.channel_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:226:36 [INFO] [stdout] | [INFO] [stdout] 226 | let _ = discord.send_message(&message.channel_id, &text, "", false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected struct `ChannelId`, found `&ChannelId` [INFO] [stdout] | help: consider removing the borrow: `message.channel_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `fs-bot-rs` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "cdf5a6fb45f3df18f6ced8e482a31c4f0b6c4d3bb83e3410fe79556000153ecd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdf5a6fb45f3df18f6ced8e482a31c4f0b6c4d3bb83e3410fe79556000153ecd", kill_on_drop: false }` [INFO] [stdout] cdf5a6fb45f3df18f6ced8e482a31c4f0b6c4d3bb83e3410fe79556000153ecd