[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 master#5d5ff84130da0d74c6ece368dbe821d8f83fa526 for pr-79296 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTorstenCScholz%2Ffs-bot" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TorstenCScholz/fs-bot on toolchain 5d5ff84130da0d74c6ece368dbe821d8f83fa526 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "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-14/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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "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-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 `Command { std: "/workspace/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "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" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "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-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" "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:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 994ba06969ce6e4d55f94d4edd12491b4c4fcf29107322a57b81557601af1322 [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" "994ba06969ce6e4d55f94d4edd12491b4c4fcf29107322a57b81557601af1322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "994ba06969ce6e4d55f94d4edd12491b4c4fcf29107322a57b81557601af1322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "994ba06969ce6e4d55f94d4edd12491b4c4fcf29107322a57b81557601af1322", kill_on_drop: false }` [INFO] [stdout] 994ba06969ce6e4d55f94d4edd12491b4c4fcf29107322a57b81557601af1322 [INFO] running `Command { std: "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" "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" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+5d5ff84130da0d74c6ece368dbe821d8f83fa526" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 31da140d7911236f43b45ade6db7dcbf83422d75934e5b9bc53290ba3fdd38b4 [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" "31da140d7911236f43b45ade6db7dcbf83422d75934e5b9bc53290ba3fdd38b4", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cc v1.0.65 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling syn v1.0.52 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling dtoa v0.3.1 [INFO] [stderr] Compiling byteorder v0.5.3 [INFO] [stderr] Compiling itoa v0.4.6 [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 tinyvec v1.1.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling net2 v0.2.36 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling opus-sys v0.2.1 [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 unicode-normalization v0.1.16 [INFO] [stderr] Compiling opus v0.2.1 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling libsodium-sys v0.2.6 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling flate2 v1.0.19 [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 openssl v0.10.30 [INFO] [stderr] Compiling native-tls v0.2.6 [INFO] [stderr] Compiling serde_test v0.8.23 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling ordered-float v0.2.3 [INFO] [stderr] Compiling serde-value v0.3.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling chrono v0.2.25 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling serde_yaml v0.5.1 [INFO] [stderr] Compiling multipart v0.16.1 [INFO] [stderr] Compiling log4rs v0.5.2 [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#cb4ce66e) [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" "31da140d7911236f43b45ade6db7dcbf83422d75934e5b9bc53290ba3fdd38b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "31da140d7911236f43b45ade6db7dcbf83422d75934e5b9bc53290ba3fdd38b4", kill_on_drop: false }` [INFO] [stdout] 31da140d7911236f43b45ade6db7dcbf83422d75934e5b9bc53290ba3fdd38b4