[INFO] cloning repository https://github.com/S9n3x/c2-trojan-rust-function [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/S9n3x/c2-trojan-rust-function" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FS9n3x%2Fc2-trojan-rust-function", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FS9n3x%2Fc2-trojan-rust-function'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 94c7505d82599401181fdf83cc196834786b62af [INFO] checking S9n3x/c2-trojan-rust-function against master#b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd for pr-155501 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FS9n3x%2Fc2-trojan-rust-function" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/S9n3x/c2-trojan-rust-function [INFO] finished tweaking git repo https://github.com/S9n3x/c2-trojan-rust-function [INFO] tweaked toml for git repo https://github.com/S9n3x/c2-trojan-rust-function written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/S9n3x/c2-trojan-rust-function on toolchain b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/S9n3x/c2-trojan-rust-function 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" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "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 cc v1.2.50 [INFO] [stderr] Downloaded ntapi v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e5c6db664e75f5d34c74c723644c1f7f0eef9d5bc06440b1b37dd2dcfd012264 [INFO] running `Command { std: "docker" "start" "-a" "e5c6db664e75f5d34c74c723644c1f7f0eef9d5bc06440b1b37dd2dcfd012264", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e5c6db664e75f5d34c74c723644c1f7f0eef9d5bc06440b1b37dd2dcfd012264", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e5c6db664e75f5d34c74c723644c1f7f0eef9d5bc06440b1b37dd2dcfd012264", kill_on_drop: false }` [INFO] [stdout] e5c6db664e75f5d34c74c723644c1f7f0eef9d5bc06440b1b37dd2dcfd012264 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b2f1ccf524a3a4cf9c34545167cc23b659cf1cbd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27955fc6a416a288d03043c33fc3b7a18eba17fcdd1e5022d271ef0316cfff85 [INFO] running `Command { std: "docker" "start" "-a" "27955fc6a416a288d03043c33fc3b7a18eba17fcdd1e5022d271ef0316cfff85", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling libc v0.2.178 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling wayland-sys v0.30.1 [INFO] [stderr] Compiling zerocopy v0.8.31 [INFO] [stderr] Compiling quick-xml v0.28.2 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking gif v0.13.3 [INFO] [stderr] Compiling cc v1.2.50 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Compiling xcb v1.6.0 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Compiling wayland-backend v0.1.2 [INFO] [stderr] Compiling libdbus-sys v0.2.7 [INFO] [stderr] Compiling wayland-scanner v0.30.1 [INFO] [stderr] Checking nix v0.26.4 [INFO] [stderr] Checking memmap2 v0.7.1 [INFO] [stderr] Checking sysinfo v0.37.2 [INFO] [stderr] Checking jpeg-decoder v0.3.2 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Compiling zerocopy-derive v0.8.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking wayland-client v0.30.2 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking display-info v0.4.8 [INFO] [stderr] Checking wayland-protocols v0.30.1 [INFO] [stderr] Checking half v2.7.1 [INFO] [stderr] Checking dbus v0.9.10 [INFO] [stderr] Checking exr v1.74.0 [INFO] [stderr] Checking wayland-protocols-wlr v0.1.0 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Checking libwayshot v0.2.0 [INFO] [stderr] Checking screenshots v0.8.10 [INFO] [stderr] Checking c2-trojan-rust-function v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/proxy/mod.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | if let Err(e) = handle_client(client) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/proxy/mod.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let t1 = thread::spawn(move || io::copy(&mut client_clone, &mut target)); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/screenshot/mod.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let mut image = screen.capture().unwrap(); [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: function `command` is never used [INFO] [stdout] --> src/command/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn command() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `is_dir`, `size`, `path`, and `modified` are never read [INFO] [stdout] --> src/file_manager/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Files { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 7 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | is_dir: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | modified: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Files` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pid`, `name`, `user`, `cpu_usage`, and `memory_usage` are never read [INFO] [stdout] --> src/process_manager/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Process { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 5 | pid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | user: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | cpu_usage: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | memory_usage: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Process` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/proxy/mod.rs:15:32 [INFO] [stdout] | [INFO] [stdout] 15 | if let Err(e) = handle_client(client) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t1` [INFO] [stdout] --> src/proxy/mod.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let t1 = thread::spawn(move || io::copy(&mut client_clone, &mut target)); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_t1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/screenshot/mod.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let mut image = screen.capture().unwrap(); [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: function `command` is never used [INFO] [stdout] --> src/command/mod.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn command() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `is_dir`, `size`, `path`, and `modified` are never read [INFO] [stdout] --> src/file_manager/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Files { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 7 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | is_dir: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 9 | size: u64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | path: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 11 | modified: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Files` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pid`, `name`, `user`, `cpu_usage`, and `memory_usage` are never read [INFO] [stdout] --> src/process_manager/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Process { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 5 | pid: u32, [INFO] [stdout] | ^^^ [INFO] [stdout] 6 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 7 | user: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 8 | cpu_usage: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | memory_usage: u64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Process` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 27.83s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: screenshots v0.8.10 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 4` [INFO] running `Command { std: "docker" "inspect" "27955fc6a416a288d03043c33fc3b7a18eba17fcdd1e5022d271ef0316cfff85", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27955fc6a416a288d03043c33fc3b7a18eba17fcdd1e5022d271ef0316cfff85", kill_on_drop: false }` [INFO] [stdout] 27955fc6a416a288d03043c33fc3b7a18eba17fcdd1e5022d271ef0316cfff85