[INFO] fetching crate qui-vive 0.1.0... [INFO] testing qui-vive-0.1.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate qui-vive 0.1.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate qui-vive 0.1.0 [INFO] finished tweaking crates.io crate qui-vive 0.1.0 [INFO] tweaked toml for crates.io crate qui-vive 0.1.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate qui-vive 0.1.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 159 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.46) [INFO] [stderr] Adding env_logger v0.5.13 (available: v0.11.8) [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding hyper v0.11.27 (available: v1.7.0) [INFO] [stderr] Adding mouscache v0.4.9 (available: v0.5.6) [INFO] [stderr] Adding rand v0.4.6 (available: v0.9.2) [INFO] [stderr] Adding regex v0.2.11 (available: v1.11.2) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.42) [INFO] [stderr] Adding url v1.7.2 (available: v2.5.7) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mouscache_derive v0.4.0 [INFO] [stderr] Downloaded dns-lookup v0.9.1 [INFO] [stderr] Downloaded mouscache v0.4.9 [INFO] [stderr] Downloaded redis v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1c3052a7051035a36f5fcc10db43b6ee45d4dc256282ddf89370e76983df2832 [INFO] running `Command { std: "docker" "start" "-a" "1c3052a7051035a36f5fcc10db43b6ee45d4dc256282ddf89370e76983df2832", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1c3052a7051035a36f5fcc10db43b6ee45d4dc256282ddf89370e76983df2832", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c3052a7051035a36f5fcc10db43b6ee45d4dc256282ddf89370e76983df2832", kill_on_drop: false }` [INFO] [stdout] 1c3052a7051035a36f5fcc10db43b6ee45d4dc256282ddf89370e76983df2832 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b0b6bb3747ece24b8b45d73e3c7dc58ab0be3e58051793dc54502a2ee9c35539 [INFO] running `Command { std: "docker" "start" "-a" "b0b6bb3747ece24b8b45d73e3c7dc58ab0be3e58051793dc54502a2ee9c35539", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling matches v0.1.10 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Compiling scoped-tls v0.1.2 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling redis v0.8.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling ucd-util v0.1.10 [INFO] [stderr] Compiling slab v0.3.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling take v0.1.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling smallvec v0.2.1 [INFO] [stderr] Compiling try-lock v0.1.0 [INFO] [stderr] Compiling sha1 v0.2.0 [INFO] [stderr] Compiling regex-syntax v0.5.6 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling utf8-ranges v1.0.5 [INFO] [stderr] Compiling yaml-rust v0.3.5 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling tokio-service v0.1.0 [INFO] [stderr] Compiling want v0.0.4 [INFO] [stderr] Compiling relay v0.1.1 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling mouscache_derive v0.4.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling net2 v0.2.39 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling dns-lookup v0.9.1 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling scheduled-thread-pool v0.2.7 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling r2d2 v0.8.10 [INFO] [stderr] Compiling mouscache v0.4.9 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling ctrlc v3.4.7 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling tokio-proto v0.1.1 [INFO] [stderr] Compiling hyper v0.11.27 [INFO] [stderr] Compiling qui-vive v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/service.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | type Future = Box, Error=hyper::Error>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 | type Future = Box, Error=hyper::Error>>; [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/service.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Cacheable, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `QuiViveEntry` is not local [INFO] [stdout] | `Cacheable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_QuiViveEntry` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Cacheable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Cacheable` may come from an old version of the `mouscache_derive` crate, try updating your dependency with `cargo update -p mouscache_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 `Cacheable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/service.rs:74:34 [INFO] [stdout] | [INFO] [stdout] 74 | let path = request.path().clone().to_owned(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.54s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.8.0, syn v0.13.11 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "b0b6bb3747ece24b8b45d73e3c7dc58ab0be3e58051793dc54502a2ee9c35539", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0b6bb3747ece24b8b45d73e3c7dc58ab0be3e58051793dc54502a2ee9c35539", kill_on_drop: false }` [INFO] [stdout] b0b6bb3747ece24b8b45d73e3c7dc58ab0be3e58051793dc54502a2ee9c35539 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3715c3c64e27da6f0d5a86ee8e0d38585fae3bec874262950f305846069aa2a [INFO] running `Command { std: "docker" "start" "-a" "f3715c3c64e27da6f0d5a86ee8e0d38585fae3bec874262950f305846069aa2a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling qui-vive v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/service.rs:59:23 [INFO] [stdout] | [INFO] [stdout] 59 | type Future = Box, Error=hyper::Error>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 59 | type Future = Box, Error=hyper::Error>>; [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/service.rs:25:10 [INFO] [stdout] | [INFO] [stdout] 25 | #[derive(Cacheable, Clone, Debug)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | `QuiViveEntry` is not local [INFO] [stdout] | `Cacheable` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_QuiViveEntry` [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Cacheable` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Cacheable` may come from an old version of the `mouscache_derive` crate, try updating your dependency with `cargo update -p mouscache_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 `Cacheable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/service.rs:74:34 [INFO] [stdout] | [INFO] [stdout] 74 | let path = request.path().clone().to_owned(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.96s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.8.0, syn v0.13.11 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "f3715c3c64e27da6f0d5a86ee8e0d38585fae3bec874262950f305846069aa2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3715c3c64e27da6f0d5a86ee8e0d38585fae3bec874262950f305846069aa2a", kill_on_drop: false }` [INFO] [stdout] f3715c3c64e27da6f0d5a86ee8e0d38585fae3bec874262950f305846069aa2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e23d29894eac584420a6ded5d489d56b82cfaa1fe59688e54850998b43a99541 [INFO] running `Command { std: "docker" "start" "-a" "e23d29894eac584420a6ded5d489d56b82cfaa1fe59688e54850998b43a99541", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/service.rs:59:23 [INFO] [stderr] | [INFO] [stderr] 59 | type Future = Box, Error=hyper::Error>>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 59 | type Future = Box, Error=hyper::Error>>; [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/service.rs:25:10 [INFO] [stderr] | [INFO] [stderr] 25 | #[derive(Cacheable, Clone, Debug)] [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `QuiViveEntry` is not local [INFO] [stderr] | `Cacheable` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_DESERIALIZE_FOR_QuiViveEntry` [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `Cacheable` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `Cacheable` may come from an old version of the `mouscache_derive` crate, try updating your dependency with `cargo update -p mouscache_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 `Cacheable` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stderr] --> src/service.rs:74:34 [INFO] [stderr] | [INFO] [stderr] 74 | let path = request.path().clone().to_owned(); [INFO] [stderr] | ^^^^^^^^ help: remove this redundant call [INFO] [stderr] | [INFO] [stderr] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stderr] = note: `#[warn(noop_method_call)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `qui-vive` (bin "qui-vive" test) generated 3 warnings (run `cargo fix --bin "qui-vive" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: redis v0.8.0, syn v0.13.11 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/qui_vive-db2c7be939b5520d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e23d29894eac584420a6ded5d489d56b82cfaa1fe59688e54850998b43a99541", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e23d29894eac584420a6ded5d489d56b82cfaa1fe59688e54850998b43a99541", kill_on_drop: false }` [INFO] [stdout] e23d29894eac584420a6ded5d489d56b82cfaa1fe59688e54850998b43a99541