[INFO] cloning repository https://github.com/mindstorm38/peerfs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mindstorm38/peerfs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmindstorm38%2Fpeerfs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmindstorm38%2Fpeerfs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c56b5e29b9e2a634118a303220c4a5ce1928b923 [INFO] building mindstorm38/peerfs against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmindstorm38%2Fpeerfs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mindstorm38/peerfs [INFO] finished tweaking git repo https://github.com/mindstorm38/peerfs [INFO] tweaked toml for git repo https://github.com/mindstorm38/peerfs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mindstorm38/peerfs on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mindstorm38/peerfs 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded crossbeam-utils v0.8.8 [INFO] [stderr] Downloaded log v0.4.16 [INFO] [stderr] Downloaded mio v0.8.2 [INFO] [stderr] Downloaded crossbeam-channel v0.5.4 [INFO] [stderr] Downloaded ntapi v0.3.7 [INFO] [stderr] Downloaded libc v0.2.123 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69540faf19d351e1324d8eeced51abdf798d2b252756c9bbdab3d985f642cf53 [INFO] running `Command { std: "docker" "start" "-a" "69540faf19d351e1324d8eeced51abdf798d2b252756c9bbdab3d985f642cf53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69540faf19d351e1324d8eeced51abdf798d2b252756c9bbdab3d985f642cf53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69540faf19d351e1324d8eeced51abdf798d2b252756c9bbdab3d985f642cf53", kill_on_drop: false }` [INFO] [stdout] 69540faf19d351e1324d8eeced51abdf798d2b252756c9bbdab3d985f642cf53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e74593a15916ebe3eb8ff68267b7799401d871f6faf3a9d85d2841d78c1f06a1 [INFO] running `Command { std: "docker" "start" "-a" "e74593a15916ebe3eb8ff68267b7799401d871f6faf3a9d85d2841d78c1f06a1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling crossbeam-channel v0.5.4 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling peerfs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected identifier, found `` [INFO] [stdout] --> src/host/file.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct [INFO] [stdout] | ^^^^^^ expected identifier [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0106]: missing lifetime specifier [INFO] [stdout] --> src/host/mod.rs:350:23 [INFO] [stdout] | [INFO] [stdout] 350 | file: PartialFile [INFO] [stdout] | ^^^^^^^^^^^^^^ expected named lifetime parameter [INFO] [stdout] | [INFO] [stdout] help: consider introducing a named lifetime parameter [INFO] [stdout] | [INFO] [stdout] 348 ~ pub struct PeerFile<'a> { [INFO] [stdout] 349 | /// The host peer managing the connection. [INFO] [stdout] 350 ~ file: PartialFile> [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::hash_map::Entry` [INFO] [stdout] --> src/pfs/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::hash_map::Entry; [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] --> src/pfs/mod.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/pfs/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/pfs/mod.rs:7:15 [INFO] [stdout] | [INFO] [stdout] 7 | use std::io::{self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BufRead` and `Read` [INFO] [stdout] --> src/host/mod.rs:6:21 [INFO] [stdout] | [INFO] [stdout] 6 | use std::io::{self, Read, BufRead, Write}; [INFO] [stdout] | ^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JoinHandle` and `self` [INFO] [stdout] --> src/host/mod.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | use std::thread::{self, JoinHandle}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `cached_files` and `command_receiver` in initializer of `Loop` [INFO] [stdout] --> src/host/mod.rs:47:21 [INFO] [stdout] | [INFO] [stdout] 47 | let loop_ = Loop { [INFO] [stdout] | ^^^^ missing `cached_files` and `command_receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0063]: missing fields `command_sender` and `pfs` in initializer of `HostPeer` [INFO] [stdout] --> src/host/mod.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 58 | Ok(Self { [INFO] [stdout] | ^^^^ missing `command_sender` and `pfs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `addr` [INFO] [stdout] --> src/net/endpoint.rs:79:43 [INFO] [stdout] | [INFO] [stdout] 79 | while let Ok((stream, addr)) = self.server.accept() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_addr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/host/mod.rs:111:24 [INFO] [stdout] | [INFO] [stdout] 111 | if let Err(e) = self.tick() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_index` [INFO] [stdout] --> src/host/mod.rs:358:33 [INFO] [stdout] | [INFO] [stdout] 358 | fn provide(&self, block_index: u64, block_len: usize, dest: W) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_block_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block_len` [INFO] [stdout] --> src/host/mod.rs:358:51 [INFO] [stdout] | [INFO] [stdout] 358 | fn provide(&self, block_index: u64, block_len: usize, dest: W) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 358 | fn provide(&self, block_index: u64, _block_len: usize, dest: W) -> io::Result<()> { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `MAX_LINK_COUNT` [INFO] [stdout] | [INFO] [stdout] 358 - fn provide(&self, block_index: u64, block_len: usize, dest: W) -> io::Result<()> { [INFO] [stdout] 358 + fn provide(&self, block_index: u64, net::endpoint::MAX_LINK_COUNT: usize, dest: W) -> io::Result<()> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dest` [INFO] [stdout] --> src/host/mod.rs:358:69 [INFO] [stdout] | [INFO] [stdout] 358 | fn provide(&self, block_index: u64, block_len: usize, dest: W) -> io::Result<()> { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dest` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0063, E0106. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0063`. [INFO] [stdout] [INFO] [stderr] error: could not compile `peerfs` (lib) due to 4 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e74593a15916ebe3eb8ff68267b7799401d871f6faf3a9d85d2841d78c1f06a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e74593a15916ebe3eb8ff68267b7799401d871f6faf3a9d85d2841d78c1f06a1", kill_on_drop: false }` [INFO] [stdout] e74593a15916ebe3eb8ff68267b7799401d871f6faf3a9d85d2841d78c1f06a1