[INFO] cloning repository https://github.com/embassy-rs/docserver [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/embassy-rs/docserver" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fembassy-rs%2Fdocserver", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fembassy-rs%2Fdocserver'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 54e1aba0c0772b5b00d587b49bcf12c8859c9278 [INFO] testing embassy-rs/docserver against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fembassy-rs%2Fdocserver" "/workspace/builds/worker-59/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-59/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/embassy-rs/docserver on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/embassy-rs/docserver [INFO] finished tweaking git repo https://github.com/embassy-rs/docserver [INFO] tweaked toml for git repo https://github.com/embassy-rs/docserver written to /workspace/builds/worker-59/source/Cargo.toml [INFO] crate git repo https://github.com/embassy-rs/docserver already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--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-59/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3994a8912419a654568f77894e61db8baad408e26d8dae2782b786b0ee1c8d90 [INFO] running `Command { std: "docker" "start" "-a" "3994a8912419a654568f77894e61db8baad408e26d8dae2782b786b0ee1c8d90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3994a8912419a654568f77894e61db8baad408e26d8dae2782b786b0ee1c8d90", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3994a8912419a654568f77894e61db8baad408e26d8dae2782b786b0ee1c8d90", kill_on_drop: false }` [INFO] [stdout] 3994a8912419a654568f77894e61db8baad408e26d8dae2782b786b0ee1c8d90 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c80803b6ec05258cf97879abdb4e24ee4b22bcd65b5ea43a481473e9b75c5510 [INFO] running `Command { std: "docker" "start" "-a" "c80803b6ec05258cf97879abdb4e24ee4b22bcd65b5ea43a481473e9b75c5510", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling typenum v1.15.0 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.3 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling zstd-safe v4.1.3+zstd.1.5.1 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling anyhow v1.0.53 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling http v0.2.6 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling socket2 v0.4.2 [INFO] [stderr] Compiling memmap2 v0.5.2 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling block-buffer v0.10.0 [INFO] [stderr] Compiling crypto-common v0.1.1 [INFO] [stderr] Compiling digest v0.10.1 [INFO] [stderr] Compiling sha2 v0.10.1 [INFO] [stderr] Compiling zstd-sys v1.6.2+zstd.1.5.1 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tokio v1.15.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling h2 v0.3.10 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling hyper v0.14.16 [INFO] [stderr] Compiling zstd v0.9.2+zstd.1.5.1 [INFO] [stderr] Compiling docserver2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `env` [INFO] [stdout] --> src/bin/server.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | use std::{env, fs}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::from_fn` [INFO] [stdout] --> src/bin/../zup/read.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::iter::from_fn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `args` [INFO] [stdout] --> src/bin/builder.rs:3:22 [INFO] [stdout] | [INFO] [stdout] 3 | use std::env::{self, args}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/bin/builder.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::iter::from_fn` [INFO] [stdout] --> src/bin/../zup/read.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::iter::from_fn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bin/server.rs:154:13 [INFO] [stdout] | [INFO] [stdout] 154 | _ => self.resp_404(), [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/bin/server.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | let path = self.crates_path.join(krate); [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: `krate` [INFO] [stdout] --> src/bin/server.rs:128:15 [INFO] [stdout] | [INFO] [stdout] 128 | &[krate] => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_krate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `krate` [INFO] [stdout] --> src/bin/server.rs:134:15 [INFO] [stdout] | [INFO] [stdout] 134 | &[krate, version] => { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_krate` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `version` [INFO] [stdout] --> src/bin/server.rs:134:22 [INFO] [stdout] | [INFO] [stdout] 134 | &[krate, version] => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/bin/builder.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | data_filter: Box::new(|path, data| {}), [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: `data` [INFO] [stdout] --> src/bin/builder.rs:60:38 [INFO] [stdout] | [INFO] [stdout] 60 | data_filter: Box::new(|path, data| {}), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Reader` [INFO] [stdout] --> src/bin/../zup/read.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Reader { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bin/../zup/read.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn new>(path: P) -> io::Result { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_range` [INFO] [stdout] --> src/bin/../zup/read.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | fn read_range(m: &Mmap, r: layout::Range) -> &[u8] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_node` [INFO] [stdout] --> src/bin/../zup/read.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | fn read_node(&self, node: layout::Node) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `root_node` [INFO] [stdout] --> src/bin/../zup/read.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn root_node(&self) -> Node<'_> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `open` [INFO] [stdout] --> src/bin/../zup/read.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn open(&self, path: &[&str]) -> io::Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/bin/../zup/read.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn read(&self, path: &[&str]) -> io::Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Node` [INFO] [stdout] --> src/bin/../zup/read.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | pub enum Node<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `File` [INFO] [stdout] --> src/bin/../zup/read.rs:112:12 [INFO] [stdout] | [INFO] [stdout] 112 | pub struct File<'a> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/bin/../zup/read.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn read(&self) -> io::Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Directory` [INFO] [stdout] --> src/bin/../zup/read.rs:123:12 [INFO] [stdout] | [INFO] [stdout] 123 | pub struct Directory<'a> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `children` [INFO] [stdout] --> src/bin/../zup/read.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn children(&self) -> io::Result)>> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `ByteReader` [INFO] [stdout] --> src/bin/../zup/read.rs:167:8 [INFO] [stdout] | [INFO] [stdout] 167 | struct ByteReader<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bin/../zup/read.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | fn new(data: &'a [u8]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eof` [INFO] [stdout] --> src/bin/../zup/read.rs:178:8 [INFO] [stdout] | [INFO] [stdout] 178 | fn eof(&self) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/bin/../zup/read.rs:182:8 [INFO] [stdout] | [INFO] [stdout] 182 | fn read(&self) -> Result<[u8; N], ReadError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_u8` [INFO] [stdout] --> src/bin/../zup/read.rs:188:8 [INFO] [stdout] | [INFO] [stdout] 188 | fn read_u8(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_u16` [INFO] [stdout] --> src/bin/../zup/read.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 191 | fn read_u16(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_u32` [INFO] [stdout] --> src/bin/../zup/read.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 194 | fn read_u32(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_u64` [INFO] [stdout] --> src/bin/../zup/read.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | fn read_u64(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_slice` [INFO] [stdout] --> src/bin/../zup/read.rs:201:8 [INFO] [stdout] | [INFO] [stdout] 201 | fn read_slice(&self, len: usize) -> Result<&[u8], ReadError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_slice_len8` [INFO] [stdout] --> src/bin/../zup/read.rs:207:8 [INFO] [stdout] | [INFO] [stdout] 207 | fn read_slice_len8(&self) -> Result<&[u8], ReadError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_slice_len16` [INFO] [stdout] --> src/bin/../zup/read.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | fn read_slice_len16(&self) -> Result<&[u8], ReadError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `node_count` [INFO] [stdout] --> src/bin/../zup/write.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn node_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_bytes` [INFO] [stdout] --> src/bin/../zup/layout.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn from_bytes(b: [u8; Self::LEN]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_bytes` [INFO] [stdout] --> src/bin/../zup/layout.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub fn from_bytes(b: [u8; Self::LEN]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `from_bytes` [INFO] [stdout] --> src/bin/../zup/layout.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | pub fn from_bytes(b: [u8; Self::LEN]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/bin/builder.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(io_error_more)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_u16` [INFO] [stdout] --> src/bin/../zup/read.rs:191:8 [INFO] [stdout] | [INFO] [stdout] 191 | fn read_u16(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_u32` [INFO] [stdout] --> src/bin/../zup/read.rs:194:8 [INFO] [stdout] | [INFO] [stdout] 194 | fn read_u32(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_u64` [INFO] [stdout] --> src/bin/../zup/read.rs:197:8 [INFO] [stdout] | [INFO] [stdout] 197 | fn read_u64(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_slice_len16` [INFO] [stdout] --> src/bin/../zup/read.rs:212:8 [INFO] [stdout] | [INFO] [stdout] 212 | fn read_slice_len16(&self) -> Result<&[u8], ReadError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `COMPRESSION_LEVEL` [INFO] [stdout] --> src/bin/../zup/write.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | const COMPRESSION_LEVEL: i32 = 7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DICTIONARY_SIZE` [INFO] [stdout] --> src/bin/../zup/write.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | const DICTIONARY_SIZE: usize = 163840; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Node` [INFO] [stdout] --> src/bin/../zup/write.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub enum Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Directory` [INFO] [stdout] --> src/bin/../zup/write.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub struct Directory { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `DirectoryEntry` [INFO] [stdout] --> src/bin/../zup/write.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct DirectoryEntry { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `File` [INFO] [stdout] --> src/bin/../zup/write.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct File { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hash` [INFO] [stdout] --> src/bin/../zup/write.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | fn hash(&self) -> [u8; 32] { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `PackConfig` [INFO] [stdout] --> src/bin/../zup/write.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | pub struct PackConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Tree` [INFO] [stdout] --> src/bin/../zup/write.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub struct Tree { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/bin/../zup/write.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `node_count` [INFO] [stdout] --> src/bin/../zup/write.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn node_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gen_id` [INFO] [stdout] --> src/bin/../zup/write.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn gen_id(&mut self) -> NodeId { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pack` [INFO] [stdout] --> src/bin/../zup/write.rs:81:12 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn pack(&mut self, path: &Path, config: &PackConfig) -> io::Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_node` [INFO] [stdout] --> src/bin/../zup/write.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | pub fn add_node(&mut self, node: Node) -> NodeId { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write` [INFO] [stdout] --> src/bin/../zup/write.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn write(&mut self, path: &Path, root: NodeId) -> io::Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Writer` [INFO] [stdout] --> src/bin/../zup/write.rs:166:8 [INFO] [stdout] | [INFO] [stdout] 166 | struct Writer<'a> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write` [INFO] [stdout] --> src/bin/../zup/write.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | fn write(&mut self, node_id: NodeId) -> io::Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_node` [INFO] [stdout] --> src/bin/../zup/write.rs:201:8 [INFO] [stdout] | [INFO] [stdout] 201 | fn write_node(&mut self, buf: &[u8]) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_data` [INFO] [stdout] --> src/bin/../zup/write.rs:216:8 [INFO] [stdout] | [INFO] [stdout] 216 | fn write_data(&mut self, buf: &[u8]) -> io::Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_bytes` [INFO] [stdout] --> src/bin/../zup/layout.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn to_bytes(self) -> [u8; Self::LEN] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_bytes` [INFO] [stdout] --> src/bin/../zup/layout.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn to_bytes(self) -> [u8; Self::LEN] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `MAGIC` [INFO] [stdout] --> src/bin/../zup/layout.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | pub const MAGIC: u32 = 0x2170755a; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `VERSION` [INFO] [stdout] --> src/bin/../zup/layout.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | pub const VERSION: u32 = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `to_bytes` [INFO] [stdout] --> src/bin/../zup/layout.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn to_bytes(self) -> [u8; Self::LEN] { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `list_crate_versions` [INFO] [stdout] --> src/bin/server.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | fn list_crate_versions(&self, krate: &str) -> io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0554]: `#![feature]` may not be used on the stable release channel [INFO] [stdout] --> src/bin/server.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(io_error_more)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 32 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 36 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0554`. [INFO] [stdout] [INFO] [stderr] error: could not compile `docserver2` due to 2 previous errors; 32 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "c80803b6ec05258cf97879abdb4e24ee4b22bcd65b5ea43a481473e9b75c5510", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c80803b6ec05258cf97879abdb4e24ee4b22bcd65b5ea43a481473e9b75c5510", kill_on_drop: false }` [INFO] [stdout] c80803b6ec05258cf97879abdb4e24ee4b22bcd65b5ea43a481473e9b75c5510