[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 1.60.0 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 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nickel v0.11.0 [INFO] [stderr] Downloaded async-trait v0.1.24 [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" "+1.60.0" "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] 473fcc2d20f678b81ea54c9ecdf827faba84de6f304de92f3ae5de31801c97e4 [INFO] running `Command { std: "docker" "start" "-a" "473fcc2d20f678b81ea54c9ecdf827faba84de6f304de92f3ae5de31801c97e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "473fcc2d20f678b81ea54c9ecdf827faba84de6f304de92f3ae5de31801c97e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "473fcc2d20f678b81ea54c9ecdf827faba84de6f304de92f3ae5de31801c97e4", kill_on_drop: false }` [INFO] [stdout] 473fcc2d20f678b81ea54c9ecdf827faba84de6f304de92f3ae5de31801c97e4 [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" "+1.60.0" "build" "--frozen" "--message-format=json", 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] 8ca708074892fd40b837c5fd920ab16876ce2bb3de0045de08f39517d7d704ff [INFO] running `Command { std: "docker" "start" "-a" "8ca708074892fd40b837c5fd920ab16876ce2bb3de0045de08f39517d7d704ff", 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 ascii v0.8.7 [INFO] [stderr] Compiling chunked_transfer v0.3.1 [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 rand_chacha v0.2.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling serde_json v1.0.48 [INFO] [stderr] Compiling aho-corasick v0.7.8 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling rand v0.7.3 [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 phf_generator v0.7.24 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling phf_codegen v0.7.24 [INFO] [stderr] Compiling tiny_http v0.6.2 [INFO] [stderr] Compiling mime_guess v1.8.7 [INFO] [stderr] Compiling regex v1.3.4 [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 pin-project v0.4.8 [INFO] [stderr] Compiling hashbrown v0.6.3 [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] 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] warning: unused variable: `first_block_offset` [INFO] [stdout] --> src/support/mod.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | let first_block_offset = (offset%block_size); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_first_block_offset` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `write_through` [INFO] [stdout] --> src/support/memory.rs:34:72 [INFO] [stdout] | [INFO] [stdout] 34 | async unsafe fn unsafe_write(&mut self, offset: usize, buf: &[u8], write_through: bool) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_write_through` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_size` [INFO] [stdout] --> src/support/seafile.rs:164:13 [INFO] [stdout] | [INFO] [stdout] 164 | let block_size=self.block_size(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_size` [INFO] [stdout] --> src/support/seafile.rs:185:13 [INFO] [stdout] | [INFO] [stdout] 185 | let block_size=self.block_size(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `response` [INFO] [stdout] --> src/support/seafile.rs:140:28 [INFO] [stdout] | [INFO] [stdout] 140 | Ok(response)=>{ [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NBD_OPT_LIST` [INFO] [stdout] --> src/nbd.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | const NBD_OPT_LIST:u32=3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NBD_OPT_INFO` [INFO] [stdout] --> src/nbd.rs:22:1 [INFO] [stdout] | [INFO] [stdout] 22 | const NBD_OPT_INFO:u32=6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NBD_OPT_GO` [INFO] [stdout] --> src/nbd.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | const NBD_OPT_GO:u32=7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NBD_REP_SERVER` [INFO] [stdout] --> src/nbd.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | const NBD_REP_SERVER:u32=1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NBD_REP_INFO` [INFO] [stdout] --> src/nbd.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | const NBD_REP_INFO:u32=3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NBD_REP_ERR_INVALID` [INFO] [stdout] --> src/nbd.rs:31:1 [INFO] [stdout] | [INFO] [stdout] 31 | const NBD_REP_ERR_INVALID:u32=NBD_REP_ERR_PREFIX+3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NBD_FLAG_READ_ONLY` [INFO] [stdout] --> src/nbd.rs:35:1 [INFO] [stdout] | [INFO] [stdout] 35 | const NBD_FLAG_READ_ONLY:u16=1<<1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NBD_FLAG_SEND_FUA` [INFO] [stdout] --> src/nbd.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | const NBD_FLAG_SEND_FUA:u16=1<<3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NBD_FLAG_ROTATIONAL` [INFO] [stdout] --> src/nbd.rs:38:1 [INFO] [stdout] | [INFO] [stdout] 38 | const NBD_FLAG_ROTATIONAL:u16=1<<4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NBD_FLAG_SEND_TRIM` [INFO] [stdout] --> src/nbd.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | const NBD_FLAG_SEND_TRIM:u16=1<<5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NBD_FLAG_SEND_WRITE_ZEROES` [INFO] [stdout] --> src/nbd.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | const NBD_FLAG_SEND_WRITE_ZEROES:u16=1<<6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NBD_FLAG_SEND_DF` [INFO] [stdout] --> src/nbd.rs:41:1 [INFO] [stdout] | [INFO] [stdout] 41 | const NBD_FLAG_SEND_DF:u16=1<<7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NBD_FLAG_CAN_MULTI_CONN` [INFO] [stdout] --> src/nbd.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | const NBD_FLAG_CAN_MULTI_CONN:u16=1<<8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NBD_FLAG_SEND_RESIZE` [INFO] [stdout] --> src/nbd.rs:43:1 [INFO] [stdout] | [INFO] [stdout] 43 | const NBD_FLAG_SEND_RESIZE:u16=1<<9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NBD_FLAG_SEND_CACHE` [INFO] [stdout] --> src/nbd.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | const NBD_FLAG_SEND_CACHE:u16=1<<10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NBD_FLAG_SEND_FAST_ZERO` [INFO] [stdout] --> src/nbd.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | const NBD_FLAG_SEND_FAST_ZERO:u16=1<<11; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NBD_CMD_FLAG_NO_HOLE` [INFO] [stdout] --> src/nbd.rs:50:1 [INFO] [stdout] | [INFO] [stdout] 50 | const NBD_CMD_FLAG_NO_HOLE:u16=1<<1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NBD_CMD_FLAG_DF` [INFO] [stdout] --> src/nbd.rs:51:1 [INFO] [stdout] | [INFO] [stdout] 51 | const NBD_CMD_FLAG_DF:u16=1<<2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NBD_CMD_FLAG_REQ_ONE` [INFO] [stdout] --> src/nbd.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | const NBD_CMD_FLAG_REQ_ONE:u16=1<<3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NBD_CMD_FLAG_FAST_ZERO` [INFO] [stdout] --> src/nbd.rs:53:1 [INFO] [stdout] | [INFO] [stdout] 53 | const NBD_CMD_FLAG_FAST_ZERO:u16=1<<4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NBD_CMD_TRIM` [INFO] [stdout] --> src/nbd.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | const NBD_CMD_TRIM:u16=4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NBD_CMD_CACHE` [INFO] [stdout] --> src/nbd.rs:61:1 [INFO] [stdout] | [INFO] [stdout] 61 | const NBD_CMD_CACHE:u16=5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NBD_CMD_WRITE_ZEROES` [INFO] [stdout] --> src/nbd.rs:62:1 [INFO] [stdout] | [INFO] [stdout] 62 | const NBD_CMD_WRITE_ZEROES:u16=6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NBD_CMD_BLOCK_STATUS` [INFO] [stdout] --> src/nbd.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | const NBD_CMD_BLOCK_STATUS:u16=7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NBD_CMD_RESIZE` [INFO] [stdout] --> src/nbd.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | const NBD_CMD_RESIZE:u16=8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NBD_EPERM` [INFO] [stdout] --> src/nbd.rs:68:1 [INFO] [stdout] | [INFO] [stdout] 68 | const NBD_EPERM:u32=1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NBD_ENOMEM` [INFO] [stdout] --> src/nbd.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | const NBD_ENOMEM:u32=12; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NBD_EOVERFLOW` [INFO] [stdout] --> src/nbd.rs:73:1 [INFO] [stdout] | [INFO] [stdout] 73 | const NBD_EOVERFLOW:u32=75; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NBD_ENOTSUP` [INFO] [stdout] --> src/nbd.rs:74:1 [INFO] [stdout] | [INFO] [stdout] 74 | const NBD_ENOTSUP:u32=95; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `NBD_ESHUTDOWN` [INFO] [stdout] --> src/nbd.rs:75:1 [INFO] [stdout] | [INFO] [stdout] 75 | const NBD_ESHUTDOWN:u32=108; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `NBDClient` [INFO] [stdout] --> src/nbd.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | struct NBDClient{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/support/mod.rs:110:12 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn new(provider: T)->Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `mutex` [INFO] [stdout] --> src/support/mod.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn mutex(&self)->&Mutex>{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `token` [INFO] [stdout] --> src/support/seafile.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | token: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SEAFILE_API_BASE` [INFO] [stdout] --> src/support/seafile.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | const SEAFILE_API_BASE: &str="https://cloud.tsinghua.edu.cn/api2/"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SEAFILE_LIBRARY_BASE` [INFO] [stdout] --> src/support/seafile.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | const SEAFILE_LIBRARY_BASE:&str="https://cloud.tsinghua.edu.cn/api2/repos/{}/"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SEAFILE_LIBRARY_FILE` [INFO] [stdout] --> src/support/seafile.rs:45:1 [INFO] [stdout] | [INFO] [stdout] 45 | const SEAFILE_LIBRARY_FILE:&str="https://cloud.tsinghua.edu.cn/api2/repos/{}/file/?p=/{}.block"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SEAFILE_LIBRARY_UPLOAD_LINK` [INFO] [stdout] --> src/support/seafile.rs:46:1 [INFO] [stdout] | [INFO] [stdout] 46 | const SEAFILE_LIBRARY_UPLOAD_LINK:&str="https://cloud.tsinghua.edu.cn/api2/repos/{}/upload-link/"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable 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] error: aborting due to previous error; 63 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; 63 warnings emitted [INFO] running `Command { std: "docker" "inspect" "8ca708074892fd40b837c5fd920ab16876ce2bb3de0045de08f39517d7d704ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ca708074892fd40b837c5fd920ab16876ce2bb3de0045de08f39517d7d704ff", kill_on_drop: false }` [INFO] [stdout] 8ca708074892fd40b837c5fd920ab16876ce2bb3de0045de08f39517d7d704ff