[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#00bfd6b2734d9c28a147bf237490995731781fdd for pr-117984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnthend%2Fhllv" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nthend/hllv on toolchain 00bfd6b2734d9c28a147bf237490995731781fdd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-3-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded unindent v0.1.3 [INFO] [stderr] Downloaded indoc-impl v0.3.3 [INFO] [stderr] Downloaded indoc v0.3.3 [INFO] [stderr] Downloaded serde v1.0.97 [INFO] [stderr] Downloaded syn v0.15.39 [INFO] [stderr] Downloaded libc v0.2.60 [INFO] [stderr] Downloaded proc-macro-hack v0.5.8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7babf32c1577b8bfddb3fd102123ceaf8127b1324b459dec4f46487cfc71ef19 [INFO] running `Command { std: "docker" "start" "-a" "7babf32c1577b8bfddb3fd102123ceaf8127b1324b459dec4f46487cfc71ef19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7babf32c1577b8bfddb3fd102123ceaf8127b1324b459dec4f46487cfc71ef19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7babf32c1577b8bfddb3fd102123ceaf8127b1324b459dec4f46487cfc71ef19", kill_on_drop: false }` [INFO] [stdout] 7babf32c1577b8bfddb3fd102123ceaf8127b1324b459dec4f46487cfc71ef19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+00bfd6b2734d9c28a147bf237490995731781fdd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d43a41de5bd83c7b126398efe6313fe754ed721021d8d687a6f0ed94fdcf5491 [INFO] running `Command { std: "docker" "start" "-a" "d43a41de5bd83c7b126398efe6313fe754ed721021d8d687a6f0ed94fdcf5491", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling gcc v0.3.55 [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 itoa v0.4.4 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking base64 v0.10.1 [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] 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: `Metadata` [INFO] [stdout] --> src/repo/fsx/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Metadata, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] [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: `Metadata` [INFO] [stdout] --> src/repo/fsx/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Metadata, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [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] [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: method `check_file` is never used [INFO] [stdout] --> src/repo/fsx/metadata.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'a> Metadata<'a> { [INFO] [stdout] | --------------------- method in this implementation [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: type alias `Id` is never used [INFO] [stdout] --> src/repo/db/mod.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub type Id = [u8; 32]; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `lock` are never read [INFO] [stdout] --> src/repo/db/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Db { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 16 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | lock: fs::File, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `path` is never used [INFO] [stdout] --> src/repo/db/mod.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Db { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn path(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tree` is never constructed [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 `History` is never constructed [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 functions `new` and `from_file` are never used [INFO] [stdout] --> src/repo/db/history.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl Tree { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 21 | fn new(files: HashMap) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn from_file(path: &Path) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pool` is never constructed [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 `Data` is never constructed [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: field `db` is never read [INFO] [stdout] --> src/repo/repo.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Repo { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 8 | db: Db, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `open`, `path`, `push`, and `pull` are never used [INFO] [stdout] --> src/repo/repo.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Repo { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn open(path: &Path) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn path(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn push(&self, stream: S) -> io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn pull(&mut self, stream: S) -> io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 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: method `check_file` is never used [INFO] [stdout] --> src/repo/fsx/metadata.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'a> Metadata<'a> { [INFO] [stdout] | --------------------- method in this implementation [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: type alias `Id` is never used [INFO] [stdout] --> src/repo/db/mod.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub type Id = [u8; 32]; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `path` and `lock` are never read [INFO] [stdout] --> src/repo/db/mod.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Db { [INFO] [stdout] | -- fields in this struct [INFO] [stdout] 16 | path: PathBuf, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | lock: fs::File, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `path` is never used [INFO] [stdout] --> src/repo/db/mod.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Db { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn path(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tree` is never constructed [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 `History` is never constructed [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 functions `new` and `from_file` are never used [INFO] [stdout] --> src/repo/db/history.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl Tree { [INFO] [stdout] | --------- associated functions in this implementation [INFO] [stdout] 21 | fn new(files: HashMap) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn from_file(path: &Path) -> io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Pool` is never constructed [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 `Data` is never constructed [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: field `db` is never read [INFO] [stdout] --> src/repo/repo.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct Repo { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 8 | db: Db, [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `path`, `push`, and `pull` are never used [INFO] [stdout] --> src/repo/repo.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Repo { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn path(&self) -> &Path { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn push(&self, stream: S) -> io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn pull(&mut self, stream: S) -> io::Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 29 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.84s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "d43a41de5bd83c7b126398efe6313fe754ed721021d8d687a6f0ed94fdcf5491", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d43a41de5bd83c7b126398efe6313fe754ed721021d8d687a6f0ed94fdcf5491", kill_on_drop: false }` [INFO] [stdout] d43a41de5bd83c7b126398efe6313fe754ed721021d8d687a6f0ed94fdcf5491 [INFO] checking nthend/hllv against try#aa7c6ba69acce8b10a275eabfe6157ea72c8b599 for pr-117984 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnthend%2Fhllv" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nthend/hllv on toolchain aa7c6ba69acce8b10a275eabfe6157ea72c8b599 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", 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-3-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84c807d7d4e15a2e8149e8c758c28862e77a101d6e2e395076d74314a25402af [INFO] running `Command { std: "docker" "start" "-a" "84c807d7d4e15a2e8149e8c758c28862e77a101d6e2e395076d74314a25402af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84c807d7d4e15a2e8149e8c758c28862e77a101d6e2e395076d74314a25402af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84c807d7d4e15a2e8149e8c758c28862e77a101d6e2e395076d74314a25402af", kill_on_drop: false }` [INFO] [stdout] 84c807d7d4e15a2e8149e8c758c28862e77a101d6e2e395076d74314a25402af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+aa7c6ba69acce8b10a275eabfe6157ea72c8b599" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d169ce5c55d246874a85d160c2ea338e88dc05590b4dc5a5012341080cd707f5 [INFO] running `Command { std: "docker" "start" "-a" "d169ce5c55d246874a85d160c2ea338e88dc05590b4dc5a5012341080cd707f5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.39 [INFO] [stderr] Compiling ryu v1.0.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling serde v1.0.97 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling unindent v0.1.3 [INFO] [stderr] Checking rustc-serialize v0.3.24 [INFO] [stderr] Checking itoa v0.4.4 [INFO] [stderr] Checking remove_dir_all v0.5.2 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stdout] error[E0310]: the parameter type `T` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/rustc-serialize-0.3.24/src/serialize.rs:1155:5 [INFO] [stdout] | [INFO] [stdout] 1155 | fn decode(d: &mut D) -> Result, D::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | the parameter type `T` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `T` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /rustc/aa7c6ba69acce8b10a275eabfe6157ea72c8b599/library/alloc/src/borrow.rs:180:30 [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 1151 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T> [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rust-crypto v0.2.36 [INFO] [stderr] Checking base64 v0.10.1 [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] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rustc-serialize` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "d169ce5c55d246874a85d160c2ea338e88dc05590b4dc5a5012341080cd707f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d169ce5c55d246874a85d160c2ea338e88dc05590b4dc5a5012341080cd707f5", kill_on_drop: false }` [INFO] [stdout] d169ce5c55d246874a85d160c2ea338e88dc05590b4dc5a5012341080cd707f5