[INFO] cloning repository https://github.com/DmitryTravyan/ywatch [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/DmitryTravyan/ywatch" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDmitryTravyan%2Fywatch", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDmitryTravyan%2Fywatch'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bcabb169ad33d12c96ca4b2dc808fdfd1a6d5e8c [INFO] testing DmitryTravyan/ywatch against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDmitryTravyan%2Fywatch" "/workspace/builds/worker-26/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-26/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/DmitryTravyan/ywatch on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/DmitryTravyan/ywatch [INFO] finished tweaking git repo https://github.com/DmitryTravyan/ywatch [INFO] tweaked toml for git repo https://github.com/DmitryTravyan/ywatch written to /workspace/builds/worker-26/source/Cargo.toml [INFO] crate git repo https://github.com/DmitryTravyan/ywatch already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 441a896058932f007d9ed2c6f7bddee9cd461f51fd0566c0eb29a0f740c36f36 [INFO] running `Command { std: "docker" "start" "-a" "441a896058932f007d9ed2c6f7bddee9cd461f51fd0566c0eb29a0f740c36f36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "441a896058932f007d9ed2c6f7bddee9cd461f51fd0566c0eb29a0f740c36f36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "441a896058932f007d9ed2c6f7bddee9cd461f51fd0566c0eb29a0f740c36f36", kill_on_drop: false }` [INFO] [stdout] 441a896058932f007d9ed2c6f7bddee9cd461f51fd0566c0eb29a0f740c36f36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f056cc73ae9a99460e445a0cd487b22740e6b72a861df4768eadb4bd92fa7f17 [INFO] running `Command { std: "docker" "start" "-a" "f056cc73ae9a99460e445a0cd487b22740e6b72a861df4768eadb4bd92fa7f17", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling futures-core v0.3.12 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling once_cell v1.5.2 [INFO] [stderr] Compiling futures-io v0.3.12 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling futures-sink v0.3.12 [INFO] [stderr] Compiling cache-padded v1.1.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling parking v2.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling waker-fn v1.1.0 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling fastrand v1.4.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling async-task v4.0.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling atomic-waker v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling httpdate v1.0.1 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling futures-channel v0.3.12 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling async-lock v2.4.0 [INFO] [stderr] Compiling tokio v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling concurrent-queue v1.2.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.7 [INFO] [stderr] Compiling futures-task v0.3.12 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling quote v1.0.8 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling async-channel v1.6.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling async-executor v1.4.1 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling ctor v0.1.19 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling futures-util v0.3.12 [INFO] [stderr] Compiling mio v0.7.7 [INFO] [stderr] Compiling polling v2.0.3 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling env_logger v0.8.3 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling async-io v1.4.1 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling futures-executor v0.3.12 [INFO] [stderr] Compiling futures v0.3.12 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling hyper v0.14.8 [INFO] [stderr] Compiling futures-test v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::net::IpAddr` [INFO] [stdout] --> src/args.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::net::IpAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str::FromStr` [INFO] [stdout] --> src/args.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::str::FromStr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/args.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{info, debug}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Map` [INFO] [stdout] --> src/args.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::{Value, Map}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::youtube::Summary` [INFO] [stdout] --> src/server/aggregator.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::state::youtube::Summary; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Request` [INFO] [stdout] --> src/server/status_svc.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use hyper::http::{Request, Response, StatusCode}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::convert::Infallible` [INFO] [stdout] --> src/server/index_svc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::convert::Infallible; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::youtube::Summary` [INFO] [stdout] --> src/server/youtube_svc.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::state::youtube::Summary; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/server/youtube_svc.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::net::unix::SocketAddr` [INFO] [stdout] --> src/server.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio::net::unix::SocketAddr; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::youtube::Summary` [INFO] [stdout] --> src/server.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::state::youtube::Summary; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemTime` [INFO] [stdout] --> src/state.rs:3:26 [INFO] [stdout] | [INFO] [stdout] 3 | use std::time::{Instant, SystemTime}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Map`, `Value` [INFO] [stdout] --> src/state.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | use serde_json::{Value, Map}; [INFO] [stdout] | ^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/client.rs:5:23 [INFO] [stdout] | [INFO] [stdout] 5 | use async_std::sync::{Arc}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures::lock::Mutex` [INFO] [stdout] --> src/client.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use futures::lock::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::state::youtube::Summary` [INFO] [stdout] --> src/client.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::state::youtube::Summary; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::AddAssign` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::ops::AddAssign; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0759]: `counter` has an anonymous lifetime `'_` but it needs to satisfy a `'static` lifetime requirement [INFO] [stdout] --> src/server.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | counter: &Mutex, [INFO] [stdout] | ^^^^^^^ --------------- this data with an anonymous lifetime `'_`... [INFO] [stdout] | | [INFO] [stdout] | ...is used here... [INFO] [stdout] ... [INFO] [stdout] 27 | let counter_ref = counter.clone(); [INFO] [stdout] | ------- ...is used here... [INFO] [stdout] ... [INFO] [stdout] 35 | .serve(service); [INFO] [stdout] | ----- ...and is required to live as long as `'static` here [INFO] [stdout] | [INFO] [stdout] note: `'static` lifetime requirement introduced by this bound [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/hyper-0.14.8/src/server/server.rs:431:12 [INFO] [stdout] | [INFO] [stdout] 431 | E: ConnStreamExec<>::Future, B>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let mut resp = client.get(uri.clone()).await.expect("Nok"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0759`. [INFO] [stdout] [INFO] [stderr] error: could not compile `futures-test` due to 2 previous errors; 19 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f056cc73ae9a99460e445a0cd487b22740e6b72a861df4768eadb4bd92fa7f17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f056cc73ae9a99460e445a0cd487b22740e6b72a861df4768eadb4bd92fa7f17", kill_on_drop: false }` [INFO] [stdout] f056cc73ae9a99460e445a0cd487b22740e6b72a861df4768eadb4bd92fa7f17