[INFO] cloning repository https://github.com/Rolledm/sip-server-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Rolledm/sip-server-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRolledm%2Fsip-server-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRolledm%2Fsip-server-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cce706e1290f8001c18294b4eb8addcdac17f334 [INFO] testing Rolledm/sip-server-rust against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_getrandom_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRolledm%2Fsip-server-rust" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Rolledm/sip-server-rust [INFO] finished tweaking git repo https://github.com/Rolledm/sip-server-rust [INFO] tweaked toml for git repo https://github.com/Rolledm/sip-server-rust written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Rolledm/sip-server-rust on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Rolledm/sip-server-rust 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded webpki v0.21.2 [INFO] [stderr] Downloaded sip_rld v0.3.5 [INFO] [stderr] Downloaded enum-as-inner v0.3.2 [INFO] [stderr] Downloaded typed-builder v0.3.0 [INFO] [stderr] Downloaded md-5 v0.8.0 [INFO] [stderr] Downloaded async-trait v0.1.30 [INFO] [stderr] Downloaded serde_with_macros v1.1.0 [INFO] [stderr] Downloaded serde_with v1.4.0 [INFO] [stderr] Downloaded trust-dns-resolver v0.19.5 [INFO] [stderr] Downloaded os_info v1.3.3 [INFO] [stderr] Downloaded trust-dns-proto v0.19.5 [INFO] [stderr] Downloaded webpki-roots v0.18.0 [INFO] [stderr] Downloaded mongodb v0.9.2 [INFO] [stderr] Downloaded backtrace-sys v0.1.36 [INFO] [stderr] Downloaded ring v0.16.12 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd127c357f4fd79c9dad59aa093a81815520d0a366bee0485c6f2e03c1ae482a [INFO] running `Command { std: "docker" "start" "-a" "dd127c357f4fd79c9dad59aa093a81815520d0a366bee0485c6f2e03c1ae482a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd127c357f4fd79c9dad59aa093a81815520d0a366bee0485c6f2e03c1ae482a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd127c357f4fd79c9dad59aa093a81815520d0a366bee0485c6f2e03c1ae482a", kill_on_drop: false }` [INFO] [stdout] dd127c357f4fd79c9dad59aa093a81815520d0a366bee0485c6f2e03c1ae482a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 4ee05a3891406eb6bef559e04085bdcb44e9e66481683b5d611440a60acae59f [INFO] running `Command { std: "docker" "start" "-a" "4ee05a3891406eb6bef559e04085bdcb44e9e66481683b5d611440a60acae59f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling smallvec v1.4.0 [INFO] [stderr] Compiling ring v0.16.12 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling backtrace-sys v0.1.36 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling futures-task v0.3.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling bytes v0.5.4 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling os_info v1.3.3 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling rand v0.5.6 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling sha2 v0.8.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling md5 v0.6.1 [INFO] [stderr] Compiling stringprep v0.1.2 [INFO] [stderr] Compiling typed-builder v0.3.0 [INFO] [stderr] Compiling derivative v1.0.4 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling md-5 v0.8.0 [INFO] [stderr] Compiling tokio v0.2.20 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling bufstream v0.1.4 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling sip_rld v0.3.5 [INFO] [stderr] Compiling pbkdf2 v0.3.0 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling webpki v0.21.2 [INFO] [stderr] Compiling sct v0.6.0 [INFO] [stderr] Compiling rustls v0.16.0 [INFO] [stderr] Compiling webpki-roots v0.18.0 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling thiserror-impl v1.0.16 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.2 [INFO] [stderr] Compiling async-trait v0.1.30 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling serde_with_macros v1.1.0 [INFO] [stderr] Compiling proc-macro-error v1.0.2 [INFO] [stderr] Compiling err-derive v0.2.4 [INFO] [stderr] Compiling thiserror v1.0.16 [INFO] [stderr] Compiling trust-dns-proto v0.19.5 [INFO] [stderr] Compiling trust-dns-resolver v0.19.5 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling serde_json v1.0.52 [INFO] [stderr] Compiling serde_with v1.4.0 [INFO] [stderr] Compiling bson v0.14.1 [INFO] [stderr] Compiling mongodb v0.9.2 [INFO] [stderr] Compiling sip_server v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/sip.rs:45:66 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn on_sip_invite_received(mut message: sip_rld::Message, mut stream: TcpStream) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sip.rs:45:62 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn on_sip_invite_received(mut message: sip_rld::Message, mut stream: TcpStream) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/sip.rs:63:67 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn on_sip_ringing_received(mut message: sip_rld::Message, mut stream: TcpStream) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sip.rs:63:63 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn on_sip_ringing_received(mut message: sip_rld::Message, mut stream: TcpStream) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/sip.rs:81:62 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn on_sip_ok_received(mut message: sip_rld::Message, mut stream: TcpStream) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sip.rs:81:58 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn on_sip_ok_received(mut message: sip_rld::Message, mut stream: TcpStream) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let client = Client::with_options(client_options).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Warning`, `Error`, and `Fatal` are never constructed [INFO] [stdout] --> src/logger.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Severity { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | Warning, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | Fatal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Severity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `users` is never read [INFO] [stdout] --> src/users_collection.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Users { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 13 | pub users: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Users` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `init` and `get_instance` are never used [INFO] [stdout] --> src/users_collection.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Users { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 17 | pub fn init() { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn get_instance() -> &'static Mutex> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.95s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bson v0.14.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "4ee05a3891406eb6bef559e04085bdcb44e9e66481683b5d611440a60acae59f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ee05a3891406eb6bef559e04085bdcb44e9e66481683b5d611440a60acae59f", kill_on_drop: false }` [INFO] [stdout] 4ee05a3891406eb6bef559e04085bdcb44e9e66481683b5d611440a60acae59f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 82877c69cde38ab87fcb5fda7249863047517edcef0877c4404d8efd233b2579 [INFO] running `Command { std: "docker" "start" "-a" "82877c69cde38ab87fcb5fda7249863047517edcef0877c4404d8efd233b2579", kill_on_drop: false }` [INFO] [stderr] Compiling sip_server v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/sip.rs:45:66 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn on_sip_invite_received(mut message: sip_rld::Message, mut stream: TcpStream) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sip.rs:45:62 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn on_sip_invite_received(mut message: sip_rld::Message, mut stream: TcpStream) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/sip.rs:63:67 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn on_sip_ringing_received(mut message: sip_rld::Message, mut stream: TcpStream) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sip.rs:63:63 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn on_sip_ringing_received(mut message: sip_rld::Message, mut stream: TcpStream) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `stream` [INFO] [stdout] --> src/sip.rs:81:62 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn on_sip_ok_received(mut message: sip_rld::Message, mut stream: TcpStream) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sip.rs:81:58 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn on_sip_ok_received(mut message: sip_rld::Message, mut stream: TcpStream) { [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client` [INFO] [stdout] --> src/main.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let client = Client::with_options(client_options).unwrap(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Warning`, `Error`, and `Fatal` are never constructed [INFO] [stdout] --> src/logger.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 12 | pub enum Severity { [INFO] [stdout] | -------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 15 | Warning, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 16 | Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | Fatal, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Severity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `users` is never read [INFO] [stdout] --> src/users_collection.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct Users { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 13 | pub users: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Users` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `init` and `get_instance` are never used [INFO] [stdout] --> src/users_collection.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Users { [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 17 | pub fn init() { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn get_instance() -> &'static Mutex> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.83s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bson v0.14.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "82877c69cde38ab87fcb5fda7249863047517edcef0877c4404d8efd233b2579", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82877c69cde38ab87fcb5fda7249863047517edcef0877c4404d8efd233b2579", kill_on_drop: false }` [INFO] [stdout] 82877c69cde38ab87fcb5fda7249863047517edcef0877c4404d8efd233b2579 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 834cc0abefc82b80844145985ec0ecccf387a63379154d37b6e15fb404e14e38 [INFO] running `Command { std: "docker" "start" "-a" "834cc0abefc82b80844145985ec0ecccf387a63379154d37b6e15fb404e14e38", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `stream` [INFO] [stderr] --> src/sip.rs:45:66 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn on_sip_invite_received(mut message: sip_rld::Message, mut stream: TcpStream) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/sip.rs:45:62 [INFO] [stderr] | [INFO] [stderr] 45 | pub fn on_sip_invite_received(mut message: sip_rld::Message, mut stream: TcpStream) { [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stream` [INFO] [stderr] --> src/sip.rs:63:67 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn on_sip_ringing_received(mut message: sip_rld::Message, mut stream: TcpStream) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/sip.rs:63:63 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn on_sip_ringing_received(mut message: sip_rld::Message, mut stream: TcpStream) { [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `stream` [INFO] [stderr] --> src/sip.rs:81:62 [INFO] [stderr] | [INFO] [stderr] 81 | pub fn on_sip_ok_received(mut message: sip_rld::Message, mut stream: TcpStream) { [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_stream` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/sip.rs:81:58 [INFO] [stderr] | [INFO] [stderr] 81 | pub fn on_sip_ok_received(mut message: sip_rld::Message, mut stream: TcpStream) { [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `client` [INFO] [stderr] --> src/main.rs:20:9 [INFO] [stderr] | [INFO] [stderr] 20 | let client = Client::with_options(client_options).unwrap(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_client` [INFO] [stderr] [INFO] [stderr] warning: variants `Warning`, `Error`, and `Fatal` are never constructed [INFO] [stderr] --> src/logger.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 12 | pub enum Severity { [INFO] [stderr] | -------- variants in this enum [INFO] [stderr] ... [INFO] [stderr] 15 | Warning, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 16 | Error, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 17 | Fatal, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Severity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field `users` is never read [INFO] [stderr] --> src/users_collection.rs:13:9 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct Users { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] 13 | pub users: HashMap, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Users` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated functions `init` and `get_instance` are never used [INFO] [stderr] --> src/users_collection.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 16 | impl Users { [INFO] [stderr] | ---------- associated functions in this implementation [INFO] [stderr] 17 | pub fn init() { [INFO] [stderr] | ^^^^ [INFO] [stderr] ... [INFO] [stderr] 28 | pub fn get_instance() -> &'static Mutex> { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `sip_server` (bin "sip_server" test) generated 10 warnings (run `cargo fix --bin "sip_server" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bson v0.14.1 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/sip_server-4a4b0634d974316c) [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" "834cc0abefc82b80844145985ec0ecccf387a63379154d37b6e15fb404e14e38", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "834cc0abefc82b80844145985ec0ecccf387a63379154d37b6e15fb404e14e38", kill_on_drop: false }` [INFO] [stdout] 834cc0abefc82b80844145985ec0ecccf387a63379154d37b6e15fb404e14e38