[INFO] cloning repository https://github.com/vpopescu/syn-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vpopescu/syn-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvpopescu%2Fsyn-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvpopescu%2Fsyn-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e1dbc2ae8571bc5b3a5556a6486e859833218ec5 [INFO] testing vpopescu/syn-server against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvpopescu%2Fsyn-server" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vpopescu/syn-server [INFO] finished tweaking git repo https://github.com/vpopescu/syn-server [INFO] tweaked toml for git repo https://github.com/vpopescu/syn-server written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vpopescu/syn-server on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vpopescu/syn-server 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b132d90a7a4396fefceae52f5f6cdab7ecfd33f606455901b59d2ec85e5e075c [INFO] running `Command { std: "docker" "start" "-a" "b132d90a7a4396fefceae52f5f6cdab7ecfd33f606455901b59d2ec85e5e075c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b132d90a7a4396fefceae52f5f6cdab7ecfd33f606455901b59d2ec85e5e075c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b132d90a7a4396fefceae52f5f6cdab7ecfd33f606455901b59d2ec85e5e075c", kill_on_drop: false }` [INFO] [stdout] b132d90a7a4396fefceae52f5f6cdab7ecfd33f606455901b59d2ec85e5e075c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e39a3aa57f5fc6e4d2baff5cc6b534851b9ef486c5a222b08d7be879af74c549 [INFO] running `Command { std: "docker" "start" "-a" "e39a3aa57f5fc6e4d2baff5cc6b534851b9ef486c5a222b08d7be879af74c549", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling crunchy v0.2.2 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Compiling slog v2.7.0 [INFO] [stderr] Compiling indexmap v2.7.0 [INFO] [stderr] Compiling dirs-sys-next v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.135 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling winnow v0.6.24 [INFO] [stderr] Compiling time-macros v0.2.19 [INFO] [stderr] Compiling dirs-next v2.0.0 [INFO] [stderr] Compiling unicode-segmentation v1.12.0 [INFO] [stderr] Compiling slog-async v2.8.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling trim-in-place v0.1.7 [INFO] [stderr] Compiling arraydeque v0.5.1 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.14 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling term v0.7.0 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling is-terminal v0.4.13 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling const-random v0.1.18 [INFO] [stderr] Compiling take_mut v0.2.2 [INFO] [stderr] Compiling dlv-list v0.5.2 [INFO] [stderr] Compiling yaml-rust2 v0.9.0 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling rust-ini v0.21.1 [INFO] [stderr] Compiling time v0.3.37 [INFO] [stderr] Compiling slog-term v2.9.1 [INFO] [stderr] Compiling serde_derive v1.0.217 [INFO] [stderr] Compiling thiserror-impl v2.0.11 [INFO] [stderr] Compiling async-trait v0.1.85 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.43.0 [INFO] [stderr] Compiling thiserror v2.0.11 [INFO] [stderr] Compiling pest v2.7.15 [INFO] [stderr] Compiling pest_meta v2.7.15 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling pest_generator v2.7.15 [INFO] [stderr] Compiling pest_derive v2.7.15 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling json5 v0.4.1 [INFO] [stderr] Compiling ron v0.8.1 [INFO] [stderr] Compiling toml_edit v0.22.22 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling config v0.15.6 [INFO] [stderr] Compiling syn-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `SimpleAuth` [INFO] [stdout] --> src/stun/processor.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::auth::{Auth, SimpleAuth}; [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: `os::linux::raw` [INFO] [stdout] --> src/stun/bindreq.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{os::linux::raw, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::attribute_type::ATTR_XOR_MAPPED_ADDRESS` [INFO] [stdout] --> src/stun/defs.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::attribute_type::ATTR_XOR_MAPPED_ADDRESS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::os::linux::raw`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [INFO] [stdout] --> src/stun/bindreq.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{os::linux::raw, sync::Arc}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `auth` is never read [INFO] [stdout] --> src/stun/processor.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) struct StunMessageProcessor { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | auth: Option [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StunMessageProcessor` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/stun/bindreq.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 29 | pub(crate) struct StunBindingRequest { [INFO] [stdout] | ------------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 34 | pub mapped_address: Option<[u8; 8]>, // Optional: Mapped Address attribute [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub username: Option, // Optional: Username attribute [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 36 | pub message_integrity: Option<[u8; 20]>, // Optional: Message Integrity attribute [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | pub change_request: Option<[u8; 4]>, // Optional: Change Request attribute [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 38 | pub error_code: Option<(u16, String)>, // Optional: Error Code attribute [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 39 | pub unknown_attributes: Option>, // Optional: Unknown Attributes attribute [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | pub realm: Option, // Optional: Realm attribute [INFO] [stdout] | ^^^^^ [INFO] [stdout] 41 | pub nonce: Option, // Optional: Nonce attribute [INFO] [stdout] | ^^^^^ [INFO] [stdout] 42 | pub xor_mapped_address: Option<[u8; 8]>, // Optional: XOR-Mapped Address attribute [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | pub software: Option, // Optional: Software attribute [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 44 | pub alternate_server: Option<[u8; 8]>, // Optional: Alternate Server attribute [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StunBindingRequest` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_local_fingerprint` is never used [INFO] [stdout] --> src/stun/util.rs:23:15 [INFO] [stdout] | [INFO] [stdout] 23 | pub(crate) fn get_local_fingerprint( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_attribute_index` is never used [INFO] [stdout] --> src/stun/util.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn get_attribute_index(attr_type: u16, message: &[u8]) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `authenticate` is never used [INFO] [stdout] --> src/auth/mod.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub (crate) trait Auth { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] 2 | fn authenticate(&self, realm: Option, username: &str, password: &str) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `realm`, `username`, and `password` are never read [INFO] [stdout] --> src/auth/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub (crate) struct SimpleAuth { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 7 | realm: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleAuth` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 52.52s [INFO] running `Command { std: "docker" "inspect" "e39a3aa57f5fc6e4d2baff5cc6b534851b9ef486c5a222b08d7be879af74c549", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e39a3aa57f5fc6e4d2baff5cc6b534851b9ef486c5a222b08d7be879af74c549", kill_on_drop: false }` [INFO] [stdout] e39a3aa57f5fc6e4d2baff5cc6b534851b9ef486c5a222b08d7be879af74c549 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4f005e9a834e466f0c429d58304c6787045094a5f5da3e894cfd59139e5da300 [INFO] running `Command { std: "docker" "start" "-a" "4f005e9a834e466f0c429d58304c6787045094a5f5da3e894cfd59139e5da300", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling sdd v3.0.5 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling scc v2.3.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling zerocopy v0.7.35 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling ppv-lite86 v0.2.20 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling hashlink v0.8.4 [INFO] [stderr] Compiling ordered-multimap v0.7.3 [INFO] [stderr] Compiling rust-ini v0.21.1 [INFO] [stderr] Compiling yaml-rust2 v0.9.0 [INFO] [stderr] Compiling config v0.15.6 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling serial_test v3.2.0 [INFO] [stderr] Compiling syn-server v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `SimpleAuth` [INFO] [stdout] --> src/stun/processor.rs:9:25 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::auth::{Auth, SimpleAuth}; [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: `os::linux::raw` [INFO] [stdout] --> src/stun/bindreq.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{os::linux::raw, sync::Arc}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::attribute_type::ATTR_XOR_MAPPED_ADDRESS` [INFO] [stdout] --> src/stun/defs.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use super::attribute_type::ATTR_XOR_MAPPED_ADDRESS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::os::linux::raw`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [INFO] [stdout] --> src/stun/bindreq.rs:7:22 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{os::linux::raw, sync::Arc}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `auth` is never read [INFO] [stdout] --> src/stun/processor.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 42 | pub(crate) struct StunMessageProcessor { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 45 | auth: Option [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StunMessageProcessor` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `authenticate` is never used [INFO] [stdout] --> src/auth/mod.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub (crate) trait Auth { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] 2 | fn authenticate(&self, realm: Option, username: &str, password: &str) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `realm`, `username`, and `password` are never read [INFO] [stdout] --> src/auth/mod.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub (crate) struct SimpleAuth { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 7 | realm: Option, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 8 | username: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | password: String, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `SimpleAuth` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 20.03s [INFO] running `Command { std: "docker" "inspect" "4f005e9a834e466f0c429d58304c6787045094a5f5da3e894cfd59139e5da300", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f005e9a834e466f0c429d58304c6787045094a5f5da3e894cfd59139e5da300", kill_on_drop: false }` [INFO] [stdout] 4f005e9a834e466f0c429d58304c6787045094a5f5da3e894cfd59139e5da300 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] ab3e5e40153e8355b8216eb4536001137f6cbf59d6e49074ac255829a7d2e97c [INFO] running `Command { std: "docker" "start" "-a" "ab3e5e40153e8355b8216eb4536001137f6cbf59d6e49074ac255829a7d2e97c", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `SimpleAuth` [INFO] [stderr] --> src/stun/processor.rs:9:25 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::auth::{Auth, SimpleAuth}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `os::linux::raw` [INFO] [stderr] --> src/stun/bindreq.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | use std::{os::linux::raw, sync::Arc}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::attribute_type::ATTR_XOR_MAPPED_ADDRESS` [INFO] [stderr] --> src/stun/defs.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use super::attribute_type::ATTR_XOR_MAPPED_ADDRESS; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated module `std::os::linux::raw`: these type aliases are no longer supported by the standard library, the `libc` crate on crates.io should be used instead for the correct definitions [INFO] [stderr] --> src/stun/bindreq.rs:7:22 [INFO] [stderr] | [INFO] [stderr] 7 | use std::{os::linux::raw, sync::Arc}; [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `auth` is never read [INFO] [stderr] --> src/stun/processor.rs:45:5 [INFO] [stderr] | [INFO] [stderr] 42 | pub(crate) struct StunMessageProcessor { [INFO] [stderr] | -------------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 45 | auth: Option [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StunMessageProcessor` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: method `authenticate` is never used [INFO] [stderr] --> src/auth/mod.rs:2:8 [INFO] [stderr] | [INFO] [stderr] 1 | pub (crate) trait Auth { [INFO] [stderr] | ---- method in this trait [INFO] [stderr] 2 | fn authenticate(&self, realm: Option, username: &str, password: &str) -> bool; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `realm`, `username`, and `password` are never read [INFO] [stderr] --> src/auth/mod.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 6 | pub (crate) struct SimpleAuth { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 7 | realm: Option, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 8 | username: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 9 | password: String, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `SimpleAuth` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `syn-server` (bin "syn-server" test) generated 7 warnings (run `cargo fix --bin "syn-server" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/syn_server-028303fe267fb2df) [INFO] [stdout] [INFO] [stdout] running 31 tests [INFO] [stdout] test config::tests::test_compliance_invalid ... ok [INFO] [stdout] test config::tests::test_compliance_none ... ok [INFO] [stdout] test config::tests::test_compliance_rfc8489 ... ok [INFO] [stdout] test config::tests::test_compliance_rfc5780 ... ok [INFO] [stdout] test config::tests::test_disable_udp_variable_num2 ... ok [INFO] [stdout] test config::tests::test_disable_udp_variable_num ... ok [INFO] [stdout] test config::tests::test_environment_variable_dev ... ok [INFO] [stdout] test config::tests::test_environment_variable_garbage ... ok [INFO] [stdout] test config::tests::test_environment_variable_none ... ok [INFO] [stdout] test config::tests::test_compliance_rfc5389 ... ok [INFO] [stdout] test config::tests::test_environment_variable_stg ... ok [INFO] [stdout] test config::tests::test_disable_udp_variable_bool2 ... ok [INFO] [stdout] test config::tests::test_udp_bind_address_variable ... ok [INFO] [stdout] test config::tests::test_compliance_relaxed ... ok [INFO] [stdout] test config::tests::test_log_level_combinations ... ok [INFO] [stdout] test config::tests::test_log_level_none_none ... ok [INFO] [stdout] test stun::bindreq::tests::test_stun_binding_request_initialization ... ok [INFO] [stdout] test stun::bindresp::tests::test_get_mapped_address_v6 ... ok [INFO] [stdout] test config::tests::test_tcp_bind_address_variable ... ok [INFO] [stdout] test stun::bindresp::tests::test_get_xor_mapped_address_v6 ... ok [INFO] [stdout] test stun::bindreq::tests::test_deserializer ... ok [INFO] [stdout] test stun::bindresp::tests::test_serialize_error ... ok [INFO] [stdout] test stun::bindresp::tests::test_serialize_non_error ... ok [INFO] [stdout] test config::tests::test_environment_variable_prod ... ok [INFO] [stdout] test stun::bindresp::tests::test_get_mapped_address_v4 ... ok [INFO] [stdout] test config::tests::test_log_level_trace ... ok [INFO] [stdout] test stun::util::tests::test_get_fingerpint ... ok [INFO] [stdout] test config::tests::test_disable_udp_variable_bool ... ok [INFO] [stdout] test stun::util::tests::test_calculate_fingerprint ... ok [INFO] [stdout] test stun::bindreq::tests::test_stun_binding_request_fingerprint ... ok [INFO] [stdout] test stun::bindresp::tests::test_get_xor_mapped_address_v4 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 31 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ab3e5e40153e8355b8216eb4536001137f6cbf59d6e49074ac255829a7d2e97c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab3e5e40153e8355b8216eb4536001137f6cbf59d6e49074ac255829a7d2e97c", kill_on_drop: false }` [INFO] [stdout] ab3e5e40153e8355b8216eb4536001137f6cbf59d6e49074ac255829a7d2e97c