[INFO] cloning repository https://github.com/j0rGeT/c2-debug [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/j0rGeT/c2-debug" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj0rGeT%2Fc2-debug", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj0rGeT%2Fc2-debug'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 436b2208a20ce0cb8838002eee4a98c745b889cb [INFO] testing j0rGeT/c2-debug against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fj0rGeT%2Fc2-debug" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/j0rGeT/c2-debug [INFO] finished tweaking git repo https://github.com/j0rGeT/c2-debug [INFO] tweaked toml for git repo https://github.com/j0rGeT/c2-debug written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/j0rGeT/c2-debug on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/j0rGeT/c2-debug 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" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 65636dc35145370e4abf53ac97768a87dc7dd436ac65f8855b3230b814d4b946 [INFO] running `Command { std: "docker" "start" "-a" "65636dc35145370e4abf53ac97768a87dc7dd436ac65f8855b3230b814d4b946", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "65636dc35145370e4abf53ac97768a87dc7dd436ac65f8855b3230b814d4b946", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65636dc35145370e4abf53ac97768a87dc7dd436ac65f8855b3230b814d4b946", kill_on_drop: false }` [INFO] [stdout] 65636dc35145370e4abf53ac97768a87dc7dd436ac65f8855b3230b814d4b946 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad9731211eee770ef6bb7a06d579f5327b5e03a2a364c91b4d1aeb3fffa9c056 [INFO] running `Command { std: "docker" "start" "-a" "ad9731211eee770ef6bb7a06d579f5327b5e03a2a364c91b4d1aeb3fffa9c056", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling find-msvc-tools v0.1.0 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling percent-encoding v2.3.2 [INFO] [stderr] Compiling slab v0.4.11 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling inout v0.1.4 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling base64 v0.21.7 [INFO] [stderr] Compiling opaque-debug v0.3.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling cc v1.2.35 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling openssl v0.10.73 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling clap_builder v4.5.46 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling polyval v0.6.2 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ctr v0.9.2 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling aes v0.8.4 [INFO] [stderr] Compiling ghash v0.5.1 [INFO] [stderr] Compiling openssl-sys v0.9.109 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling dlv-list v0.3.0 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling aes-gcm v0.10.3 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling ordered-multimap v0.4.3 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling headers v0.3.9 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling scrap v0.5.0 [INFO] [stderr] Compiling linked-hash-map v0.5.6 [INFO] [stderr] Compiling rust-ini v0.18.0 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling rustls-pemfile v1.0.4 [INFO] [stderr] Compiling block v0.1.6 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling whoami v1.6.1 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling sysinfo v0.29.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling clap_derive v4.5.45 [INFO] [stderr] Compiling pin-project-internal v1.1.10 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling pin-project v1.1.10 [INFO] [stderr] Compiling clap v4.5.46 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling pest v2.8.1 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling pest_meta v2.8.1 [INFO] [stderr] Compiling pest_generator v2.8.1 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling pest_derive v2.8.1 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling uuid v1.18.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling toml v0.5.11 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling ron v0.7.1 [INFO] [stderr] Compiling neli-proc-macros v0.1.4 [INFO] [stderr] Compiling tokio-util v0.7.16 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling tungstenite v0.20.1 [INFO] [stderr] Compiling neli v0.6.5 [INFO] [stderr] Compiling handlebars v4.5.0 [INFO] [stderr] Compiling config v0.13.4 [INFO] [stderr] Compiling h2 v0.3.27 [INFO] [stderr] Compiling tokio-tungstenite v0.20.1 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling c2-common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stderr] Compiling local-ip-address v0.6.5 [INFO] [stderr] Compiling c2-client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stderr] Compiling hyper v0.14.32 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling warp v0.3.7 [INFO] [stderr] Compiling reqwest v0.11.27 [INFO] [stderr] Compiling c2-web v0.1.0 (/opt/rustwide/workdir/web) [INFO] [stderr] Compiling c2-server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stdout] warning: unused import: `generate_key` [INFO] [stdout] --> server/src/main.rs:9:56 [INFO] [stdout] | [INFO] [stdout] 9 | use c2_common::{Crypto, ClientInfo, Command, Response, generate_key}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> server/src/main.rs:312:39 [INFO] [stdout] | [INFO] [stdout] 312 | let base64_data = base64::encode(screenshot_data); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> server/src/main.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | state: &Arc, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_heartbeat` is never read [INFO] [stdout] --> server/src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct ClientState { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 13 | info: ClientInfo, [INFO] [stdout] 14 | last_heartbeat: SystemTime, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_heartbeat` is never used [INFO] [stdout] --> server/src/main.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 34 | impl AppState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | async fn update_heartbeat(&self, client_id: Uuid) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "ad9731211eee770ef6bb7a06d579f5327b5e03a2a364c91b4d1aeb3fffa9c056", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad9731211eee770ef6bb7a06d579f5327b5e03a2a364c91b4d1aeb3fffa9c056", kill_on_drop: false }` [INFO] [stdout] ad9731211eee770ef6bb7a06d579f5327b5e03a2a364c91b4d1aeb3fffa9c056 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b1e4f5097cac8298169fc541f521fe007baefd0d0f47f93c687dda2dd7c5546 [INFO] running `Command { std: "docker" "start" "-a" "0b1e4f5097cac8298169fc541f521fe007baefd0d0f47f93c687dda2dd7c5546", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling c2-common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stderr] Compiling c2-web v0.1.0 (/opt/rustwide/workdir/web) [INFO] [stderr] Compiling c2-client v0.1.0 (/opt/rustwide/workdir/client) [INFO] [stderr] Compiling c2-server v0.1.0 (/opt/rustwide/workdir/server) [INFO] [stdout] warning: unused import: `generate_key` [INFO] [stdout] --> server/src/main.rs:9:56 [INFO] [stdout] | [INFO] [stdout] 9 | use c2_common::{Crypto, ClientInfo, Command, Response, generate_key}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> server/src/main.rs:312:39 [INFO] [stdout] | [INFO] [stdout] 312 | let base64_data = base64::encode(screenshot_data); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> server/src/main.rs:185:5 [INFO] [stdout] | [INFO] [stdout] 185 | state: &Arc, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_heartbeat` is never read [INFO] [stdout] --> server/src/main.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 12 | struct ClientState { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 13 | info: ClientInfo, [INFO] [stdout] 14 | last_heartbeat: SystemTime, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_heartbeat` is never used [INFO] [stdout] --> server/src/main.rs:67:14 [INFO] [stdout] | [INFO] [stdout] 34 | impl AppState { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | async fn update_heartbeat(&self, client_id: Uuid) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.70s [INFO] running `Command { std: "docker" "inspect" "0b1e4f5097cac8298169fc541f521fe007baefd0d0f47f93c687dda2dd7c5546", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b1e4f5097cac8298169fc541f521fe007baefd0d0f47f93c687dda2dd7c5546", kill_on_drop: false }` [INFO] [stdout] 0b1e4f5097cac8298169fc541f521fe007baefd0d0f47f93c687dda2dd7c5546 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 838819db2709725cb90e8ad04e60a091000d5702341bec5bf9f1ce515554c2cc [INFO] running `Command { std: "docker" "start" "-a" "838819db2709725cb90e8ad04e60a091000d5702341bec5bf9f1ce515554c2cc", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] warning: unused import: `generate_key` [INFO] [stderr] --> server/src/main.rs:9:56 [INFO] [stderr] | [INFO] [stderr] 9 | use c2_common::{Crypto, ClientInfo, Command, Response, generate_key}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stderr] --> server/src/main.rs:312:39 [INFO] [stderr] | [INFO] [stderr] 312 | let base64_data = base64::encode(screenshot_data); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> server/src/main.rs:185:5 [INFO] [stderr] | [INFO] [stderr] 185 | state: &Arc, [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: field `last_heartbeat` is never read [INFO] [stderr] --> server/src/main.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 12 | struct ClientState { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 13 | info: ClientInfo, [INFO] [stderr] 14 | last_heartbeat: SystemTime, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `update_heartbeat` is never used [INFO] [stderr] --> server/src/main.rs:67:14 [INFO] [stderr] | [INFO] [stderr] 34 | impl AppState { [INFO] [stderr] | ------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 67 | async fn update_heartbeat(&self, client_id: Uuid) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `c2-server` (bin "c2-server" test) generated 5 warnings (run `cargo fix --bin "c2-server" -p c2-server --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/c2_client-d531d3848072725d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/c2_common-8d3d7c0fcb66387a) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test payload::tests::test_target_formatting ... ok [INFO] [stdout] test tests::test_encryption_decryption ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/payload_gen.rs (/opt/rustwide/target/debug/deps/payload_gen-3bb186800eacf948) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/c2_server-63a242d903efee30) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/c2_web-39bd4805a9ae96bf) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stderr] Doc-tests c2_common [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "838819db2709725cb90e8ad04e60a091000d5702341bec5bf9f1ce515554c2cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "838819db2709725cb90e8ad04e60a091000d5702341bec5bf9f1ce515554c2cc", kill_on_drop: false }` [INFO] [stdout] 838819db2709725cb90e8ad04e60a091000d5702341bec5bf9f1ce515554c2cc