[INFO] cloning repository https://github.com/davnav/redditrustSDK [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/davnav/redditrustSDK" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavnav%2FredditrustSDK", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavnav%2FredditrustSDK'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 094e9638984db5ab8e8475368897c87f579f87a8 [INFO] testing davnav/redditrustSDK against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdavnav%2FredditrustSDK" "/workspace/builds/worker-11/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/davnav/redditrustSDK on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/davnav/redditrustSDK [INFO] finished tweaking git repo https://github.com/davnav/redditrustSDK [INFO] tweaked toml for git repo https://github.com/davnav/redditrustSDK written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/davnav/redditrustSDK already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--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-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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4499b802eff700cd53671d41512a49b9f958ec7ae854db3620316938bbd04b8a [INFO] running `Command { std: "docker" "start" "-a" "4499b802eff700cd53671d41512a49b9f958ec7ae854db3620316938bbd04b8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4499b802eff700cd53671d41512a49b9f958ec7ae854db3620316938bbd04b8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4499b802eff700cd53671d41512a49b9f958ec7ae854db3620316938bbd04b8a", kill_on_drop: false }` [INFO] [stdout] 4499b802eff700cd53671d41512a49b9f958ec7ae854db3620316938bbd04b8a [INFO] running `Command { std: "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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4b86e9085863bd39df582b9c87b3b4a74c959922567c15eafef601a02c1ee75b [INFO] running `Command { std: "docker" "start" "-a" "4b86e9085863bd39df582b9c87b3b4a74c959922567c15eafef601a02c1ee75b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.77 [INFO] [stderr] Compiling proc-macro2 v1.0.21 [INFO] [stderr] Compiling syn v1.0.41 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling pin-project-lite v0.1.7 [INFO] [stderr] Compiling pin-project-internal v0.4.23 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling hashbrown v0.9.0 [INFO] [stderr] Compiling native-tls v0.2.4 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling openssl-probe v0.1.2 [INFO] [stderr] Compiling encoding_rs v0.8.24 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling tracing-core v0.1.16 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling tracing v0.1.19 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling socket2 v0.3.15 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling pin-project v0.4.23 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-tls v0.3.1 [INFO] [stderr] Compiling tokio-test v0.2.1 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling hyper v0.13.8 [INFO] [stderr] Compiling hyper-tls v0.4.3 [INFO] [stderr] Compiling reqwest v0.10.8 [INFO] [stderr] Compiling redditrustSDK v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `reqwest::Error` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use reqwest::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/lib.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::{Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/lib.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Serialize,Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::RedditError` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use error::RedditError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `temporary` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | temporary, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Temporary` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `permanent` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | permanent, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Permanent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `identify` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | identify, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Identify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `edit` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | edit, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Edit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `flair` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | flair, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Flair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `history` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | history, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `History` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `modconfig` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | modconfig, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Modconfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `modflair` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | modflair, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Modflair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `modlog` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | modlog, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Modlog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `modposts` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | modposts, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Modposts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `modwiki` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | modwiki, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Modwiki` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `mysubreddits` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | mysubreddits, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mysubreddits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `privatemessages` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | privatemessages, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Privatemessages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `read` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | read, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `report` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | report, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Report` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `save` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | save, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Save` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `submit` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | submit, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Submit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `subscribe` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | subscribe, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Subscribe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `vote` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | vote, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `wikiedit` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | wikiedit, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Wikiedit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `wikiread` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | wikiread, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Wikiread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Oauth::*` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use Oauth::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `endpoints::*` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use endpoints::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `REDDIT_API_URL` [INFO] [stdout] --> src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | static REDDIT_API_URL:&str = "https://www.reddit.com/api/v1/"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `REDDIT_URL` [INFO] [stdout] --> src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | static REDDIT_URL:&str = "https://www.reddit.com/"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HyperInvalidUri` [INFO] [stdout] --> src/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | HyperInvalidUri, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RedditError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `temporary` [INFO] [stdout] --> src/Oauth.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | temporary, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Duration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `permanent` [INFO] [stdout] --> src/Oauth.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | permanent, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Duration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `identify` [INFO] [stdout] --> src/Oauth.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | identify, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `edit` [INFO] [stdout] --> src/Oauth.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | edit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `flair` [INFO] [stdout] --> src/Oauth.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | flair, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `history` [INFO] [stdout] --> src/Oauth.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | history, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `modconfig` [INFO] [stdout] --> src/Oauth.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | modconfig, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `modflair` [INFO] [stdout] --> src/Oauth.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | modflair, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `modlog` [INFO] [stdout] --> src/Oauth.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | modlog, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `modposts` [INFO] [stdout] --> src/Oauth.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | modposts, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `modwiki` [INFO] [stdout] --> src/Oauth.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | modwiki, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `mysubreddits` [INFO] [stdout] --> src/Oauth.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | mysubreddits, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `privatemessages` [INFO] [stdout] --> src/Oauth.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | privatemessages, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `read` [INFO] [stdout] --> src/Oauth.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | read, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `report` [INFO] [stdout] --> src/Oauth.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | report, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `save` [INFO] [stdout] --> src/Oauth.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | save, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `submit` [INFO] [stdout] --> src/Oauth.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | submit, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `subscribe` [INFO] [stdout] --> src/Oauth.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | subscribe, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `vote` [INFO] [stdout] --> src/Oauth.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | vote, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `wikiedit` [INFO] [stdout] --> src/Oauth.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | wikiedit, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `wikiread` [INFO] [stdout] --> src/Oauth.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | wikiread, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `client_id` [INFO] [stdout] --> src/Oauth.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | client_id:Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OauthReddit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `response_type` [INFO] [stdout] --> src/Oauth.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | response_type:Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OauthReddit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state` [INFO] [stdout] --> src/Oauth.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | state:&'a str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OauthReddit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `client_secret` [INFO] [stdout] --> src/Oauth.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | client_secret:Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OauthReddit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `redirect_url` [INFO] [stdout] --> src/Oauth.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | redirect_url:Option<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OauthReddit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `duration` [INFO] [stdout] --> src/Oauth.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | duration:Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OauthReddit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scope` [INFO] [stdout] --> src/Oauth.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | scope:Scope, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OauthReddit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/Oauth.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new() -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_client_id` [INFO] [stdout] --> src/Oauth.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn with_client_id(self,client_id:Option)-> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_response_type` [INFO] [stdout] --> src/Oauth.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn with_response_type(self,response_type:Option)-> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_state` [INFO] [stdout] --> src/Oauth.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn with_state(self,state:&'a str)-> Self{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_client_secret` [INFO] [stdout] --> src/Oauth.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn with_client_secret(self,client_secret:Option)-> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_redirect_url` [INFO] [stdout] --> src/Oauth.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn with_redirect_url(self,redirect_url:Option<&'a str>)-> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_duration` [INFO] [stdout] --> src/Oauth.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn with_duration(self,duration:Duration)-> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_scope` [INFO] [stdout] --> src/Oauth.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn with_scope(self,scope:Scope)-> Self{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/Oauth.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn build(self) -> Self{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `authorize` [INFO] [stdout] --> src/Oauth.rs:165:18 [INFO] [stdout] | [INFO] [stdout] 165 | pub async fn authorize(&self)-> Result<(),RedditError>{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `subreddit` [INFO] [stdout] --> src/endpoints.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | subreddit:Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Path` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/endpoints.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `section` [INFO] [stdout] --> src/endpoints.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | section:String [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Path` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/endpoints.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/endpoints.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(subreddit:Option,section:String) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `search` [INFO] [stdout] --> src/endpoints.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn search(path:Path) -> Result<(),RedditError>{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `redditrustSDK` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `redditrust_sdk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Oauth` should have a snake case name [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | mod Oauth; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `oauth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 75 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 37.39s [INFO] running `Command { std: "docker" "inspect" "4b86e9085863bd39df582b9c87b3b4a74c959922567c15eafef601a02c1ee75b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4b86e9085863bd39df582b9c87b3b4a74c959922567c15eafef601a02c1ee75b", kill_on_drop: false }` [INFO] [stdout] 4b86e9085863bd39df582b9c87b3b4a74c959922567c15eafef601a02c1ee75b [INFO] running `Command { std: "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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 543f7062c9c14d4ef054aac974ab7d8d83b1fd47d5a26d9cac16a471e3fa5b77 [INFO] running `Command { std: "docker" "start" "-a" "543f7062c9c14d4ef054aac974ab7d8d83b1fd47d5a26d9cac16a471e3fa5b77", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] warning: unused import: `reqwest::Error` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use reqwest::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/lib.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::{Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/lib.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Serialize,Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::RedditError` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use error::RedditError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `temporary` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | temporary, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Temporary` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `permanent` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | permanent, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Permanent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `identify` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | identify, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Identify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `edit` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | edit, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Edit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `flair` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | flair, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Flair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `history` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | history, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `History` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `modconfig` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | modconfig, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Modconfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `modflair` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | modflair, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Modflair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `modlog` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | modlog, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Modlog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `modposts` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | modposts, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Modposts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `modwiki` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | modwiki, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Modwiki` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `mysubreddits` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | mysubreddits, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mysubreddits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `privatemessages` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | privatemessages, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Privatemessages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `read` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | read, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `report` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | report, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Report` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `save` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | save, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Save` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `submit` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | submit, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Submit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `subscribe` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | subscribe, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Subscribe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `vote` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | vote, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `wikiedit` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | wikiedit, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Wikiedit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `wikiread` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | wikiread, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Wikiread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Oauth::*` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use Oauth::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `endpoints::*` [INFO] [stdout] --> src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use endpoints::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `REDDIT_API_URL` [INFO] [stdout] --> src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | static REDDIT_API_URL:&str = "https://www.reddit.com/api/v1/"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `REDDIT_URL` [INFO] [stdout] --> src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | static REDDIT_URL:&str = "https://www.reddit.com/"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HyperInvalidUri` [INFO] [stdout] --> src/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | HyperInvalidUri, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RedditError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `temporary` [INFO] [stdout] --> src/Oauth.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | temporary, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Duration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `permanent` [INFO] [stdout] --> src/Oauth.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | permanent, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Duration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `identify` [INFO] [stdout] --> src/Oauth.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | identify, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `edit` [INFO] [stdout] --> src/Oauth.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | edit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `flair` [INFO] [stdout] --> src/Oauth.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | flair, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `history` [INFO] [stdout] --> src/Oauth.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | history, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `modconfig` [INFO] [stdout] --> src/Oauth.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | modconfig, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `modflair` [INFO] [stdout] --> src/Oauth.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | modflair, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `modlog` [INFO] [stdout] --> src/Oauth.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | modlog, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `modposts` [INFO] [stdout] --> src/Oauth.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | modposts, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `modwiki` [INFO] [stdout] --> src/Oauth.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | modwiki, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `mysubreddits` [INFO] [stdout] --> src/Oauth.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | mysubreddits, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling redditrustSDK v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variant is never constructed: `privatemessages` [INFO] [stdout] --> src/Oauth.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | privatemessages, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `read` [INFO] [stdout] --> src/Oauth.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | read, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `report` [INFO] [stdout] --> src/Oauth.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | report, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `save` [INFO] [stdout] --> src/Oauth.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | save, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `submit` [INFO] [stdout] --> src/Oauth.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | submit, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `subscribe` [INFO] [stdout] --> src/Oauth.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | subscribe, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `vote` [INFO] [stdout] --> src/Oauth.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | vote, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `wikiedit` [INFO] [stdout] --> src/Oauth.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | wikiedit, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `wikiread` [INFO] [stdout] --> src/Oauth.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | wikiread, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `client_id` [INFO] [stdout] --> src/Oauth.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | client_id:Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OauthReddit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `response_type` [INFO] [stdout] --> src/Oauth.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | response_type:Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OauthReddit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state` [INFO] [stdout] --> src/Oauth.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | state:&'a str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OauthReddit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `client_secret` [INFO] [stdout] --> src/Oauth.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | client_secret:Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OauthReddit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `redirect_url` [INFO] [stdout] --> src/Oauth.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | redirect_url:Option<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OauthReddit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `duration` [INFO] [stdout] --> src/Oauth.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | duration:Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OauthReddit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scope` [INFO] [stdout] --> src/Oauth.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | scope:Scope, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OauthReddit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/Oauth.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new() -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_client_id` [INFO] [stdout] --> src/Oauth.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn with_client_id(self,client_id:Option)-> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_response_type` [INFO] [stdout] --> src/Oauth.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn with_response_type(self,response_type:Option)-> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_state` [INFO] [stdout] --> src/Oauth.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn with_state(self,state:&'a str)-> Self{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_client_secret` [INFO] [stdout] --> src/Oauth.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn with_client_secret(self,client_secret:Option)-> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_redirect_url` [INFO] [stdout] --> src/Oauth.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn with_redirect_url(self,redirect_url:Option<&'a str>)-> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_duration` [INFO] [stdout] --> src/Oauth.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn with_duration(self,duration:Duration)-> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_scope` [INFO] [stdout] --> src/Oauth.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn with_scope(self,scope:Scope)-> Self{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/Oauth.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn build(self) -> Self{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `authorize` [INFO] [stdout] --> src/Oauth.rs:165:18 [INFO] [stdout] | [INFO] [stdout] 165 | pub async fn authorize(&self)-> Result<(),RedditError>{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `subreddit` [INFO] [stdout] --> src/endpoints.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | subreddit:Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Path` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/endpoints.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `section` [INFO] [stdout] --> src/endpoints.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | section:String [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Path` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/endpoints.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/endpoints.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn new(subreddit:Option,section:String) -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `search` [INFO] [stdout] --> src/endpoints.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | pub async fn search(path:Path) -> Result<(),RedditError>{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `redditrustSDK` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `redditrust_sdk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Oauth` should have a snake case name [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | mod Oauth; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `oauth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 75 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `reqwest::Error` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use reqwest::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Value` [INFO] [stdout] --> src/lib.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::{Value}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/lib.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use serde::{Serialize,Deserialize}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error::RedditError` [INFO] [stdout] --> src/lib.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use error::RedditError; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `temporary` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | temporary, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Temporary` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `permanent` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | permanent, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Permanent` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `identify` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | identify, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Identify` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `edit` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | edit, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Edit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `flair` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | flair, [INFO] [stdout] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Flair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `history` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | history, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `History` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `modconfig` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | modconfig, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Modconfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `modflair` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | modflair, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Modflair` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `modlog` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | modlog, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Modlog` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `modposts` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | modposts, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `Modposts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `modwiki` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | modwiki, [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper camel case: `Modwiki` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `mysubreddits` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | mysubreddits, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mysubreddits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `privatemessages` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | privatemessages, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Privatemessages` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `read` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | read, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case: `Read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `report` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | report, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case: `Report` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `save` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | save, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Save` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `submit` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | submit, [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Submit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `subscribe` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | subscribe, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Subscribe` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `vote` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | vote, [INFO] [stdout] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vote` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `wikiedit` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | wikiedit, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Wikiedit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `wikiread` should have an upper camel case name [INFO] [stdout] --> src/Oauth.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | wikiread, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Wikiread` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Oauth::*` [INFO] [stdout] --> src/lib.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use Oauth::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: duplicated attribute [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | #[test] [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(duplicate_macro_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::prelude::*` [INFO] [stdout] --> src/lib.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/lib.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `REDDIT_API_URL` [INFO] [stdout] --> src/lib.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | static REDDIT_API_URL:&str = "https://www.reddit.com/api/v1/"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `HyperInvalidUri` [INFO] [stdout] --> src/error.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | HyperInvalidUri, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `RedditError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/error.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `temporary` [INFO] [stdout] --> src/Oauth.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | temporary, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Duration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `permanent` [INFO] [stdout] --> src/Oauth.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | permanent, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Duration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `identify` [INFO] [stdout] --> src/Oauth.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | identify, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `edit` [INFO] [stdout] --> src/Oauth.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | edit, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `flair` [INFO] [stdout] --> src/Oauth.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | flair, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `history` [INFO] [stdout] --> src/Oauth.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | history, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `modconfig` [INFO] [stdout] --> src/Oauth.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | modconfig, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `modflair` [INFO] [stdout] --> src/Oauth.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | modflair, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `modlog` [INFO] [stdout] --> src/Oauth.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | modlog, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `modposts` [INFO] [stdout] --> src/Oauth.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | modposts, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `modwiki` [INFO] [stdout] --> src/Oauth.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | modwiki, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `mysubreddits` [INFO] [stdout] --> src/Oauth.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | mysubreddits, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `privatemessages` [INFO] [stdout] --> src/Oauth.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | privatemessages, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `read` [INFO] [stdout] --> src/Oauth.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | read, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `report` [INFO] [stdout] --> src/Oauth.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | report, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `save` [INFO] [stdout] --> src/Oauth.rs:28:5 [INFO] [stdout] | [INFO] [stdout] 28 | save, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `submit` [INFO] [stdout] --> src/Oauth.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | submit, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `subscribe` [INFO] [stdout] --> src/Oauth.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | subscribe, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `vote` [INFO] [stdout] --> src/Oauth.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | vote, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `wikiedit` [INFO] [stdout] --> src/Oauth.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | wikiedit, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `wikiread` [INFO] [stdout] --> src/Oauth.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | wikiread, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `client_id` [INFO] [stdout] --> src/Oauth.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | client_id:Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OauthReddit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `response_type` [INFO] [stdout] --> src/Oauth.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | response_type:Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OauthReddit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `state` [INFO] [stdout] --> src/Oauth.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | state:&'a str, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OauthReddit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `client_secret` [INFO] [stdout] --> src/Oauth.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | client_secret:Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OauthReddit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `redirect_url` [INFO] [stdout] --> src/Oauth.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | redirect_url:Option<&'a str>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OauthReddit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `duration` [INFO] [stdout] --> src/Oauth.rs:43:5 [INFO] [stdout] | [INFO] [stdout] 43 | duration:Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OauthReddit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `scope` [INFO] [stdout] --> src/Oauth.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | scope:Scope, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `OauthReddit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/Oauth.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/Oauth.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn new() -> Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_client_id` [INFO] [stdout] --> src/Oauth.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn with_client_id(self,client_id:Option)-> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_response_type` [INFO] [stdout] --> src/Oauth.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn with_response_type(self,response_type:Option)-> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_state` [INFO] [stdout] --> src/Oauth.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn with_state(self,state:&'a str)-> Self{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_client_secret` [INFO] [stdout] --> src/Oauth.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn with_client_secret(self,client_secret:Option)-> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_redirect_url` [INFO] [stdout] --> src/Oauth.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn with_redirect_url(self,redirect_url:Option<&'a str>)-> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_duration` [INFO] [stdout] --> src/Oauth.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn with_duration(self,duration:Duration)-> Self{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `with_scope` [INFO] [stdout] --> src/Oauth.rs:146:12 [INFO] [stdout] | [INFO] [stdout] 146 | pub fn with_scope(self,scope:Scope)-> Self{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `build` [INFO] [stdout] --> src/Oauth.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | pub fn build(self) -> Self{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `authorize` [INFO] [stdout] --> src/Oauth.rs:165:18 [INFO] [stdout] | [INFO] [stdout] 165 | pub async fn authorize(&self)-> Result<(),RedditError>{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: crate `redditrustSDK` should have a snake case name [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = help: convert the identifier to snake case: `redditrust_sdk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Oauth` should have a snake case name [INFO] [stdout] --> src/lib.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | mod Oauth; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `oauth` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/lib.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | tokio_test::block_on(search(path)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 72 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 3.55s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/redditrustSDK-ea757cb9b14ee398) [INFO] running `Command { std: "docker" "inspect" "543f7062c9c14d4ef054aac974ab7d8d83b1fd47d5a26d9cac16a471e3fa5b77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "543f7062c9c14d4ef054aac974ab7d8d83b1fd47d5a26d9cac16a471e3fa5b77", kill_on_drop: false }` [INFO] [stdout] 543f7062c9c14d4ef054aac974ab7d8d83b1fd47d5a26d9cac16a471e3fa5b77 [INFO] running `Command { std: "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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e1d22c6183f0a1c5f0613927355f98ae73e4bc699b0f9891fe3e2756035cb94d [INFO] running `Command { std: "docker" "start" "-a" "e1d22c6183f0a1c5f0613927355f98ae73e4bc699b0f9891fe3e2756035cb94d", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `reqwest::Error` [INFO] [stderr] --> src/lib.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use reqwest::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::env` [INFO] [stderr] --> src/lib.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::env; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Value` [INFO] [stderr] --> src/lib.rs:4:18 [INFO] [stderr] | [INFO] [stderr] 4 | use serde_json::{Value}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stderr] --> src/lib.rs:5:13 [INFO] [stderr] | [INFO] [stderr] 5 | use serde::{Serialize,Deserialize}; [INFO] [stderr] | ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `error::RedditError` [INFO] [stderr] --> src/lib.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use error::RedditError; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant `temporary` should have an upper camel case name [INFO] [stderr] --> src/Oauth.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | temporary, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Temporary` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant `permanent` should have an upper camel case name [INFO] [stderr] --> src/Oauth.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | permanent, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Permanent` [INFO] [stderr] [INFO] [stderr] warning: variant `identify` should have an upper camel case name [INFO] [stderr] --> src/Oauth.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | identify, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Identify` [INFO] [stderr] [INFO] [stderr] warning: variant `edit` should have an upper camel case name [INFO] [stderr] --> src/Oauth.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | edit, [INFO] [stderr] | ^^^^ help: convert the identifier to upper camel case: `Edit` [INFO] [stderr] [INFO] [stderr] warning: variant `flair` should have an upper camel case name [INFO] [stderr] --> src/Oauth.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | flair, [INFO] [stderr] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Flair` [INFO] [stderr] [INFO] [stderr] warning: variant `history` should have an upper camel case name [INFO] [stderr] --> src/Oauth.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | history, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper camel case: `History` [INFO] [stderr] [INFO] [stderr] warning: variant `modconfig` should have an upper camel case name [INFO] [stderr] --> src/Oauth.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | modconfig, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Modconfig` [INFO] [stderr] [INFO] [stderr] warning: variant `modflair` should have an upper camel case name [INFO] [stderr] --> src/Oauth.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | modflair, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper camel case: `Modflair` [INFO] [stderr] [INFO] [stderr] warning: variant `modlog` should have an upper camel case name [INFO] [stderr] --> src/Oauth.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | modlog, [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper camel case: `Modlog` [INFO] [stderr] [INFO] [stderr] warning: variant `modposts` should have an upper camel case name [INFO] [stderr] --> src/Oauth.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | modposts, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper camel case: `Modposts` [INFO] [stderr] [INFO] [stderr] warning: variant `modwiki` should have an upper camel case name [INFO] [stderr] --> src/Oauth.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | modwiki, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper camel case: `Modwiki` [INFO] [stderr] [INFO] [stderr] warning: variant `mysubreddits` should have an upper camel case name [INFO] [stderr] --> src/Oauth.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | mysubreddits, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mysubreddits` [INFO] [stderr] [INFO] [stderr] warning: variant `privatemessages` should have an upper camel case name [INFO] [stderr] --> src/Oauth.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | privatemessages, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Privatemessages` [INFO] [stderr] [INFO] [stderr] warning: variant `read` should have an upper camel case name [INFO] [stderr] --> src/Oauth.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | read, [INFO] [stderr] | ^^^^ help: convert the identifier to upper camel case: `Read` [INFO] [stderr] [INFO] [stderr] warning: variant `report` should have an upper camel case name [INFO] [stderr] --> src/Oauth.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | report, [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper camel case: `Report` [INFO] [stderr] [INFO] [stderr] warning: variant `save` should have an upper camel case name [INFO] [stderr] --> src/Oauth.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | save, [INFO] [stderr] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Save` [INFO] [stderr] [INFO] [stderr] warning: variant `submit` should have an upper camel case name [INFO] [stderr] --> src/Oauth.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | submit, [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Submit` [INFO] [stderr] [INFO] [stderr] warning: variant `subscribe` should have an upper camel case name [INFO] [stderr] --> src/Oauth.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | subscribe, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Subscribe` [INFO] [stderr] [INFO] [stderr] warning: variant `vote` should have an upper camel case name [INFO] [stderr] --> src/Oauth.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | vote, [INFO] [stderr] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vote` [INFO] [stderr] [INFO] [stderr] warning: variant `wikiedit` should have an upper camel case name [INFO] [stderr] --> src/Oauth.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | wikiedit, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Wikiedit` [INFO] [stderr] [INFO] [stderr] warning: variant `wikiread` should have an upper camel case name [INFO] [stderr] --> src/Oauth.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | wikiread, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Wikiread` [INFO] [stderr] [INFO] [stderr] warning: unused import: `Oauth::*` [INFO] [stderr] --> src/lib.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use Oauth::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `endpoints::*` [INFO] [stderr] --> src/lib.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use endpoints::*; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: static is never used: `REDDIT_API_URL` [INFO] [stderr] --> src/lib.rs:16:1 [INFO] [stderr] | [INFO] [stderr] 16 | static REDDIT_API_URL:&str = "https://www.reddit.com/api/v1/"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: static is never used: `REDDIT_URL` [INFO] [stderr] --> src/lib.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | static REDDIT_URL:&str = "https://www.reddit.com/"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `HyperInvalidUri` [INFO] [stderr] --> src/error.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | HyperInvalidUri, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `RedditError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/error.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `temporary` [INFO] [stderr] --> src/Oauth.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | temporary, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Duration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Oauth.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `permanent` [INFO] [stderr] --> src/Oauth.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | permanent, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Duration` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Oauth.rs:6:10 [INFO] [stderr] | [INFO] [stderr] 6 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `identify` [INFO] [stderr] --> src/Oauth.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | identify, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Oauth.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `edit` [INFO] [stderr] --> src/Oauth.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | edit, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Oauth.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `flair` [INFO] [stderr] --> src/Oauth.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | flair, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Oauth.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `history` [INFO] [stderr] --> src/Oauth.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | history, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Oauth.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `modconfig` [INFO] [stderr] --> src/Oauth.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | modconfig, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Oauth.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `modflair` [INFO] [stderr] --> src/Oauth.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | modflair, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Oauth.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `modlog` [INFO] [stderr] --> src/Oauth.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | modlog, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Oauth.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `modposts` [INFO] [stderr] --> src/Oauth.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | modposts, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Oauth.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `modwiki` [INFO] [stderr] --> src/Oauth.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | modwiki, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Oauth.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `mysubreddits` [INFO] [stderr] --> src/Oauth.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | mysubreddits, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Oauth.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `privatemessages` [INFO] [stderr] --> src/Oauth.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | privatemessages, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Oauth.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `read` [INFO] [stderr] --> src/Oauth.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | read, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Oauth.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `report` [INFO] [stderr] --> src/Oauth.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | report, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Oauth.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `save` [INFO] [stderr] --> src/Oauth.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | save, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Oauth.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `submit` [INFO] [stderr] --> src/Oauth.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | submit, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Oauth.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `subscribe` [INFO] [stderr] --> src/Oauth.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | subscribe, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Oauth.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `vote` [INFO] [stderr] --> src/Oauth.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | vote, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Oauth.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `wikiedit` [INFO] [stderr] --> src/Oauth.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | wikiedit, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Oauth.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `wikiread` [INFO] [stderr] --> src/Oauth.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | wikiread, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Scope` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Oauth.rs:13:10 [INFO] [stderr] | [INFO] [stderr] 13 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `client_id` [INFO] [stderr] --> src/Oauth.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 38 | client_id:Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `OauthReddit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Oauth.rs:35:10 [INFO] [stderr] | [INFO] [stderr] 35 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `response_type` [INFO] [stderr] --> src/Oauth.rs:39:5 [INFO] [stderr] | [INFO] [stderr] 39 | response_type:Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `OauthReddit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Oauth.rs:35:10 [INFO] [stderr] | [INFO] [stderr] 35 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `state` [INFO] [stderr] --> src/Oauth.rs:40:5 [INFO] [stderr] | [INFO] [stderr] 40 | state:&'a str, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `OauthReddit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Oauth.rs:35:10 [INFO] [stderr] | [INFO] [stderr] 35 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `client_secret` [INFO] [stderr] --> src/Oauth.rs:41:5 [INFO] [stderr] | [INFO] [stderr] 41 | client_secret:Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `OauthReddit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Oauth.rs:35:10 [INFO] [stderr] | [INFO] [stderr] 35 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `redirect_url` [INFO] [stderr] --> src/Oauth.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | redirect_url:Option<&'a str>, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `OauthReddit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Oauth.rs:35:10 [INFO] [stderr] | [INFO] [stderr] 35 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `duration` [INFO] [stderr] --> src/Oauth.rs:43:5 [INFO] [stderr] | [INFO] [stderr] 43 | duration:Duration, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `OauthReddit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Oauth.rs:35:10 [INFO] [stderr] | [INFO] [stderr] 35 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `scope` [INFO] [stderr] --> src/Oauth.rs:44:5 [INFO] [stderr] | [INFO] [stderr] 44 | scope:Scope, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `OauthReddit` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/Oauth.rs:35:10 [INFO] [stderr] | [INFO] [stderr] 35 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/Oauth.rs:49:12 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn new() -> Self{ [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `with_client_id` [INFO] [stderr] --> src/Oauth.rs:61:12 [INFO] [stderr] | [INFO] [stderr] 61 | pub fn with_client_id(self,client_id:Option)-> Self{ [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `with_response_type` [INFO] [stderr] --> src/Oauth.rs:75:12 [INFO] [stderr] | [INFO] [stderr] 75 | pub fn with_response_type(self,response_type:Option)-> Self{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `with_state` [INFO] [stderr] --> src/Oauth.rs:89:12 [INFO] [stderr] | [INFO] [stderr] 89 | pub fn with_state(self,state:&'a str)-> Self{ [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `with_client_secret` [INFO] [stderr] --> src/Oauth.rs:103:12 [INFO] [stderr] | [INFO] [stderr] 103 | pub fn with_client_secret(self,client_secret:Option)-> Self{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `with_redirect_url` [INFO] [stderr] --> src/Oauth.rs:117:12 [INFO] [stderr] | [INFO] [stderr] 117 | pub fn with_redirect_url(self,redirect_url:Option<&'a str>)-> Self{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `with_duration` [INFO] [stderr] --> src/Oauth.rs:131:12 [INFO] [stderr] | [INFO] [stderr] 131 | pub fn with_duration(self,duration:Duration)-> Self{ [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `with_scope` [INFO] [stderr] --> src/Oauth.rs:146:12 [INFO] [stderr] | [INFO] [stderr] 146 | pub fn with_scope(self,scope:Scope)-> Self{ [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `build` [INFO] [stderr] --> src/Oauth.rs:160:12 [INFO] [stderr] | [INFO] [stderr] 160 | pub fn build(self) -> Self{ [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `authorize` [INFO] [stderr] --> src/Oauth.rs:165:18 [INFO] [stderr] | [INFO] [stderr] 165 | pub async fn authorize(&self)-> Result<(),RedditError>{ [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `subreddit` [INFO] [stderr] --> src/endpoints.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | subreddit:Option, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Path` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/endpoints.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `section` [INFO] [stderr] --> src/endpoints.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | section:String [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Path` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/endpoints.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `new` [INFO] [stderr] --> src/endpoints.rs:13:12 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn new(subreddit:Option,section:String) -> Self{ [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `search` [INFO] [stderr] --> src/endpoints.rs:21:14 [INFO] [stderr] | [INFO] [stderr] 21 | pub async fn search(path:Path) -> Result<(),RedditError>{ [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: crate `redditrustSDK` should have a snake case name [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] = help: convert the identifier to snake case: `redditrust_sdk` [INFO] [stderr] [INFO] [stderr] warning: module `Oauth` should have a snake case name [INFO] [stderr] --> src/lib.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | mod Oauth; [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `oauth` [INFO] [stderr] [INFO] [stderr] warning: duplicated attribute [INFO] [stderr] --> src/lib.rs:42:5 [INFO] [stderr] | [INFO] [stderr] 42 | #[test] [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(duplicate_macro_attributes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `tokio::prelude::*` [INFO] [stderr] --> src/lib.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | use tokio::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: consider adding a `#[cfg(test)]` to the containing module [INFO] [stderr] --> src/lib.rs:21:1 [INFO] [stderr] | [INFO] [stderr] 21 | mod tests { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/lib.rs:47:9 [INFO] [stderr] | [INFO] [stderr] 47 | tokio_test::block_on(search(path)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `redditrustSDK` (lib) generated 75 warnings [INFO] [stderr] warning: `redditrustSDK` (lib test) generated 72 warnings (69 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/redditrustSDK-ea757cb9b14ee398) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test tests::search_subreddit_test ... ok [INFO] [stdout] test tests::search_subreddit_test ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s [INFO] [stdout] [INFO] [stderr] Doc-tests redditrustSDK [INFO] [stdout] [INFO] [stderr] warning: variant `temporary` should have an upper camel case name [INFO] [stdout] running 0 tests [INFO] [stderr] --> /opt/rustwide/workdir/src/Oauth.rs:8:5 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 8 | temporary, [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Temporary` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variant `permanent` should have an upper camel case name [INFO] [stderr] --> /opt/rustwide/workdir/src/Oauth.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | permanent, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Permanent` [INFO] [stderr] [INFO] [stderr] warning: variant `identify` should have an upper camel case name [INFO] [stderr] --> /opt/rustwide/workdir/src/Oauth.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | identify, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Identify` [INFO] [stderr] [INFO] [stderr] warning: variant `edit` should have an upper camel case name [INFO] [stderr] --> /opt/rustwide/workdir/src/Oauth.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | edit, [INFO] [stderr] | ^^^^ help: convert the identifier to upper camel case: `Edit` [INFO] [stderr] [INFO] [stderr] warning: variant `flair` should have an upper camel case name [INFO] [stderr] --> /opt/rustwide/workdir/src/Oauth.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | flair, [INFO] [stderr] | ^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Flair` [INFO] [stderr] [INFO] [stderr] warning: variant `history` should have an upper camel case name [INFO] [stderr] --> /opt/rustwide/workdir/src/Oauth.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | history, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper camel case: `History` [INFO] [stderr] [INFO] [stderr] warning: variant `modconfig` should have an upper camel case name [INFO] [stderr] --> /opt/rustwide/workdir/src/Oauth.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | modconfig, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Modconfig` [INFO] [stderr] [INFO] [stderr] warning: variant `modflair` should have an upper camel case name [INFO] [stderr] --> /opt/rustwide/workdir/src/Oauth.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | modflair, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper camel case: `Modflair` [INFO] [stderr] [INFO] [stderr] warning: variant `modlog` should have an upper camel case name [INFO] [stderr] --> /opt/rustwide/workdir/src/Oauth.rs:21:5 [INFO] [stderr] | [INFO] [stderr] 21 | modlog, [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper camel case: `Modlog` [INFO] [stderr] [INFO] [stderr] warning: variant `modposts` should have an upper camel case name [INFO] [stderr] --> /opt/rustwide/workdir/src/Oauth.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | modposts, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper camel case: `Modposts` [INFO] [stderr] [INFO] [stderr] warning: variant `modwiki` should have an upper camel case name [INFO] [stderr] --> /opt/rustwide/workdir/src/Oauth.rs:23:5 [INFO] [stderr] | [INFO] [stderr] 23 | modwiki, [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper camel case: `Modwiki` [INFO] [stderr] [INFO] [stderr] warning: variant `mysubreddits` should have an upper camel case name [INFO] [stderr] --> /opt/rustwide/workdir/src/Oauth.rs:24:5 [INFO] [stderr] | [INFO] [stderr] 24 | mysubreddits, [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Mysubreddits` [INFO] [stderr] [INFO] [stderr] warning: variant `privatemessages` should have an upper camel case name [INFO] [stderr] --> /opt/rustwide/workdir/src/Oauth.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | privatemessages, [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Privatemessages` [INFO] [stderr] [INFO] [stderr] warning: variant `read` should have an upper camel case name [INFO] [stderr] --> /opt/rustwide/workdir/src/Oauth.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | read, [INFO] [stderr] | ^^^^ help: convert the identifier to upper camel case: `Read` [INFO] [stderr] [INFO] [stderr] warning: variant `report` should have an upper camel case name [INFO] [stderr] --> /opt/rustwide/workdir/src/Oauth.rs:27:5 [INFO] [stderr] | [INFO] [stderr] 27 | report, [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper camel case: `Report` [INFO] [stderr] [INFO] [stderr] warning: variant `save` should have an upper camel case name [INFO] [stderr] --> /opt/rustwide/workdir/src/Oauth.rs:28:5 [INFO] [stderr] | [INFO] [stderr] 28 | save, [INFO] [stderr] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Save` [INFO] [stderr] [INFO] [stderr] warning: variant `submit` should have an upper camel case name [INFO] [stderr] --> /opt/rustwide/workdir/src/Oauth.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 29 | submit, [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Submit` [INFO] [stderr] [INFO] [stderr] warning: variant `subscribe` should have an upper camel case name [INFO] [stderr] --> /opt/rustwide/workdir/src/Oauth.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | subscribe, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Subscribe` [INFO] [stderr] [INFO] [stderr] warning: variant `vote` should have an upper camel case name [INFO] [stderr] --> /opt/rustwide/workdir/src/Oauth.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | vote, [INFO] [stderr] | ^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Vote` [INFO] [stderr] [INFO] [stderr] warning: variant `wikiedit` should have an upper camel case name [INFO] [stderr] --> /opt/rustwide/workdir/src/Oauth.rs:32:5 [INFO] [stderr] | [INFO] [stderr] 32 | wikiedit, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Wikiedit` [INFO] [stderr] [INFO] [stderr] warning: variant `wikiread` should have an upper camel case name [INFO] [stderr] --> /opt/rustwide/workdir/src/Oauth.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | wikiread, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Wikiread` [INFO] [stderr] [INFO] [stderr] warning: 21 warnings emitted [INFO] [stderr] [INFO] running `Command { std: "docker" "inspect" "e1d22c6183f0a1c5f0613927355f98ae73e4bc699b0f9891fe3e2756035cb94d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1d22c6183f0a1c5f0613927355f98ae73e4bc699b0f9891fe3e2756035cb94d", kill_on_drop: false }` [INFO] [stdout] e1d22c6183f0a1c5f0613927355f98ae73e4bc699b0f9891fe3e2756035cb94d