[INFO] cloning repository https://github.com/bzf/rustify [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bzf/rustify" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbzf%2Frustify", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbzf%2Frustify'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8987ad3ed6573488d22279e503848a0168939eab [INFO] checking bzf/rustify/8987ad3ed6573488d22279e503848a0168939eab against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbzf%2Frustify" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bzf/rustify on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bzf/rustify [INFO] finished tweaking git repo https://github.com/bzf/rustify [INFO] tweaked toml for git repo https://github.com/bzf/rustify written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/bzf/rustify already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded openal-rs v0.1.2 [INFO] [stderr] Downloaded libc v0.2.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 805208654d261bb3319ae068d29214359bf9025a6a491015a11f13a38c374556 [INFO] running `Command { std: "docker" "start" "-a" "805208654d261bb3319ae068d29214359bf9025a6a491015a11f13a38c374556", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "805208654d261bb3319ae068d29214359bf9025a6a491015a11f13a38c374556", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "805208654d261bb3319ae068d29214359bf9025a6a491015a11f13a38c374556", kill_on_drop: false }` [INFO] [stdout] 805208654d261bb3319ae068d29214359bf9025a6a491015a11f13a38c374556 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/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" "RUSTDOCFLAGS=--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4296f568662bc1d3d8e85382e049b2bcabba5b68b06b28c624751089ef537f09 [INFO] running `Command { std: "docker" "start" "-a" "4296f568662bc1d3d8e85382e049b2bcabba5b68b06b28c624751089ef537f09", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.8 [INFO] [stderr] Checking openal-rs v0.1.2 [INFO] [stderr] Checking rustify v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/spotify/types.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | fn handle_music_delivery(&mut self, &Vec) -> i32; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Vec` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(anonymous_parameters)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_OK` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:98:3 [INFO] [stdout] | [INFO] [stdout] 98 | SP_ERROR_OK, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorOk` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(non_camel_case_types)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_BAD_API_VERSION` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:99:3 [INFO] [stdout] | [INFO] [stdout] 99 | SP_ERROR_BAD_API_VERSION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorBadApiVersion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_API_INITIALIZATION_FAILED` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:100:3 [INFO] [stdout] | [INFO] [stdout] 100 | SP_ERROR_API_INITIALIZATION_FAILED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorApiInitializationFailed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_TRACK_NOT_PLAYABLE` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | SP_ERROR_TRACK_NOT_PLAYABLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorTrackNotPlayable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_BAD_APPLICATION_KEY` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:102:3 [INFO] [stdout] | [INFO] [stdout] 102 | SP_ERROR_BAD_APPLICATION_KEY, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorBadApplicationKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_BAD_USERNAME_OR_PASSWORD` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:103:3 [INFO] [stdout] | [INFO] [stdout] 103 | SP_ERROR_BAD_USERNAME_OR_PASSWORD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorBadUsernameOrPassword` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/spotify/types.rs:8:39 [INFO] [stdout] | [INFO] [stdout] 8 | fn handle_music_delivery(&mut self, &Vec) -> i32; [INFO] [stdout] | ^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &Vec` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | #![deny(warnings)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[deny(anonymous_parameters)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_USER_BANNED` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:104:3 [INFO] [stdout] | [INFO] [stdout] 104 | SP_ERROR_USER_BANNED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorUserBanned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_UNABLE_TO_CONTACT_SERVER` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:105:3 [INFO] [stdout] | [INFO] [stdout] 105 | SP_ERROR_UNABLE_TO_CONTACT_SERVER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorUnableToContactServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_CLIENT_TOO_OLD` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:106:3 [INFO] [stdout] | [INFO] [stdout] 106 | SP_ERROR_CLIENT_TOO_OLD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorClientTooOld` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_OTHER_PERMANENT` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:107:3 [INFO] [stdout] | [INFO] [stdout] 107 | SP_ERROR_OTHER_PERMANENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorOtherPermanent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_OK` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:98:3 [INFO] [stdout] | [INFO] [stdout] 98 | SP_ERROR_OK, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorOk` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(non_camel_case_types)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_BAD_USER_AGENT` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:108:3 [INFO] [stdout] | [INFO] [stdout] 108 | SP_ERROR_BAD_USER_AGENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorBadUserAgent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_BAD_API_VERSION` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:99:3 [INFO] [stdout] | [INFO] [stdout] 99 | SP_ERROR_BAD_API_VERSION, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorBadApiVersion` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_API_INITIALIZATION_FAILED` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:100:3 [INFO] [stdout] | [INFO] [stdout] 100 | SP_ERROR_API_INITIALIZATION_FAILED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorApiInitializationFailed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_MISSING_CALLBACK` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | SP_ERROR_MISSING_CALLBACK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorMissingCallback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_TRACK_NOT_PLAYABLE` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:101:3 [INFO] [stdout] | [INFO] [stdout] 101 | SP_ERROR_TRACK_NOT_PLAYABLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorTrackNotPlayable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_INVALID_INDATA` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:110:3 [INFO] [stdout] | [INFO] [stdout] 110 | SP_ERROR_INVALID_INDATA, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorInvalidIndata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_BAD_APPLICATION_KEY` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:102:3 [INFO] [stdout] | [INFO] [stdout] 102 | SP_ERROR_BAD_APPLICATION_KEY, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorBadApplicationKey` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_INDEX_OUT_OF_RANGE` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:111:3 [INFO] [stdout] | [INFO] [stdout] 111 | SP_ERROR_INDEX_OUT_OF_RANGE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorIndexOutOfRange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_BAD_USERNAME_OR_PASSWORD` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:103:3 [INFO] [stdout] | [INFO] [stdout] 103 | SP_ERROR_BAD_USERNAME_OR_PASSWORD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorBadUsernameOrPassword` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_USER_NEEDS_PREMIUM` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:112:3 [INFO] [stdout] | [INFO] [stdout] 112 | SP_ERROR_USER_NEEDS_PREMIUM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorUserNeedsPremium` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_USER_BANNED` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:104:3 [INFO] [stdout] | [INFO] [stdout] 104 | SP_ERROR_USER_BANNED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorUserBanned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_OTHER_TRANSIENT` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:113:3 [INFO] [stdout] | [INFO] [stdout] 113 | SP_ERROR_OTHER_TRANSIENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorOtherTransient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_UNABLE_TO_CONTACT_SERVER` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:105:3 [INFO] [stdout] | [INFO] [stdout] 105 | SP_ERROR_UNABLE_TO_CONTACT_SERVER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorUnableToContactServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_IS_LOADING` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:114:3 [INFO] [stdout] | [INFO] [stdout] 114 | SP_ERROR_IS_LOADING, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorIsLoading` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_NO_STREAM_AVAILABLE` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:115:3 [INFO] [stdout] | [INFO] [stdout] 115 | SP_ERROR_NO_STREAM_AVAILABLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorNoStreamAvailable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_CLIENT_TOO_OLD` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:106:3 [INFO] [stdout] | [INFO] [stdout] 106 | SP_ERROR_CLIENT_TOO_OLD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorClientTooOld` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_PERMISSION_DENIED` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:116:3 [INFO] [stdout] | [INFO] [stdout] 116 | SP_ERROR_PERMISSION_DENIED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorPermissionDenied` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_OTHER_PERMANENT` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:107:3 [INFO] [stdout] | [INFO] [stdout] 107 | SP_ERROR_OTHER_PERMANENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorOtherPermanent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_INBOX_IS_FULL` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:117:3 [INFO] [stdout] | [INFO] [stdout] 117 | SP_ERROR_INBOX_IS_FULL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorInboxIsFull` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_BAD_USER_AGENT` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:108:3 [INFO] [stdout] | [INFO] [stdout] 108 | SP_ERROR_BAD_USER_AGENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorBadUserAgent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_NO_CACHE` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:118:3 [INFO] [stdout] | [INFO] [stdout] 118 | SP_ERROR_NO_CACHE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorNoCache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_NO_SUCH_USER` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:119:3 [INFO] [stdout] | [INFO] [stdout] 119 | SP_ERROR_NO_SUCH_USER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorNoSuchUser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_MISSING_CALLBACK` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:109:3 [INFO] [stdout] | [INFO] [stdout] 109 | SP_ERROR_MISSING_CALLBACK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorMissingCallback` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_NO_CREDENTIALS` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:120:3 [INFO] [stdout] | [INFO] [stdout] 120 | SP_ERROR_NO_CREDENTIALS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorNoCredentials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_INVALID_INDATA` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:110:3 [INFO] [stdout] | [INFO] [stdout] 110 | SP_ERROR_INVALID_INDATA, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorInvalidIndata` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_NETWORK_DISABLED` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:121:3 [INFO] [stdout] | [INFO] [stdout] 121 | SP_ERROR_NETWORK_DISABLED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorNetworkDisabled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_INDEX_OUT_OF_RANGE` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:111:3 [INFO] [stdout] | [INFO] [stdout] 111 | SP_ERROR_INDEX_OUT_OF_RANGE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorIndexOutOfRange` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_INVALID_DEVICE_ID` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:122:3 [INFO] [stdout] | [INFO] [stdout] 122 | SP_ERROR_INVALID_DEVICE_ID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorInvalidDeviceId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_USER_NEEDS_PREMIUM` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:112:3 [INFO] [stdout] | [INFO] [stdout] 112 | SP_ERROR_USER_NEEDS_PREMIUM, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorUserNeedsPremium` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_OTHER_TRANSIENT` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:113:3 [INFO] [stdout] | [INFO] [stdout] 113 | SP_ERROR_OTHER_TRANSIENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorOtherTransient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_CANT_OPEN_TRACE_FILE` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:123:3 [INFO] [stdout] | [INFO] [stdout] 123 | SP_ERROR_CANT_OPEN_TRACE_FILE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorCantOpenTraceFile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_APPLICATION_BANNED` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:124:3 [INFO] [stdout] | [INFO] [stdout] 124 | SP_ERROR_APPLICATION_BANNED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorApplicationBanned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_IS_LOADING` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:114:3 [INFO] [stdout] | [INFO] [stdout] 114 | SP_ERROR_IS_LOADING, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorIsLoading` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_OFFLINE_TOO_MANY_TRACKS` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:125:3 [INFO] [stdout] | [INFO] [stdout] 125 | SP_ERROR_OFFLINE_TOO_MANY_TRACKS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorOfflineTooManyTracks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_NO_STREAM_AVAILABLE` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:115:3 [INFO] [stdout] | [INFO] [stdout] 115 | SP_ERROR_NO_STREAM_AVAILABLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorNoStreamAvailable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_OFFLINE_DISK_CACHE` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:126:3 [INFO] [stdout] | [INFO] [stdout] 126 | SP_ERROR_OFFLINE_DISK_CACHE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorOfflineDiskCache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_PERMISSION_DENIED` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:116:3 [INFO] [stdout] | [INFO] [stdout] 116 | SP_ERROR_PERMISSION_DENIED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorPermissionDenied` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_INBOX_IS_FULL` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:117:3 [INFO] [stdout] | [INFO] [stdout] 117 | SP_ERROR_INBOX_IS_FULL, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorInboxIsFull` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_OFFLINE_EXPIRED` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:127:3 [INFO] [stdout] | [INFO] [stdout] 127 | SP_ERROR_OFFLINE_EXPIRED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorOfflineExpired` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_NO_CACHE` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:118:3 [INFO] [stdout] | [INFO] [stdout] 118 | SP_ERROR_NO_CACHE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorNoCache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_OFFLINE_NOT_ALLOWED` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:128:3 [INFO] [stdout] | [INFO] [stdout] 128 | SP_ERROR_OFFLINE_NOT_ALLOWED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorOfflineNotAllowed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_NO_SUCH_USER` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:119:3 [INFO] [stdout] | [INFO] [stdout] 119 | SP_ERROR_NO_SUCH_USER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorNoSuchUser` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_OFFLINE_LICENSE_LOST` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:129:3 [INFO] [stdout] | [INFO] [stdout] 129 | SP_ERROR_OFFLINE_LICENSE_LOST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorOfflineLicenseLost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_NO_CREDENTIALS` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:120:3 [INFO] [stdout] | [INFO] [stdout] 120 | SP_ERROR_NO_CREDENTIALS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorNoCredentials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_OFFLINE_LICENSE_ERROR` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:130:3 [INFO] [stdout] | [INFO] [stdout] 130 | SP_ERROR_OFFLINE_LICENSE_ERROR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorOfflineLicenseError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_NETWORK_DISABLED` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:121:3 [INFO] [stdout] | [INFO] [stdout] 121 | SP_ERROR_NETWORK_DISABLED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorNetworkDisabled` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_LASTFM_AUTH_ERROR` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:131:3 [INFO] [stdout] | [INFO] [stdout] 131 | SP_ERROR_LASTFM_AUTH_ERROR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorLastfmAuthError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_INVALID_DEVICE_ID` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:122:3 [INFO] [stdout] | [INFO] [stdout] 122 | SP_ERROR_INVALID_DEVICE_ID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorInvalidDeviceId` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_INVALID_ARGUMENT` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:132:3 [INFO] [stdout] | [INFO] [stdout] 132 | SP_ERROR_INVALID_ARGUMENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorInvalidArgument` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_SYSTEM_FAILURE` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:133:3 [INFO] [stdout] | [INFO] [stdout] 133 | SP_ERROR_SYSTEM_FAILURE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorSystemFailure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_CANT_OPEN_TRACE_FILE` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:123:3 [INFO] [stdout] | [INFO] [stdout] 123 | SP_ERROR_CANT_OPEN_TRACE_FILE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorCantOpenTraceFile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_APPLICATION_BANNED` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:124:3 [INFO] [stdout] | [INFO] [stdout] 124 | SP_ERROR_APPLICATION_BANNED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorApplicationBanned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_OFFLINE_TOO_MANY_TRACKS` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:125:3 [INFO] [stdout] | [INFO] [stdout] 125 | SP_ERROR_OFFLINE_TOO_MANY_TRACKS, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorOfflineTooManyTracks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused imports: `SpAlbum`, `SpAlbumbrowse`, `SpAudioBufferFormat`, `SpAudioformat`, and `SpConnectionState` [INFO] [stdout] --> src/spotify/mod.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | SpAudioBufferFormat, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | SpAudioformat, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | SpConnectionState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | SpArtist, [INFO] [stdout] 24 | SpAlbum, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 25 | SpAlbumbrowse, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_OFFLINE_DISK_CACHE` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:126:3 [INFO] [stdout] | [INFO] [stdout] 126 | SP_ERROR_OFFLINE_DISK_CACHE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorOfflineDiskCache` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `SpLink` [INFO] [stdout] --> src/spotify/mod.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | pub use spotify::links::{SpLink, SpLinkType, sp_link_create_from_string, sp_link_type, sp_link_as_track}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_OFFLINE_EXPIRED` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:127:3 [INFO] [stdout] | [INFO] [stdout] 127 | SP_ERROR_OFFLINE_EXPIRED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorOfflineExpired` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_OFFLINE_NOT_ALLOWED` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:128:3 [INFO] [stdout] | [INFO] [stdout] 128 | SP_ERROR_OFFLINE_NOT_ALLOWED, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorOfflineNotAllowed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_OFFLINE_LICENSE_LOST` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:129:3 [INFO] [stdout] | [INFO] [stdout] 129 | SP_ERROR_OFFLINE_LICENSE_LOST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorOfflineLicenseLost` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_OFFLINE_LICENSE_ERROR` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:130:3 [INFO] [stdout] | [INFO] [stdout] 130 | SP_ERROR_OFFLINE_LICENSE_ERROR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorOfflineLicenseError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_LASTFM_AUTH_ERROR` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:131:3 [INFO] [stdout] | [INFO] [stdout] 131 | SP_ERROR_LASTFM_AUTH_ERROR, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorLastfmAuthError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_INVALID_ARGUMENT` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:132:3 [INFO] [stdout] | [INFO] [stdout] 132 | SP_ERROR_INVALID_ARGUMENT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorInvalidArgument` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: variant `SP_ERROR_SYSTEM_FAILURE` should have an upper camel case name [INFO] [stdout] --> src/spotify/types.rs:133:3 [INFO] [stdout] | [INFO] [stdout] 133 | SP_ERROR_SYSTEM_FAILURE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SpErrorSystemFailure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused imports: `SpAlbum`, `SpAlbumbrowse`, `SpAudioBufferFormat`, `SpAudioformat`, and `SpConnectionState` [INFO] [stdout] --> src/spotify/mod.rs:15:3 [INFO] [stdout] | [INFO] [stdout] 15 | SpAudioBufferFormat, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | SpAudioformat, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | SpConnectionState, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | SpArtist, [INFO] [stdout] 24 | SpAlbum, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 25 | SpAlbumbrowse, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(unused_imports)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: unused import: `SpLink` [INFO] [stdout] --> src/spotify/mod.rs:29:26 [INFO] [stdout] | [INFO] [stdout] 29 | pub use spotify::links::{SpLink, SpLinkType, sp_link_create_from_string, sp_link_type, sp_link_as_track}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/player/openal_player.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/player/openal_player.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | static INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 14 | static INIT: Once = Once::new(); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/player/openal_player.rs:13:27 [INFO] [stdout] | [INFO] [stdout] 13 | use std::sync::{Once, ONCE_INIT}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/player/openal_player.rs:14:25 [INFO] [stdout] | [INFO] [stdout] 14 | static INIT: Once = ONCE_INIT; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: replace the use of the deprecated constant [INFO] [stdout] | [INFO] [stdout] 14 | static INIT: Once = Once::new(); [INFO] [stdout] | ~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/spotify/types.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | pub player: Arc>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | pub player: Arc>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/spotify/types.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | pub player: Arc>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[deny(bare_trait_objects)]` implied by `#[deny(warnings)]` [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 18 | pub player: Arc>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:57:32 [INFO] [stdout] | [INFO] [stdout] 57 | player: Arc>) -> (Session, Receiver) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | player: Arc>) -> (Session, Receiver) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:57:32 [INFO] [stdout] | [INFO] [stdout] 57 | player: Arc>) -> (Session, Receiver) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 57 | player: Arc>) -> (Session, Receiver) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type alias `SpSearchCompleteCallback` is never used [INFO] [stdout] --> src/spotify/types.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub type SpSearchCompleteCallback = extern fn(*const SpSearch, *const libc::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: field `0` is never read [INFO] [stdout] --> src/spotify/types.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | ConnectionError(SpError), [INFO] [stdout] | --------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpSessionCallback` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 77 | ConnectionError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: field `0` is never read [INFO] [stdout] --> src/spotify/types.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 81 | StreamingError(SpError), [INFO] [stdout] | -------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpSessionCallback` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 81 | StreamingError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: field `0` is never read [INFO] [stdout] --> src/spotify/types.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | OfflineError(SpError), [INFO] [stdout] | ------------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpSessionCallback` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 86 | OfflineError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: field `0` is never read [INFO] [stdout] --> src/spotify/types.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | ScrobbleError(SpError), [INFO] [stdout] | ------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpSessionCallback` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 88 | ScrobbleError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: field `0` is never read [INFO] [stdout] --> src/spotify/types.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | PrivateSessionModeChanged(bool), [INFO] [stdout] | ------------------------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpSessionCallback` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 89 | PrivateSessionModeChanged(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/lib.rs:68:64 [INFO] [stdout] | [INFO] [stdout] 68 | config.user_agent = ffi::CString::new(user_agent).unwrap().as_ptr(); [INFO] [stdout] | -------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[deny(temporary_cstring_as_ptr)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: type alias `SpSearchCompleteCallback` is never used [INFO] [stdout] --> src/spotify/types.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub type SpSearchCompleteCallback = extern fn(*const SpSearch, *const libc::c_void); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: field `0` is never read [INFO] [stdout] --> src/spotify/types.rs:77:19 [INFO] [stdout] | [INFO] [stdout] 77 | ConnectionError(SpError), [INFO] [stdout] | --------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpSessionCallback` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 77 | ConnectionError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: field `0` is never read [INFO] [stdout] --> src/spotify/types.rs:81:18 [INFO] [stdout] | [INFO] [stdout] 81 | StreamingError(SpError), [INFO] [stdout] | -------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpSessionCallback` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 81 | StreamingError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: field `0` is never read [INFO] [stdout] --> src/spotify/types.rs:86:16 [INFO] [stdout] | [INFO] [stdout] 86 | OfflineError(SpError), [INFO] [stdout] | ------------ ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpSessionCallback` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 86 | OfflineError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: field `0` is never read [INFO] [stdout] --> src/spotify/types.rs:88:17 [INFO] [stdout] | [INFO] [stdout] 88 | ScrobbleError(SpError), [INFO] [stdout] | ------------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpSessionCallback` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 88 | ScrobbleError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: field `0` is never read [INFO] [stdout] --> src/spotify/types.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | PrivateSessionModeChanged(bool), [INFO] [stdout] | ------------------------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `SpSessionCallback` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 89 | PrivateSessionModeChanged(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: getting the inner pointer of a temporary `CString` [INFO] [stdout] --> src/lib.rs:68:64 [INFO] [stdout] | [INFO] [stdout] 68 | config.user_agent = ffi::CString::new(user_agent).unwrap().as_ptr(); [INFO] [stdout] | -------------------------------------- ^^^^^^ this pointer will be invalid [INFO] [stdout] | | [INFO] [stdout] | this `CString` is deallocated at the end of the statement, bind it to a variable to extend its lifetime [INFO] [stdout] | [INFO] [stdout] = note: pointers do not have a lifetime; when calling `as_ptr` the `CString` will be deallocated at the end of the statement because nothing is referencing it as far as the type system is concerned [INFO] [stdout] = help: for more information, see https://doc.rust-lang.org/reference/destructors.html [INFO] [stdout] = note: `#[deny(temporary_cstring_as_ptr)]` implied by `#[deny(warnings)]` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 50 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 50 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustify` (lib) due to 51 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rustify` (lib test) due to 51 previous errors [INFO] running `Command { std: "docker" "inspect" "4296f568662bc1d3d8e85382e049b2bcabba5b68b06b28c624751089ef537f09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4296f568662bc1d3d8e85382e049b2bcabba5b68b06b28c624751089ef537f09", kill_on_drop: false }` [INFO] [stdout] 4296f568662bc1d3d8e85382e049b2bcabba5b68b06b28c624751089ef537f09