[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 master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnthend%2Fhllv" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nthend/hllv on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-13/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" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09c743b611f1feaf61110273c98b15934a25fed11cfeb606b76f3e4f494e7ed0 [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" "09c743b611f1feaf61110273c98b15934a25fed11cfeb606b76f3e4f494e7ed0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09c743b611f1feaf61110273c98b15934a25fed11cfeb606b76f3e4f494e7ed0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09c743b611f1feaf61110273c98b15934a25fed11cfeb606b76f3e4f494e7ed0", kill_on_drop: false }` [INFO] [stdout] 09c743b611f1feaf61110273c98b15934a25fed11cfeb606b76f3e4f494e7ed0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:b8eeb62f26c39b23691079a6cb6de528d8e88b4d71a8f6b1d30f8ba7d9c16de9" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 35ae020166a36bcc428dc1d3638146ae7281bd5986a3f5ee65bb828f5c995ba2 [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" "35ae020166a36bcc428dc1d3638146ae7281bd5986a3f5ee65bb828f5c995ba2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling syn v0.15.39 [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 proc-macro2 v0.4.30 [INFO] [stderr] Checking serde_json v1.0.40 [INFO] [stderr] Compiling quote v0.6.13 [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] 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 21.77s [INFO] running `Command { std: "docker" "inspect" "35ae020166a36bcc428dc1d3638146ae7281bd5986a3f5ee65bb828f5c995ba2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "35ae020166a36bcc428dc1d3638146ae7281bd5986a3f5ee65bb828f5c995ba2", kill_on_drop: false }` [INFO] [stdout] 35ae020166a36bcc428dc1d3638146ae7281bd5986a3f5ee65bb828f5c995ba2