[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] building Rolledm/sip-server-rust against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRolledm%2Fsip-server-rust" "/workspace/builds/worker-3/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Rolledm/sip-server-rust on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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-3/source/Cargo.toml
[INFO] crate git repo https://github.com/Rolledm/sip-server-rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] [stderr] Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] fa563c9d9b008fbfa0bc0c9c67d936a3076487952b2478d6d5d74120efa6b075
[INFO] running `Command { std: "docker" "start" "-a" "fa563c9d9b008fbfa0bc0c9c67d936a3076487952b2478d6d5d74120efa6b075", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "fa563c9d9b008fbfa0bc0c9c67d936a3076487952b2478d6d5d74120efa6b075", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fa563c9d9b008fbfa0bc0c9c67d936a3076487952b2478d6d5d74120efa6b075", kill_on_drop: false }`
[INFO] [stdout] fa563c9d9b008fbfa0bc0c9c67d936a3076487952b2478d6d5d74120efa6b075
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] aa55fd5955fc66f062f1495a400cfff367169b1273ee9597355adaffdaebad06
[INFO] running `Command { std: "docker" "start" "-a" "aa55fd5955fc66f062f1495a400cfff367169b1273ee9597355adaffdaebad06", kill_on_drop: false }`
[INFO] [stderr] Compiling libc v0.2.69
[INFO] [stderr] Compiling proc-macro2 v1.0.10
[INFO] [stderr] Compiling unicode-xid v0.2.0
[INFO] [stderr] Compiling syn v1.0.18
[INFO] [stderr] Compiling cfg-if v0.1.10
[INFO] [stderr] Compiling cc v1.0.52
[INFO] [stderr] Compiling autocfg v1.0.0
[INFO] [stderr] Compiling lazy_static v1.4.0
[INFO] [stderr] Compiling byteorder v1.3.4
[INFO] [stderr] Compiling typenum v1.12.0
[INFO] [stderr] Compiling memchr v2.3.3
[INFO] [stderr] Compiling getrandom v0.1.14
[INFO] [stderr] Compiling log v0.4.8
[INFO] [stderr] Compiling version_check v0.9.1
[INFO] [stderr] Compiling byte-tools v0.3.1
[INFO] [stderr] Compiling slab v0.4.2
[INFO] [stderr] Compiling proc-macro2 v0.4.30
[INFO] [stderr] Compiling serde v1.0.106
[INFO] [stderr] Compiling matches v0.1.8
[INFO] [stderr] Compiling smallvec v1.4.0
[INFO] [stderr] Compiling untrusted v0.7.1
[INFO] [stderr] Compiling rustversion v1.0.2
[INFO] [stderr] Compiling futures-sink v0.3.4
[INFO] [stderr] Compiling unicode-xid v0.1.0
[INFO] [stderr] Compiling spin v0.5.2
[INFO] [stderr] Compiling ppv-lite86 v0.2.6
[INFO] [stderr] Compiling futures-core v0.3.4
[INFO] [stderr] Compiling ryu v1.0.4
[INFO] [stderr] Compiling unicode-segmentation v1.6.0
[INFO] [stderr] Compiling pin-utils v0.1.0
[INFO] [stderr] Compiling opaque-debug v0.2.3
[INFO] [stderr] Compiling futures-task v0.3.4
[INFO] [stderr] Compiling syn v0.15.44
[INFO] [stderr] Compiling futures-io v0.3.4
[INFO] [stderr] Compiling bytes v0.5.4
[INFO] [stderr] Compiling rand_core v0.4.2
[INFO] [stderr] Compiling linked-hash-map v0.5.2
[INFO] [stderr] Compiling fake-simd v0.1.2
[INFO] [stderr] Compiling rustc-demangle v0.1.16
[INFO] [stderr] Compiling match_cfg v0.1.0
[INFO] [stderr] Compiling percent-encoding v2.1.0
[INFO] [stderr] Compiling pin-project-lite v0.1.4
[INFO] [stderr] Compiling subtle v1.0.0
[INFO] [stderr] Compiling os_info v1.3.3
[INFO] [stderr] Compiling itoa v0.4.5
[INFO] [stderr] Compiling regex-syntax v0.6.17
[INFO] [stderr] Compiling safemem v0.3.3
[INFO] [stderr] Compiling quick-error v1.2.3
[INFO] [stderr] Compiling bitflags v1.2.1
[INFO] [stderr] Compiling hex v0.3.2
[INFO] [stderr] Compiling md5 v0.6.1
[INFO] [stderr] Compiling bufstream v0.1.4
[INFO] [stderr] Compiling base64 v0.11.0
[INFO] [stderr] Compiling hex v0.4.2
[INFO] [stderr] Compiling sip_rld v0.3.5
[INFO] [stderr] Compiling thread_local v1.0.1
[INFO] [stderr] Compiling block-padding v0.1.5
[INFO] [stderr] Compiling unicode-bidi v0.3.4
[INFO] [stderr] Compiling futures-channel v0.3.4
[INFO] [stderr] Compiling unicode-normalization v0.1.12
[INFO] [stderr] Compiling rand_core v0.3.1
[INFO] [stderr] Compiling lru-cache v0.1.2
[INFO] [stderr] Compiling heck v0.3.1
[INFO] [stderr] Compiling proc-macro-error-attr v1.0.2
[INFO] [stderr] Compiling proc-macro-error v1.0.2
[INFO] [stderr] Compiling futures-util v0.3.4
[INFO] [stderr] Compiling aho-corasick v0.7.10
[INFO] [stderr] Compiling base64 v0.10.1
[INFO] [stderr] Compiling base64 v0.9.3
[INFO] [stderr] Compiling quote v1.0.3
[INFO] [stderr] Compiling iovec v0.1.4
[INFO] [stderr] Compiling net2 v0.2.33
[INFO] [stderr] Compiling hostname v0.3.1
[INFO] [stderr] Compiling time v0.1.43
[INFO] [stderr] Compiling rand v0.5.6
[INFO] [stderr] Compiling resolv-conf v0.6.3
[INFO] [stderr] Compiling idna v0.2.0
[INFO] [stderr] Compiling stringprep v0.1.2
[INFO] [stderr] Compiling num-traits v0.2.11
[INFO] [stderr] Compiling num-integer v0.1.42
[INFO] [stderr] Compiling indexmap v1.3.2
[INFO] [stderr] Compiling quote v0.6.13
[INFO] [stderr] Compiling rand_core v0.5.1
[INFO] [stderr] Compiling ring v0.16.12
[INFO] [stderr] Compiling backtrace-sys v0.1.36
[INFO] [stderr] Compiling rand_chacha v0.2.2
[INFO] [stderr] Compiling mio v0.6.21
[INFO] [stderr] Compiling url v2.1.1
[INFO] [stderr] Compiling generic-array v0.12.3
[INFO] [stderr] Compiling digest v0.8.1
[INFO] [stderr] Compiling block-buffer v0.7.3
[INFO] [stderr] Compiling crypto-mac v0.7.0
[INFO] [stderr] Compiling hmac v0.7.1
[INFO] [stderr] Compiling sha2 v0.8.1
[INFO] [stderr] Compiling md-5 v0.8.0
[INFO] [stderr] Compiling sha-1 v0.8.2
[INFO] [stderr] Compiling rand v0.7.3
[INFO] [stderr] Compiling pbkdf2 v0.3.0
[INFO] [stderr] Compiling futures v0.3.4
[INFO] [stderr] Compiling tokio v0.2.20
[INFO] [stderr] Compiling regex v1.3.7
[INFO] [stderr] Compiling chrono v0.4.11
[INFO] [stderr] Compiling backtrace v0.3.46
[INFO] [stderr] Compiling syn-mid v0.5.0
[INFO] [stderr] Compiling synstructure v0.12.3
[INFO] [stderr] Compiling derivative v1.0.4
[INFO] [stderr] Compiling typed-builder v0.3.0
[INFO] [stderr] Compiling serde_derive v1.0.106
[INFO] [stderr] Compiling thiserror-impl v1.0.16
[INFO] [stderr] Compiling enum-as-inner v0.3.2
[INFO] [stderr] Compiling async-trait v0.1.30
[INFO] [stderr] Compiling serde_with_macros v1.1.0
[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 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_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: `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] = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout]
[INFO] [stdout]
[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]
[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: 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: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: 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: 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: variant is never constructed: `Warning`
[INFO] [stdout] --> src/logger.rs:15:5
[INFO] [stdout] |
[INFO] [stdout] 15 | Warning,
[INFO] [stdout] | ^^^^^^^
[INFO] [stdout] |
[INFO] [stdout] = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] note: `Severity` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] --> src/logger.rs:11:10
[INFO] [stdout] |
[INFO] [stdout] 11 | #[derive(Debug)]
[INFO] [stdout] | ^^^^^
[INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variant is never constructed: `Error`
[INFO] [stdout] --> src/logger.rs:16:5
[INFO] [stdout] |
[INFO] [stdout] 16 | Error,
[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] --> src/logger.rs:11:10
[INFO] [stdout] |
[INFO] [stdout] 11 | #[derive(Debug)]
[INFO] [stdout] | ^^^^^
[INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: variant is never constructed: `Fatal`
[INFO] [stdout] --> src/logger.rs:17:5
[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] --> src/logger.rs:11:10
[INFO] [stdout] |
[INFO] [stdout] 11 | #[derive(Debug)]
[INFO] [stdout] | ^^^^^
[INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `init`
[INFO] [stdout] --> src/users_collection.rs:17:12
[INFO] [stdout] |
[INFO] [stdout] 17 | pub fn init() {
[INFO] [stdout] | ^^^^
[INFO] [stdout]
[INFO] [stdout]
[INFO] [stdout] warning: associated function is never used: `get_instance`
[INFO] [stdout] --> src/users_collection.rs:28:12
[INFO] [stdout] |
[INFO] [stdout] 28 | pub fn get_instance() -> &'static Mutex