[INFO] cloning repository https://github.com/FauxFaux/swisher [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/FauxFaux/swisher" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFauxFaux%2Fswisher", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFauxFaux%2Fswisher'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6ad4c9f86f79983f62742c0e596cbfc1172504af [INFO] testing FauxFaux/swisher against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FFauxFaux%2Fswisher" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/FauxFaux/swisher [INFO] finished tweaking git repo https://github.com/FauxFaux/swisher [INFO] tweaked toml for git repo https://github.com/FauxFaux/swisher written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/FauxFaux/swisher on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/FauxFaux/swisher already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/FauxFaux/warheadhateus` [INFO] [stderr] Updating git submodule `https://github.com/serde-rs/serde.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-macros v0.2.1 [INFO] [stderr] Downloaded urlparse v0.7.3 [INFO] [stderr] Downloaded jobserver v0.1.17 [INFO] [stderr] Downloaded sha2 v0.8.0 [INFO] [stderr] Downloaded zstd v0.5.1+zstd.1.4.4 [INFO] [stderr] Downloaded hex v0.4.0 [INFO] [stderr] Downloaded zstd-safe v2.0.3+zstd.1.4.4 [INFO] [stderr] Downloaded futures-task v0.3.1 [INFO] [stderr] Downloaded futures-sink v0.3.1 [INFO] [stderr] Downloaded proc-macro-nested v0.1.3 [INFO] [stderr] Downloaded pin-project-lite v0.1.1 [INFO] [stderr] Downloaded ctrlc v3.1.3 [INFO] [stderr] Downloaded futures v0.3.1 [INFO] [stderr] Downloaded indexmap v1.3.0 [INFO] [stderr] Downloaded tokio v0.2.6 [INFO] [stderr] Downloaded path-tree v0.1.9 [INFO] [stderr] Downloaded futures-util v0.3.1 [INFO] [stderr] Downloaded h2 v0.2.1 [INFO] [stderr] Downloaded http v0.2.0 [INFO] [stderr] Downloaded hyper v0.13.1 [INFO] [stderr] Downloaded pin-project v0.4.6 [INFO] [stderr] Downloaded bytes v0.5.3 [INFO] [stderr] Downloaded arc-swap v0.4.4 [INFO] [stderr] Downloaded futures-channel v0.3.1 [INFO] [stderr] Downloaded pin-project-internal v0.4.6 [INFO] [stderr] Downloaded tempfile-fast v0.3.3 [INFO] [stderr] Downloaded futures-core v0.3.1 [INFO] [stderr] Downloaded socket2 v0.3.11 [INFO] [stderr] Downloaded data-encoding v2.1.2 [INFO] [stderr] Downloaded futures-executor v0.3.1 [INFO] [stderr] Downloaded futures-io v0.3.1 [INFO] [stderr] Downloaded futures-macro v0.3.1 [INFO] [stderr] Downloaded proc-macro-hack v0.5.11 [INFO] [stderr] Downloaded md-5 v0.8.0 [INFO] [stderr] Downloaded pretty_env_logger v0.3.1 [INFO] [stderr] Downloaded zstd-sys v1.4.15+zstd.1.4.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 54ad7e88ea034a00eb36b520dda1442f7847ccbc00353b4f9d716a87abd70671 [INFO] running `Command { std: "docker" "start" "-a" "54ad7e88ea034a00eb36b520dda1442f7847ccbc00353b4f9d716a87abd70671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "54ad7e88ea034a00eb36b520dda1442f7847ccbc00353b4f9d716a87abd70671", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "54ad7e88ea034a00eb36b520dda1442f7847ccbc00353b4f9d716a87abd70671", kill_on_drop: false }` [INFO] [stdout] 54ad7e88ea034a00eb36b520dda1442f7847ccbc00353b4f9d716a87abd70671 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ab2b2d5da8c1ff20fea13d84cea0772d30d1eedeb5ccf75acd281407a4ed445e [INFO] running `Command { std: "docker" "start" "-a" "ab2b2d5da8c1ff20fea13d84cea0772d30d1eedeb5ccf75acd281407a4ed445e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling proc-macro2 v1.0.7 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling futures-core v0.3.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.3 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling futures-sink v0.3.1 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling bytes v0.5.3 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling futures-channel v0.3.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling pin-utils v0.1.0-alpha.4 [INFO] [stderr] Compiling futures-io v0.3.1 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling arc-swap v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling futures-task v0.3.1 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling indexmap v1.3.0 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling pin-project-lite v0.1.1 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling http v0.2.0 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling subtle v1.0.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling jobserver v0.1.17 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling remove_dir_all v0.5.2 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling crypto-mac v0.7.0 [INFO] [stderr] Compiling hmac v0.7.1 [INFO] [stderr] Compiling sha2 v0.8.0 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling hex v0.4.0 [INFO] [stderr] Compiling urlparse v0.7.3 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling data-encoding v2.1.2 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling zstd-sys v1.4.15+zstd.1.4.4 [INFO] [stderr] Compiling tempfile-fast v0.3.3 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling warheadhateus v0.2.2-pre (https://github.com/FauxFaux/warheadhateus?rev=440d5e366bad722934c1c2a265d7853326a12cd3#440d5e36) [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling tokio-macros v0.2.1 [INFO] [stderr] Compiling pin-project-internal v0.4.6 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling tokio v0.2.6 [INFO] [stderr] Compiling futures-macro v0.3.1 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling pin-project v0.4.6 [INFO] [stderr] Compiling futures-util v0.3.1 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling h2 v0.2.1 [INFO] [stderr] Compiling futures-executor v0.3.1 [INFO] [stderr] Compiling futures v0.3.1 [INFO] [stderr] Compiling hyper v0.13.1 [INFO] [stderr] Compiling zstd-safe v2.0.3+zstd.1.4.4 [INFO] [stderr] Compiling zstd v0.5.1+zstd.1.4.4 [INFO] [stderr] Compiling swisher v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/bucket.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Copy, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/bucket.rs:10:49 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Copy, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/bucket.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Copy, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/bucket.rs:17:49 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Copy, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/bucket.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/bucket.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/dir.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `serde_derive::Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/dir.rs:149:35 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `serde_derive::Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/dir.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `serde_derive::Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/dir.rs:173:35 [INFO] [stdout] | [INFO] [stdout] 173 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `serde_derive::Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/reqs.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | let (user, headers) = match sig::validate( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/reqs.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let config = bucket::get_config(Path::new("."), &bucket).await?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `put_config` is never used [INFO] [stdout] --> src/bucket.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | pub async fn put_config(storage: &Path, bucket: &Name, config: &BucketConfig) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query` is never used [INFO] [stdout] --> src/hyp.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn query(req: &hyper::Request) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bucket.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Copy, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_VersioningPolicy` [INFO] [stdout] 11 | enum VersioningPolicy { [INFO] [stdout] | ---------------- `VersioningPolicy` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bucket.rs:10:49 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Copy, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_VersioningPolicy` [INFO] [stdout] 11 | enum VersioningPolicy { [INFO] [stdout] | ---------------- `VersioningPolicy` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bucket.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Copy, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_LifecyclePolicy` [INFO] [stdout] 18 | enum LifecyclePolicy { [INFO] [stdout] | --------------- `LifecyclePolicy` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bucket.rs:17:49 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Copy, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_LifecyclePolicy` [INFO] [stdout] 18 | enum LifecyclePolicy { [INFO] [stdout] | --------------- `LifecyclePolicy` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bucket.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_BucketConfig` [INFO] [stdout] 24 | pub struct BucketConfig { [INFO] [stdout] | ------------ `BucketConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bucket.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_BucketConfig` [INFO] [stdout] 24 | pub struct BucketConfig { [INFO] [stdout] | ------------ `BucketConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/dir.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_FileMeta` [INFO] [stdout] 150 | pub struct FileMeta { [INFO] [stdout] | -------- `FileMeta` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/dir.rs:149:35 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_FileMeta` [INFO] [stdout] 150 | pub struct FileMeta { [INFO] [stdout] | -------- `FileMeta` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/dir.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_FileVersion` [INFO] [stdout] 174 | pub struct FileVersion { [INFO] [stdout] | ----------- `FileVersion` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/dir.rs:173:35 [INFO] [stdout] | [INFO] [stdout] 173 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_FileVersion` [INFO] [stdout] 174 | pub struct FileVersion { [INFO] [stdout] | ----------- `FileVersion` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/temp.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pin_project] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `Unpin` is not local [INFO] [stdout] | move the `impl` block outside of this function `__unpin_scope_NamedTempFile` [INFO] [stdout] 26 | pub struct NamedTempFile { [INFO] [stdout] | ------------- `NamedTempFile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` may come from an old version of the `pin_project_internal` crate, try updating your dependency with `cargo update -p pin_project_internal` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` which comes from the expansion of the attribute macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 40.21s [INFO] running `Command { std: "docker" "inspect" "ab2b2d5da8c1ff20fea13d84cea0772d30d1eedeb5ccf75acd281407a4ed445e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab2b2d5da8c1ff20fea13d84cea0772d30d1eedeb5ccf75acd281407a4ed445e", kill_on_drop: false }` [INFO] [stdout] ab2b2d5da8c1ff20fea13d84cea0772d30d1eedeb5ccf75acd281407a4ed445e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a7eb881c828915474584bcfc9668b2f06904f167ecc944796d07a896d4eeec96 [INFO] running `Command { std: "docker" "start" "-a" "a7eb881c828915474584bcfc9668b2f06904f167ecc944796d07a896d4eeec96", kill_on_drop: false }` [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling termcolor v1.0.5 [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/bucket.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Copy, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/bucket.rs:10:49 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Copy, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/bucket.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Copy, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/bucket.rs:17:49 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Copy, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/bucket.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/bucket.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/dir.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `serde_derive::Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/dir.rs:149:35 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `serde_derive::Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/dir.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `serde_derive::Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/dir.rs:173:35 [INFO] [stdout] | [INFO] [stdout] 173 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `serde_derive::Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/reqs.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | let (user, headers) = match sig::validate( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/reqs.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let config = bucket::get_config(Path::new("."), &bucket).await?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `put_config` is never used [INFO] [stdout] --> src/bucket.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | pub async fn put_config(storage: &Path, bucket: &Name, config: &BucketConfig) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query` is never used [INFO] [stdout] --> src/hyp.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn query(req: &hyper::Request) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bucket.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Copy, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_VersioningPolicy` [INFO] [stdout] 11 | enum VersioningPolicy { [INFO] [stdout] | ---------------- `VersioningPolicy` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bucket.rs:10:49 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Copy, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_VersioningPolicy` [INFO] [stdout] 11 | enum VersioningPolicy { [INFO] [stdout] | ---------------- `VersioningPolicy` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bucket.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Copy, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_LifecyclePolicy` [INFO] [stdout] 18 | enum LifecyclePolicy { [INFO] [stdout] | --------------- `LifecyclePolicy` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bucket.rs:17:49 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Copy, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_LifecyclePolicy` [INFO] [stdout] 18 | enum LifecyclePolicy { [INFO] [stdout] | --------------- `LifecyclePolicy` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bucket.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_BucketConfig` [INFO] [stdout] 24 | pub struct BucketConfig { [INFO] [stdout] | ------------ `BucketConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bucket.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_BucketConfig` [INFO] [stdout] 24 | pub struct BucketConfig { [INFO] [stdout] | ------------ `BucketConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/dir.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_FileMeta` [INFO] [stdout] 150 | pub struct FileMeta { [INFO] [stdout] | -------- `FileMeta` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/dir.rs:149:35 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_FileMeta` [INFO] [stdout] 150 | pub struct FileMeta { [INFO] [stdout] | -------- `FileMeta` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/dir.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_FileVersion` [INFO] [stdout] 174 | pub struct FileVersion { [INFO] [stdout] | ----------- `FileVersion` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/dir.rs:173:35 [INFO] [stdout] | [INFO] [stdout] 173 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_FileVersion` [INFO] [stdout] 174 | pub struct FileVersion { [INFO] [stdout] | ----------- `FileVersion` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/temp.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pin_project] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `Unpin` is not local [INFO] [stdout] | move the `impl` block outside of this function `__unpin_scope_NamedTempFile` [INFO] [stdout] 26 | pub struct NamedTempFile { [INFO] [stdout] | ------------- `NamedTempFile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` may come from an old version of the `pin_project_internal` crate, try updating your dependency with `cargo update -p pin_project_internal` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` which comes from the expansion of the attribute macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling env_logger v0.6.2 [INFO] [stderr] Compiling pretty_env_logger v0.3.1 [INFO] [stderr] Compiling swisher v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/bucket.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Copy, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/bucket.rs:10:49 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Copy, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/bucket.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Copy, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/bucket.rs:17:49 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Copy, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/bucket.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/bucket.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/dir.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `serde_derive::Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/dir.rs:149:35 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `serde_derive::Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/dir.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `serde_derive::Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/dir.rs:173:35 [INFO] [stdout] | [INFO] [stdout] 173 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `serde_derive::Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user` [INFO] [stdout] --> src/reqs.rs:67:10 [INFO] [stdout] | [INFO] [stdout] 67 | let (user, headers) = match sig::validate( [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/reqs.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let config = bucket::get_config(Path::new("."), &bucket).await?; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `put_config` is never used [INFO] [stdout] --> src/bucket.rs:53:14 [INFO] [stdout] | [INFO] [stdout] 53 | pub async fn put_config(storage: &Path, bucket: &Name, config: &BucketConfig) -> Result<(), Error> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `query` is never used [INFO] [stdout] --> src/hyp.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn query(req: &hyper::Request) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bucket.rs:10:38 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Copy, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_VersioningPolicy` [INFO] [stdout] 11 | enum VersioningPolicy { [INFO] [stdout] | ---------------- `VersioningPolicy` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bucket.rs:10:49 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Copy, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_VersioningPolicy` [INFO] [stdout] 11 | enum VersioningPolicy { [INFO] [stdout] | ---------------- `VersioningPolicy` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bucket.rs:17:38 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Copy, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_LifecyclePolicy` [INFO] [stdout] 18 | enum LifecyclePolicy { [INFO] [stdout] | --------------- `LifecyclePolicy` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bucket.rs:17:49 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Copy, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_LifecyclePolicy` [INFO] [stdout] 18 | enum LifecyclePolicy { [INFO] [stdout] | --------------- `LifecyclePolicy` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bucket.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^-------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_BucketConfig` [INFO] [stdout] 24 | pub struct BucketConfig { [INFO] [stdout] | ------------ `BucketConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/bucket.rs:23:21 [INFO] [stdout] | [INFO] [stdout] 23 | #[derive(Serialize, Deserialize)] [INFO] [stdout] | ^---------- [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_BucketConfig` [INFO] [stdout] 24 | pub struct BucketConfig { [INFO] [stdout] | ------------ `BucketConfig` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/dir.rs:149:10 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_FileMeta` [INFO] [stdout] 150 | pub struct FileMeta { [INFO] [stdout] | -------- `FileMeta` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/dir.rs:149:35 [INFO] [stdout] | [INFO] [stdout] 149 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_FileMeta` [INFO] [stdout] 150 | pub struct FileMeta { [INFO] [stdout] | -------- `FileMeta` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/dir.rs:173:10 [INFO] [stdout] | [INFO] [stdout] 173 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `Serialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_FileVersion` [INFO] [stdout] 174 | pub struct FileVersion { [INFO] [stdout] | ----------- `FileVersion` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/dir.rs:173:35 [INFO] [stdout] | [INFO] [stdout] 173 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `Deserialize` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_FileVersion` [INFO] [stdout] 174 | pub struct FileVersion { [INFO] [stdout] | ----------- `FileVersion` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `serde_derive::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/temp.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | #[pin_project] [INFO] [stdout] | ^------------- [INFO] [stdout] | | [INFO] [stdout] | `Unpin` is not local [INFO] [stdout] | move the `impl` block outside of this function `__unpin_scope_NamedTempFile` [INFO] [stdout] 26 | pub struct NamedTempFile { [INFO] [stdout] | ------------- `NamedTempFile` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` may come from an old version of the `pin_project_internal` crate, try updating your dependency with `cargo update -p pin_project_internal` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` which comes from the expansion of the attribute macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.80s [INFO] running `Command { std: "docker" "inspect" "a7eb881c828915474584bcfc9668b2f06904f167ecc944796d07a896d4eeec96", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7eb881c828915474584bcfc9668b2f06904f167ecc944796d07a896d4eeec96", kill_on_drop: false }` [INFO] [stdout] a7eb881c828915474584bcfc9668b2f06904f167ecc944796d07a896d4eeec96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a2d41eadea4bf0071b8ccf3c19a885680a1177d75b0e42f4b3371a96313c7656 [INFO] running `Command { std: "docker" "start" "-a" "a2d41eadea4bf0071b8ccf3c19a885680a1177d75b0e42f4b3371a96313c7656", kill_on_drop: false }` [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/bucket.rs:10:38 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Copy, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/bucket.rs:10:49 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Copy, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/bucket.rs:17:38 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(Copy, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/bucket.rs:17:49 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(Copy, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/bucket.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/bucket.rs:23:21 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Serialize, Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/dir.rs:149:10 [INFO] [stderr] | [INFO] [stderr] 149 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `serde_derive::Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `serde_derive::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/dir.rs:149:35 [INFO] [stderr] | [INFO] [stderr] 149 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `serde_derive::Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `serde_derive::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/dir.rs:173:10 [INFO] [stderr] | [INFO] [stderr] 173 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `serde_derive::Serialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `serde_derive::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/dir.rs:173:35 [INFO] [stderr] | [INFO] [stderr] 173 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `feature` are: `bin`, `clap`, `ctrlc`, `default`, `dotenv`, `path-tree`, and `pretty_env_logger` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `serde_derive::Deserialize` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `serde_derive::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused variable: `user` [INFO] [stderr] --> src/reqs.rs:67:10 [INFO] [stderr] | [INFO] [stderr] 67 | let (user, headers) = match sig::validate( [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_user` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `config` [INFO] [stderr] --> src/reqs.rs:93:9 [INFO] [stderr] | [INFO] [stderr] 93 | let config = bucket::get_config(Path::new("."), &bucket).await?; [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stderr] [INFO] [stderr] warning: function `put_config` is never used [INFO] [stderr] --> src/bucket.rs:53:14 [INFO] [stderr] | [INFO] [stderr] 53 | pub async fn put_config(storage: &Path, bucket: &Name, config: &BucketConfig) -> Result<(), Error> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `query` is never used [INFO] [stderr] --> src/hyp.rs:22:8 [INFO] [stderr] | [INFO] [stderr] 22 | pub fn query(req: &hyper::Request) -> &str { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/bucket.rs:10:38 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Copy, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_VersioningPolicy` [INFO] [stderr] 11 | enum VersioningPolicy { [INFO] [stderr] | ---------------- `VersioningPolicy` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/bucket.rs:10:49 [INFO] [stderr] | [INFO] [stderr] 10 | #[derive(Copy, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_VersioningPolicy` [INFO] [stderr] 11 | enum VersioningPolicy { [INFO] [stderr] | ---------------- `VersioningPolicy` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/bucket.rs:17:38 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(Copy, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_LifecyclePolicy` [INFO] [stderr] 18 | enum LifecyclePolicy { [INFO] [stderr] | --------------- `LifecyclePolicy` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/bucket.rs:17:49 [INFO] [stderr] | [INFO] [stderr] 17 | #[derive(Copy, Clone, PartialEq, Eq, Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_LifecyclePolicy` [INFO] [stderr] 18 | enum LifecyclePolicy { [INFO] [stderr] | --------------- `LifecyclePolicy` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/bucket.rs:23:10 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Serialize, Deserialize)] [INFO] [stderr] | ^-------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_BucketConfig` [INFO] [stderr] 24 | pub struct BucketConfig { [INFO] [stderr] | ------------ `BucketConfig` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/bucket.rs:23:21 [INFO] [stderr] | [INFO] [stderr] 23 | #[derive(Serialize, Deserialize)] [INFO] [stderr] | ^---------- [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_BucketConfig` [INFO] [stderr] 24 | pub struct BucketConfig { [INFO] [stderr] | ------------ `BucketConfig` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/dir.rs:149:10 [INFO] [stderr] | [INFO] [stderr] 149 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stderr] | ^---------------------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_FileMeta` [INFO] [stderr] 150 | pub struct FileMeta { [INFO] [stderr] | -------- `FileMeta` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `serde_derive::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/dir.rs:149:35 [INFO] [stderr] | [INFO] [stderr] 149 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stderr] | ^------------------------ [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_FileMeta` [INFO] [stderr] 150 | pub struct FileMeta { [INFO] [stderr] | -------- `FileMeta` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `serde_derive::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/dir.rs:173:10 [INFO] [stderr] | [INFO] [stderr] 173 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stderr] | ^---------------------- [INFO] [stderr] | | [INFO] [stderr] | `Serialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_SERIALIZE_FOR_FileVersion` [INFO] [stderr] 174 | pub struct FileVersion { [INFO] [stderr] | ----------- `FileVersion` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `serde_derive::Serialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `serde_derive::Serialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `serde_derive::Serialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/dir.rs:173:35 [INFO] [stderr] | [INFO] [stderr] 173 | #[derive(serde_derive::Serialize, serde_derive::Deserialize)] [INFO] [stderr] | ^------------------------ [INFO] [stderr] | | [INFO] [stderr] | `Deserialize` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_FileVersion` [INFO] [stderr] 174 | pub struct FileVersion { [INFO] [stderr] | ----------- `FileVersion` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `serde_derive::Deserialize` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `serde_derive::Deserialize` may come from an old version of the `serde_derive` crate, try updating your dependency with `cargo update -p serde_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `serde_derive::Deserialize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/temp.rs:25:1 [INFO] [stderr] | [INFO] [stderr] 25 | #[pin_project] [INFO] [stderr] | ^------------- [INFO] [stderr] | | [INFO] [stderr] | `Unpin` is not local [INFO] [stderr] | move the `impl` block outside of this function `__unpin_scope_NamedTempFile` [INFO] [stderr] 26 | pub struct NamedTempFile { [INFO] [stderr] | ------------- `NamedTempFile` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `::pin_project::__private::__PinProjectInternalDerive` may come from an old version of the `pin_project_internal` crate, try updating your dependency with `cargo update -p pin_project_internal` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: this warning originates in the derive macro `::pin_project::__private::__PinProjectInternalDerive` which comes from the expansion of the attribute macro `pin_project` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `swisher` (lib) generated 25 warnings [INFO] [stderr] warning: `swisher` (lib test) generated 25 warnings (25 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/swisher-43652eaef4371180) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test bucket::naming ... ok [INFO] [stdout] test reqs::name ... ok [INFO] [stdout] test users::key_derivation ... ok [INFO] [stdout] test sig::canned_request ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a2d41eadea4bf0071b8ccf3c19a885680a1177d75b0e42f4b3371a96313c7656", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a2d41eadea4bf0071b8ccf3c19a885680a1177d75b0e42f4b3371a96313c7656", kill_on_drop: false }` [INFO] [stdout] a2d41eadea4bf0071b8ccf3c19a885680a1177d75b0e42f4b3371a96313c7656