[INFO] fetching crate qui-vive 0.1.0... [INFO] checking qui-vive-0.1.0 against master#642c19bfc3a5c1de985bf5d0cc8207ac9d22708a for pr-148577 [INFO] extracting crate qui-vive 0.1.0 into /workspace/builds/worker-6-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-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate qui-vive 0.1.0 on toolchain 642c19bfc3a5c1de985bf5d0cc8207ac9d22708a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 144 packages to latest compatible versions [INFO] [stderr] Adding clap v2.34.0 (available: v4.5.51) [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.8.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.12.2) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.44) [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" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "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 proc-macro2 v0.3.8 [INFO] [stderr] Downloaded mouscache v0.4.9 [INFO] [stderr] Downloaded slab v0.3.0 [INFO] [stderr] Downloaded smallvec v0.2.1 [INFO] [stderr] Downloaded take v0.1.0 [INFO] [stderr] Downloaded try-lock v0.1.0 [INFO] [stderr] Downloaded want v0.0.4 [INFO] [stderr] Downloaded ucd-util v0.1.10 [INFO] [stderr] Downloaded relay v0.1.1 [INFO] [stderr] Downloaded dns-lookup v0.9.1 [INFO] [stderr] Downloaded env_logger v0.5.13 [INFO] [stderr] Downloaded tokio-proto v0.1.1 [INFO] [stderr] Downloaded tokio-core v0.1.18 [INFO] [stderr] Downloaded hyper v0.11.27 [INFO] [stderr] Downloaded syn v0.13.11 [INFO] [stderr] Downloaded tokio-service v0.1.0 [INFO] [stderr] Downloaded scoped-tls v0.1.2 [INFO] [stderr] Downloaded redis v0.8.0 [INFO] [stderr] Downloaded quote v0.5.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b96396af231e969d33519e376abf6eb1bdd9112f44685809680d8c194d64412f [INFO] running `Command { std: "docker" "start" "-a" "b96396af231e969d33519e376abf6eb1bdd9112f44685809680d8c194d64412f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b96396af231e969d33519e376abf6eb1bdd9112f44685809680d8c194d64412f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b96396af231e969d33519e376abf6eb1bdd9112f44685809680d8c194d64412f", kill_on_drop: false }` [INFO] [stdout] b96396af231e969d33519e376abf6eb1bdd9112f44685809680d8c194d64412f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+642c19bfc3a5c1de985bf5d0cc8207ac9d22708a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 920834c79e7fb4b27d83f3a4ce1d906ba9507fbb96847600295b513cb416068d [INFO] running `Command { std: "docker" "start" "-a" "920834c79e7fb4b27d83f3a4ce1d906ba9507fbb96847600295b513cb416068d", 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.177 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling parking_lot_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking idna v0.1.5 [INFO] [stderr] Compiling proc-macro2 v0.3.8 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Checking scoped-tls v0.1.2 [INFO] [stderr] Compiling redis v0.8.0 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking slab v0.3.0 [INFO] [stderr] Checking ucd-util v0.1.10 [INFO] [stderr] Checking try-lock v0.1.0 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling quote v0.5.2 [INFO] [stderr] Checking sha1 v0.2.0 [INFO] [stderr] Checking url v1.7.2 [INFO] [stderr] Checking take v0.1.0 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking smallvec v0.2.1 [INFO] [stderr] Checking safemem v0.3.3 [INFO] [stderr] Compiling syn v0.13.11 [INFO] [stderr] Checking base64 v0.9.3 [INFO] [stderr] Checking crossbeam-deque v0.7.4 [INFO] [stderr] Checking regex-syntax v0.5.6 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking aho-corasick v0.6.10 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking utf8-ranges v1.0.5 [INFO] [stderr] Checking language-tags v0.2.2 [INFO] [stderr] Checking yaml-rust v0.3.5 [INFO] [stderr] Checking tokio-executor v0.1.10 [INFO] [stderr] Checking tokio-sync v0.1.8 [INFO] [stderr] Checking tokio-service v0.1.0 [INFO] [stderr] Checking relay v0.1.1 [INFO] [stderr] Checking tokio-timer v0.2.13 [INFO] [stderr] Checking tokio-current-thread v0.1.7 [INFO] [stderr] Checking want v0.0.4 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking net2 v0.2.39 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking tokio-threadpool v0.1.18 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking scheduled-thread-pool v0.2.7 [INFO] [stderr] Checking socket2 v0.3.19 [INFO] [stderr] Checking futures-cpupool v0.1.8 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking r2d2 v0.8.10 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Checking dns-lookup v0.9.1 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Compiling mouscache_derive v0.4.0 [INFO] [stderr] Checking mouscache v0.4.9 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking ctrlc v3.5.1 [INFO] [stderr] Checking tokio-uds v0.2.7 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking tokio-core v0.1.18 [INFO] [stderr] Checking tokio-proto v0.1.1 [INFO] [stderr] Checking hyper v0.11.27 [INFO] [stderr] Checking 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] [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 25.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 3` [INFO] running `Command { std: "docker" "inspect" "920834c79e7fb4b27d83f3a4ce1d906ba9507fbb96847600295b513cb416068d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "920834c79e7fb4b27d83f3a4ce1d906ba9507fbb96847600295b513cb416068d", kill_on_drop: false }` [INFO] [stdout] 920834c79e7fb4b27d83f3a4ce1d906ba9507fbb96847600295b513cb416068d