[INFO] updating cached repository https://github.com/Andorr/hpack-rust
[INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"`
[INFO] running `"git" "rev-parse" "HEAD"`
[INFO] [stdout] 779343b0f2ef677ac724d8f25cd4fa279649f151
[INFO] checking Andorr/hpack-rust against master#bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc for pr-70917
[INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndorr%2Fhpack-rust" "/workspace/builds/worker-12/source"`
[INFO] [stderr] Cloning into '/workspace/builds/worker-12/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Andorr/hpack-rust on toolchain bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "read-manifest" "--manifest-path" "Cargo.toml"`
[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-12/source/Cargo.toml
[INFO] crate git repo https://github.com/Andorr/hpack-rust already has a lockfile, it will not be regenerated
[INFO] running `"/workspace/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "fetch" "--locked" "--manifest-path" "Cargo.toml"`
[INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+bf1f2eedda4fa02b7c9347dd849ed73ddd43dedc" "check" "--frozen" "--all" "--all-targets"`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 7f613cd3cc96adc0ee23e9e4c32133140643b739cf9f2ba42548d8f8bc7f2070
[INFO] running `"docker" "start" "-a" "7f613cd3cc96adc0ee23e9e4c32133140643b739cf9f2ba42548d8f8bc7f2070"`
[INFO] [stderr]     Checking hpack-rust v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr] warning: unused import: `crate::hpack::huffman`
[INFO] [stderr]  --> src/hpack/encoder.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use crate::hpack::huffman;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused import: `crate::hpack::huffman`
[INFO] [stderr]  --> src/hpack/encoder.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use crate::hpack::huffman;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]  --> src/main.rs:4:13
[INFO] [stderr]   |
[INFO] [stderr] 4 |     let mut ctx = hpack::new_context(10, 10);
[INFO] [stderr]   |             ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `hf`
[INFO] [stderr]   --> src/hpack/encoder.rs:11:15
[INFO] [stderr]    |
[INFO] [stderr] 11 |     fn encode(hf: *const HeaderField) -> Vec<u8> {
[INFO] [stderr]    |               ^^ help: if this is intentional, prefix it with an underscore: `_hf`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]  --> src/main.rs:4:9
[INFO] [stderr]   |
[INFO] [stderr] 4 |     let mut ctx = hpack::new_context(10, 10);
[INFO] [stderr]   |         ----^^^
[INFO] [stderr]   |         |
[INFO] [stderr]   |         help: remove this `mut`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ctx`
[INFO] [stderr]  --> src/main.rs:4:13
[INFO] [stderr]   |
[INFO] [stderr] 4 |     let mut ctx = hpack::new_context(10, 10);
[INFO] [stderr]   |             ^^^ help: if this is intentional, prefix it with an underscore: `_ctx`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_variables)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `hf`
[INFO] [stderr]   --> src/hpack/encoder.rs:11:15
[INFO] [stderr]    |
[INFO] [stderr] 11 |     fn encode(hf: *const HeaderField) -> Vec<u8> {
[INFO] [stderr]    |               ^^ help: if this is intentional, prefix it with an underscore: `_hf`
[INFO] [stderr] 
[INFO] [stderr] error[E0507]: cannot move out of `cur_node.right` which is behind a mutable reference
[INFO] [stderr]   --> src/hpack/huffman/mod.rs:50:32
[INFO] [stderr]    |
[INFO] [stderr] 50 |                     cur_node = cur_node.right.unwrap().borrow_mut()
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^
[INFO] [stderr]    |                                |
[INFO] [stderr]    |                                move occurs because `cur_node.right` has type `std::option::Option<std::boxed::Box<hpack::huffman::Node>>`, which does not implement the `Copy` trait
[INFO] [stderr]    |                                help: consider borrowing the `Option`'s content: `cur_node.right.as_ref()`
[INFO] [stderr] 
[INFO] [stderr] error[E0716]: temporary value dropped while borrowed
[INFO] [stderr]   --> src/hpack/huffman/mod.rs:50:32
[INFO] [stderr]    |
[INFO] [stderr] 50 |                     cur_node = cur_node.right.unwrap().borrow_mut()
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary which is freed while still in use
[INFO] [stderr] 51 |                 } else {
[INFO] [stderr]    |                 - temporary value is freed at the end of this statement
[INFO] [stderr] ...
[INFO] [stderr] 59 |             cur_node.sym = Some(std::char::from_digit(i as u32, 10).unwrap()); // The current node is now the leaf node, with ASCII value "i"
[INFO] [stderr]    |             ----------------------------------------------------------------- borrow later used here
[INFO] [stderr]    |
[INFO] [stderr]    = note: consider using a `let` binding to create a longer lived value
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]  --> src/main.rs:4:9
[INFO] [stderr]   |
[INFO] [stderr] 4 |     let mut ctx = hpack::new_context(10, 10);
[INFO] [stderr]   |         ----^^^
[INFO] [stderr]   |         |
[INFO] [stderr]   |         help: remove this `mut`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_mut)]` on by default
[INFO] [stderr] 
[INFO] [stderr] error[E0507]: cannot move out of `cur_node.left` which is behind a mutable reference
[INFO] [stderr]   --> src/hpack/huffman/mod.rs:56:32
[INFO] [stderr]    |
[INFO] [stderr] 56 |                     cur_node = cur_node.left.unwrap().borrow_mut()
[INFO] [stderr]    |                                ^^^^^^^^^^^^^
[INFO] [stderr]    |                                |
[INFO] [stderr]    |                                move occurs because `cur_node.left` has type `std::option::Option<std::boxed::Box<hpack::huffman::Node>>`, which does not implement the `Copy` trait
[INFO] [stderr]    |                                help: consider borrowing the `Option`'s content: `cur_node.left.as_ref()`
[INFO] [stderr] 
[INFO] [stderr] error[E0716]: temporary value dropped while borrowed
[INFO] [stderr]   --> src/hpack/huffman/mod.rs:56:32
[INFO] [stderr]    |
[INFO] [stderr] 56 |                     cur_node = cur_node.left.unwrap().borrow_mut()
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^^^^^^^^^ creates a temporary which is freed while still in use
[INFO] [stderr] 57 |                 }
[INFO] [stderr]    |                 - temporary value is freed at the end of this statement
[INFO] [stderr] 58 |             }
[INFO] [stderr] 59 |             cur_node.sym = Some(std::char::from_digit(i as u32, 10).unwrap()); // The current node is now the leaf node, with ASCII value "i"
[INFO] [stderr]    |             ----------------------------------------------------------------- borrow later used here
[INFO] [stderr]    |
[INFO] [stderr]    = note: consider using a `let` binding to create a longer lived value
[INFO] [stderr] 
[INFO] [stderr] error[E0507]: cannot move out of `cur_node.right` which is behind a shared reference
[INFO] [stderr]   --> src/hpack/huffman/mod.rs:87:32
[INFO] [stderr]    |
[INFO] [stderr] 87 |                     cur_node = cur_node.right.unwrap().borrow();
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^
[INFO] [stderr]    |                                |
[INFO] [stderr]    |                                move occurs because `cur_node.right` has type `std::option::Option<std::boxed::Box<hpack::huffman::Node>>`, which does not implement the `Copy` trait
[INFO] [stderr]    |                                help: consider borrowing the `Option`'s content: `cur_node.right.as_ref()`
[INFO] [stderr] 
[INFO] [stderr] error[E0716]: temporary value dropped while borrowed
[INFO] [stderr]   --> src/hpack/huffman/mod.rs:87:32
[INFO] [stderr]    |
[INFO] [stderr] 87 |                     cur_node = cur_node.right.unwrap().borrow();
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^^^^^^^^^^         - temporary value is freed at the end of this statement
[INFO] [stderr]    |                                |
[INFO] [stderr]    |                                creates a temporary which is freed while still in use
[INFO] [stderr] ...
[INFO] [stderr] 96 |                 if cur_node.sym.is_some() {
[INFO] [stderr]    |                    ------------ borrow later used here
[INFO] [stderr]    |
[INFO] [stderr]    = note: consider using a `let` binding to create a longer lived value
[INFO] [stderr] 
[INFO] [stderr] error[E0507]: cannot move out of `cur_node.left` which is behind a shared reference
[INFO] [stderr]   --> src/hpack/huffman/mod.rs:92:32
[INFO] [stderr]    |
[INFO] [stderr] 92 |                     cur_node = cur_node.left.unwrap().borrow();
[INFO] [stderr]    |                                ^^^^^^^^^^^^^
[INFO] [stderr]    |                                |
[INFO] [stderr]    |                                move occurs because `cur_node.left` has type `std::option::Option<std::boxed::Box<hpack::huffman::Node>>`, which does not implement the `Copy` trait
[INFO] [stderr]    |                                help: consider borrowing the `Option`'s content: `cur_node.left.as_ref()`
[INFO] [stderr] 
[INFO] [stderr] error[E0716]: temporary value dropped while borrowed
[INFO] [stderr]   --> src/hpack/huffman/mod.rs:92:32
[INFO] [stderr]    |
[INFO] [stderr] 92 |                     cur_node = cur_node.left.unwrap().borrow();
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^^^^^^^^^         - temporary value is freed at the end of this statement
[INFO] [stderr]    |                                |
[INFO] [stderr]    |                                creates a temporary which is freed while still in use
[INFO] [stderr] ...
[INFO] [stderr] 96 |                 if cur_node.sym.is_some() {
[INFO] [stderr]    |                    ------------ borrow later used here
[INFO] [stderr]    |
[INFO] [stderr]    = note: consider using a `let` binding to create a longer lived value
[INFO] [stderr] 
[INFO] [stderr] error[E0515]: cannot return value referencing local variable `decoded`
[INFO] [stderr]    --> src/hpack/huffman/mod.rs:104:9
[INFO] [stderr]     |
[INFO] [stderr] 104 |         Ok(decoded.as_slice())
[INFO] [stderr]     |         ^^^-------^^^^^^^^^^^^
[INFO] [stderr]     |         |  |
[INFO] [stderr]     |         |  `decoded` is borrowed here
[INFO] [stderr]     |         returns a value referencing data owned by the current function
[INFO] [stderr] 
[INFO] [stderr] error: aborting due to 9 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0507, E0515, E0716.
[INFO] [stderr] For more information about an error, try `rustc --explain E0507`.
[INFO] [stderr] error[E0507]: cannot move out of `cur_node.right` which is behind a mutable reference
[INFO] [stderr]   --> src/hpack/huffman/mod.rs:50:32
[INFO] [stderr]    |
[INFO] [stderr] 50 |                     cur_node = cur_node.right.unwrap().borrow_mut()
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^
[INFO] [stderr]    |                                |
[INFO] [stderr]    |                                move occurs because `cur_node.right` has type `std::option::Option<std::boxed::Box<hpack::huffman::Node>>`, which does not implement the `Copy` trait
[INFO] [stderr]    |                                help: consider borrowing the `Option`'s content: `cur_node.right.as_ref()`
[INFO] [stderr] 
[INFO] [stderr] error[E0716]: temporary value dropped while borrowed
[INFO] [stderr]   --> src/hpack/huffman/mod.rs:50:32
[INFO] [stderr]    |
[INFO] [stderr] 50 |                     cur_node = cur_node.right.unwrap().borrow_mut()
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^^^^^^^^^^ creates a temporary which is freed while still in use
[INFO] [stderr] 51 |                 } else {
[INFO] [stderr]    |                 - temporary value is freed at the end of this statement
[INFO] [stderr] ...
[INFO] [stderr] 59 |             cur_node.sym = Some(std::char::from_digit(i as u32, 10).unwrap()); // The current node is now the leaf node, with ASCII value "i"
[INFO] [stderr]    |             ----------------------------------------------------------------- borrow later used here
[INFO] [stderr]    |
[INFO] [stderr]    = note: consider using a `let` binding to create a longer lived value
[INFO] [stderr] 
[INFO] [stderr] error[E0507]: cannot move out of `cur_node.left` which is behind a mutable reference
[INFO] [stderr]   --> src/hpack/huffman/mod.rs:56:32
[INFO] [stderr]    |
[INFO] [stderr] 56 |                     cur_node = cur_node.left.unwrap().borrow_mut()
[INFO] [stderr]    |                                ^^^^^^^^^^^^^
[INFO] [stderr]    |                                |
[INFO] [stderr]    |                                move occurs because `cur_node.left` has type `std::option::Option<std::boxed::Box<hpack::huffman::Node>>`, which does not implement the `Copy` trait
[INFO] [stderr]    |                                help: consider borrowing the `Option`'s content: `cur_node.left.as_ref()`
[INFO] [stderr] 
[INFO] [stderr] error[E0716]: temporary value dropped while borrowed
[INFO] [stderr]   --> src/hpack/huffman/mod.rs:56:32
[INFO] [stderr]    |
[INFO] [stderr] 56 |                     cur_node = cur_node.left.unwrap().borrow_mut()
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^^^^^^^^^ creates a temporary which is freed while still in use
[INFO] [stderr] 57 |                 }
[INFO] [stderr]    |                 - temporary value is freed at the end of this statement
[INFO] [stderr] 58 |             }
[INFO] [stderr] 59 |             cur_node.sym = Some(std::char::from_digit(i as u32, 10).unwrap()); // The current node is now the leaf node, with ASCII value "i"
[INFO] [stderr]    |             ----------------------------------------------------------------- borrow later used here
[INFO] [stderr]    |
[INFO] [stderr]    = note: consider using a `let` binding to create a longer lived value
[INFO] [stderr] 
[INFO] [stderr] error[E0507]: cannot move out of `cur_node.right` which is behind a shared reference
[INFO] [stderr]   --> src/hpack/huffman/mod.rs:87:32
[INFO] [stderr]    |
[INFO] [stderr] 87 |                     cur_node = cur_node.right.unwrap().borrow();
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^
[INFO] [stderr]    |                                |
[INFO] [stderr]    |                                move occurs because `cur_node.right` has type `std::option::Option<std::boxed::Box<hpack::huffman::Node>>`, which does not implement the `Copy` trait
[INFO] [stderr]    |                                help: consider borrowing the `Option`'s content: `cur_node.right.as_ref()`
[INFO] [stderr] 
[INFO] [stderr] error[E0716]: temporary value dropped while borrowed
[INFO] [stderr]   --> src/hpack/huffman/mod.rs:87:32
[INFO] [stderr]    |
[INFO] [stderr] 87 |                     cur_node = cur_node.right.unwrap().borrow();
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^^^^^^^^^^         - temporary value is freed at the end of this statement
[INFO] [stderr]    |                                |
[INFO] [stderr]    |                                creates a temporary which is freed while still in use
[INFO] [stderr] ...
[INFO] [stderr] 96 |                 if cur_node.sym.is_some() {
[INFO] [stderr]    |                    ------------ borrow later used here
[INFO] [stderr]    |
[INFO] [stderr]    = note: consider using a `let` binding to create a longer lived value
[INFO] [stderr] 
[INFO] [stderr] error[E0507]: cannot move out of `cur_node.left` which is behind a shared reference
[INFO] [stderr]   --> src/hpack/huffman/mod.rs:92:32
[INFO] [stderr]    |
[INFO] [stderr] 92 |                     cur_node = cur_node.left.unwrap().borrow();
[INFO] [stderr]    |                                ^^^^^^^^^^^^^
[INFO] [stderr]    |                                |
[INFO] [stderr]    |                                move occurs because `cur_node.left` has type `std::option::Option<std::boxed::Box<hpack::huffman::Node>>`, which does not implement the `Copy` trait
[INFO] [stderr]    |                                help: consider borrowing the `Option`'s content: `cur_node.left.as_ref()`
[INFO] [stderr] 
[INFO] [stderr] error[E0716]: temporary value dropped while borrowed
[INFO] [stderr]   --> src/hpack/huffman/mod.rs:92:32
[INFO] [stderr]    |
[INFO] [stderr] 92 |                     cur_node = cur_node.left.unwrap().borrow();
[INFO] [stderr]    |                                ^^^^^^^^^^^^^^^^^^^^^^         - temporary value is freed at the end of this statement
[INFO] [stderr]    |                                |
[INFO] [stderr]    |                                creates a temporary which is freed while still in use
[INFO] [stderr] ...
[INFO] [stderr] 96 |                 if cur_node.sym.is_some() {
[INFO] [stderr]    |                    ------------ borrow later used here
[INFO] [stderr]    |
[INFO] [stderr]    = note: consider using a `let` binding to create a longer lived value
[INFO] [stderr] 
[INFO] [stderr] error[E0515]: cannot return value referencing local variable `decoded`
[INFO] [stderr]    --> src/hpack/huffman/mod.rs:104:9
[INFO] [stderr]     |
[INFO] [stderr] 104 |         Ok(decoded.as_slice())
[INFO] [stderr]     |         ^^^-------^^^^^^^^^^^^
[INFO] [stderr]     |         |  |
[INFO] [stderr]     |         |  `decoded` is borrowed here
[INFO] [stderr]     |         returns a value referencing data owned by the current function
[INFO] [stderr] 
[INFO] [stderr] error: could not compile `hpack-rust`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: aborting due to 9 previous errors
[INFO] [stderr] 
[INFO] [stderr] Some errors have detailed explanations: E0507, E0515, E0716.
[INFO] [stderr] For more information about an error, try `rustc --explain E0507`.
[INFO] [stderr] error: could not compile `hpack-rust`.
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `"docker" "inspect" "7f613cd3cc96adc0ee23e9e4c32133140643b739cf9f2ba42548d8f8bc7f2070"`
[INFO] running `"docker" "rm" "-f" "7f613cd3cc96adc0ee23e9e4c32133140643b739cf9f2ba42548d8f8bc7f2070"`
[INFO] [stdout] 7f613cd3cc96adc0ee23e9e4c32133140643b739cf9f2ba42548d8f8bc7f2070
