[INFO] fetching crate swindon 0.7.8... [INFO] testing swindon-0.7.8 against try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] extracting crate swindon 0.7.8 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate swindon 0.7.8 on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate swindon 0.7.8 [INFO] finished tweaking crates.io crate swindon 0.7.8 [INFO] tweaked toml for crates.io crate swindon 0.7.8 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded digest-writer v0.3.1 [INFO] [stderr] Downloaded sha1 v0.4.0 [INFO] [stderr] Downloaded tk-http v0.3.9 [INFO] [stderr] Downloaded tk-listen v0.1.1 [INFO] [stderr] Downloaded trimmer v0.3.6 [INFO] [stderr] Downloaded humannum v0.1.0 [INFO] [stderr] Downloaded tk-bufstream v0.3.0 [INFO] [stderr] Downloaded netbuf v0.4.1 [INFO] [stderr] Downloaded self-meter v0.6.0 [INFO] [stderr] Downloaded string-intern v0.1.7 [INFO] [stderr] Downloaded atomic v0.3.4 [INFO] [stderr] Downloaded libcantal v0.3.2 [INFO] [stderr] Downloaded self-meter-http v0.4.1 [INFO] [stderr] Downloaded quire v0.3.1 [INFO] [stderr] Downloaded httpbin v0.3.3 [INFO] [stderr] Downloaded tk-pool v0.5.3 [INFO] [stderr] Downloaded http-file-headers v0.1.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7bf42dddb43d16a25b69ded69235c82e1cd9a3185f4382bdfae890e30143fb60 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7bf42dddb43d16a25b69ded69235c82e1cd9a3185f4382bdfae890e30143fb60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7bf42dddb43d16a25b69ded69235c82e1cd9a3185f4382bdfae890e30143fb60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bf42dddb43d16a25b69ded69235c82e1cd9a3185f4382bdfae890e30143fb60", kill_on_drop: false }` [INFO] [stdout] 7bf42dddb43d16a25b69ded69235c82e1cd9a3185f4382bdfae890e30143fb60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 813d8d9ccdc79c3a22fe9376aa975276b0c9c272b84115455003fb276ada8d5e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "813d8d9ccdc79c3a22fe9376aa975276b0c9c272b84115455003fb276ada8d5e", kill_on_drop: false }` [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling siphasher v0.2.3 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling netbuf v0.4.1 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling httpdate v0.3.2 [INFO] [stderr] Compiling sha1 v0.4.0 [INFO] [stderr] Compiling argparse v0.2.2 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling byte-tools v0.2.0 [INFO] [stderr] Compiling ascii v0.7.1 [INFO] [stderr] Compiling atomic v0.3.4 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling crossbeam v0.3.2 [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.6 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling async-slot v0.1.0 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling lock_api v0.3.4 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling owning_ref v0.3.3 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling combine v2.5.2 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling memchr v0.1.11 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.6.10 [INFO] [stderr] Compiling generic-array v0.9.1 [INFO] [stderr] Compiling generic-array v0.11.2 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling aho-corasick v0.5.3 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling digest v0.7.6 [INFO] [stderr] Compiling crypto-mac v0.5.2 [INFO] [stderr] Compiling regex v0.2.11 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling abstract-ns v0.4.3 [INFO] [stderr] Compiling humannum v0.1.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling digest-writer v0.3.1 [INFO] [stderr] Compiling blake2 v0.7.1 [INFO] [stderr] Compiling thread-id v2.0.0 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling thread_local v0.2.7 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling ns-std-threaded v0.3.0 [INFO] [stderr] Compiling regex v0.1.80 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tk-bufstream v0.3.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling env_logger v0.3.5 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling idna v0.1.5 [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 phf_generator v0.7.24 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling mime_guess v1.8.8 [INFO] [stderr] Compiling tokio-core v0.1.18 [INFO] [stderr] Compiling tk-http v0.3.9 [INFO] [stderr] Compiling tk-listen v0.1.1 [INFO] [stderr] Compiling ns-router v0.1.6 [INFO] [stderr] Compiling tk-pool v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling self-meter v0.6.0 [INFO] [stderr] Compiling string-intern v0.1.7 [INFO] [stderr] Compiling quire v0.3.1 [INFO] [stderr] Compiling http-file-headers v0.1.8 [INFO] [stderr] Compiling trimmer v0.3.6 [INFO] [stderr] Compiling libcantal v0.3.2 [INFO] [stderr] Compiling httpbin v0.3.3 [INFO] [stderr] Compiling self-meter-http v0.4.1 [INFO] [stderr] Compiling swindon v0.7.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/chat/backend.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 310 | Ok((Async::Ready(data.len()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/chat/backend.rs:412:12 [INFO] [stdout] | [INFO] [stdout] 412 | Ok((Async::Ready(data.len()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/chat/backend.rs:450:12 [INFO] [stdout] | [INFO] [stdout] 450 | Ok((Async::Ready(data.len()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/handlers/files/decode.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | b'0'...b'9' => Ok(b & 0x0f), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/handlers/files/decode.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | b'a'...b'f' | b'A'...b'F' => Ok((b & 0x0f) + 9), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/handlers/files/decode.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | b'a'...b'f' | b'A'...b'F' => Ok((b & 0x0f) + 9), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handlers/self_status.rs:29:39 [INFO] [stdout] | [INFO] [stdout] 29 | metrics: Json<'a, Vec>>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Collection` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/http_pools.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | Box>+Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Codec>+Send` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/http_pools.rs:127:36 [INFO] [stdout] | [INFO] [stdout] 127 | fn visit<'x>(&'x self, v: &mut Visitor<'x>) { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Visitor<'x>` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/incoming/mod.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | pub type Request = Box>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Codec>` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/incoming/mod.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | pub type Reply = Box, Error=Error>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error=Error>` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/metrics.rs:10:48 [INFO] [stdout] | [INFO] [stdout] 10 | pub type List = Vec<(Metric<'static>, &'static Value)>; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Value` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/metrics.rs:17:54 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ActiveCollection(OwningHandle>>, Wrapper>); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Collection` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/metrics.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | fn visit(&self, s: &mut NameVisitor) { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn NameVisitor` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/metrics.rs:38:51 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn all(runtime: &Arc) -> Box>> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Collection` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/proxy/backend.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | Ok((Async::Ready(data.len()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/routing.rs:86:23 [INFO] [stdout] | [INFO] [stdout] 86 | fn handler(&self, &HandlerName) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &HandlerName` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/routing.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 87 | fn authorizer(&self, &AuthorizerName) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &AuthorizerName` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/chat/cid.rs:20:46 [INFO] [stdout] | [INFO] [stdout] 20 | use std::sync::atomic::{AtomicUsize, ATOMIC_USIZE_INIT, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/chat/cid.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | static COUNTER: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/chat/backend.rs:310:12 [INFO] [stdout] | [INFO] [stdout] 310 | Ok((Async::Ready(data.len()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/chat/backend.rs:412:12 [INFO] [stdout] | [INFO] [stdout] 412 | Ok((Async::Ready(data.len()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/chat/backend.rs:450:12 [INFO] [stdout] | [INFO] [stdout] 450 | Ok((Async::Ready(data.len()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/handlers/files/decode.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | b'0'...b'9' => Ok(b & 0x0f), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/handlers/files/decode.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | b'a'...b'f' | b'A'...b'F' => Ok((b & 0x0f) + 9), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/handlers/files/decode.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | b'a'...b'f' | b'A'...b'F' => Ok((b & 0x0f) + 9), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handlers/self_status.rs:29:39 [INFO] [stdout] | [INFO] [stdout] 29 | metrics: Json<'a, Vec>>, [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Collection` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/http_pools.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | Box>+Send>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Codec>+Send` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/http_pools.rs:127:36 [INFO] [stdout] | [INFO] [stdout] 127 | fn visit<'x>(&'x self, v: &mut Visitor<'x>) { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn Visitor<'x>` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/incoming/mod.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | pub type Request = Box>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Codec>` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/incoming/mod.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | pub type Reply = Box, Error=Error>>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn Future, Error=Error>` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/metrics.rs:10:48 [INFO] [stdout] | [INFO] [stdout] 10 | pub type List = Vec<(Metric<'static>, &'static Value)>; [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Value` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/metrics.rs:17:54 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct ActiveCollection(OwningHandle>>, Wrapper>); [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Collection` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/metrics.rs:27:29 [INFO] [stdout] | [INFO] [stdout] 27 | fn visit(&self, s: &mut NameVisitor) { [INFO] [stdout] | ^^^^^^^^^^^ help: use `dyn`: `dyn NameVisitor` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/metrics.rs:38:51 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn all(runtime: &Arc) -> Box>> { [INFO] [stdout] | ^^^^^^^^^^ help: use `dyn`: `dyn Collection` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2021 edition! [INFO] [stdout] = note: for more information, see issue #80165 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/proxy/backend.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | Ok((Async::Ready(data.len()))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove these parentheses [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/routing.rs:86:23 [INFO] [stdout] | [INFO] [stdout] 86 | fn handler(&self, &HandlerName) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &HandlerName` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition. [INFO] [stdout] --> src/routing.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 87 | fn authorizer(&self, &AuthorizerName) -> Option; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &AuthorizerName` [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in the 2018 edition! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/chat/cid.rs:20:46 [INFO] [stdout] | [INFO] [stdout] 20 | use std::sync::atomic::{AtomicUsize, ATOMIC_USIZE_INIT, Ordering}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred [INFO] [stdout] --> src/chat/cid.rs:21:39 [INFO] [stdout] | [INFO] [stdout] 21 | static COUNTER: AtomicUsize = ATOMIC_USIZE_INIT; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated constant: `AtomicUsize::new(0)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/handlers/files/index.rs:63:30 [INFO] [stdout] | [INFO] [stdout] 63 | let vpath = virtual_path.trim_right_matches('/'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `core::str::::trim_right_matches`: superseded by `trim_end_matches` [INFO] [stdout] --> src/handlers/files/index.rs:63:30 [INFO] [stdout] | [INFO] [stdout] 63 | let vpath = virtual_path.trim_right_matches('/'); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: replace the use of the deprecated associated function: `trim_end_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: assign to part of moved value: `session` [INFO] [stdout] --> src/chat/processor/pool.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 175 | let mut session = Session::new(); [INFO] [stdout] | ----------- move occurs because `session` has type `Session`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 179 | self.sessions.active.insert(session_id.clone(), expire, session); [INFO] [stdout] | ------- value moved here [INFO] [stdout] 180 | session.status_timestamp = now; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ value partially assigned here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: assign to part of moved value: `sess` [INFO] [stdout] --> src/chat/processor/pool.rs:295:17 [INFO] [stdout] | [INFO] [stdout] 292 | let mut sess = Session::new(); [INFO] [stdout] | -------- move occurs because `sess` has type `Session`, which does not implement the `Copy` trait [INFO] [stdout] 293 | self.sessions.active.insert( [INFO] [stdout] 294 | sess_id.clone(), activity_ts, sess); [INFO] [stdout] | ---- value moved here [INFO] [stdout] 295 | sess.status_timestamp = now; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ value partially assigned here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: assign to part of moved value: `session` [INFO] [stdout] --> src/chat/processor/pool.rs:180:13 [INFO] [stdout] | [INFO] [stdout] 175 | let mut session = Session::new(); [INFO] [stdout] | ----------- move occurs because `session` has type `Session`, which does not implement the `Copy` trait [INFO] [stdout] ... [INFO] [stdout] 179 | self.sessions.active.insert(session_id.clone(), expire, session); [INFO] [stdout] | ------- value moved here [INFO] [stdout] 180 | session.status_timestamp = now; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ value partially assigned here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0382]: assign to part of moved value: `sess` [INFO] [stdout] --> src/chat/processor/pool.rs:295:17 [INFO] [stdout] | [INFO] [stdout] 292 | let mut sess = Session::new(); [INFO] [stdout] | -------- move occurs because `sess` has type `Session`, which does not implement the `Copy` trait [INFO] [stdout] 293 | self.sessions.active.insert( [INFO] [stdout] 294 | sess_id.clone(), activity_ts, sess); [INFO] [stdout] | ---- value moved here [INFO] [stdout] 295 | sess.status_timestamp = now; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ value partially assigned here after move [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: could not compile `swindon` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 2 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0382`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "813d8d9ccdc79c3a22fe9376aa975276b0c9c272b84115455003fb276ada8d5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "813d8d9ccdc79c3a22fe9376aa975276b0c9c272b84115455003fb276ada8d5e", kill_on_drop: false }` [INFO] [stdout] 813d8d9ccdc79c3a22fe9376aa975276b0c9c272b84115455003fb276ada8d5e