[INFO] cloning repository https://github.com/nthend/hllv [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nthend/hllv" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnthend%2Fhllv", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnthend%2Fhllv'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 54fc75cdc06cb37ce6d45c5a47eefe9b65238cea [INFO] checking nthend/hllv against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnthend%2Fhllv" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nthend/hllv on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nthend/hllv [INFO] finished tweaking git repo https://github.com/nthend/hllv [INFO] tweaked toml for git repo https://github.com/nthend/hllv written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/nthend/hllv already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unindent v0.1.3 [INFO] [stderr] Downloaded indoc v0.3.3 [INFO] [stderr] Downloaded indoc-impl v0.3.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 711f5e4cfceb78c0a27df7b474e06095f426a14105dcb5d6ad00f29c8274d935 [INFO] running `Command { std: "docker" "start" "-a" "711f5e4cfceb78c0a27df7b474e06095f426a14105dcb5d6ad00f29c8274d935", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "711f5e4cfceb78c0a27df7b474e06095f426a14105dcb5d6ad00f29c8274d935", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "711f5e4cfceb78c0a27df7b474e06095f426a14105dcb5d6ad00f29c8274d935", kill_on_drop: false }` [INFO] [stdout] 711f5e4cfceb78c0a27df7b474e06095f426a14105dcb5d6ad00f29c8274d935 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9d95660f5e936e46ae0aa198c9b932033838170e1c78f3f72f5701e5515893d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f9d95660f5e936e46ae0aa198c9b932033838170e1c78f3f72f5701e5515893d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling serde v1.0.97 [INFO] [stderr] Compiling unindent v0.1.3 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking fs2 v0.4.3 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking tempdir v0.3.7 [INFO] [stderr] Compiling proc-macro-hack v0.5.8 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Compiling indoc-impl v0.3.3 [INFO] [stderr] Checking indoc v0.3.3 [INFO] [stderr] Checking hllv v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/repo/db/history.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | io, fs, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fsx` [INFO] [stdout] --> src/repo/db/history.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | fsx, Id, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `PathBuf`, `Path`, `fs`, `io` [INFO] [stdout] --> src/repo/db/data.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | io, fs, [INFO] [stdout] | ^^ ^^ [INFO] [stdout] 3 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] 4 | collections::{HashSet, HashMap}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fsx` [INFO] [stdout] --> src/repo/db/data.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | fsx, Id, Tree, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `net::ToSocketAddrs` [INFO] [stdout] --> src/repo/db/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | net::ToSocketAddrs, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/repo/repo.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fs` [INFO] [stdout] --> src/repo/db/history.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | io, fs, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fsx` [INFO] [stdout] --> src/repo/db/history.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | fsx, Id, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `PathBuf`, `Path`, `fs`, `io` [INFO] [stdout] --> src/repo/db/data.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | io, fs, [INFO] [stdout] | ^^ ^^ [INFO] [stdout] 3 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] 4 | collections::{HashSet, HashMap}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `fsx` [INFO] [stdout] --> src/repo/db/data.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | fsx, Id, Tree, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `net::ToSocketAddrs` [INFO] [stdout] --> src/repo/db/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | net::ToSocketAddrs, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PathBuf` [INFO] [stdout] --> src/repo/repo.rs:3:18 [INFO] [stdout] | [INFO] [stdout] 3 | path::{Path, PathBuf}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/repo/db/history.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | fn from_file(path: &Path) -> io::Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/repo/repo.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn push(&self, stream: S) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/repo/repo.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn pull(&mut self, stream: S) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cwd` [INFO] [stdout] --> src/api.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | fn listen(cwd: &Path, addr: (&str, u16)) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cwd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/api.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | fn listen(cwd: &Path, addr: (&str, u16)) -> io::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cwd` [INFO] [stdout] --> src/api.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | fn push(cwd: &Path, addr: (&str, u16), name: &Path) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cwd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/api.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | fn push(cwd: &Path, addr: (&str, u16), name: &Path) -> io::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/api.rs:28:44 [INFO] [stdout] | [INFO] [stdout] 28 | fn push(cwd: &Path, addr: (&str, u16), name: &Path) -> io::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cwd` [INFO] [stdout] --> src/api.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | fn pull(cwd: &Path, addr: (&str, u16), name: &Path) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cwd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/api.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | fn pull(cwd: &Path, addr: (&str, u16), name: &Path) -> io::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/api.rs:31:44 [INFO] [stdout] | [INFO] [stdout] 31 | fn pull(cwd: &Path, addr: (&str, u16), name: &Path) -> io::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_file` [INFO] [stdout] --> src/repo/fsx/metadata.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn check_file(&self) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Tree` [INFO] [stdout] --> src/repo/db/history.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Tree { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `History` [INFO] [stdout] --> src/repo/db/history.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct History { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/repo/db/history.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn new(files: HashMap) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_file` [INFO] [stdout] --> src/repo/db/history.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn from_file(path: &Path) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Pool` [INFO] [stdout] --> src/repo/db/data.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Pool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Data` [INFO] [stdout] --> src/repo/db/data.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Data { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Id` [INFO] [stdout] --> src/repo/db/mod.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub type Id = [u8; 32]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `path` [INFO] [stdout] --> src/repo/db/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lock` [INFO] [stdout] --> src/repo/db/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | lock: fs::File, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `path` [INFO] [stdout] --> src/repo/db/mod.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn path(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `db` [INFO] [stdout] --> src/repo/repo.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | db: Db, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `open` [INFO] [stdout] --> src/repo/repo.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn open(path: &Path) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `path` [INFO] [stdout] --> src/repo/repo.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn path(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/repo/repo.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn push(&self, stream: S) -> io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pull` [INFO] [stdout] --> src/repo/repo.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn pull(&mut self, stream: S) -> io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/repo/db/history.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | fn from_file(path: &Path) -> io::Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/repo/repo.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn push(&self, stream: S) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/repo/repo.rs:26:45 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn pull(&mut self, stream: S) -> io::Result<()> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cwd` [INFO] [stdout] --> src/api.rs:25:15 [INFO] [stdout] | [INFO] [stdout] 25 | fn listen(cwd: &Path, addr: (&str, u16)) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cwd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/api.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | fn listen(cwd: &Path, addr: (&str, u16)) -> io::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cwd` [INFO] [stdout] --> src/api.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | fn push(cwd: &Path, addr: (&str, u16), name: &Path) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cwd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/api.rs:28:25 [INFO] [stdout] | [INFO] [stdout] 28 | fn push(cwd: &Path, addr: (&str, u16), name: &Path) -> io::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/api.rs:28:44 [INFO] [stdout] | [INFO] [stdout] 28 | fn push(cwd: &Path, addr: (&str, u16), name: &Path) -> io::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cwd` [INFO] [stdout] --> src/api.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | fn pull(cwd: &Path, addr: (&str, u16), name: &Path) -> io::Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cwd` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/api.rs:31:25 [INFO] [stdout] | [INFO] [stdout] 31 | fn pull(cwd: &Path, addr: (&str, u16), name: &Path) -> io::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/api.rs:31:44 [INFO] [stdout] | [INFO] [stdout] 31 | fn pull(cwd: &Path, addr: (&str, u16), name: &Path) -> io::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `check_file` [INFO] [stdout] --> src/repo/fsx/metadata.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn check_file(&self) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Tree` [INFO] [stdout] --> src/repo/db/history.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Tree { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `History` [INFO] [stdout] --> src/repo/db/history.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct History { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/repo/db/history.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | fn new(files: HashMap) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_file` [INFO] [stdout] --> src/repo/db/history.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | fn from_file(path: &Path) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Pool` [INFO] [stdout] --> src/repo/db/data.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Pool { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Data` [INFO] [stdout] --> src/repo/db/data.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Data { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Id` [INFO] [stdout] --> src/repo/db/mod.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | pub type Id = [u8; 32]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `path` [INFO] [stdout] --> src/repo/db/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | path: PathBuf, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lock` [INFO] [stdout] --> src/repo/db/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | lock: fs::File, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `path` [INFO] [stdout] --> src/repo/db/mod.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn path(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `db` [INFO] [stdout] --> src/repo/repo.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | db: Db, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `path` [INFO] [stdout] --> src/repo/repo.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn path(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `push` [INFO] [stdout] --> src/repo/repo.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn push(&self, stream: S) -> io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pull` [INFO] [stdout] --> src/repo/repo.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn pull(&mut self, stream: S) -> io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 36.49s [INFO] running `Command { std: "docker" "inspect" "f9d95660f5e936e46ae0aa198c9b932033838170e1c78f3f72f5701e5515893d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9d95660f5e936e46ae0aa198c9b932033838170e1c78f3f72f5701e5515893d", kill_on_drop: false }` [INFO] [stdout] f9d95660f5e936e46ae0aa198c9b932033838170e1c78f3f72f5701e5515893d