[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] e0e4d901f51e8b7a0bddc91f4f0dc74c8c47c30d [INFO] checking embassy-rs/docserver against master#9c3064e131f4939cc95a29bb11413c49bbda1491 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fembassy-rs%2Fdocserver" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [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-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/embassy-rs/docserver on toolchain 9c3064e131f4939cc95a29bb11413c49bbda1491 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/embassy-rs/docserver 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" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f078bb95781fb4fc56826cee5eb5ff3be2beb8c4583df85299a9d9b1be6b145c [INFO] running `Command { std: "docker" "start" "-a" "f078bb95781fb4fc56826cee5eb5ff3be2beb8c4583df85299a9d9b1be6b145c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f078bb95781fb4fc56826cee5eb5ff3be2beb8c4583df85299a9d9b1be6b145c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f078bb95781fb4fc56826cee5eb5ff3be2beb8c4583df85299a9d9b1be6b145c", kill_on_drop: false }` [INFO] [stdout] f078bb95781fb4fc56826cee5eb5ff3be2beb8c4583df85299a9d9b1be6b145c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+9c3064e131f4939cc95a29bb11413c49bbda1491" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29f745ae0b6f77ba798321a7cf2675fdfb682fb800b9c37d06a8630537864260 [INFO] running `Command { std: "docker" "start" "-a" "29f745ae0b6f77ba798321a7cf2675fdfb682fb800b9c37d06a8630537864260", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling proc-macro2 v1.0.66 [INFO] [stderr] Compiling unicode-ident v1.0.11 [INFO] [stderr] Checking memchr v2.6.3 [INFO] [stderr] Compiling thiserror v1.0.48 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Checking regex-syntax v0.7.5 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling futures-core v0.3.28 [INFO] [stderr] Compiling typenum v1.16.0 [INFO] [stderr] Checking pin-project-lite v0.2.13 [INFO] [stderr] Checking bytes v1.5.0 [INFO] [stderr] Checking itoa v1.0.9 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking log v0.4.20 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling futures-task v0.3.28 [INFO] [stderr] Compiling ucd-trie v0.1.6 [INFO] [stderr] Compiling phf v0.11.2 [INFO] [stderr] Compiling serde v1.0.188 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking tracing-core v0.1.31 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling libm v0.2.7 [INFO] [stderr] Compiling once_cell v1.18.0 [INFO] [stderr] Compiling futures-util v0.3.28 [INFO] [stderr] Checking unic-char-range v0.9.0 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Checking unic-common v0.9.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking aho-corasick v1.0.5 [INFO] [stderr] Checking bstr v1.6.2 [INFO] [stderr] Checking unic-char-property v0.9.0 [INFO] [stderr] Compiling jobserver v0.1.26 [INFO] [stderr] Compiling phf_codegen v0.11.2 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.8 [INFO] [stderr] Checking socket2 v0.5.4 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking walkdir v2.4.0 [INFO] [stderr] Checking unic-ucd-version v0.9.0 [INFO] [stderr] Checking tracing v0.1.37 [INFO] [stderr] Checking anstyle-parse v0.2.1 [INFO] [stderr] Compiling syn v2.0.32 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Checking http v0.2.9 [INFO] [stderr] Checking thread_local v1.1.7 [INFO] [stderr] Compiling zstd-safe v4.1.3+zstd.1.5.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.8 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking anstyle v1.0.3 [INFO] [stderr] Compiling futures-channel v0.3.28 [INFO] [stderr] Compiling serde_json v1.0.106 [INFO] [stderr] Checking iana-time-zone v0.1.57 [INFO] [stderr] Checking futures-sink v0.3.28 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking anstream v0.5.0 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Compiling regex-automata v0.3.8 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking unic-ucd-segment v0.9.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking deunicode v0.4.4 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking ryu v1.0.15 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking clap_lex v0.5.1 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking try-lock v0.2.4 [INFO] [stderr] Checking chrono v0.4.30 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking clap_builder v4.4.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking http-body v0.4.5 [INFO] [stderr] Checking unic-segment v0.9.0 [INFO] [stderr] Checking slug v0.1.4 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking socket2 v0.4.9 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking cpufeatures v0.2.9 [INFO] [stderr] Checking percent-encoding v2.3.0 [INFO] [stderr] Checking sha2 v0.10.7 [INFO] [stderr] Checking memmap2 v0.5.10 [INFO] [stderr] Compiling zstd-sys v1.6.2+zstd.1.5.1 [INFO] [stderr] Checking crossbeam v0.8.2 [INFO] [stderr] Checking humansize v2.1.3 [INFO] [stderr] Checking regex v1.9.5 [INFO] [stderr] Checking globset v0.4.13 [INFO] [stderr] Compiling parse-zoneinfo v0.3.0 [INFO] [stderr] Checking ignore v0.4.20 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Compiling thiserror-impl v1.0.48 [INFO] [stderr] Compiling tokio-macros v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.188 [INFO] [stderr] Compiling chrono-tz-build v0.2.0 [INFO] [stderr] Checking globwalk v0.8.1 [INFO] [stderr] Compiling clap_derive v4.4.2 [INFO] [stderr] Checking tokio v1.32.0 [INFO] [stderr] Compiling chrono-tz v0.8.3 [INFO] [stderr] Compiling pest v2.7.3 [INFO] [stderr] Checking pretty_env_logger v0.4.0 [INFO] [stderr] Compiling pest_meta v2.7.3 [INFO] [stderr] Checking clap v4.4.3 [INFO] [stderr] Compiling pest_generator v2.7.3 [INFO] [stderr] Compiling pest_derive v2.7.3 [INFO] [stderr] Checking tokio-util v0.7.8 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking h2 v0.3.21 [INFO] [stderr] Checking tera v1.19.1 [INFO] [stderr] Checking hyper v0.14.27 [INFO] [stderr] Checking zstd v0.9.2+zstd.1.5.1 [INFO] [stderr] Checking docserver v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: methods `read_u16`, `read_u32`, `read_u64`, and `read_slice_len16` are never used [INFO] [stdout] --> src/zup/read.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 193 | impl<'a> ByteReader<'a> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 213 | fn read_u16(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | fn read_u32(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | fn read_u64(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn read_slice_len16(&self) -> Result<&[u8], ReadError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read_u16`, `read_u32`, `read_u64`, and `read_slice_len16` are never used [INFO] [stdout] --> src/zup/read.rs:213:8 [INFO] [stdout] | [INFO] [stdout] 193 | impl<'a> ByteReader<'a> { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 213 | fn read_u16(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 216 | fn read_u32(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | fn read_u64(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 234 | fn read_slice_len16(&self) -> Result<&[u8], ReadError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/zup/read.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | fn read_node(&self, node: layout::Node) -> io::Result> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 47 | fn read_node(&self, node: layout::Node) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/zup/read.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | fn read_node(&self, node: layout::Node) -> io::Result> { [INFO] [stdout] | ^^^^^ this lifetime flows to the output --------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 47 | fn read_node(&self, node: layout::Node) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/zup/read.rs:57:65 [INFO] [stdout] | [INFO] [stdout] 57 | let mut dec = Decoder::with_prepared_dictionary(data.deref(), dict)?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Deref`, so calling `deref` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.deref()` on a reference in this situation does nothing [INFO] [stdout] --> src/zup/read.rs:57:65 [INFO] [stdout] | [INFO] [stdout] 57 | let mut dec = Decoder::with_prepared_dictionary(data.deref(), dict)?; [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `[u8]` does not implement `Deref`, so calling `deref` on `&[u8]` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/zup/read.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn read(&self, path: &[&str]) -> io::Result> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 100 | pub fn read(&self, path: &[&str]) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/zup/read.rs:100:17 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn read(&self, path: &[&str]) -> io::Result> { [INFO] [stdout] | ^^^^^ --------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 100 | pub fn read(&self, path: &[&str]) -> io::Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_flavor` is never used [INFO] [stdout] --> src/bin/builder.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn match_flavor<'a>(local: &Flavor, dep: &'a [Flavor]) -> Option<&'a Flavor> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `match_flavor` is never used [INFO] [stdout] --> src/bin/builder.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | fn match_flavor<'a>(local: &Flavor, dep: &'a [Flavor]) -> Option<&'a Flavor> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 23.55s [INFO] running `Command { std: "docker" "inspect" "29f745ae0b6f77ba798321a7cf2675fdfb682fb800b9c37d06a8630537864260", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29f745ae0b6f77ba798321a7cf2675fdfb682fb800b9c37d06a8630537864260", kill_on_drop: false }` [INFO] [stdout] 29f745ae0b6f77ba798321a7cf2675fdfb682fb800b9c37d06a8630537864260