[INFO] cloning repository https://github.com/xtwist/cellularproxy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/xtwist/cellularproxy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxtwist%2Fcellularproxy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxtwist%2Fcellularproxy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d5d23a6fef4099b90a86ff97016fe932385ed078 [INFO] testing xtwist/cellularproxy against master#e9385f9eea0221ef295a188d49d16f8f5189abf1 for pr-146098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fxtwist%2Fcellularproxy" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain.toml [INFO] started tweaking git repo https://github.com/xtwist/cellularproxy [INFO] finished tweaking git repo https://github.com/xtwist/cellularproxy [INFO] tweaked toml for git repo https://github.com/xtwist/cellularproxy written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/xtwist/cellularproxy on toolchain e9385f9eea0221ef295a188d49d16f8f5189abf1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/xtwist/cellularproxy 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" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-targets v0.53.0 [INFO] [stderr] Downloaded slog-async v2.8.0 [INFO] [stderr] Downloaded tikv-jemallocator v0.6.0 [INFO] [stderr] Downloaded windows-registry v0.4.0 [INFO] [stderr] Downloaded slog-json v2.6.1 [INFO] [stderr] Downloaded c_linked_list v1.1.1 [INFO] [stderr] Downloaded tikv-jemalloc-ctl v0.6.0 [INFO] [stderr] Downloaded protobuf-support v3.7.2 [INFO] [stderr] Downloaded socks5-proto v0.4.1 [INFO] [stderr] Downloaded psl-types v2.0.11 [INFO] [stderr] Downloaded get_if_addrs v0.5.3 [INFO] [stderr] Downloaded sha1_smol v1.0.1 [INFO] [stderr] Downloaded derive_builder_core v0.20.2 [INFO] [stderr] Downloaded slog v2.7.0 [INFO] [stderr] Downloaded clap v4.5.38 [INFO] [stderr] Downloaded serde_path_to_error v0.1.17 [INFO] [stderr] Downloaded hyper-util v0.1.11 [INFO] [stderr] Downloaded publicsuffix v2.3.0 [INFO] [stderr] Downloaded quick-xml v0.20.0 [INFO] [stderr] Downloaded windows-strings v0.3.1 [INFO] [stderr] Downloaded clap_builder v4.5.38 [INFO] [stderr] Downloaded protobuf v3.7.2 [INFO] [stderr] Downloaded openssl v0.10.72 [INFO] [stderr] Downloaded reqwest v0.12.15 [INFO] [stderr] Downloaded cookie_store v0.21.1 [INFO] [stderr] Downloaded prometheus v0.14.0 [INFO] [stderr] Downloaded axum-core v0.5.2 [INFO] [stderr] Downloaded cookie v0.18.1 [INFO] [stderr] Downloaded quick-xml v0.37.5 [INFO] [stderr] Downloaded derive_builder_macro v0.20.2 [INFO] [stderr] Downloaded derive_builder v0.20.2 [INFO] [stderr] Downloaded gcc v0.3.55 [INFO] [stderr] Downloaded get_if_addrs-sys v0.1.1 [INFO] [stderr] Downloaded socks5-protocol v0.3.5 [INFO] [stderr] Downloaded hyper-rustls v0.27.5 [INFO] [stderr] Downloaded tikv-jemalloc-sys v0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7 [INFO] [stderr] Downloaded axum v0.8.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f37025a8d6d20e1b9d7cbcc3af13aa20965ff79fe3671deb4154f47123a732c7 [INFO] running `Command { std: "docker" "start" "-a" "f37025a8d6d20e1b9d7cbcc3af13aa20965ff79fe3671deb4154f47123a732c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f37025a8d6d20e1b9d7cbcc3af13aa20965ff79fe3671deb4154f47123a732c7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f37025a8d6d20e1b9d7cbcc3af13aa20965ff79fe3671deb4154f47123a732c7", kill_on_drop: false }` [INFO] [stdout] f37025a8d6d20e1b9d7cbcc3af13aa20965ff79fe3671deb4154f47123a732c7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e6ab882021919717677c6ca0a0ca7041f2cb031063b2212e60a65a9d30d6cf0 [INFO] running `Command { std: "docker" "start" "-a" "1e6ab882021919717677c6ca0a0ca7041f2cb031063b2212e60a65a9d30d6cf0", kill_on_drop: false }` [INFO] [stderr] Compiling cc v1.2.22 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling openssl v0.10.72 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling openssl-macros v0.1.1 [INFO] [stderr] Compiling cookie v0.18.1 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling rustversion v1.0.20 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling psl-types v2.0.11 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling protobuf v3.7.2 [INFO] [stderr] Compiling publicsuffix v2.3.0 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling openssl-sys v0.9.108 [INFO] [stderr] Compiling tikv-jemalloc-sys v0.6.0+5.3.0-1-ge13ca993e8ccb9ba9847cc330696e02839f328f7 [INFO] [stderr] Compiling protobuf-support v3.7.2 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling native-tls v0.2.14 [INFO] [stderr] Compiling prometheus v0.14.0 [INFO] [stderr] Compiling cookie_store v0.21.1 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling axum-core v0.5.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Compiling rustls-pemfile v2.2.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling serde_path_to_error v0.1.17 [INFO] [stderr] Compiling sha1_smol v1.0.1 [INFO] [stderr] Compiling c_linked_list v1.1.1 [INFO] [stderr] Compiling slog-async v2.8.0 [INFO] [stderr] Compiling clap_builder v4.5.38 [INFO] [stderr] Compiling get_if_addrs v0.5.3 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Compiling quick-xml v0.20.0 [INFO] [stderr] Compiling slog-json v2.6.1 [INFO] [stderr] Compiling quick-xml v0.37.5 [INFO] [stderr] Compiling tokio-util v0.7.15 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling h2 v0.4.10 [INFO] [stderr] Compiling socks5-proto v0.4.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.1 [INFO] [stderr] Compiling socks5-protocol v0.3.5 [INFO] [stderr] Compiling clap v4.5.38 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling hyper-tls v0.6.0 [INFO] [stderr] Compiling axum v0.8.4 [INFO] [stderr] Compiling reqwest v0.12.15 [INFO] [stderr] Compiling tikv-jemalloc-ctl v0.6.0 [INFO] [stderr] Compiling tikv-jemallocator v0.6.0 [INFO] [stderr] Compiling modem v0.1.0 (/opt/rustwide/workdir/modem) [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> modem/src/api.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | use slog::{error, info, Logger}; [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: `modem_huaweie337::HuaweiE337` [INFO] [stdout] --> modem/src/api.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | modem_huaweie337::HuaweiE337, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> modem/src/modem_huaweie337.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use base64::{decode as b64decode, encode as b64encode}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> modem/src/modem_huaweie337.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use base64::{decode as b64decode, encode as b64encode}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> modem/src/modem_huaweie337.rs:119:29 [INFO] [stdout] | [INFO] [stdout] 119 | let modulus_bytes = b64decode(&modulus).or_else(|_| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> modem/src/modem_huaweie337.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | b64decode(&exponent) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> modem/src/modem_huaweie337.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | Ok(b64encode(&encrypted)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `main` [INFO] [stdout] --> modem/src/api.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let main = get_default_interface() [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_main` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `logger` [INFO] [stdout] --> modem/src/socks5.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let logger = self.logger.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iface_map` [INFO] [stdout] --> modem/src/socks5.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let iface_map = self.iface_map.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iface_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encrypt_with_public_key` is never used [INFO] [stdout] --> modem/src/modem_huaweie337.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 22 | impl HuaweiE337 { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | async fn encrypt_with_public_key(&mut self, payload: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling proxymodem v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Router` and `routing::get` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::{Router, routing::get}; [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: `net::TcpListener` [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio::{net::TcpListener, sync::Mutex}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shutdown_metrics` [INFO] [stdout] --> src/main.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let shutdown_metrics = start_metrics_server( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown_metrics` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.89s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.20.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "1e6ab882021919717677c6ca0a0ca7041f2cb031063b2212e60a65a9d30d6cf0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e6ab882021919717677c6ca0a0ca7041f2cb031063b2212e60a65a9d30d6cf0", kill_on_drop: false }` [INFO] [stdout] 1e6ab882021919717677c6ca0a0ca7041f2cb031063b2212e60a65a9d30d6cf0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b5fb9222d7eb00c7e5841a4dc485a94b5c225db28e842aa535a51f074871bd9f [INFO] running `Command { std: "docker" "start" "-a" "b5fb9222d7eb00c7e5841a4dc485a94b5c225db28e842aa535a51f074871bd9f", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> modem/src/api.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | use slog::{error, info, Logger}; [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: `modem_huaweie337::HuaweiE337` [INFO] [stdout] --> modem/src/api.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | modem_huaweie337::HuaweiE337, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> modem/src/modem_huaweie337.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use base64::{decode as b64decode, encode as b64encode}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> modem/src/modem_huaweie337.rs:3:35 [INFO] [stdout] | [INFO] [stdout] 3 | use base64::{decode as b64decode, encode as b64encode}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> modem/src/modem_huaweie337.rs:119:29 [INFO] [stdout] | [INFO] [stdout] 119 | let modulus_bytes = b64decode(&modulus).or_else(|_| { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stdout] --> modem/src/modem_huaweie337.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | b64decode(&exponent) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stdout] --> modem/src/modem_huaweie337.rs:142:12 [INFO] [stdout] | [INFO] [stdout] 142 | Ok(b64encode(&encrypted)) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `main` [INFO] [stdout] --> modem/src/api.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | let main = get_default_interface() [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_main` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `logger` [INFO] [stdout] --> modem/src/socks5.rs:89:13 [INFO] [stdout] | [INFO] [stdout] 89 | let logger = self.logger.clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_logger` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `iface_map` [INFO] [stdout] --> modem/src/socks5.rs:90:13 [INFO] [stdout] | [INFO] [stdout] 90 | let iface_map = self.iface_map.clone(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iface_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `encrypt_with_public_key` is never used [INFO] [stdout] --> modem/src/modem_huaweie337.rs:89:14 [INFO] [stdout] | [INFO] [stdout] 22 | impl HuaweiE337 { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | async fn encrypt_with_public_key(&mut self, payload: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling proxymodem v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Router` and `routing::get` [INFO] [stdout] --> src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use axum::{Router, routing::get}; [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: `net::TcpListener` [INFO] [stdout] --> src/main.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use tokio::{net::TcpListener, sync::Mutex}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `shutdown_metrics` [INFO] [stdout] --> src/main.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | let shutdown_metrics = start_metrics_server( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown_metrics` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.49s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.20.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "b5fb9222d7eb00c7e5841a4dc485a94b5c225db28e842aa535a51f074871bd9f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5fb9222d7eb00c7e5841a4dc485a94b5c225db28e842aa535a51f074871bd9f", kill_on_drop: false }` [INFO] [stdout] b5fb9222d7eb00c7e5841a4dc485a94b5c225db28e842aa535a51f074871bd9f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+e9385f9eea0221ef295a188d49d16f8f5189abf1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 7cf2a32226847d08cde89cea4d8620462ee4014c5d9dd38b1b22e2d19a86c884 [INFO] running `Command { std: "docker" "start" "-a" "7cf2a32226847d08cde89cea4d8620462ee4014c5d9dd38b1b22e2d19a86c884", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `error` [INFO] [stderr] --> modem/src/api.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | use slog::{error, info, Logger}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `modem_huaweie337::HuaweiE337` [INFO] [stderr] --> modem/src/api.rs:22:5 [INFO] [stderr] | [INFO] [stderr] 22 | modem_huaweie337::HuaweiE337, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stderr] --> modem/src/modem_huaweie337.rs:3:14 [INFO] [stderr] | [INFO] [stderr] 3 | use base64::{decode as b64decode, encode as b64encode}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stderr] --> modem/src/modem_huaweie337.rs:3:35 [INFO] [stderr] | [INFO] [stderr] 3 | use base64::{decode as b64decode, encode as b64encode}; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stderr] --> modem/src/modem_huaweie337.rs:119:29 [INFO] [stderr] | [INFO] [stderr] 119 | let modulus_bytes = b64decode(&modulus).or_else(|_| { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::decode`: Use Engine::decode [INFO] [stderr] --> modem/src/modem_huaweie337.rs:126:13 [INFO] [stderr] | [INFO] [stderr] 126 | b64decode(&exponent) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `base64::encode`: Use Engine::encode [INFO] [stderr] --> modem/src/modem_huaweie337.rs:142:12 [INFO] [stderr] | [INFO] [stderr] 142 | Ok(b64encode(&encrypted)) [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `main` [INFO] [stderr] --> modem/src/api.rs:138:9 [INFO] [stderr] | [INFO] [stderr] 138 | let main = get_default_interface() [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_main` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `logger` [INFO] [stderr] --> modem/src/socks5.rs:89:13 [INFO] [stderr] | [INFO] [stderr] 89 | let logger = self.logger.clone(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_logger` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `iface_map` [INFO] [stderr] --> modem/src/socks5.rs:90:13 [INFO] [stderr] | [INFO] [stderr] 90 | let iface_map = self.iface_map.clone(); [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_iface_map` [INFO] [stderr] [INFO] [stderr] warning: method `encrypt_with_public_key` is never used [INFO] [stderr] --> modem/src/modem_huaweie337.rs:89:14 [INFO] [stderr] | [INFO] [stderr] 22 | impl HuaweiE337 { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 89 | async fn encrypt_with_public_key(&mut self, payload: &str) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `modem` (lib) generated 11 warnings (run `cargo fix --lib -p modem` to apply 2 suggestions) [INFO] [stderr] warning: unused imports: `Router` and `routing::get` [INFO] [stderr] --> src/main.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | use axum::{Router, routing::get}; [INFO] [stderr] | ^^^^^^ ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `net::TcpListener` [INFO] [stderr] --> src/main.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | use tokio::{net::TcpListener, sync::Mutex}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `shutdown_metrics` [INFO] [stderr] --> src/main.rs:111:9 [INFO] [stderr] | [INFO] [stderr] 111 | let shutdown_metrics = start_metrics_server( [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_shutdown_metrics` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `proxymodem` (bin "proxymodem" test) generated 3 warnings (run `cargo fix --bin "proxymodem" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: quick-xml v0.20.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/proxymodem-4bd21834b1f6ec16) [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" "7cf2a32226847d08cde89cea4d8620462ee4014c5d9dd38b1b22e2d19a86c884", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cf2a32226847d08cde89cea4d8620462ee4014c5d9dd38b1b22e2d19a86c884", kill_on_drop: false }` [INFO] [stdout] 7cf2a32226847d08cde89cea4d8620462ee4014c5d9dd38b1b22e2d19a86c884