[INFO] cloning repository https://github.com/Andorr/hpack-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Andorr/hpack-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndorr%2Fhpack-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndorr%2Fhpack-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a7efaadcf67a3ef8dd41a6ddc36def35ca3f6bbb [INFO] checking Andorr/hpack-rust against master#5e3f1b148db5bfa27fee52464ae1f5d34c49d77b for pr-75502 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndorr%2Fhpack-rust" "/workspace/builds/worker-8/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Andorr/hpack-rust on toolchain 5e3f1b148db5bfa27fee52464ae1f5d34c49d77b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Andorr/hpack-rust [INFO] finished tweaking git repo https://github.com/Andorr/hpack-rust [INFO] tweaked toml for git repo https://github.com/Andorr/hpack-rust written to /workspace/builds/worker-8/source/Cargo.toml [INFO] crate git repo https://github.com/Andorr/hpack-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "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-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1b00e877c86eb842f67f59979a90dfc7c6b7fee0abc4c5149f69eece860ba82 [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" "d1b00e877c86eb842f67f59979a90dfc7c6b7fee0abc4c5149f69eece860ba82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1b00e877c86eb842f67f59979a90dfc7c6b7fee0abc4c5149f69eece860ba82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1b00e877c86eb842f67f59979a90dfc7c6b7fee0abc4c5149f69eece860ba82", kill_on_drop: false }` [INFO] [stdout] d1b00e877c86eb842f67f59979a90dfc7c6b7fee0abc4c5149f69eece860ba82 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/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:e18d859f9e32a1da89bc7b2d7d51e13b57342044d1295d9fc0dd0068c58eb3d1" "/opt/rustwide/cargo-home/bin/cargo" "+5e3f1b148db5bfa27fee52464ae1f5d34c49d77b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2545f2969a1d12571bb06bb5366d27ccc72362bf84cf3a62cf6399ec860868b3 [INFO] running `Command { std: "docker" "start" "-a" "2545f2969a1d12571bb06bb5366d27ccc72362bf84cf3a62cf6399ec860868b3", kill_on_drop: false }` [INFO] [stderr] Checking hpack-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `new_header_field` [INFO] [stdout] --> src/hpack/context.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::hpack::{decoder, new_header_field}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dynamic::HeaderField` [INFO] [stdout] --> src/hpack/encoder.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use dynamic::HeaderField; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorrowMut` [INFO] [stdout] --> src/hpack/huffman/mod.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use std::borrow::{BorrowMut, Borrow}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/hpack/huffman/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RefCell`, `Ref` [INFO] [stdout] --> src/hpack/huffman/mod.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::cell::{RefCell, Ref}; [INFO] [stdout] | ^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `new_header_field` [INFO] [stdout] --> src/hpack/context.rs:1:29 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::hpack::{decoder, new_header_field}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `dynamic::HeaderField` [INFO] [stdout] --> src/hpack/encoder.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use dynamic::HeaderField; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorrowMut` [INFO] [stdout] --> src/hpack/huffman/mod.rs:4:19 [INFO] [stdout] | [INFO] [stdout] 4 | use std::borrow::{BorrowMut, Borrow}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::rc::Rc` [INFO] [stdout] --> src/hpack/huffman/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::rc::Rc; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RefCell`, `Ref` [INFO] [stdout] --> src/hpack/huffman/mod.rs:6:17 [INFO] [stdout] | [INFO] [stdout] 6 | use std::cell::{RefCell, Ref}; [INFO] [stdout] | ^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut ctx = hpack::new_context(10, 10); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut ctx = hpack::new_context(10, 10); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/hpack/decoder.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/hpack/decoder.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | Err(e) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut ctx = hpack::new_context(10, 10); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | let mut ctx = hpack::new_context(10, 10); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hpack/huffman/mod.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let mut j = huff_code.length; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/hpack/huffman/mod.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let mut j = huff_code.length; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `encoder` [INFO] [stdout] --> src/hpack/context.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | encoder: encoder::Encoder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `decoder` [INFO] [stdout] --> src/hpack/context.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | decoder: decoder::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_size` [INFO] [stdout] --> src/hpack/dynamic.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | max_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eviction_check` [INFO] [stdout] --> src/hpack/dynamic.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn eviction_check(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `evict` [INFO] [stdout] --> src/hpack/dynamic.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn evict(&mut self, n: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/hpack/dynamic.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn get(&self, index: usize) -> Result<&HeaderField, ()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_max_size` [INFO] [stdout] --> src/hpack/dynamic.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn set_max_size(&mut self, size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_right_node` [INFO] [stdout] --> src/hpack/huffman/mod.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn has_right_node(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_left_node` [INFO] [stdout] --> src/hpack/huffman/mod.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn has_left_node(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dynT` should have a snake case name [INFO] [stdout] --> src/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut dynT = hpack::new_dynamic_table(10); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `dyn_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `encoder` [INFO] [stdout] --> src/hpack/context.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | encoder: encoder::Encoder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `decoder` [INFO] [stdout] --> src/hpack/context.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | decoder: decoder::Decoder, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `max_size` [INFO] [stdout] --> src/hpack/dynamic.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | max_size: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `eviction_check` [INFO] [stdout] --> src/hpack/dynamic.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn eviction_check(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `evict` [INFO] [stdout] --> src/hpack/dynamic.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn evict(&mut self, n: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get` [INFO] [stdout] --> src/hpack/dynamic.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn get(&self, index: usize) -> Result<&HeaderField, ()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_max_size` [INFO] [stdout] --> src/hpack/dynamic.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub fn set_max_size(&mut self, size: usize) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_right_node` [INFO] [stdout] --> src/hpack/huffman/mod.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn has_right_node(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `has_left_node` [INFO] [stdout] --> src/hpack/huffman/mod.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn has_left_node(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `dynT` should have a snake case name [INFO] [stdout] --> src/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | let mut dynT = hpack::new_dynamic_table(10); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `dyn_t` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.28s [INFO] running `Command { std: "docker" "inspect" "2545f2969a1d12571bb06bb5366d27ccc72362bf84cf3a62cf6399ec860868b3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2545f2969a1d12571bb06bb5366d27ccc72362bf84cf3a62cf6399ec860868b3", kill_on_drop: false }` [INFO] [stdout] 2545f2969a1d12571bb06bb5366d27ccc72362bf84cf3a62cf6399ec860868b3