[INFO] cloning repository https://github.com/huzhenyuan/volnetwork-p [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/huzhenyuan/volnetwork-p" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuzhenyuan%2Fvolnetwork-p", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuzhenyuan%2Fvolnetwork-p'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4b3313162f7508d7ae50400881376a01247f1d67 [INFO] testing huzhenyuan/volnetwork-p against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhuzhenyuan%2Fvolnetwork-p" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/huzhenyuan/volnetwork-p on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/huzhenyuan/volnetwork-p [INFO] finished tweaking git repo https://github.com/huzhenyuan/volnetwork-p [INFO] tweaked toml for git repo https://github.com/huzhenyuan/volnetwork-p written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/huzhenyuan/volnetwork-p already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] d4205ac1b73e36490edfc29d5f9fb4611c624d38f4b8ea53d7cfe7fada9fd373 [INFO] running `Command { std: "docker" "start" "-a" "d4205ac1b73e36490edfc29d5f9fb4611c624d38f4b8ea53d7cfe7fada9fd373", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4205ac1b73e36490edfc29d5f9fb4611c624d38f4b8ea53d7cfe7fada9fd373", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4205ac1b73e36490edfc29d5f9fb4611c624d38f4b8ea53d7cfe7fada9fd373", kill_on_drop: false }` [INFO] [stdout] d4205ac1b73e36490edfc29d5f9fb4611c624d38f4b8ea53d7cfe7fada9fd373 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e17d68a2301e81e852cbb34bcaef3bec749be3866fed5d4af1baeafddc66694 [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" "3e17d68a2301e81e852cbb34bcaef3bec749be3866fed5d4af1baeafddc66694", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.54 [INFO] [stderr] Compiling cc v1.0.36 [INFO] [stderr] Compiling serde v1.0.91 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling nodrop v0.1.13 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling lazycell v1.2.1 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling failure_derive v0.1.5 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling quick-error v1.2.2 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling ansi_term v0.10.2 [INFO] [stderr] Compiling either v1.5.2 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling antidote v1.0.0 [INFO] [stderr] Compiling hex v0.3.2 [INFO] [stderr] Compiling crossbeam-utils v0.6.5 [INFO] [stderr] Compiling backtrace v0.3.15 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling try_from v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling tokio-sync v0.1.5 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling textwrap v0.9.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling humantime v1.2.0 [INFO] [stderr] Compiling yaml-rust v0.4.3 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling lock_api v0.1.5 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling unicase v2.4.0 [INFO] [stderr] Compiling error-chain v0.12.1 [INFO] [stderr] Compiling encoding_rs v0.8.17 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling tokio-executor v0.1.7 [INFO] [stderr] Compiling crossbeam-queue v0.1.2 [INFO] [stderr] Compiling crossbeam-channel v0.3.8 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling tokio-current-thread v0.1.6 [INFO] [stderr] Compiling tokio-timer v0.2.10 [INFO] [stderr] Compiling parking_lot_core v0.4.0 [INFO] [stderr] Compiling crossbeam-epoch v0.7.1 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling mime v0.3.13 [INFO] [stderr] Compiling quote v0.6.12 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling miniz-sys v0.1.11 [INFO] [stderr] Compiling miniz_oxide_c_api v0.2.1 [INFO] [stderr] Compiling scavenger v1.7.8 (/opt/rustwide/workdir) [INFO] [stderr] Compiling crossbeam-deque v0.7.1 [INFO] [stderr] Compiling phf_shared v0.7.24 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling iovec v0.1.2 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling filetime v0.2.5 [INFO] [stderr] Compiling hostname v0.1.5 [INFO] [stderr] Compiling aligned_alloc v0.1.3 [INFO] [stderr] Compiling page_size v0.4.1 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling syn v0.15.34 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling phf v0.7.24 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling core_affinity v0.5.9 [INFO] [stderr] Compiling clap v2.30.0 [INFO] [stderr] Compiling chrono v0.4.6 [INFO] [stderr] Compiling pbr v1.0.1 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling http v0.1.17 [INFO] [stderr] Compiling cookie v0.11.1 [INFO] [stderr] Compiling flate2 v1.0.7 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling publicsuffix v1.5.2 [INFO] [stderr] Compiling parking_lot v0.7.1 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling mime_guess v2.0.0-alpha.6 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling stopwatch v0.0.7 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.39 [INFO] [stderr] Compiling serde-value v0.5.3 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling serde_yaml v0.8.9 [INFO] [stderr] Compiling url_serde v0.2.0 [INFO] [stderr] Compiling webpki v0.19.1 [INFO] [stderr] Compiling sct v0.5.0 [INFO] [stderr] Compiling tokio-io v0.1.12 [INFO] [stderr] Compiling mio v0.6.16 [INFO] [stderr] Compiling tokio-threadpool v0.1.14 [INFO] [stderr] Compiling want v0.0.6 [INFO] [stderr] Compiling ct-logs v0.5.1 [INFO] [stderr] Compiling serde_derive v1.0.91 [INFO] [stderr] Compiling rustls v0.15.2 [INFO] [stderr] Compiling webpki-roots v0.16.0 [INFO] [stderr] Compiling tokio-codec v0.1.1 [INFO] [stderr] Compiling h2 v0.1.18 [INFO] [stderr] Compiling tokio-fs v0.1.6 [INFO] [stderr] Compiling tokio-reactor v0.1.9 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling tokio-udp v0.1.3 [INFO] [stderr] Compiling tokio-tcp v0.1.3 [INFO] [stderr] Compiling tokio-uds v0.2.5 [INFO] [stderr] Compiling failure v0.1.5 [INFO] [stderr] Compiling tokio v0.1.19 [INFO] [stderr] Compiling tokio-rustls v0.9.2 [INFO] [stderr] Compiling hyper v0.12.28 [INFO] [stderr] Compiling hyper-rustls v0.16.1 [INFO] [stderr] Compiling cookie_store v0.5.1 [INFO] [stderr] Compiling log4rs v0.8.3 [INFO] [stderr] Compiling reqwest v0.9.16 [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu_worker.rs:67:34 [INFO] [stdout] | [INFO] [stdout] 67 | tx_empty_buffers: Sender>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Buffer + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu_worker.rs:86:34 [INFO] [stdout] | [INFO] [stdout] 86 | tx_empty_buffers: Sender>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Buffer + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/miner.rs:356:51 [INFO] [stdout] | [INFO] [stdout] 356 | .send(Box::new(cpu_buffer) as Box) [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Buffer + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plot.rs:97:90 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn new(path: &PathBuf, mut use_direct_io: bool, dummy: bool) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | pub buffer: Box, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Buffer + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | rx_empty_buffers: Receiver>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Buffer + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | tx_empty_buffers: Sender>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Buffer + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:50:40 [INFO] [stdout] | [INFO] [stdout] 50 | rx_empty_buffers: Receiver>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Buffer + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:51:38 [INFO] [stdout] | [INFO] [stdout] 51 | tx_empty_buffers: Sender>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Buffer + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/requests.rs:121:39 [INFO] [stdout] | [INFO] [stdout] 121 | ... x.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `total_size_gb` [INFO] [stdout] --> src/com/client.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | total_size_gb: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 53s [INFO] running `Command { std: "docker" "inspect" "3e17d68a2301e81e852cbb34bcaef3bec749be3866fed5d4af1baeafddc66694", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e17d68a2301e81e852cbb34bcaef3bec749be3866fed5d4af1baeafddc66694", kill_on_drop: false }` [INFO] [stdout] 3e17d68a2301e81e852cbb34bcaef3bec749be3866fed5d4af1baeafddc66694 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e05f84ab60ba6ed14db27b38c3cc9edfdb0bad18aa83e83a55e46904440582dc [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" "e05f84ab60ba6ed14db27b38c3cc9edfdb0bad18aa83e83a55e46904440582dc", kill_on_drop: false }` [INFO] [stderr] Compiling scavenger v1.7.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu_worker.rs:67:34 [INFO] [stdout] | [INFO] [stdout] 67 | tx_empty_buffers: Sender>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Buffer + Send` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/cpu_worker.rs:86:34 [INFO] [stdout] | [INFO] [stdout] 86 | tx_empty_buffers: Sender>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Buffer + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `c_void`, `uint64_t` [INFO] [stdout] --> src/cpu_worker.rs:233:16 [INFO] [stdout] | [INFO] [stdout] 233 | use libc::{c_void, uint64_t}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/miner.rs:356:51 [INFO] [stdout] | [INFO] [stdout] 356 | .send(Box::new(cpu_buffer) as Box) [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Buffer + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/plot.rs:97:90 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn new(path: &PathBuf, mut use_direct_io: bool, dummy: bool) -> Result> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:27:21 [INFO] [stdout] | [INFO] [stdout] 27 | pub buffer: Box, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Buffer + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | rx_empty_buffers: Receiver>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Buffer + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | tx_empty_buffers: Sender>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Buffer + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:50:40 [INFO] [stdout] | [INFO] [stdout] 50 | rx_empty_buffers: Receiver>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Buffer + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/reader.rs:51:38 [INFO] [stdout] | [INFO] [stdout] 51 | tx_empty_buffers: Sender>, [INFO] [stdout] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Buffer + Send` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/requests.rs:121:39 [INFO] [stdout] | [INFO] [stdout] 121 | ... x.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `total_size_gb` [INFO] [stdout] --> src/com/client.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | total_size_gb: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/com/client.rs:281:30 [INFO] [stdout] | [INFO] [stdout] 281 | Err(e) => panic!(format!("can't get mining info: {:?}", e)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 281 - Err(e) => panic!(format!("can't get mining info: {:?}", e)), [INFO] [stdout] 281 + Err(e) => panic!("can't get mining info: {:?}", e), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/com/client.rs:297:28 [INFO] [stdout] | [INFO] [stdout] 297 | assert!(false, format!("can't submit nonce: {:?}", e)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 297 - assert!(false, format!("can't submit nonce: {:?}", e)); [INFO] [stdout] 297 + assert!(false, "can't submit nonce: {:?}", e); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 11.28s [INFO] running `Command { std: "docker" "inspect" "e05f84ab60ba6ed14db27b38c3cc9edfdb0bad18aa83e83a55e46904440582dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e05f84ab60ba6ed14db27b38c3cc9edfdb0bad18aa83e83a55e46904440582dc", kill_on_drop: false }` [INFO] [stdout] e05f84ab60ba6ed14db27b38c3cc9edfdb0bad18aa83e83a55e46904440582dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a4f18ba5931ccc1ea2d90dbfcf70a64d8b421dd69b3dd99c3759da85861453b2 [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" "a4f18ba5931ccc1ea2d90dbfcf70a64d8b421dd69b3dd99c3759da85861453b2", kill_on_drop: false }` [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cpu_worker.rs:67:34 [INFO] [stderr] | [INFO] [stderr] 67 | tx_empty_buffers: Sender>, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Buffer + Send` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/cpu_worker.rs:86:34 [INFO] [stderr] | [INFO] [stderr] 86 | tx_empty_buffers: Sender>, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Buffer + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: unused imports: `c_void`, `uint64_t` [INFO] [stderr] --> src/cpu_worker.rs:233:16 [INFO] [stderr] | [INFO] [stderr] 233 | use libc::{c_void, uint64_t}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/miner.rs:356:51 [INFO] [stderr] | [INFO] [stderr] 356 | .send(Box::new(cpu_buffer) as Box) [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Buffer + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/plot.rs:97:90 [INFO] [stderr] | [INFO] [stderr] 97 | pub fn new(path: &PathBuf, mut use_direct_io: bool, dummy: bool) -> Result> { [INFO] [stderr] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/reader.rs:27:21 [INFO] [stderr] | [INFO] [stderr] 27 | pub buffer: Box, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Buffer + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/reader.rs:36:36 [INFO] [stderr] | [INFO] [stderr] 36 | rx_empty_buffers: Receiver>, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Buffer + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/reader.rs:37:34 [INFO] [stderr] | [INFO] [stderr] 37 | tx_empty_buffers: Sender>, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Buffer + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/reader.rs:50:40 [INFO] [stderr] | [INFO] [stderr] 50 | rx_empty_buffers: Receiver>, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Buffer + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/reader.rs:51:38 [INFO] [stderr] | [INFO] [stderr] 51 | tx_empty_buffers: Sender>, [INFO] [stderr] | ^^^^^^^^^^^^^ help: use `dyn`: `dyn Buffer + Send` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/requests.rs:121:39 [INFO] [stderr] | [INFO] [stderr] 121 | ... x.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `total_size_gb` [INFO] [stderr] --> src/com/client.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | total_size_gb: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/com/client.rs:281:30 [INFO] [stderr] | [INFO] [stderr] 281 | Err(e) => panic!(format!("can't get mining info: {:?}", e)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 281 - Err(e) => panic!(format!("can't get mining info: {:?}", e)), [INFO] [stderr] 281 + Err(e) => panic!("can't get mining info: {:?}", e), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/com/client.rs:297:28 [INFO] [stderr] | [INFO] [stderr] 297 | assert!(false, format!("can't submit nonce: {:?}", e)); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of assert!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the assert!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 297 - assert!(false, format!("can't submit nonce: {:?}", e)); [INFO] [stderr] 297 + assert!(false, "can't submit nonce: {:?}", e); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `scavenger` (bin "scavenger" test) generated 14 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/scavenger-faf097ac6f68623e) [INFO] [stdout] [INFO] [stdout] running 11 tests [INFO] [stdout] test com::client::tests::test_submit_params_cmp ... ok [INFO] [stdout] test logger::tests::test_to_log_level ... ok [INFO] [stdout] test utils::test::test_get_sector_size ... ok [INFO] [stdout] test shabal256::test::shabal256 ... ok [INFO] [stdout] test utils::test::test_get_device_id ... ok [INFO] [stdout] test config::tests::test_load_cfg ... ok [INFO] [stdout] test requests::tests::test_submit_nonce ... ok [INFO] [stdout] test logger::tests::test_init_logger ... FAILED [INFO] [stdout] test future::prio_retry::tests::test_prio_retry ... ok [INFO] [stdout] test cpu_worker::tests::test_deadline_hashing ... ok [INFO] [stdout] test com::client::tests::test_requests has been running for over 60 seconds [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "a4f18ba5931ccc1ea2d90dbfcf70a64d8b421dd69b3dd99c3759da85861453b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4f18ba5931ccc1ea2d90dbfcf70a64d8b421dd69b3dd99c3759da85861453b2", kill_on_drop: false }` [INFO] [stdout] a4f18ba5931ccc1ea2d90dbfcf70a64d8b421dd69b3dd99c3759da85861453b2