[INFO] cloning repository https://github.com/justincremer/music-bot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/justincremer/music-bot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustincremer%2Fmusic-bot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustincremer%2Fmusic-bot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d3ca3e4d587ea8daed824f44ecb92ecaaf450fa6
[INFO] testing justincremer/music-bot against beta-2021-08-01 for beta-1.55-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjustincremer%2Fmusic-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/justincremer/music-bot on toolchain beta-2021-08-01
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/justincremer/music-bot
[INFO] finished tweaking git repo https://github.com/justincremer/music-bot
[INFO] tweaked toml for git repo https://github.com/justincremer/music-bot written to /workspace/builds/worker-3/source/Cargo.toml
[INFO] crate git repo https://github.com/justincremer/music-bot already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-08-01" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating git repository `https://github.com/SpaceManiac/discord-rs`
[INFO] [stderr]     Updating git repository `https://github.com/ArtemGr/rust-websocket`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded opus v0.2.1
[INFO] [stderr]   Downloaded hyper-native-tls v0.3.0
[INFO] [stderr]   Downloaded sodiumoxide v0.2.7
[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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3b6f03e6eeadd9dcfe2801a3985321d823613c13d6cd5e9f6f56789424702d6f
[INFO] running `Command { std: "docker" "start" "-a" "3b6f03e6eeadd9dcfe2801a3985321d823613c13d6cd5e9f6f56789424702d6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3b6f03e6eeadd9dcfe2801a3985321d823613c13d6cd5e9f6f56789424702d6f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3b6f03e6eeadd9dcfe2801a3985321d823613c13d6cd5e9f6f56789424702d6f", kill_on_drop: false }`
[INFO] [stdout] 3b6f03e6eeadd9dcfe2801a3985321d823613c13d6cd5e9f6f56789424702d6f
[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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-08-01" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d06e7ecd870b8de1ba701566f0af0a4ed90291fe4998c29470fa22e4b5dd0aa2
[INFO] running `Command { std: "docker" "start" "-a" "d06e7ecd870b8de1ba701566f0af0a4ed90291fe4998c29470fa22e4b5dd0aa2", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.0.68
[INFO] [stderr]    Compiling proc-macro2 v1.0.27
[INFO] [stderr]    Compiling safemem v0.3.3
[INFO] [stderr]    Compiling syn v1.0.73
[INFO] [stderr]    Compiling signature v1.3.1
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling unicase v2.6.0
[INFO] [stderr]    Compiling opus-sys v0.2.1
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling getrandom v0.2.3
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling log v0.3.9
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling net2 v0.2.37
[INFO] [stderr]    Compiling flate2 v1.0.20
[INFO] [stderr]    Compiling ed25519 v1.1.1
[INFO] [stderr]    Compiling base64 v0.9.3
[INFO] [stderr]    Compiling mime v0.2.6
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling rand_core v0.6.3
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling opus v0.2.1
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling rand v0.8.4
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling quote v1.0.9
[INFO] [stderr]    Compiling mime_guess v2.0.3
[INFO] [stderr]    Compiling openssl-sys v0.9.65
[INFO] [stderr]    Compiling libsodium-sys v0.2.7
[INFO] [stderr]    Compiling idna v0.1.5
[INFO] [stderr]    Compiling tempfile v3.2.0
[INFO] [stderr]    Compiling url v1.7.2
[INFO] [stderr]    Compiling openssl v0.10.35
[INFO] [stderr]    Compiling native-tls v0.2.7
[INFO] [stderr]    Compiling hyper v0.10.16
[INFO] [stderr]    Compiling multipart v0.17.1
[INFO] [stderr]    Compiling serde_derive v1.0.126
[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.7
[INFO] [stderr]    Compiling discord v0.9.0 (https://github.com/SpaceManiac/discord-rs#73a5fa60)
[INFO] [stderr]    Compiling music-bot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0423]: expected function, found built-in attribute `warn`
[INFO] [stdout]   --> src/main.rs:50:17
[INFO] [stdout]    |
[INFO] [stdout] 50 |                 warn(self.discord.send_message(
[INFO] [stdout]    |                 ^^^^ not a function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found built-in attribute `warn`
[INFO] [stdout]   --> src/main.rs:70:21
[INFO] [stdout]    |
[INFO] [stdout] 70 |                     warn(self.discord.send_message(
[INFO] [stdout]    |                     ^^^^ not a function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0423]: expected function, found built-in attribute `warn`
[INFO] [stdout]    --> src/main.rs:100:13
[INFO] [stdout]     |
[INFO] [stdout] 100 |             warn(self.discord.send_message(channel_id, &output, "", false));
[INFO] [stdout]     |             ^^^^ not a function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `channel_id` in this scope
[INFO] [stdout]    --> src/main.rs:100:44
[INFO] [stdout]     |
[INFO] [stdout] 100 |               warn(self.discord.send_message(channel_id, &output, "", false));
[INFO] [stdout]     |                                              ^^^^^^^^^^ help: a tuple struct with a similar name exists: `ChannelId`
[INFO] [stdout]     | 
[INFO] [stdout]    ::: /opt/rustwide/cargo-home/git/checkouts/discord-rs-e20ed8881d23c413/73a5fa6/src/model.rs:129:1
[INFO] [stdout]     |
[INFO] [stdout] 129 | / id! {
[INFO] [stdout] 130 | |     /// Bots are identified sometimes by their application ID
[INFO] [stdout] 131 | |     ApplicationId;
[INFO] [stdout] 132 | |     /// An identifier for a User
[INFO] [stdout] ...   |
[INFO] [stdout] 143 | |     EmojiId;
[INFO] [stdout] 144 | | }
[INFO] [stdout]     | |_- similarly named tuple struct `ChannelId` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Event`
[INFO] [stdout]  --> src/main.rs:6:33
[INFO] [stdout]   |
[INFO] [stdout] 6 | use discord::model::{ChannelId, Event, ServerId, UserId};
[INFO] [stdout]   |                                 ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:36:20
[INFO] [stdout]    |
[INFO] [stdout] 36 |             cache: cache,
[INFO] [stdout]    |                    ^^^^^
[INFO] [stdout]    |                    |
[INFO] [stdout]    |                    expected struct `std::string::String`, found `&str`
[INFO] [stdout]    |                    help: try using a conversion method: `cache.to_string()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 23 |       fn login(token: String, cache: &str) -> &Self {
[INFO] [stdout]    |                                               ----- expected `&Session` because of return type
[INFO] [stdout] ...
[INFO] [stdout] 32 | /         Session {
[INFO] [stdout] 33 | |             discord: discord,
[INFO] [stdout] 34 | |             connection: connection,
[INFO] [stdout] 35 | |             state: state,
[INFO] [stdout] 36 | |             cache: cache,
[INFO] [stdout] 37 | |         }
[INFO] [stdout]    | |_________^ expected `&Session`, found struct `Session`
[INFO] [stdout]    |
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]    |
[INFO] [stdout] 32 |         &Session {
[INFO] [stdout] 33 |             discord: discord,
[INFO] [stdout] 34 |             connection: connection,
[INFO] [stdout] 35 |             state: state,
[INFO] [stdout] 36 |             cache: cache,
[INFO] [stdout] 37 |         }
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:88:29
[INFO] [stdout]    |
[INFO] [stdout] 80 | /                     match discord::voice::open_ffmpeg_stream(
[INFO] [stdout] 81 | |                         video_meta["_filename"].as_str().unwrap(),
[INFO] [stdout] 82 | |                     ) {
[INFO] [stdout] 83 | |                         Ok(stream) => {
[INFO] [stdout] ...  |
[INFO] [stdout] 88 | |                             String::new()
[INFO] [stdout]    | |                             ^^^^^^^^^^^^^ expected `()`, found struct `std::string::String`
[INFO] [stdout] 89 | |                         }
[INFO] [stdout] 90 | |                         Err(error) => format!("Error: {}", error),
[INFO] [stdout] 91 | |                     }
[INFO] [stdout]    | |_____________________- expected this to be `()`
[INFO] [stdout]    |
[INFO] [stdout] help: consider using a semicolon here
[INFO] [stdout]    |
[INFO] [stdout] 88 |                             String::new();
[INFO] [stdout]    |                                          ^
[INFO] [stdout] help: consider using a semicolon here
[INFO] [stdout]    |
[INFO] [stdout] 91 |                     };
[INFO] [stdout]    |                      ^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:90:39
[INFO] [stdout]    |
[INFO] [stdout] 80 | /                     match discord::voice::open_ffmpeg_stream(
[INFO] [stdout] 81 | |                         video_meta["_filename"].as_str().unwrap(),
[INFO] [stdout] 82 | |                     ) {
[INFO] [stdout] 83 | |                         Ok(stream) => {
[INFO] [stdout] ...  |
[INFO] [stdout] 90 | |                         Err(error) => format!("Error: {}", error),
[INFO] [stdout]    | |                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found struct `std::string::String`
[INFO] [stdout] 91 | |                     }
[INFO] [stdout]    | |_____________________- expected this to be `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:93:21
[INFO] [stdout]    |
[INFO] [stdout] 67 | /                 if output.status.success() {
[INFO] [stdout] 68 | |                     let video_meta: Value = serde_json::from_slice(&output.stdout)
[INFO] [stdout] 69 | |                         .expect("Failed to parse youtube-dl output");
[INFO] [stdout] 70 | |                     warn(self.discord.send_message(
[INFO] [stdout] ...  |
[INFO] [stdout] 93 | |                     format!("Error: {}", String::from_utf8_lossy(&output.stderr))
[INFO] [stdout]    | |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found struct `std::string::String`
[INFO] [stdout] 94 | |                 }
[INFO] [stdout]    | |_________________- expected this to be `()`
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `format` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 9 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0423, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `music-bot` due to 10 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "d06e7ecd870b8de1ba701566f0af0a4ed90291fe4998c29470fa22e4b5dd0aa2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d06e7ecd870b8de1ba701566f0af0a4ed90291fe4998c29470fa22e4b5dd0aa2", kill_on_drop: false }`
[INFO] [stdout] d06e7ecd870b8de1ba701566f0af0a4ed90291fe4998c29470fa22e4b5dd0aa2
