[INFO] cloning repository https://github.com/beinan/data_cache [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/beinan/data_cache" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeinan%2Fdata_cache", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeinan%2Fdata_cache'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1b24523ec183d896d7234feef1290b7f41e883a5 [INFO] building beinan/data_cache against try#c38f3f86763ea281f7c555c13ef11baad4a4fff4 for pr-111698 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbeinan%2Fdata_cache" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/beinan/data_cache on toolchain c38f3f86763ea281f7c555c13ef11baad4a4fff4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c38f3f86763ea281f7c555c13ef11baad4a4fff4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/beinan/data_cache [INFO] finished tweaking git repo https://github.com/beinan/data_cache [INFO] tweaked toml for git repo https://github.com/beinan/data_cache written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/beinan/data_cache already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c38f3f86763ea281f7c555c13ef11baad4a4fff4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+c38f3f86763ea281f7c555c13ef11baad4a4fff4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 83b07b2778be81a29ef4d4183e806511af5b5ec86d1601b9fe4271b60d500ee8 [INFO] running `Command { std: "docker" "start" "-a" "83b07b2778be81a29ef4d4183e806511af5b5ec86d1601b9fe4271b60d500ee8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "83b07b2778be81a29ef4d4183e806511af5b5ec86d1601b9fe4271b60d500ee8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83b07b2778be81a29ef4d4183e806511af5b5ec86d1601b9fe4271b60d500ee8", kill_on_drop: false }` [INFO] [stdout] 83b07b2778be81a29ef4d4183e806511af5b5ec86d1601b9fe4271b60d500ee8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+c38f3f86763ea281f7c555c13ef11baad4a4fff4" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d190bc070cd7c19368be127849e261f0636ae2389448c9c94f38c825ad91fc49 [INFO] running `Command { std: "docker" "start" "-a" "d190bc070cd7c19368be127849e261f0636ae2389448c9c94f38c825ad91fc49", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.47 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.103 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling once_cell v1.16.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.140 [INFO] [stderr] Compiling serde v1.0.140 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling bytes v1.2.0 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling slab v0.4.7 [INFO] [stderr] Compiling regex-syntax v0.6.27 [INFO] [stderr] Compiling pin-project-lite v0.2.9 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling mio v0.8.4 [INFO] [stderr] Compiling cmake v0.1.48 [INFO] [stderr] Compiling thiserror v1.0.35 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling tokio v1.20.0 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling nom v7.1.1 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling socket2 v0.4.4 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling clang-sys v1.4.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling regex v1.6.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling tracing-core v0.1.28 [INFO] [stderr] Compiling libloading v0.7.4 [INFO] [stderr] Compiling bindgen v0.60.1 [INFO] [stderr] Compiling anyhow v1.0.58 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling lock_api v0.4.9 [INFO] [stderr] Compiling parking_lot_core v0.9.4 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Compiling time-core v0.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling time v0.3.17 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling serde_json v1.0.81 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling smallvec v1.10.0 [INFO] [stderr] Compiling rustcommon-time v0.0.12 (https://github.com/twitter/rustcommon?rev=fc9c565#fc9c5652) [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling async-trait v0.1.58 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling foreign-types-shared v0.3.1 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling ucd-trie v0.1.4 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling prost-build v0.10.4 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling prettyplease v0.1.16 [INFO] [stderr] Compiling fixedbitset v0.4.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling petgraph v0.6.2 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling net2 v0.2.38 [INFO] [stderr] Compiling thiserror-impl v1.0.35 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling linkme-impl v0.2.10 [INFO] [stderr] Compiling prost-derive v0.10.1 [INFO] [stderr] Compiling linkme v0.2.10 [INFO] [stderr] Compiling foreign-types-macros v0.2.2 [INFO] [stderr] Compiling pin-project-internal v1.0.11 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling boring-sys v2.1.0 [INFO] [stderr] Compiling foreign-types v0.5.0 [INFO] [stderr] Compiling prost v0.10.4 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling pin-project v1.0.11 [INFO] [stderr] Compiling prost-types v0.10.1 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling mpmc v0.1.6 [INFO] [stderr] Compiling tower-layer v0.3.1 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling multimap v0.8.3 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling macros v0.1.0 (https://github.com/beinan/pelikan?branch=dep_fix#37e0787a) [INFO] [stderr] Compiling http-range-header v0.3.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling dlv-list v0.3.0 [INFO] [stderr] Compiling tonic-build v0.7.2 [INFO] [stderr] Compiling ordered-multimap v0.4.3 [INFO] [stderr] Compiling axum-core v0.2.7 [INFO] [stderr] Compiling tower-http v0.3.4 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling tokio-io-timeout v1.2.0 [INFO] [stderr] Compiling block-buffer v0.10.3 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling zookeeper_derive v0.4.1 [INFO] [stderr] Compiling async-stream-impl v0.3.3 [INFO] [stderr] Compiling blake3 v1.3.1 [INFO] [stderr] Compiling matchit v0.5.0 [INFO] [stderr] Compiling snowflake v1.3.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling subtle v2.4.1 [INFO] [stderr] Compiling sync_wrapper v0.1.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling async-stream v0.3.3 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling digest v0.10.5 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling zookeeper v0.6.1 [INFO] [stderr] Compiling alluxio_grpc v0.1.0 (/opt/rustwide/workdir/grpc) [INFO] [stderr] Compiling hyper v0.14.20 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling rustcommon-atomics v1.0.1 (https://github.com/twitter/rustcommon?rev=fc9c565#fc9c5652) [INFO] [stderr] Compiling rustcommon-histogram v1.0.1 (https://github.com/twitter/rustcommon?rev=fc9c565#fc9c5652) [INFO] [stderr] Compiling proc-macro-crate v1.2.1 [INFO] [stderr] Compiling rustcommon-heatmap v0.1.2 (https://github.com/twitter/rustcommon?rev=fc9c565#fc9c5652) [INFO] [stderr] Compiling ron v0.7.1 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rustcommon-metrics-derive v0.1.1 (https://github.com/twitter/rustcommon?rev=fc9c565#fc9c5652) [INFO] [stderr] Compiling rust-ini v0.18.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling bytecount v0.6.3 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling constant_time_eq v0.1.5 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling pathdiff v0.2.1 [INFO] [stderr] Compiling arrayref v0.3.6 [INFO] [stderr] Compiling rustcommon-metrics v0.1.1 (https://github.com/twitter/rustcommon?rev=fc9c565#fc9c5652) [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling rustcommon-logger v0.1.0 (https://github.com/twitter/rustcommon?rev=fc9c565#fc9c5652) [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling config v0.13.1 [INFO] [stderr] Compiling papergrid v0.5.1 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling jni v0.19.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling axum v0.5.13 [INFO] [stderr] Compiling hyper-timeout v0.4.1 [INFO] [stderr] Compiling tabled_derive v0.4.0 [INFO] [stderr] Compiling uuid v1.1.2 [INFO] [stderr] Compiling memmap2 v0.5.8 [INFO] [stderr] Compiling alluxio_common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stdout] warning: variant `INVALID_PREFIX` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | INVALID_PREFIX, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `InvalidPrefix` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NOT_SUPPORTED` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | NOT_SUPPORTED, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NotSupported` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PATH_DOES_NOT_EXIST` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | PATH_DOES_NOT_EXIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PathDoesNotExist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PATH_MUST_BE_FILE` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | PATH_MUST_BE_FILE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PathMustBeFile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PATH_MUST_BE_MOUNT_POINT` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | PATH_MUST_BE_MOUNT_POINT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PathMustBeMountPoint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PATH_INVALID` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | PATH_INVALID, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PathInvalid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `STATE_LOCK_TIMED_OUT` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | STATE_LOCK_TIMED_OUT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StateLockTimedOut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BLOCK_UNAVAILABLE` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | BLOCK_UNAVAILABLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BlockUnavailable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BLOCK_SIZE_INVALID` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | BLOCK_SIZE_INVALID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BlockSizeInvalid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CANNOT_REQUEST_SPACE` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | CANNOT_REQUEST_SPACE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CannotRequestSpace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NO_SPACE_FOR_BLOCK_ON_WORKER` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | NO_SPACE_FOR_BLOCK_ON_WORKER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NoSpaceForBlockOnWorker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NO_WORKER_AVAILABLE` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | NO_WORKER_AVAILABLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NoWorkerAvailable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `run_mode` [INFO] [stdout] --> common/src/settings.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let run_mode = env::var("RUN_MODE").unwrap_or_else(|_| "development".into()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_run_mode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> common/src/exception.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 84 | impl ExceptionMessage { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 85 | fn value(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling memmap2 v0.2.3 [INFO] [stderr] Compiling tabled v0.8.0 [INFO] [stderr] Compiling structopt v0.3.26 [INFO] [stderr] Compiling combine v4.6.6 [INFO] [stderr] Compiling jni-sys v0.3.0 [INFO] [stderr] Compiling cesu8 v1.1.0 [INFO] [stderr] Compiling storage-types v0.1.0 (https://github.com/beinan/pelikan?branch=dep_fix#37e0787a) [INFO] [stderr] Compiling alluxio-worker v0.1.0 (/opt/rustwide/workdir/worker) [INFO] [stderr] Compiling tonic v0.7.2 [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> grpc/src/auth.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | let (mut tx, rx) = mpsc::channel(4); [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] warning: unused variable: `handler` [INFO] [stdout] --> grpc/src/grpc_client.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | let mut handler = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sasl` [INFO] [stdout] --> grpc/src/grpc_client.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | let sasl = rx.recv().await; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sasl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> grpc/src/grpc_client.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | let (mut tx, mut rx) = mpsc::channel(4); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> grpc/src/grpc_client.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | let mut handler = tokio::spawn(async move { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> grpc/src/auth.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | result_tx.send(r).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 73 | let _ = result_tx.send(r).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> grpc/src/grpc_client.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | sasl_client.send_auth_request(tx).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = sasl_client.send_auth_request(tx).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling boring v2.1.0 [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling alluxio_client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stdout] warning: unused import: `file_system_master_client_service_client::FileSystemMasterClientServiceClient` [INFO] [stdout] --> client/src/file/alluxio_file_system.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | file_system_master_client_service_client::FileSystemMasterClientServiceClient, FileInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DefaultDataBuffer`, `GrpcDataReader`, `WorkerNetAddress` [INFO] [stdout] --> client/src/file/alluxio_file_system.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | AlluxioFileInStream, DataReader, DefaultDataBuffer, FileSystemContext, GrpcDataReader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 15 | InStreamOptions, LocalFirstPolicy, URIStatus, WorkerNetAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PROCESS_LOCAL` should have an upper camel case name [INFO] [stdout] --> client/src/file/common.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | PROCESS_LOCAL, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ProcessLocal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NODE_LOCAL` should have an upper camel case name [INFO] [stdout] --> client/src/file/common.rs:422:5 [INFO] [stdout] | [INFO] [stdout] 422 | NODE_LOCAL, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `NodeLocal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> client/src/file/alluxio_file_system.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | Err(err) => Err(AlluxioException::UnexpectedAlluxioException { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> client/src/cmds/location.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alluxio::grpc::file::FileInfo` [INFO] [stdout] --> client/src/cmds/location.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use alluxio_grpc::{grpc_client::Client, alluxio::grpc::file::FileInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> client/src/cmds/ls.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alluxio::grpc::file::FileInfo` [INFO] [stdout] --> client/src/cmds/ls.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use alluxio_grpc::{grpc_client::Client, alluxio::grpc::file::FileInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `file_system_master_client_service_client::FileSystemMasterClientServiceClient` [INFO] [stdout] --> client/src/file/alluxio_file_system.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | file_system_master_client_service_client::FileSystemMasterClientServiceClient, FileInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DefaultDataBuffer`, `GrpcDataReader`, `WorkerNetAddress` [INFO] [stdout] --> client/src/file/alluxio_file_system.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | AlluxioFileInStream, DataReader, DefaultDataBuffer, FileSystemContext, GrpcDataReader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 15 | InStreamOptions, LocalFirstPolicy, URIStatus, WorkerNetAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PROCESS_LOCAL` should have an upper camel case name [INFO] [stdout] --> client/src/file/common.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | PROCESS_LOCAL, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ProcessLocal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NODE_LOCAL` should have an upper camel case name [INFO] [stdout] --> client/src/file/common.rs:422:5 [INFO] [stdout] | [INFO] [stdout] 422 | NODE_LOCAL, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `NodeLocal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DataReader` [INFO] [stdout] --> client/src/file/alluxio_file_system.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | AlluxioFileInStream, DataReader, DefaultDataBuffer, FileSystemContext, GrpcDataReader, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> client/src/file/common.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | context: &FileSystemContext, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> client/src/file/common.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | address: WorkerNetAddress, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_source` [INFO] [stdout] --> client/src/file/common.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | block_source: BlockInStreamSource, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_size` [INFO] [stdout] --> client/src/file/common.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | block_size: i64, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> client/src/file/common.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | options: &InStreamOptions, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> client/src/file/common.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | off: i64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_off` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AlluxioFileSystem` is never constructed [INFO] [stdout] --> client/src/file/alluxio_file_system.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct AlluxioFileSystem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `create`, `get_status`, `list_status`, and `open_file` are never used [INFO] [stdout] --> client/src/file/alluxio_file_system.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl AlluxioFileSystem { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 26 | pub fn create(client: Client) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn get_status( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub async fn list_status( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub async fn open_file<'a>( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create` is never used [INFO] [stdout] --> client/src/file/alluxio_file_system.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn create(client: Client) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pos_to_read` and `address` are never read [INFO] [stdout] --> client/src/file/common.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct GrpcDataReader { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 68 | pos_to_read: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 69 | read_request: ReadRequest, [INFO] [stdout] 70 | address: WorkerNetAddress, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `block_store`, `passive_caching_enabled`, and `failed_workers` are never read [INFO] [stdout] --> client/src/file/common.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct AlluxioFileInStream<'a, B> [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 154 | block_store: BlockStoreClient, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 155 | context: &'a FileSystemContext, [INFO] [stdout] 156 | passive_caching_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | failed_workers: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `closeBlockInStream` are never used [INFO] [stdout] --> client/src/file/common.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 167 | impl<'a, B> AlluxioFileInStream<'a, B> [INFO] [stdout] | -------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | fn closeBlockInStream(&self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remaining` is never used [INFO] [stdout] --> client/src/file/common.rs:357:12 [INFO] [stdout] | [INFO] [stdout] 295 | impl BlockInStream { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 357 | pub fn remaining(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PROCESS_LOCAL`, `REMOTE`, and `UFS` are never constructed [INFO] [stdout] --> client/src/file/common.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 418 | enum BlockInStreamSource { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 419 | // The block is from a worker in the same process [INFO] [stdout] 420 | PROCESS_LOCAL, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | REMOTE, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 425 | // The block is in UFS [INFO] [stdout] 426 | UFS, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockInfo` is never constructed [INFO] [stdout] --> client/src/file/common.rs:429:8 [INFO] [stdout] | [INFO] [stdout] 429 | struct BlockInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockLocation` is never constructed [INFO] [stdout] --> client/src/file/common.rs:435:8 [INFO] [stdout] | [INFO] [stdout] 435 | struct BlockLocation {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `closeBlockInStream` should have a snake case name [INFO] [stdout] --> client/src/file/common.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 219 | fn closeBlockInStream(&self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `close_block_in_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `getWorker` should have a snake case name [INFO] [stdout] --> client/src/file/common.rs:438:8 [INFO] [stdout] | [INFO] [stdout] 438 | fn getWorker() -> WorkerNetAddress; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_worker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> client/src/file/alluxio_file_system.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | Err(err) => Err(AlluxioException::UnexpectedAlluxioException { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DataReader` [INFO] [stdout] --> client/src/file/alluxio_file_system.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | AlluxioFileInStream, DataReader, DefaultDataBuffer, FileSystemContext, GrpcDataReader, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> client/src/file/common.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | context: &FileSystemContext, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> client/src/file/common.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | address: WorkerNetAddress, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_source` [INFO] [stdout] --> client/src/file/common.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | block_source: BlockInStreamSource, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_size` [INFO] [stdout] --> client/src/file/common.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | block_size: i64, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> client/src/file/common.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | options: &InStreamOptions, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> client/src/file/common.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | off: i64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_off` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> client/src/client_main.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | Ok(settings) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> client/src/client_main.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(result) => Ok(()), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `recursive` is never read [INFO] [stdout] --> client/src/cmds/ls.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ListOptions { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 12 | #[structopt(short)] [INFO] [stdout] 13 | recursive: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pos_to_read` and `address` are never read [INFO] [stdout] --> client/src/file/common.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct GrpcDataReader { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 68 | pos_to_read: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 69 | read_request: ReadRequest, [INFO] [stdout] 70 | address: WorkerNetAddress, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `block_store`, `passive_caching_enabled`, and `failed_workers` are never read [INFO] [stdout] --> client/src/file/common.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct AlluxioFileInStream<'a, B> [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 154 | block_store: BlockStoreClient, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 155 | context: &'a FileSystemContext, [INFO] [stdout] 156 | passive_caching_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | failed_workers: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `closeBlockInStream` is never used [INFO] [stdout] --> client/src/file/common.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 167 | impl<'a, B> AlluxioFileInStream<'a, B> [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | fn closeBlockInStream(&self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remaining` is never used [INFO] [stdout] --> client/src/file/common.rs:357:12 [INFO] [stdout] | [INFO] [stdout] 295 | impl BlockInStream { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 357 | pub fn remaining(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PROCESS_LOCAL`, `REMOTE`, and `UFS` are never constructed [INFO] [stdout] --> client/src/file/common.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 418 | enum BlockInStreamSource { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 419 | // The block is from a worker in the same process [INFO] [stdout] 420 | PROCESS_LOCAL, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | REMOTE, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 425 | // The block is in UFS [INFO] [stdout] 426 | UFS, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockInfo` is never constructed [INFO] [stdout] --> client/src/file/common.rs:429:8 [INFO] [stdout] | [INFO] [stdout] 429 | struct BlockInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockLocation` is never constructed [INFO] [stdout] --> client/src/file/common.rs:435:8 [INFO] [stdout] | [INFO] [stdout] 435 | struct BlockLocation {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `closeBlockInStream` should have a snake case name [INFO] [stdout] --> client/src/file/common.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 219 | fn closeBlockInStream(&self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `close_block_in_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `getWorker` should have a snake case name [INFO] [stdout] --> client/src/file/common.rs:438:8 [INFO] [stdout] | [INFO] [stdout] 438 | fn getWorker() -> WorkerNetAddress; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_worker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling net v0.1.0 (https://github.com/beinan/pelikan?branch=dep_fix#37e0787a) [INFO] [stderr] Compiling common v0.1.0 (https://github.com/beinan/pelikan?branch=dep_fix#37e0787a) [INFO] [stderr] Compiling config v0.1.1 (https://github.com/beinan/pelikan?branch=dep_fix#37e0787a) [INFO] [stderr] Compiling datapool v0.1.0 (https://github.com/beinan/pelikan?branch=dep_fix#37e0787a) [INFO] [stderr] Compiling logger v0.1.0 (https://github.com/beinan/pelikan?branch=dep_fix#37e0787a) [INFO] [stderr] Compiling seg v0.1.0 (https://github.com/beinan/pelikan?branch=dep_fix#37e0787a) [INFO] [stderr] Compiling alluxio_jni_rust_lib v0.1.0 (/opt/rustwide/workdir/cache_jni/rust_lib) [INFO] [stdout] warning: unused import: `Deref` [INFO] [stdout] --> cache_jni/rust_lib/src/lib.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::MutexGuard` [INFO] [stdout] --> cache_jni/rust_lib/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::MutexGuard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> cache_jni/rust_lib/src/lib.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> cache_jni/rust_lib/src/lib.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | Value::U64(l) => core::mem::size_of::() as i32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> cache_jni/rust_lib/src/lib.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | ... let mut slice = &v[page_offset as usize .. (page_offset + bytes_to_read) as usize]; [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] warning: unused `Result` that must be used [INFO] [stdout] --> cache_jni/rust_lib/src/lib.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | seg.insert(rust_key, rust_value, None, Duration::ZERO); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 47 | let _ = seg.insert(rust_key, rust_value, None, Duration::ZERO); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 52s [INFO] running `Command { std: "docker" "inspect" "d190bc070cd7c19368be127849e261f0636ae2389448c9c94f38c825ad91fc49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d190bc070cd7c19368be127849e261f0636ae2389448c9c94f38c825ad91fc49", kill_on_drop: false }` [INFO] [stdout] d190bc070cd7c19368be127849e261f0636ae2389448c9c94f38c825ad91fc49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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" "RUSTDOCFLAGS=--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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+c38f3f86763ea281f7c555c13ef11baad4a4fff4" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2a2df97cd28f77cbd1fee48977214f15221ae4e663f5da5bf9bbda6934131b7d [INFO] running `Command { std: "docker" "start" "-a" "2a2df97cd28f77cbd1fee48977214f15221ae4e663f5da5bf9bbda6934131b7d", kill_on_drop: false }` [INFO] [stderr] Compiling alluxio_grpc v0.1.0 (/opt/rustwide/workdir/grpc) [INFO] [stderr] Compiling alluxio_common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stderr] Compiling alluxio-worker v0.1.0 (/opt/rustwide/workdir/worker) [INFO] [stdout] warning: variant `INVALID_PREFIX` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | INVALID_PREFIX, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `InvalidPrefix` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NOT_SUPPORTED` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | NOT_SUPPORTED, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NotSupported` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PATH_DOES_NOT_EXIST` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | PATH_DOES_NOT_EXIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PathDoesNotExist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PATH_MUST_BE_FILE` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | PATH_MUST_BE_FILE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PathMustBeFile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PATH_MUST_BE_MOUNT_POINT` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | PATH_MUST_BE_MOUNT_POINT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PathMustBeMountPoint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PATH_INVALID` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | PATH_INVALID, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PathInvalid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `STATE_LOCK_TIMED_OUT` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | STATE_LOCK_TIMED_OUT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StateLockTimedOut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BLOCK_UNAVAILABLE` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | BLOCK_UNAVAILABLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BlockUnavailable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BLOCK_SIZE_INVALID` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | BLOCK_SIZE_INVALID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BlockSizeInvalid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CANNOT_REQUEST_SPACE` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | CANNOT_REQUEST_SPACE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CannotRequestSpace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NO_SPACE_FOR_BLOCK_ON_WORKER` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | NO_SPACE_FOR_BLOCK_ON_WORKER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NoSpaceForBlockOnWorker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NO_WORKER_AVAILABLE` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | NO_WORKER_AVAILABLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NoWorkerAvailable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `run_mode` [INFO] [stdout] --> common/src/settings.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let run_mode = env::var("RUN_MODE").unwrap_or_else(|_| "development".into()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_run_mode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> common/src/exception.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 84 | impl ExceptionMessage { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 85 | fn value(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling alluxio_jni_rust_lib v0.1.0 (/opt/rustwide/workdir/cache_jni/rust_lib) [INFO] [stdout] warning: variant `INVALID_PREFIX` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | INVALID_PREFIX, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `InvalidPrefix` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NOT_SUPPORTED` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | NOT_SUPPORTED, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NotSupported` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PATH_DOES_NOT_EXIST` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | PATH_DOES_NOT_EXIST, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PathDoesNotExist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PATH_MUST_BE_FILE` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | PATH_MUST_BE_FILE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PathMustBeFile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PATH_MUST_BE_MOUNT_POINT` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | PATH_MUST_BE_MOUNT_POINT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PathMustBeMountPoint` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PATH_INVALID` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | PATH_INVALID, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `PathInvalid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `STATE_LOCK_TIMED_OUT` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | STATE_LOCK_TIMED_OUT, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StateLockTimedOut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BLOCK_UNAVAILABLE` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | BLOCK_UNAVAILABLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BlockUnavailable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `BLOCK_SIZE_INVALID` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | BLOCK_SIZE_INVALID, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `BlockSizeInvalid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `CANNOT_REQUEST_SPACE` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:80:5 [INFO] [stdout] | [INFO] [stdout] 80 | CANNOT_REQUEST_SPACE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `CannotRequestSpace` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NO_SPACE_FOR_BLOCK_ON_WORKER` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | NO_SPACE_FOR_BLOCK_ON_WORKER, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NoSpaceForBlockOnWorker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NO_WORKER_AVAILABLE` should have an upper camel case name [INFO] [stdout] --> common/src/exception.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | NO_WORKER_AVAILABLE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `NoWorkerAvailable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deref` [INFO] [stdout] --> cache_jni/rust_lib/src/lib.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::ops::{Deref, DerefMut}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::MutexGuard` [INFO] [stdout] --> cache_jni/rust_lib/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::MutexGuard; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> cache_jni/rust_lib/src/lib.rs:4:17 [INFO] [stdout] | [INFO] [stdout] 4 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `l` [INFO] [stdout] --> cache_jni/rust_lib/src/lib.rs:31:36 [INFO] [stdout] | [INFO] [stdout] 31 | Value::U64(l) => core::mem::size_of::() as i32, [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_l` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> cache_jni/rust_lib/src/lib.rs:26:33 [INFO] [stdout] | [INFO] [stdout] 26 | ... let mut slice = &v[page_offset as usize .. (page_offset + bytes_to_read) as usize]; [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] warning: unused `Result` that must be used [INFO] [stdout] --> cache_jni/rust_lib/src/lib.rs:47:13 [INFO] [stdout] | [INFO] [stdout] 47 | seg.insert(rust_key, rust_value, None, Duration::ZERO); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 47 | let _ = seg.insert(rust_key, rust_value, None, Duration::ZERO); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `run_mode` [INFO] [stdout] --> common/src/settings.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | let run_mode = env::var("RUN_MODE").unwrap_or_else(|_| "development".into()); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_run_mode` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `value` is never used [INFO] [stdout] --> common/src/exception.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 84 | impl ExceptionMessage { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] 85 | fn value(&self) -> &str { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> grpc/src/auth.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | let (mut tx, rx) = mpsc::channel(4); [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] warning: unused variable: `handler` [INFO] [stdout] --> grpc/src/grpc_client.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | let mut handler = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sasl` [INFO] [stdout] --> grpc/src/grpc_client.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | let sasl = rx.recv().await; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sasl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> grpc/src/grpc_client.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | let (mut tx, mut rx) = mpsc::channel(4); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> grpc/src/grpc_client.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | let mut handler = tokio::spawn(async move { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> grpc/src/auth.rs:56:14 [INFO] [stdout] | [INFO] [stdout] 56 | let (mut tx, rx) = mpsc::channel(4); [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] warning: unused variable: `handler` [INFO] [stdout] --> grpc/src/grpc_client.rs:36:25 [INFO] [stdout] | [INFO] [stdout] 36 | let mut handler = tokio::spawn(async move { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_handler` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sasl` [INFO] [stdout] --> grpc/src/grpc_client.rs:39:21 [INFO] [stdout] | [INFO] [stdout] 39 | let sasl = rx.recv().await; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_sasl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> grpc/src/grpc_client.rs:34:22 [INFO] [stdout] | [INFO] [stdout] 34 | let (mut tx, mut rx) = mpsc::channel(4); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> grpc/src/grpc_client.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | let mut handler = tokio::spawn(async move { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> grpc/src/auth.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | result_tx.send(r).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 73 | let _ = result_tx.send(r).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> grpc/src/grpc_client.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | sasl_client.send_auth_request(tx).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = sasl_client.send_auth_request(tx).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> grpc/src/auth.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | result_tx.send(r).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 73 | let _ = result_tx.send(r).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> grpc/src/grpc_client.rs:37:21 [INFO] [stdout] | [INFO] [stdout] 37 | sasl_client.send_auth_request(tx).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 37 | let _ = sasl_client.send_auth_request(tx).await; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling alluxio_client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stdout] warning: unused import: `file_system_master_client_service_client::FileSystemMasterClientServiceClient` [INFO] [stdout] --> client/src/file/alluxio_file_system.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | file_system_master_client_service_client::FileSystemMasterClientServiceClient, FileInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DefaultDataBuffer`, `GrpcDataReader`, `WorkerNetAddress` [INFO] [stdout] --> client/src/file/alluxio_file_system.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | AlluxioFileInStream, DataReader, DefaultDataBuffer, FileSystemContext, GrpcDataReader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 15 | InStreamOptions, LocalFirstPolicy, URIStatus, WorkerNetAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PROCESS_LOCAL` should have an upper camel case name [INFO] [stdout] --> client/src/file/common.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | PROCESS_LOCAL, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ProcessLocal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NODE_LOCAL` should have an upper camel case name [INFO] [stdout] --> client/src/file/common.rs:422:5 [INFO] [stdout] | [INFO] [stdout] 422 | NODE_LOCAL, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `NodeLocal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> client/src/cmds/location.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alluxio::grpc::file::FileInfo` [INFO] [stdout] --> client/src/cmds/location.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use alluxio_grpc::{grpc_client::Client, alluxio::grpc::file::FileInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> client/src/cmds/ls.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `alluxio::grpc::file::FileInfo` [INFO] [stdout] --> client/src/cmds/ls.rs:3:41 [INFO] [stdout] | [INFO] [stdout] 3 | use alluxio_grpc::{grpc_client::Client, alluxio::grpc::file::FileInfo}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `file_system_master_client_service_client::FileSystemMasterClientServiceClient` [INFO] [stdout] --> client/src/file/alluxio_file_system.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | file_system_master_client_service_client::FileSystemMasterClientServiceClient, FileInfo, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `DefaultDataBuffer`, `GrpcDataReader`, `WorkerNetAddress` [INFO] [stdout] --> client/src/file/alluxio_file_system.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | AlluxioFileInStream, DataReader, DefaultDataBuffer, FileSystemContext, GrpcDataReader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] 15 | InStreamOptions, LocalFirstPolicy, URIStatus, WorkerNetAddress, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PROCESS_LOCAL` should have an upper camel case name [INFO] [stdout] --> client/src/file/common.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 420 | PROCESS_LOCAL, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `ProcessLocal` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> client/src/file/alluxio_file_system.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | Err(err) => Err(AlluxioException::UnexpectedAlluxioException { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `NODE_LOCAL` should have an upper camel case name [INFO] [stdout] --> client/src/file/common.rs:422:5 [INFO] [stdout] | [INFO] [stdout] 422 | NODE_LOCAL, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `NodeLocal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `err` [INFO] [stdout] --> client/src/file/alluxio_file_system.rs:133:17 [INFO] [stdout] | [INFO] [stdout] 133 | Err(err) => Err(AlluxioException::UnexpectedAlluxioException { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_err` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DataReader` [INFO] [stdout] --> client/src/file/alluxio_file_system.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | AlluxioFileInStream, DataReader, DefaultDataBuffer, FileSystemContext, GrpcDataReader, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> client/src/file/common.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | context: &FileSystemContext, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> client/src/file/common.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | address: WorkerNetAddress, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_source` [INFO] [stdout] --> client/src/file/common.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | block_source: BlockInStreamSource, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_size` [INFO] [stdout] --> client/src/file/common.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | block_size: i64, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> client/src/file/common.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | options: &InStreamOptions, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> client/src/file/common.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | off: i64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_off` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AlluxioFileSystem` is never constructed [INFO] [stdout] --> client/src/file/alluxio_file_system.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct AlluxioFileSystem { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `create`, `get_status`, `list_status`, and `open_file` are never used [INFO] [stdout] --> client/src/file/alluxio_file_system.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl AlluxioFileSystem { [INFO] [stdout] | ---------------------- associated items in this implementation [INFO] [stdout] 26 | pub fn create(client: Client) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub async fn get_status( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub async fn list_status( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub async fn open_file<'a>( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create` is never used [INFO] [stdout] --> client/src/file/alluxio_file_system.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn create(client: Client) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pos_to_read` and `address` are never read [INFO] [stdout] --> client/src/file/common.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct GrpcDataReader { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 68 | pos_to_read: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 69 | read_request: ReadRequest, [INFO] [stdout] 70 | address: WorkerNetAddress, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `block_store`, `passive_caching_enabled`, and `failed_workers` are never read [INFO] [stdout] --> client/src/file/common.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct AlluxioFileInStream<'a, B> [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 154 | block_store: BlockStoreClient, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 155 | context: &'a FileSystemContext, [INFO] [stdout] 156 | passive_caching_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | failed_workers: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `closeBlockInStream` are never used [INFO] [stdout] --> client/src/file/common.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 167 | impl<'a, B> AlluxioFileInStream<'a, B> [INFO] [stdout] | -------------------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | fn closeBlockInStream(&self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remaining` is never used [INFO] [stdout] --> client/src/file/common.rs:357:12 [INFO] [stdout] | [INFO] [stdout] 295 | impl BlockInStream { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 357 | pub fn remaining(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PROCESS_LOCAL`, `REMOTE`, and `UFS` are never constructed [INFO] [stdout] --> client/src/file/common.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 418 | enum BlockInStreamSource { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 419 | // The block is from a worker in the same process [INFO] [stdout] 420 | PROCESS_LOCAL, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | REMOTE, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 425 | // The block is in UFS [INFO] [stdout] 426 | UFS, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockInfo` is never constructed [INFO] [stdout] --> client/src/file/common.rs:429:8 [INFO] [stdout] | [INFO] [stdout] 429 | struct BlockInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockLocation` is never constructed [INFO] [stdout] --> client/src/file/common.rs:435:8 [INFO] [stdout] | [INFO] [stdout] 435 | struct BlockLocation {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `closeBlockInStream` should have a snake case name [INFO] [stdout] --> client/src/file/common.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 219 | fn closeBlockInStream(&self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `close_block_in_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `getWorker` should have a snake case name [INFO] [stdout] --> client/src/file/common.rs:438:8 [INFO] [stdout] | [INFO] [stdout] 438 | fn getWorker() -> WorkerNetAddress; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_worker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DataReader` [INFO] [stdout] --> client/src/file/alluxio_file_system.rs:14:26 [INFO] [stdout] | [INFO] [stdout] 14 | AlluxioFileInStream, DataReader, DefaultDataBuffer, FileSystemContext, GrpcDataReader, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> client/src/file/common.rs:330:9 [INFO] [stdout] | [INFO] [stdout] 330 | context: &FileSystemContext, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `address` [INFO] [stdout] --> client/src/file/common.rs:331:9 [INFO] [stdout] | [INFO] [stdout] 331 | address: WorkerNetAddress, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_address` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_source` [INFO] [stdout] --> client/src/file/common.rs:332:9 [INFO] [stdout] | [INFO] [stdout] 332 | block_source: BlockInStreamSource, [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_source` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_size` [INFO] [stdout] --> client/src/file/common.rs:333:9 [INFO] [stdout] | [INFO] [stdout] 333 | block_size: i64, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `options` [INFO] [stdout] --> client/src/file/common.rs:335:9 [INFO] [stdout] | [INFO] [stdout] 335 | options: &InStreamOptions, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_options` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `off` [INFO] [stdout] --> client/src/file/common.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | off: i64, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_off` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `settings` [INFO] [stdout] --> client/src/client_main.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 13 | Ok(settings) => { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_settings` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> client/src/client_main.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(result) => Ok(()), [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `recursive` is never read [INFO] [stdout] --> client/src/cmds/ls.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ListOptions { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 12 | #[structopt(short)] [INFO] [stdout] 13 | recursive: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ListOptions` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pos_to_read` and `address` are never read [INFO] [stdout] --> client/src/file/common.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 67 | pub struct GrpcDataReader { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 68 | pos_to_read: i64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 69 | read_request: ReadRequest, [INFO] [stdout] 70 | address: WorkerNetAddress, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `block_store`, `passive_caching_enabled`, and `failed_workers` are never read [INFO] [stdout] --> client/src/file/common.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct AlluxioFileInStream<'a, B> [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 154 | block_store: BlockStoreClient, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 155 | context: &'a FileSystemContext, [INFO] [stdout] 156 | passive_caching_enabled: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | failed_workers: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `closeBlockInStream` is never used [INFO] [stdout] --> client/src/file/common.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 167 | impl<'a, B> AlluxioFileInStream<'a, B> [INFO] [stdout] | -------------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 219 | fn closeBlockInStream(&self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remaining` is never used [INFO] [stdout] --> client/src/file/common.rs:357:12 [INFO] [stdout] | [INFO] [stdout] 295 | impl BlockInStream { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 357 | pub fn remaining(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `PROCESS_LOCAL`, `REMOTE`, and `UFS` are never constructed [INFO] [stdout] --> client/src/file/common.rs:420:5 [INFO] [stdout] | [INFO] [stdout] 418 | enum BlockInStreamSource { [INFO] [stdout] | ------------------- variants in this enum [INFO] [stdout] 419 | // The block is from a worker in the same process [INFO] [stdout] 420 | PROCESS_LOCAL, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 424 | REMOTE, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 425 | // The block is in UFS [INFO] [stdout] 426 | UFS, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockInfo` is never constructed [INFO] [stdout] --> client/src/file/common.rs:429:8 [INFO] [stdout] | [INFO] [stdout] 429 | struct BlockInfo { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BlockLocation` is never constructed [INFO] [stdout] --> client/src/file/common.rs:435:8 [INFO] [stdout] | [INFO] [stdout] 435 | struct BlockLocation {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `closeBlockInStream` should have a snake case name [INFO] [stdout] --> client/src/file/common.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 219 | fn closeBlockInStream(&self) {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `close_block_in_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait method `getWorker` should have a snake case name [INFO] [stdout] --> client/src/file/common.rs:438:8 [INFO] [stdout] | [INFO] [stdout] 438 | fn getWorker() -> WorkerNetAddress; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `get_worker` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 28 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.97s [INFO] running `Command { std: "docker" "inspect" "2a2df97cd28f77cbd1fee48977214f15221ae4e663f5da5bf9bbda6934131b7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a2df97cd28f77cbd1fee48977214f15221ae4e663f5da5bf9bbda6934131b7d", kill_on_drop: false }` [INFO] [stdout] 2a2df97cd28f77cbd1fee48977214f15221ae4e663f5da5bf9bbda6934131b7d