[INFO] cloning repository https://github.com/Docredstein/LKH-Rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Docredstein/LKH-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDocredstein%2FLKH-Rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDocredstein%2FLKH-Rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 1fba31eb23180ec4d4f5e21fd06664371feef974
[INFO] checking Docredstein/LKH-Rust against master#9e293ae9f8abecb0be5105787d181518c9012a19 for pr-146440-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDocredstein%2FLKH-Rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Docredstein/LKH-Rust
[INFO] finished tweaking git repo https://github.com/Docredstein/LKH-Rust
[INFO] tweaked toml for git repo https://github.com/Docredstein/LKH-Rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Docredstein/LKH-Rust on toolchain 9e293ae9f8abecb0be5105787d181518c9012a19
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Docredstein/LKH-Rust 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" "+9e293ae9f8abecb0be5105787d181518c9012a19" "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] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded wasip2 v1.0.3+wasi-0.2.9
[INFO] [stderr]   Downloaded wit-bindgen v0.57.1
[INFO] [stderr]   Downloaded rand_core v0.10.1
[INFO] [stderr]   Downloaded openssl-sys v0.9.114
[INFO] [stderr]   Downloaded openssl v0.10.78
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b28509281b166545beae083ff3b3139762803a7eaeef827305d8a689ed07ad0c
[INFO] running `Command { std: "docker" "start" "-a" "b28509281b166545beae083ff3b3139762803a7eaeef827305d8a689ed07ad0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b28509281b166545beae083ff3b3139762803a7eaeef827305d8a689ed07ad0c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b28509281b166545beae083ff3b3139762803a7eaeef827305d8a689ed07ad0c", kill_on_drop: false }`
[INFO] [stdout] b28509281b166545beae083ff3b3139762803a7eaeef827305d8a689ed07ad0c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+9e293ae9f8abecb0be5105787d181518c9012a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] d9ddf8ef19ab7846009b7d18c284e3cb364cf5f9feb80a490078e0410e58bb7a
[INFO] running `Command { std: "docker" "start" "-a" "d9ddf8ef19ab7846009b7d18c284e3cb364cf5f9feb80a490078e0410e58bb7a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.185
[INFO] [stderr]    Compiling pkg-config v0.3.33
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling cc v1.2.60
[INFO] [stderr]     Checking rand_core v0.10.1
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]     Checking cpufeatures v0.3.0
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]    Compiling openssl v0.10.78
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]     Checking bitflags v2.11.1
[INFO] [stderr]     Checking chacha20 v0.10.0
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking colored v3.1.1
[INFO] [stderr]    Compiling openssl-sys v0.9.114
[INFO] [stderr]     Checking rand v0.10.1
[INFO] [stderr]    Compiling openssl-macros v0.1.1
[INFO] [stderr]     Checking lkh v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/node.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::rc::Rc;
[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 import: `super::*`
[INFO] [stdout]   --> src/node.rs:41:9
[INFO] [stdout]    |
[INFO] [stdout] 41 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `cell::RefCell` and `rc::Rc`
[INFO] [stdout]    --> src/lkh.rs:741:15
[INFO] [stdout]     |
[INFO] [stdout] 741 |     use std::{cell::RefCell, rc::Rc, sync::Mutex};
[INFO] [stdout]     |               ^^^^^^^^^^^^^  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]     --> src/lkh.rs:1085:16
[INFO] [stdout]      |
[INFO] [stdout] 1085 |             if (i % 1000 == 0) {
[INFO] [stdout]      |                ^             ^
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 1085 -             if (i % 1000 == 0) {
[INFO] [stdout] 1085 +             if i % 1000 == 0  {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]     --> src/lkh.rs:1166:16
[INFO] [stdout]      |
[INFO] [stdout] 1166 |             if (i % 1000 == 0) {
[INFO] [stdout]      |                ^             ^
[INFO] [stdout]      |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 1166 -             if (i % 1000 == 0) {
[INFO] [stdout] 1166 +             if i % 1000 == 0  {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]     --> src/lkh.rs:1647:16
[INFO] [stdout]      |
[INFO] [stdout] 1647 |             if (i % 1000 == 0) {
[INFO] [stdout]      |                ^             ^
[INFO] [stdout]      |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]      |
[INFO] [stdout] 1647 -             if (i % 1000 == 0) {
[INFO] [stdout] 1647 +             if i % 1000 == 0  {
[INFO] [stdout]      |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::rc::Rc`
[INFO] [stdout]  --> src/node.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::rc::Rc;
[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 variable: `data`
[INFO] [stdout]    --> src/tree.rs:625:33
[INFO] [stdout]     |
[INFO] [stdout] 625 |                 send: Box::new(|data| ()),
[INFO] [stdout]     |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `data`
[INFO] [stdout]    --> src/tree.rs:646:33
[INFO] [stdout]     |
[INFO] [stdout] 646 |                 send: Box::new(|data| ()),
[INFO] [stdout]     |                                 ^^^^ help: if this is intentional, prefix it with an underscore: `_data`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lkh.rs:1357:13
[INFO] [stdout]      |
[INFO] [stdout] 1357 |         let mut lkh = Lkh {
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]     --> src/lkh.rs:1402:13
[INFO] [stdout]      |
[INFO] [stdout] 1402 |         let mut lkh = Lkh {
[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/lkh.rs:1453:13
[INFO] [stdout]      |
[INFO] [stdout] 1453 |         let mut lkh = Lkh {
[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/lkh.rs:1504:13
[INFO] [stdout]      |
[INFO] [stdout] 1504 |         let mut lkh = Lkh {
[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/lkh.rs:1562:13
[INFO] [stdout]      |
[INFO] [stdout] 1562 |         let mut lkh = Lkh {
[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/lkh.rs:1629:13
[INFO] [stdout]      |
[INFO] [stdout] 1629 |         let mut lkh = Lkh {
[INFO] [stdout]      |             ----^^^
[INFO] [stdout]      |             |
[INFO] [stdout]      |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `key_len` is never read
[INFO] [stdout]    --> src/lkh.rs:545:5
[INFO] [stdout]     |
[INFO] [stdout] 542 | struct TestUser {
[INFO] [stdout]     |        -------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 545 |     key_len: usize,
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `to_bytes` and `from_bytes` are never used
[INFO] [stdout]   --> src/packet.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl KeyUpdatePacket {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 16 |     fn to_bytes(&self) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn from_bytes(packet: Vec<u8>) -> Option<Self> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TestUser` is never constructed
[INFO] [stdout]    --> src/lkh.rs:542:8
[INFO] [stdout]     |
[INFO] [stdout] 542 | struct TestUser {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `receive_single` and `receive_group` are never used
[INFO] [stdout]    --> src/lkh.rs:566:8
[INFO] [stdout]     |
[INFO] [stdout] 565 | impl TestUser {
[INFO] [stdout]     | ------------- methods in this implementation
[INFO] [stdout] 566 |     fn receive_single(&mut self, packet: KeyUpdatePacket) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 587 |     fn receive_group(&mut self, wrapped: WrappedKeyUpdatePacket) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `TreeTestUser` is never constructed
[INFO] [stdout]    --> src/lkh.rs:630:8
[INFO] [stdout]     |
[INFO] [stdout] 630 | struct TreeTestUser {
[INFO] [stdout]     |        ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple methods are never used
[INFO] [stdout]    --> src/lkh.rs:645:8
[INFO] [stdout]     |
[INFO] [stdout] 644 | impl TreeTestUser {
[INFO] [stdout]     | ----------------- methods in this implementation
[INFO] [stdout] 645 |     fn get_user(&mut self, id: usize) -> Option<&mut TestUser> {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 648 |     fn get_user_by_id(&mut self, user_id: Vec<u8>) -> Option<usize> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 651 |     fn check_session_key(&self, session_key_id: u64) -> bool {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 660 |     fn print_users_in_tree(&self) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 669 |     fn new_user(&mut self) -> usize {
[INFO] [stdout]     |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 682 |     fn receive_group(&mut self, wrapped: WrappedKeyUpdatePacket) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 691 |     fn add_user_to_tree(&mut self, id: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 694 |     fn add_users_to_tree(&mut self, ids: Vec<usize>) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 699 |     fn remove_user_from_tree(&mut self, id: usize) {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `verify_key_chain` is never used
[INFO] [stdout]    --> src/lkh.rs:704:4
[INFO] [stdout]     |
[INFO] [stdout] 704 | fn verify_key_chain(tree: &Lkh, users: &TreeTestUser) -> bool {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `to_bytes` and `from_bytes` are never used
[INFO] [stdout]   --> src/packet.rs:16:8
[INFO] [stdout]    |
[INFO] [stdout] 15 | impl KeyUpdatePacket {
[INFO] [stdout]    | -------------------- associated items in this implementation
[INFO] [stdout] 16 |     fn to_bytes(&self) -> Vec<u8> {
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 24 |     fn from_bytes(packet: Vec<u8>) -> Option<Self> {
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.67s
[INFO] running `Command { std: "docker" "inspect" "d9ddf8ef19ab7846009b7d18c284e3cb364cf5f9feb80a490078e0410e58bb7a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d9ddf8ef19ab7846009b7d18c284e3cb364cf5f9feb80a490078e0410e58bb7a", kill_on_drop: false }`
[INFO] [stdout] d9ddf8ef19ab7846009b7d18c284e3cb364cf5f9feb80a490078e0410e58bb7a
