[INFO] cloning repository https://github.com/gjz010/clouddrive [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gjz010/clouddrive" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgjz010%2Fclouddrive", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgjz010%2Fclouddrive'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c959dcad515de489e202a6122ea0d857ac809b5f [INFO] testing gjz010/clouddrive 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%2Fgjz010%2Fclouddrive" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gjz010/clouddrive 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/gjz010/clouddrive [INFO] finished tweaking git repo https://github.com/gjz010/clouddrive [INFO] tweaked toml for git repo https://github.com/gjz010/clouddrive written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/gjz010/clouddrive 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] 2a614fb8954de22e88d270cc018227b0dcff92e5be6fbf35331cacb278ff045b [INFO] running `Command { std: "docker" "start" "-a" "2a614fb8954de22e88d270cc018227b0dcff92e5be6fbf35331cacb278ff045b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a614fb8954de22e88d270cc018227b0dcff92e5be6fbf35331cacb278ff045b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a614fb8954de22e88d270cc018227b0dcff92e5be6fbf35331cacb278ff045b", kill_on_drop: false }` [INFO] [stdout] 2a614fb8954de22e88d270cc018227b0dcff92e5be6fbf35331cacb278ff045b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7349a7da8fd4156e6da06696f776683b2c128a96b00f9f639d60babb01dce2f [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" "d7349a7da8fd4156e6da06696f776683b2c128a96b00f9f639d60babb01dce2f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling memchr v2.3.2 [INFO] [stderr] Compiling arc-swap v0.4.4 [INFO] [stderr] Compiling openssl v0.10.28 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling chunked_transfer v0.3.1 [INFO] [stderr] Compiling ascii v0.8.7 [INFO] [stderr] Compiling openssl-sys v0.9.54 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling plugin v0.2.6 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling mustache v0.9.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling aho-corasick v0.7.8 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling mime_guess v2.0.1 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling native-tls v0.2.3 [INFO] [stderr] Compiling tiny_http v0.6.2 [INFO] [stderr] Compiling phf_generator v0.7.24 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling regex v1.3.4 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Compiling tempfile v3.1.0 [INFO] [stderr] Compiling nickel v0.11.0 [INFO] [stderr] Compiling iron v0.6.1 [INFO] [stderr] Compiling multipart v0.16.1 [INFO] [stderr] Compiling tokio-macros v0.2.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling async-trait v0.1.24 [INFO] [stderr] Compiling tokio v0.2.11 [INFO] [stderr] Compiling const-random-macro v0.1.8 [INFO] [stderr] Compiling const-random v0.1.8 [INFO] [stderr] Compiling ahash v0.2.18 [INFO] [stderr] Compiling hashbrown v0.6.3 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling lru v0.4.3 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.2.1 [INFO] [stderr] Compiling hyper v0.13.2 [INFO] [stderr] Compiling hyper-tls v0.4.1 [INFO] [stderr] Compiling reqwest v0.10.1 [INFO] [stderr] Compiling clouddrive v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `tokio::prelude::*` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MutexProvider` [INFO] [stdout] --> src/nbd.rs:7:76 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::support::{CloudProvider, SharedProvider, bound_and_align_check, MutexProvider}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/nbd.rs:230:13 [INFO] [stdout] | [INFO] [stdout] 230 | /// TODO: Dangerous when there is not maximum block size negotiation! [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 231 | let mut data:Vec=Vec::new(); [INFO] [stdout] | -------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/nbd.rs:255:25 [INFO] [stdout] | [INFO] [stdout] 255 | /// TODO: Dangerous when there is not maximum block size negotiation! [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 256 | let mut data:Vec=Vec::new(); [INFO] [stdout] | -------------------------------- rustdoc does not generate documentation for statements [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Range` [INFO] [stdout] --> src/support/lru.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::ops::{Range}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::pin::Pin` [INFO] [stdout] --> src/support/lru.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::pin::Pin; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/support/lru.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `max`, `min` [INFO] [stdout] --> src/support/lru.rs:6:16 [INFO] [stdout] | [INFO] [stdout] 6 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::sync::RwLock` [INFO] [stdout] --> src/support/memory.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::MaybeUninit` [INFO] [stdout] --> src/support/memory.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::mem::MaybeUninit; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `max`, `min` [INFO] [stdout] --> src/support/byte.rs:4:16 [INFO] [stdout] | [INFO] [stdout] 4 | use std::cmp::{max, min}; [INFO] [stdout] | ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice::SliceIndex` [INFO] [stdout] --> src/support/byte.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::slice::SliceIndex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::prelude::*` [INFO] [stdout] --> src/support/seafile.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use tokio::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::DerefMut` [INFO] [stdout] --> src/support/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::ops::DerefMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/support/mod.rs:68:34 [INFO] [stdout] | [INFO] [stdout] 68 | let first_block_offset = (offset%block_size); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 68 - let first_block_offset = (offset%block_size); [INFO] [stdout] 68 + let first_block_offset = offset%block_size; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/support/mod.rs:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | let range_block=(block_lower..block_upper); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 75 - let range_block=(block_lower..block_upper); [INFO] [stdout] 75 + let range_block=block_lower..block_upper; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/support/mod.rs:76:29 [INFO] [stdout] | [INFO] [stdout] 76 | let range_local=(global_lower-offset .. global_upper-offset); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 76 - let range_local=(global_lower-offset .. global_upper-offset); [INFO] [stdout] 76 + let range_local=global_lower-offset .. global_upper-offset; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the beta release channel [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(slice_index_methods)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SharedProvider` [INFO] [stdout] --> src/nbd.rs:7:37 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::support::{CloudProvider, SharedProvider, bound_and_align_check, MutexProvider}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::slice::SliceIndex` [INFO] [stdout] --> src/support/lru.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::slice::SliceIndex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/support/byte.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `clouddrive` due to 2 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d7349a7da8fd4156e6da06696f776683b2c128a96b00f9f639d60babb01dce2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7349a7da8fd4156e6da06696f776683b2c128a96b00f9f639d60babb01dce2f", kill_on_drop: false }` [INFO] [stdout] d7349a7da8fd4156e6da06696f776683b2c128a96b00f9f639d60babb01dce2f