[INFO] cloning repository https://github.com/Darktrop/hdfs-cli
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Darktrop/hdfs-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarktrop%2Fhdfs-cli", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarktrop%2Fhdfs-cli'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] c14058ec9e4efd62efe2bf5c85502f6419621342
[INFO] checking Darktrop/hdfs-cli against master#779e19d8baa3e3625bd4fc5c85cbb2ad47b43155 for pr-147589-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDarktrop%2Fhdfs-cli" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Darktrop/hdfs-cli
[INFO] finished tweaking git repo https://github.com/Darktrop/hdfs-cli
[INFO] tweaked toml for git repo https://github.com/Darktrop/hdfs-cli written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Darktrop/hdfs-cli on toolchain 779e19d8baa3e3625bd4fc5c85cbb2ad47b43155
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 80 packages to latest compatible versions
[INFO] [stderr]       Adding clap v2.34.0 (available: v4.5.49)
[INFO] [stderr]       Adding dirs v1.0.5 (available: v6.0.0)
[INFO] [stderr]       Adding env_logger v0.5.13 (available: v0.11.8)
[INFO] [stderr]       Adding glob v0.2.11 (available: v0.3.3)
[INFO] [stderr]       Adding itertools v0.7.11 (available: v0.14.0)
[INFO] [stderr]       Adding nix v0.11.1 (available: v0.30.1)
[INFO] [stderr]       Adding quick-xml v0.13.3 (available: v0.38.3)
[INFO] [stderr]       Adding rand v0.5.6 (available: v0.9.2)
[INFO] [stderr]       Adding toml v0.4.10 (available: v0.9.8)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: /workspace/builds/worker-1-tc1/source/hdfs/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: /workspace/builds/worker-1-tc1/source/walk/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: /workspace/builds/worker-1-tc1/source/fs_test/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: /workspace/builds/worker-1-tc1/source/hdfs-cmd/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded yaml-rust v0.3.5
[INFO] [stderr]   Downloaded dirs v1.0.5
[INFO] [stderr]   Downloaded nix v0.11.1
[INFO] [stderr]   Downloaded quick-xml v0.13.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6adbe07ab4bbffd90b82899c54b7ca4c3ade211fbe79bfc690d122dc4ff58a83
[INFO] running `Command { std: "docker" "start" "-a" "6adbe07ab4bbffd90b82899c54b7ca4c3ade211fbe79bfc690d122dc4ff58a83", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6adbe07ab4bbffd90b82899c54b7ca4c3ade211fbe79bfc690d122dc4ff58a83", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6adbe07ab4bbffd90b82899c54b7ca4c3ade211fbe79bfc690d122dc4ff58a83", kill_on_drop: false }`
[INFO] [stdout] 6adbe07ab4bbffd90b82899c54b7ca4c3ade211fbe79bfc690d122dc4ff58a83
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+779e19d8baa3e3625bd4fc5c85cbb2ad47b43155" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f6cd561f1993a4b976a64f4540c8654a228fd8bd6139e28e2cb44398f8fa3d85
[INFO] running `Command { std: "docker" "start" "-a" "f6cd561f1993a4b976a64f4540c8654a228fd8bd6139e28e2cb44398f8fa3d85", kill_on_drop: false }`
[INFO] [stderr] warning: /opt/rustwide/workdir/walk/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: /opt/rustwide/workdir/hdfs/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: /opt/rustwide/workdir/hdfs-cmd/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr] warning: /opt/rustwide/workdir/fs_test/Cargo.toml: no edition set: defaulting to the 2015 edition while the latest is 2024
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling object v0.37.3
[INFO] [stderr]     Checking gimli v0.32.3
[INFO] [stderr]     Checking log v0.4.28
[INFO] [stderr]     Checking rand_core v0.4.2
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]     Checking rustc-demangle v0.1.26
[INFO] [stderr]     Checking miniz_oxide v0.8.9
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]    Compiling nix v0.11.1
[INFO] [stderr]     Checking regex-syntax v0.8.8
[INFO] [stderr]    Compiling hdfs v0.1.0 (/opt/rustwide/workdir/hdfs)
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]  --> hdfs/build.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::env;
[INFO] [stdout]   |     ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking glob v0.2.11
[INFO] [stderr]    Compiling serde_json v1.0.145
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]     Checking yaml-rust v0.3.5
[INFO] [stderr]     Checking dirs v1.0.5
[INFO] [stderr]     Checking rand_core v0.3.1
[INFO] [stderr]     Checking itertools v0.7.11
[INFO] [stderr]     Checking rand v0.5.6
[INFO] [stderr]     Checking walk v0.1.0 (/opt/rustwide/workdir/walk)
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> walk/src/walk.rs:168:65
[INFO] [stdout]     |
[INFO] [stdout] 168 |                         return Some(Ok(Node::Dir(depth, path)));;
[INFO] [stdout]     |                                                                 ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `is_recursive` is never used
[INFO] [stdout]    --> walk/src/walk.rs:189:8
[INFO] [stdout]     |
[INFO] [stdout]  95 | impl<'a, T: FileSystem> Walk<'a, T> {
[INFO] [stdout]     | ----------------------------------- method in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 189 |     fn is_recursive(&self) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing
[INFO] [stdout]   --> walk/src/walk.rs:48:29
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn new(file_system: &T) -> WalkBuilder<T> {
[INFO] [stdout]    |                             ^^     ^^^^^^^^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             the lifetime is elided here
[INFO] [stdout]    |
[INFO] [stdout]    = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout]    = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
[INFO] [stdout] help: use `'_` for type paths
[INFO] [stdout]    |
[INFO] [stdout] 48 |     pub fn new(file_system: &T) -> WalkBuilder<'_, T> {
[INFO] [stdout]    |                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing
[INFO] [stdout]    --> walk/src/walk.rs:100:17
[INFO] [stdout]     |
[INFO] [stdout]  97 |         fs: &'a T,
[INFO] [stdout]     |              -- the lifetime is named here
[INFO] [stdout] ...
[INFO] [stdout] 100 |     ) -> Result<Walk<T>, err::Error> {
[INFO] [stdout]     |                 ^^^^^^^ the same lifetime is hidden here
[INFO] [stdout]     |
[INFO] [stdout]     = help: the same lifetime is referred to in inconsistent ways, making the signature confusing
[INFO] [stdout] help: consistently use `'a`
[INFO] [stdout]     |
[INFO] [stdout] 100 |     ) -> Result<Walk<'a, T>, err::Error> {
[INFO] [stdout]     |                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking clap v2.34.0
[INFO] [stderr]     Checking fs_test v0.1.0 (/opt/rustwide/workdir/fs_test)
[INFO] [stderr]     Checking regex-automata v0.4.13
[INFO] [stderr]    Compiling synstructure v0.12.6
[INFO] [stderr]     Checking addr2line v0.25.1
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling failure_derive v0.1.8
[INFO] [stderr]     Checking toml v0.4.10
[INFO] [stderr]     Checking backtrace v0.3.76
[INFO] [stderr]     Checking regex v1.12.2
[INFO] [stderr]     Checking failure v0.1.8
[INFO] [stderr]     Checking quick-xml v0.13.3
[INFO] [stderr]     Checking env_logger v0.5.13
[INFO] [stdout] warning: unnecessary trailing semicolon
[INFO] [stdout]    --> walk/src/walk.rs:168:65
[INFO] [stdout]     |
[INFO] [stdout] 168 |                         return Some(Ok(Node::Dir(depth, path)));;
[INFO] [stdout]     |                                                                 ^ help: remove this semicolon
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(redundant_semicolons)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int16_t`: Use i16 instead.
[INFO] [stdout]  --> hdfs/src/hdfs.rs:5:46
[INFO] [stdout]   |
[INFO] [stdout] 5 |     c_char, c_int, c_short, c_uchar, c_void, int16_t, int32_t, int64_t, size_t, time_t, uint16_t,
[INFO] [stdout]   |                                              ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]  --> hdfs/src/hdfs.rs:5:55
[INFO] [stdout]   |
[INFO] [stdout] 5 |     c_char, c_int, c_short, c_uchar, c_void, int16_t, int32_t, int64_t, size_t, time_t, uint16_t,
[INFO] [stdout]   |                                                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead.
[INFO] [stdout]  --> hdfs/src/hdfs.rs:5:64
[INFO] [stdout]   |
[INFO] [stdout] 5 |     c_char, c_int, c_short, c_uchar, c_void, int16_t, int32_t, int64_t, size_t, time_t, uint16_t,
[INFO] [stdout]   |                                                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead.
[INFO] [stdout]  --> hdfs/src/hdfs.rs:5:89
[INFO] [stdout]   |
[INFO] [stdout] 5 |     c_char, c_int, c_short, c_uchar, c_void, int16_t, int32_t, int64_t, size_t, time_t, uint16_t,
[INFO] [stdout]   |                                                                                         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int16_t`: Use i16 instead.
[INFO] [stdout]  --> hdfs/src/native.rs:8:46
[INFO] [stdout]   |
[INFO] [stdout] 8 |     c_char, c_int, c_short, c_uchar, c_void, int16_t, int32_t, int64_t, size_t, time_t, uint16_t,
[INFO] [stdout]   |                                              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]  --> hdfs/src/native.rs:8:55
[INFO] [stdout]   |
[INFO] [stdout] 8 |     c_char, c_int, c_short, c_uchar, c_void, int16_t, int32_t, int64_t, size_t, time_t, uint16_t,
[INFO] [stdout]   |                                                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead.
[INFO] [stdout]  --> hdfs/src/native.rs:8:64
[INFO] [stdout]   |
[INFO] [stdout] 8 |     c_char, c_int, c_short, c_uchar, c_void, int16_t, int32_t, int64_t, size_t, time_t, uint16_t,
[INFO] [stdout]   |                                                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead.
[INFO] [stdout]  --> hdfs/src/native.rs:8:89
[INFO] [stdout]   |
[INFO] [stdout] 8 |     c_char, c_int, c_short, c_uchar, c_void, int16_t, int32_t, int64_t, size_t, time_t, uint16_t,
[INFO] [stdout]   |                                                                                         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> hdfs/src/native.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | type tSize = int32_t;
[INFO] [stdout]    |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead.
[INFO] [stdout]   --> hdfs/src/native.rs:14:16
[INFO] [stdout]    |
[INFO] [stdout] 14 | type tOffset = int64_t;
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead.
[INFO] [stdout]   --> hdfs/src/native.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | type tPort = uint16_t;
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> hdfs/src/config.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 |             let mut file = BufReader::new(f);
[INFO] [stdout]    |                 ----^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> walk/src/tests.rs:280:40
[INFO] [stdout]     |
[INFO] [stdout] 280 |     let walkbuilder = WalkBuilder::new(fs);
[INFO] [stdout]     |                       ---------------- ^^ expected `&_`, found `MockFS<'_>`
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `MockFS<'_>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> walk/src/walk.rs:48:12
[INFO] [stdout]     |
[INFO] [stdout]  48 |     pub fn new(file_system: &T) -> WalkBuilder<T> {
[INFO] [stdout]     |            ^^^ ---------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 280 |     let walkbuilder = WalkBuilder::new(&fs);
[INFO] [stdout]     |                                        +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> walk/src/tests.rs:302:40
[INFO] [stdout]     |
[INFO] [stdout] 302 |     let walkbuilder = WalkBuilder::new(fs);
[INFO] [stdout]     |                       ---------------- ^^ expected `&_`, found `MockFS<'_>`
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `MockFS<'_>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> walk/src/walk.rs:48:12
[INFO] [stdout]     |
[INFO] [stdout]  48 |     pub fn new(file_system: &T) -> WalkBuilder<T> {
[INFO] [stdout]     |            ^^^ ---------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 302 |     let walkbuilder = WalkBuilder::new(&fs);
[INFO] [stdout]     |                                        +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> walk/src/tests.rs:325:40
[INFO] [stdout]     |
[INFO] [stdout] 325 |     let walkbuilder = WalkBuilder::new(fs);
[INFO] [stdout]     |                       ---------------- ^^ expected `&_`, found `MockFS<'_>`
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `MockFS<'_>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> walk/src/walk.rs:48:12
[INFO] [stdout]     |
[INFO] [stdout]  48 |     pub fn new(file_system: &T) -> WalkBuilder<T> {
[INFO] [stdout]     |            ^^^ ---------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 325 |     let walkbuilder = WalkBuilder::new(&fs);
[INFO] [stdout]     |                                        +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> walk/src/tests.rs:347:40
[INFO] [stdout]     |
[INFO] [stdout] 347 |     let walkbuilder = WalkBuilder::new(fs);
[INFO] [stdout]     |                       ---------------- ^^ expected `&_`, found `MockFS<'_>`
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `MockFS<'_>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> walk/src/walk.rs:48:12
[INFO] [stdout]     |
[INFO] [stdout]  48 |     pub fn new(file_system: &T) -> WalkBuilder<T> {
[INFO] [stdout]     |            ^^^ ---------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 347 |     let walkbuilder = WalkBuilder::new(&fs);
[INFO] [stdout]     |                                        +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `kObjectKindFile` and `kObjectKindDirectory` are never constructed
[INFO] [stdout]   --> hdfs/src/native.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum tObjectKind {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] 19 |     kObjectKindFile = 0x46,      // 'F'
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 20 |     kObjectKindDirectory = 0x44, // 'D'
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> hdfs/src/native.rs:5:9
[INFO] [stdout]    |
[INFO] [stdout]  5 | #![warn(dead_code)]
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hdfsDelete` is never used
[INFO] [stdout]    --> hdfs/src/native.rs:118:12
[INFO] [stdout]     |
[INFO] [stdout] 118 |     pub fn hdfsDelete(fs: *const hdfsFS, path: *const c_char) -> c_int;
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hdfsCopy` is never used
[INFO] [stdout]    --> hdfs/src/native.rs:124:12
[INFO] [stdout]     |
[INFO] [stdout] 124 |     pub fn hdfsCopy(
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hdfsMove` is never used
[INFO] [stdout]    --> hdfs/src/native.rs:130:12
[INFO] [stdout]     |
[INFO] [stdout] 130 |     pub fn hdfsMove(
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hdfsRename` is never used
[INFO] [stdout]    --> hdfs/src/native.rs:136:12
[INFO] [stdout]     |
[INFO] [stdout] 136 |     pub fn hdfsRename(srcFS: *const hdfsFS, src: *const c_char, dst: *const c_char);
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hdfsCreateDirectory` is never used
[INFO] [stdout]    --> hdfs/src/native.rs:137:12
[INFO] [stdout]     |
[INFO] [stdout] 137 |     pub fn hdfsCreateDirectory(fs: *const hdfsFS, path: *const c_char) -> c_int;
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> walk/src/tests.rs:369:40
[INFO] [stdout]     |
[INFO] [stdout] 369 |     let walkbuilder = WalkBuilder::new(fs);
[INFO] [stdout]     |                       ---------------- ^^ expected `&_`, found `MockFS<'_>`
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `MockFS<'_>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> walk/src/walk.rs:48:12
[INFO] [stdout]     |
[INFO] [stdout]  48 |     pub fn new(file_system: &T) -> WalkBuilder<T> {
[INFO] [stdout]     |            ^^^ ---------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 369 |     let walkbuilder = WalkBuilder::new(&fs);
[INFO] [stdout]     |                                        +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> walk/src/tests.rs:391:40
[INFO] [stdout]     |
[INFO] [stdout] 391 |     let walkbuilder = WalkBuilder::new(fs);
[INFO] [stdout]     |                       ---------------- ^^ expected `&_`, found `MockFS<'_>`
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `MockFS<'_>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> walk/src/walk.rs:48:12
[INFO] [stdout]     |
[INFO] [stdout]  48 |     pub fn new(file_system: &T) -> WalkBuilder<T> {
[INFO] [stdout]     |            ^^^ ---------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 391 |     let walkbuilder = WalkBuilder::new(&fs);
[INFO] [stdout]     |                                        +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> walk/src/tests.rs:419:40
[INFO] [stdout]     |
[INFO] [stdout] 419 |     let walkbuilder = WalkBuilder::new(fs);
[INFO] [stdout]     |                       ---------------- ^^ expected `&_`, found `MockFS<'_>`
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `MockFS<'_>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> walk/src/walk.rs:48:12
[INFO] [stdout]     |
[INFO] [stdout]  48 |     pub fn new(file_system: &T) -> WalkBuilder<T> {
[INFO] [stdout]     |            ^^^ ---------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 419 |     let walkbuilder = WalkBuilder::new(&fs);
[INFO] [stdout]     |                                        +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> walk/src/tests.rs:455:40
[INFO] [stdout]     |
[INFO] [stdout] 455 |     let walkbuilder = WalkBuilder::new(fs);
[INFO] [stdout]     |                       ---------------- ^^ expected `&_`, found `MockFS<'_>`
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `MockFS<'_>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> walk/src/walk.rs:48:12
[INFO] [stdout]     |
[INFO] [stdout]  48 |     pub fn new(file_system: &T) -> WalkBuilder<T> {
[INFO] [stdout]     |            ^^^ ---------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 455 |     let walkbuilder = WalkBuilder::new(&fs);
[INFO] [stdout]     |                                        +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> walk/src/tests.rs:501:40
[INFO] [stdout]     |
[INFO] [stdout] 501 |     let walkbuilder = WalkBuilder::new(fs);
[INFO] [stdout]     |                       ---------------- ^^ expected `&_`, found `MockFS<'_>`
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `MockFS<'_>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> walk/src/walk.rs:48:12
[INFO] [stdout]     |
[INFO] [stdout]  48 |     pub fn new(file_system: &T) -> WalkBuilder<T> {
[INFO] [stdout]     |            ^^^ ---------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 501 |     let walkbuilder = WalkBuilder::new(&fs);
[INFO] [stdout]     |                                        +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> walk/src/tests.rs:537:40
[INFO] [stdout]     |
[INFO] [stdout] 537 |     let walkbuilder = WalkBuilder::new(fs);
[INFO] [stdout]     |                       ---------------- ^^ expected `&_`, found `MockFS<'_>`
[INFO] [stdout]     |                       |
[INFO] [stdout]     |                       arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected reference `&_`
[INFO] [stdout]                   found struct `MockFS<'_>`
[INFO] [stdout] note: associated function defined here
[INFO] [stdout]    --> walk/src/walk.rs:48:12
[INFO] [stdout]     |
[INFO] [stdout]  48 |     pub fn new(file_system: &T) -> WalkBuilder<T> {
[INFO] [stdout]     |            ^^^ ---------------
[INFO] [stdout] help: consider borrowing here
[INFO] [stdout]     |
[INFO] [stdout] 537 |     let walkbuilder = WalkBuilder::new(&fs);
[INFO] [stdout]     |                                        +
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing local variable `root`
[INFO] [stdout]   --> walk/src/tests.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 | /         MockFS {
[INFO] [stdout] 37 | |             current_node: &root,
[INFO] [stdout]    | |                           ----- `root` is borrowed here
[INFO] [stdout] 38 | |             root,
[INFO] [stdout] 39 | |         }
[INFO] [stdout]    | |_________^ returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0505]: cannot move out of `root` because it is borrowed
[INFO] [stdout]    --> walk/src/tests.rs:38:13
[INFO] [stdout]     |
[INFO] [stdout]  33 |   impl<'a> Default for MockFS<'a> {
[INFO] [stdout]     |        -- lifetime `'a` defined here
[INFO] [stdout]  34 |       fn default() -> Self {
[INFO] [stdout]  35 |           let root = Node::default();
[INFO] [stdout]     |               ---- binding `root` declared here
[INFO] [stdout]  36 | /         MockFS {
[INFO] [stdout]  37 | |             current_node: &root,
[INFO] [stdout]     | |                           ----- borrow of `root` occurs here
[INFO] [stdout]  38 | |             root,
[INFO] [stdout]     | |             ^^^^ move out of `root` occurs here
[INFO] [stdout]  39 | |         }
[INFO] [stdout]     | |_________- returning this value requires that `root` is borrowed for `'a`
[INFO] [stdout]     |
[INFO] [stdout] note: if `tests::Node` implemented `Clone`, you could clone the value
[INFO] [stdout]    --> walk/src/tests.rs:118:1
[INFO] [stdout]     |
[INFO] [stdout]  37 |             current_node: &root,
[INFO] [stdout]     |                            ---- you could clone this value
[INFO] [stdout] ...
[INFO] [stdout] 118 | enum Node {
[INFO] [stdout]     | ^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing function parameter `root`
[INFO] [stdout]   --> walk/src/tests.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let current_node = MockFS::find_node_impl(&root, current_dir, &root)?;
[INFO] [stdout]    |                                                   ----- `root` is borrowed here
[INFO] [stdout] 46 |         Ok(MockFS { root, current_node })
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing function parameter `root`
[INFO] [stdout]   --> walk/src/tests.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let current_node = MockFS::find_node_impl(&root, current_dir, &root)?;
[INFO] [stdout]    |                                                                       ----- `root` is borrowed here
[INFO] [stdout] 46 |         Ok(MockFS { root, current_node })
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0505]: cannot move out of `root` because it is borrowed
[INFO] [stdout]    --> walk/src/tests.rs:46:21
[INFO] [stdout]     |
[INFO] [stdout]  44 |     fn new(root: Node, current_dir: &PathBuf) -> Result<MockFS, Error> {
[INFO] [stdout]     |            ----                     - let's call the lifetime of this reference `'1`
[INFO] [stdout]     |            |
[INFO] [stdout]     |            binding `root` declared here
[INFO] [stdout]  45 |         let current_node = MockFS::find_node_impl(&root, current_dir, &root)?;
[INFO] [stdout]     |                                                   ----- borrow of `root` occurs here
[INFO] [stdout]  46 |         Ok(MockFS { root, current_node })
[INFO] [stdout]     |         ------------^^^^-----------------
[INFO] [stdout]     |         |           |
[INFO] [stdout]     |         |           move out of `root` occurs here
[INFO] [stdout]     |         returning this value requires that `root` is borrowed for `'1`
[INFO] [stdout]     |
[INFO] [stdout] note: if `tests::Node` implemented `Clone`, you could clone the value
[INFO] [stdout]    --> walk/src/tests.rs:118:1
[INFO] [stdout]     |
[INFO] [stdout]  45 |         let current_node = MockFS::find_node_impl(&root, current_dir, &root)?;
[INFO] [stdout]     |                                                    ---- you could clone this value
[INFO] [stdout] ...
[INFO] [stdout] 118 | enum Node {
[INFO] [stdout]     | ^^^^^^^^^ consider implementing `Clone` for this type
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::env`
[INFO] [stdout]    --> hdfs/src/config.rs:154:9
[INFO] [stdout]     |
[INFO] [stdout] 154 |     use std::env;
[INFO] [stdout]     |         ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `PathBuf` and `Path`
[INFO] [stdout]    --> hdfs/src/config.rs:157:21
[INFO] [stdout]     |
[INFO] [stdout] 157 |     use std::path::{Path, PathBuf};
[INFO] [stdout]     |                     ^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0515]: cannot return value referencing temporary value
[INFO] [stdout]    --> walk/src/tests.rs:233:5
[INFO] [stdout]     |
[INFO] [stdout] 233 |     MockFS::new(tree.build(&PathBuf::from("/")), &PathBuf::from("/")).unwrap()
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^------------------^^^^^^^^^^
[INFO] [stdout]     |     |                                             |
[INFO] [stdout]     |     |                                             temporary value created here
[INFO] [stdout]     |     returns a value referencing data owned by the current function
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int16_t`: Use i16 instead.
[INFO] [stdout]  --> hdfs/src/hdfs.rs:5:46
[INFO] [stdout]   |
[INFO] [stdout] 5 |     c_char, c_int, c_short, c_uchar, c_void, int16_t, int32_t, int64_t, size_t, time_t, uint16_t,
[INFO] [stdout]   |                                              ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]  --> hdfs/src/hdfs.rs:5:55
[INFO] [stdout]   |
[INFO] [stdout] 5 |     c_char, c_int, c_short, c_uchar, c_void, int16_t, int32_t, int64_t, size_t, time_t, uint16_t,
[INFO] [stdout]   |                                                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead.
[INFO] [stdout]  --> hdfs/src/hdfs.rs:5:64
[INFO] [stdout]   |
[INFO] [stdout] 5 |     c_char, c_int, c_short, c_uchar, c_void, int16_t, int32_t, int64_t, size_t, time_t, uint16_t,
[INFO] [stdout]   |                                                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead.
[INFO] [stdout]  --> hdfs/src/hdfs.rs:5:89
[INFO] [stdout]   |
[INFO] [stdout] 5 |     c_char, c_int, c_short, c_uchar, c_void, int16_t, int32_t, int64_t, size_t, time_t, uint16_t,
[INFO] [stdout]   |                                                                                         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int16_t`: Use i16 instead.
[INFO] [stdout]  --> hdfs/src/native.rs:8:46
[INFO] [stdout]   |
[INFO] [stdout] 8 |     c_char, c_int, c_short, c_uchar, c_void, int16_t, int32_t, int64_t, size_t, time_t, uint16_t,
[INFO] [stdout]   |                                              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]  --> hdfs/src/native.rs:8:55
[INFO] [stdout]   |
[INFO] [stdout] 8 |     c_char, c_int, c_short, c_uchar, c_void, int16_t, int32_t, int64_t, size_t, time_t, uint16_t,
[INFO] [stdout]   |                                                       ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead.
[INFO] [stdout]  --> hdfs/src/native.rs:8:64
[INFO] [stdout]   |
[INFO] [stdout] 8 |     c_char, c_int, c_short, c_uchar, c_void, int16_t, int32_t, int64_t, size_t, time_t, uint16_t,
[INFO] [stdout]   |                                                                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead.
[INFO] [stdout]  --> hdfs/src/native.rs:8:89
[INFO] [stdout]   |
[INFO] [stdout] 8 |     c_char, c_int, c_short, c_uchar, c_void, int16_t, int32_t, int64_t, size_t, time_t, uint16_t,
[INFO] [stdout]   |                                                                                         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead.
[INFO] [stdout]   --> hdfs/src/native.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | type tSize = int32_t;
[INFO] [stdout]    |              ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::int64_t`: Use i64 instead.
[INFO] [stdout]   --> hdfs/src/native.rs:14:16
[INFO] [stdout]    |
[INFO] [stdout] 14 | type tOffset = int64_t;
[INFO] [stdout]    |                ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated type alias `libc::uint16_t`: Use u16 instead.
[INFO] [stdout]   --> hdfs/src/native.rs:15:14
[INFO] [stdout]    |
[INFO] [stdout] 15 | type tPort = uint16_t;
[INFO] [stdout]    |              ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0505, E0515.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr]     Checking hdfs-cmd v0.1.0 (/opt/rustwide/workdir/hdfs-cmd)
[INFO] [stderr] error: could not compile `walk` (lib test) due to 16 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> hdfs/src/config.rs:20:17
[INFO] [stdout]    |
[INFO] [stdout] 20 |             let mut file = BufReader::new(f);
[INFO] [stdout]    |                 ----^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `kObjectKindFile` and `kObjectKindDirectory` are never constructed
[INFO] [stdout]   --> hdfs/src/native.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub enum tObjectKind {
[INFO] [stdout]    |          ----------- variants in this enum
[INFO] [stdout] 19 |     kObjectKindFile = 0x46,      // 'F'
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 20 |     kObjectKindDirectory = 0x44, // 'D'
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] note: the lint level is defined here
[INFO] [stdout]   --> hdfs/src/native.rs:5:9
[INFO] [stdout]    |
[INFO] [stdout]  5 | #![warn(dead_code)]
[INFO] [stdout]    |         ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hdfsDelete` is never used
[INFO] [stdout]    --> hdfs/src/native.rs:118:12
[INFO] [stdout]     |
[INFO] [stdout] 118 |     pub fn hdfsDelete(fs: *const hdfsFS, path: *const c_char) -> c_int;
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hdfsCopy` is never used
[INFO] [stdout]    --> hdfs/src/native.rs:124:12
[INFO] [stdout]     |
[INFO] [stdout] 124 |     pub fn hdfsCopy(
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hdfsMove` is never used
[INFO] [stdout]    --> hdfs/src/native.rs:130:12
[INFO] [stdout]     |
[INFO] [stdout] 130 |     pub fn hdfsMove(
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hdfsRename` is never used
[INFO] [stdout]    --> hdfs/src/native.rs:136:12
[INFO] [stdout]     |
[INFO] [stdout] 136 |     pub fn hdfsRename(srcFS: *const hdfsFS, src: *const c_char, dst: *const c_char);
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `hdfsCreateDirectory` is never used
[INFO] [stdout]    --> hdfs/src/native.rs:137:12
[INFO] [stdout]     |
[INFO] [stdout] 137 |     pub fn hdfsCreateDirectory(fs: *const hdfsFS, path: *const c_char) -> c_int;
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `print_path`
[INFO] [stdout]   --> hdfs-cmd/src/main.rs:57:78
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn print_item(fs: &walk::linuxfs::LinuxFS, item: &walk::walk::WalkItem, bool print_path) {
[INFO] [stdout]    |                                                                         -----^^^^^^^^^^
[INFO] [stdout]    |                                                                         |    |
[INFO] [stdout]    |                                                                         |    expected one of `:`, `@`, or `|`
[INFO] [stdout]    |                                                                         help: declare the type after the parameter binding: `<identifier>: <type>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected one of `:`, `@`, or `|`, found `print_path`
[INFO] [stdout]   --> hdfs-cmd/src/main.rs:57:78
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn print_item(fs: &walk::linuxfs::LinuxFS, item: &walk::walk::WalkItem, bool print_path) {
[INFO] [stdout]    |                                                                         -----^^^^^^^^^^
[INFO] [stdout]    |                                                                         |    |
[INFO] [stdout]    |                                                                         |    expected one of `:`, `@`, or `|`
[INFO] [stdout]    |                                                                         help: declare the type after the parameter binding: `<identifier>: <type>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> hdfs-cmd/src/main.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |             print_item(&fs, &item);
[INFO] [stdout]    |             ^^^^^^^^^^------------ argument #3 is missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> hdfs-cmd/src/main.rs:57:4
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn print_item(fs: &walk::linuxfs::LinuxFS, item: &walk::walk::WalkItem, bool print_path) {
[INFO] [stdout]    |    ^^^^^^^^^^                                                                ----------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 48 |             print_item(&fs, &item, /* print_path */);
[INFO] [stdout]    |                                  ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> hdfs-cmd/src/main.rs:52:40
[INFO] [stdout]    |
[INFO] [stdout] 52 |             try_or_print!(item.map(|i| print_item(&fs, &i)));
[INFO] [stdout]    |                                        ^^^^^^^^^^--------- argument #3 is missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> hdfs-cmd/src/main.rs:57:4
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn print_item(fs: &walk::linuxfs::LinuxFS, item: &walk::walk::WalkItem, bool print_path) {
[INFO] [stdout]    |    ^^^^^^^^^^                                                                ----------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 52 |             try_or_print!(item.map(|i| print_item(&fs, &i, /* print_path */)));
[INFO] [stdout]    |                                                          ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MetadataTrait`
[INFO] [stdout]   --> hdfs-cmd/src/main.rs:23:45
[INFO] [stdout]    |
[INFO] [stdout] 23 | use walk::walk::{DirEntryTrait, FileSystem, MetadataTrait};
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> hdfs-cmd/src/main.rs:48:13
[INFO] [stdout]    |
[INFO] [stdout] 48 |             print_item(&fs, &item);
[INFO] [stdout]    |             ^^^^^^^^^^------------ argument #3 is missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> hdfs-cmd/src/main.rs:57:4
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn print_item(fs: &walk::linuxfs::LinuxFS, item: &walk::walk::WalkItem, bool print_path) {
[INFO] [stdout]    |    ^^^^^^^^^^                                                                ----------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 48 |             print_item(&fs, &item, /* print_path */);
[INFO] [stdout]    |                                  ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 3 arguments but 2 arguments were supplied
[INFO] [stdout]   --> hdfs-cmd/src/main.rs:52:40
[INFO] [stdout]    |
[INFO] [stdout] 52 |             try_or_print!(item.map(|i| print_item(&fs, &i)));
[INFO] [stdout]    |                                        ^^^^^^^^^^--------- argument #3 is missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> hdfs-cmd/src/main.rs:57:4
[INFO] [stdout]    |
[INFO] [stdout] 57 | fn print_item(fs: &walk::linuxfs::LinuxFS, item: &walk::walk::WalkItem, bool print_path) {
[INFO] [stdout]    |    ^^^^^^^^^^                                                                ----------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 52 |             try_or_print!(item.map(|i| print_item(&fs, &i, /* print_path */)));
[INFO] [stdout]    |                                                          ++++++++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `MetadataTrait`
[INFO] [stdout]   --> hdfs-cmd/src/main.rs:23:45
[INFO] [stdout]    |
[INFO] [stdout] 23 | use walk::walk::{DirEntryTrait, FileSystem, MetadataTrait};
[INFO] [stdout]    |                                             ^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hdfs-cmd` (bin "hdfs-cmd" test) due to 3 previous errors; 1 warning emitted
[INFO] [stdout] For more information about this error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `hdfs-cmd` (bin "hdfs-cmd") due to 3 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "f6cd561f1993a4b976a64f4540c8654a228fd8bd6139e28e2cb44398f8fa3d85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f6cd561f1993a4b976a64f4540c8654a228fd8bd6139e28e2cb44398f8fa3d85", kill_on_drop: false }`
[INFO] [stdout] f6cd561f1993a4b976a64f4540c8654a228fd8bd6139e28e2cb44398f8fa3d85
