[INFO] cloning repository https://github.com/b1tg/proxy-for-dummies
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/b1tg/proxy-for-dummies" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fb1tg%2Fproxy-for-dummies", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fb1tg%2Fproxy-for-dummies'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8d6f908e0c32120266db7e42af9be14ece81e648
[INFO] testing b1tg/proxy-for-dummies against beta-2023-04-20 for beta-1.70-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fb1tg%2Fproxy-for-dummies" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/b1tg/proxy-for-dummies on toolchain beta-2023-04-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/b1tg/proxy-for-dummies
[INFO] finished tweaking git repo https://github.com/b1tg/proxy-for-dummies
[INFO] tweaked toml for git repo https://github.com/b1tg/proxy-for-dummies written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/b1tg/proxy-for-dummies 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" "+beta-2023-04-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded syn v1.0.67
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 778254c30b0fd1ec38e8f3d98882ca8b4c929408df494742dcbe494ba47074bc
[INFO] running `Command { std: "docker" "start" "-a" "778254c30b0fd1ec38e8f3d98882ca8b4c929408df494742dcbe494ba47074bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "778254c30b0fd1ec38e8f3d98882ca8b4c929408df494742dcbe494ba47074bc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "778254c30b0fd1ec38e8f3d98882ca8b4c929408df494742dcbe494ba47074bc", kill_on_drop: false }`
[INFO] [stdout] 778254c30b0fd1ec38e8f3d98882ca8b4c929408df494742dcbe494ba47074bc
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=warn" "-e" "RUSTDOCFLAGS=--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:5ff2268d62e97bff2cde7d5815dd6ed5b47097566f13b8d0ca110b04b60e07ed" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2023-04-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 570190a7b8665c4ee4bc2fcd88ba4d367c1fa6b172eae683485dd439acc7a6ca
[INFO] running `Command { std: "docker" "start" "-a" "570190a7b8665c4ee4bc2fcd88ba4d367c1fa6b172eae683485dd439acc7a6ca", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.124
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling syn v1.0.67
[INFO] [stderr]    Compiling log v0.4.11
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling pin-project-lite v0.2.9
[INFO] [stderr]    Compiling typenum v1.15.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.2
[INFO] [stderr]    Compiling memchr v2.3.4
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling once_cell v1.10.0
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling bytes v1.1.0
[INFO] [stderr]    Compiling smallvec v1.8.0
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]    Compiling tracing-core v0.1.26
[INFO] [stderr]    Compiling openssl v0.10.38
[INFO] [stderr]    Compiling httparse v1.7.1
[INFO] [stderr]    Compiling generic-array v0.14.5
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling indexmap v1.8.1
[INFO] [stderr]    Compiling http v0.2.6
[INFO] [stderr]    Compiling futures-sink v0.3.21
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling native-tls v0.2.10
[INFO] [stderr]    Compiling tinyvec v1.6.0
[INFO] [stderr]    Compiling cpufeatures v0.2.2
[INFO] [stderr]    Compiling openssl-probe v0.1.5
[INFO] [stderr]    Compiling try-lock v0.2.3
[INFO] [stderr]    Compiling subtle v2.4.1
[INFO] [stderr]    Compiling slab v0.4.6
[INFO] [stderr]    Compiling mio v0.8.2
[INFO] [stderr]    Compiling num_cpus v1.13.0
[INFO] [stderr]    Compiling socket2 v0.4.4
[INFO] [stderr]    Compiling signal-hook-registry v1.2.2
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling openssl-sys v0.9.72
[INFO] [stderr]    Compiling parking_lot v0.12.0
[INFO] [stderr]    Compiling httpdate v1.0.2
[INFO] [stderr]    Compiling unicode-bidi v0.3.8
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling encoding_rs v0.8.31
[INFO] [stderr]    Compiling gcc v0.3.55
[INFO] [stderr]    Compiling unicode-normalization v0.1.19
[INFO] [stderr]    Compiling rand v0.4.6
[INFO] [stderr]    Compiling time v0.1.44
[INFO] [stderr]    Compiling ipnet v2.5.0
[INFO] [stderr]    Compiling mime v0.3.16
[INFO] [stderr]    Compiling rustc-serialize v0.3.24
[INFO] [stderr]    Compiling cipher v0.3.0
[INFO] [stderr]    Compiling universal-hash v0.4.1
[INFO] [stderr]    Compiling aead v0.4.3
[INFO] [stderr]    Compiling polyval v0.5.3
[INFO] [stderr]    Compiling aes v0.7.5
[INFO] [stderr]    Compiling ctr v0.8.0
[INFO] [stderr]    Compiling rand v0.3.23
[INFO] [stderr]    Compiling ghash v0.4.4
[INFO] [stderr]    Compiling rust-crypto v0.2.36
[INFO] [stderr]    Compiling idna v0.2.3
[INFO] [stderr]    Compiling http-body v0.4.4
[INFO] [stderr]    Compiling aes-gcm v0.9.4
[INFO] [stderr]    Compiling url v2.2.2
[INFO] [stderr]    Compiling tokio-macros v1.7.0
[INFO] [stderr]    Compiling tracing-attributes v0.1.21
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling tokio v1.17.0
[INFO] [stderr]    Compiling tracing v0.1.34
[INFO] [stderr]    Compiling thiserror v1.0.30
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling tokio-util v0.7.1
[INFO] [stderr]    Compiling tokio-native-tls v0.3.0
[INFO] [stderr]    Compiling tokio-socks v0.5.1
[INFO] [stderr]    Compiling h2 v0.3.13
[INFO] [stderr]    Compiling serde_json v1.0.79
[INFO] [stderr]    Compiling serde_urlencoded v0.7.1
[INFO] [stderr]    Compiling hyper v0.14.18
[INFO] [stderr]    Compiling hyper-tls v0.5.0
[INFO] [stderr]    Compiling reqwest v0.11.10
[INFO] [stderr]    Compiling s54 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::error::Error`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::error::Error;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crypto::sha2::Sha256`
[INFO] [stdout]  --> src/vmess.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crypto::sha2::Sha256;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crypto::aes_gcm::AesGcm`
[INFO] [stdout]  --> src/vmess.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crypto::aes_gcm::AesGcm;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Aes256Gcm`
[INFO] [stdout]  --> src/vmess.rs:6:15
[INFO] [stdout]   |
[INFO] [stdout] 6 | use aes_gcm::{Aes256Gcm,Aes128Gcm, Key, Nonce}; // Or `Aes128Gcm`
[INFO] [stdout]   |               ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs`
[INFO] [stdout]  --> src/vmess.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use std::fs;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BuildHasherDefault`
[INFO] [stdout]   --> src/vmess.rs:11:26
[INFO] [stdout]    |
[INFO] [stdout] 11 | use core::hash::{Hasher, BuildHasherDefault};
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `vmess::*`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use vmess::*;
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Serialize`
[INFO] [stdout]    --> src/main.rs:191:26
[INFO] [stdout]     |
[INFO] [stdout] 191 | use serde::{Deserialize, Serialize};
[INFO] [stdout]     |                          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `input`
[INFO] [stdout]   --> src/vmess.rs:70:10
[INFO] [stdout]    |
[INFO] [stdout] 70 | fn shake(input: &str) -> String {
[INFO] [stdout]    |          ^^^^^ help: if this is intentional, prefix it with an underscore: `_input`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nonce_size`
[INFO] [stdout]    --> src/vmess.rs:174:9
[INFO] [stdout]     |
[INFO] [stdout] 174 |     let nonce_size = 12;
[INFO] [stdout]     |         ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_nonce_size`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node2`
[INFO] [stdout]    --> src/main.rs:234:13
[INFO] [stdout]     |
[INFO] [stdout] 234 |     let mut node2 = Node::default();
[INFO] [stdout]     |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_node2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/vmess.rs:175:9
[INFO] [stdout]     |
[INFO] [stdout] 175 |     let mut count: u16 = 0;
[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] error[E0716]: temporary value dropped while borrowed
[INFO] [stdout]    --> src/vmess.rs:168:21
[INFO] [stdout]     |
[INFO] [stdout] 168 |     let test_data = "AAAAA".repeat(100).as_bytes();
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^           - temporary value is freed at the end of this statement
[INFO] [stdout]     |                     |
[INFO] [stdout]     |                     creates a temporary value which is freed while still in use
[INFO] [stdout] ...
[INFO] [stdout] 182 |     let encrypted = cipher.encrypt(nonce, test_data).unwrap();
[INFO] [stdout]     |                                           --------- borrow later used here
[INFO] [stdout]     |
[INFO] [stdout] help: consider using a `let` binding to create a longer lived value
[INFO] [stdout]     |
[INFO] [stdout] 168 ~     let binding = "AAAAA".repeat(100);
[INFO] [stdout] 169 ~     let test_data = binding.as_bytes();
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/main.rs:233:9
[INFO] [stdout]     |
[INFO] [stdout] 233 |     let mut node1 = Node::default();
[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/main.rs:234:9
[INFO] [stdout]     |
[INFO] [stdout] 234 |     let mut node2 = Node::default();
[INFO] [stdout]     |         ----^^^^^
[INFO] [stdout]     |         |
[INFO] [stdout]     |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to previous error; 14 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0716`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `s54` (bin "s54") due to 2 previous errors; 14 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "570190a7b8665c4ee4bc2fcd88ba4d367c1fa6b172eae683485dd439acc7a6ca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "570190a7b8665c4ee4bc2fcd88ba4d367c1fa6b172eae683485dd439acc7a6ca", kill_on_drop: false }`
[INFO] [stdout] 570190a7b8665c4ee4bc2fcd88ba4d367c1fa6b172eae683485dd439acc7a6ca
