[INFO] cloning repository https://github.com/nayrpg/rustest_coaps [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nayrpg/rustest_coaps" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnayrpg%2Frustest_coaps", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnayrpg%2Frustest_coaps'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] eed84369f12a3ded699a9cf666ef222fb146e2f8 [INFO] building nayrpg/rustest_coaps against try#8aaecdf5df68a6fbc126704e44d399ba2fe66bf2 for pr-94962 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnayrpg%2Frustest_coaps" "/workspace/builds/worker-106/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-106/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nayrpg/rustest_coaps on toolchain 8aaecdf5df68a6fbc126704e44d399ba2fe66bf2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nayrpg/rustest_coaps [INFO] finished tweaking git repo https://github.com/nayrpg/rustest_coaps [INFO] tweaked toml for git repo https://github.com/nayrpg/rustest_coaps written to /workspace/builds/worker-106/source/Cargo.toml [INFO] crate git repo https://github.com/nayrpg/rustest_coaps already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "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-106/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e2790641d147821cfd8b120736d57fbeff671301a47a3cc389ee9f5b038d7001 [INFO] running `Command { std: "docker" "start" "-a" "e2790641d147821cfd8b120736d57fbeff671301a47a3cc389ee9f5b038d7001", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e2790641d147821cfd8b120736d57fbeff671301a47a3cc389ee9f5b038d7001", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2790641d147821cfd8b120736d57fbeff671301a47a3cc389ee9f5b038d7001", kill_on_drop: false }` [INFO] [stdout] e2790641d147821cfd8b120736d57fbeff671301a47a3cc389ee9f5b038d7001 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 622c10ece93bc90f1f31ad4071ec3dd6b9bcceb9fcf14049f6ffe2e534dc65a6 [INFO] running `Command { std: "docker" "start" "-a" "622c10ece93bc90f1f31ad4071ec3dd6b9bcceb9fcf14049f6ffe2e534dc65a6", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.50 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling cfg-if v0.1.7 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling rustc-serialize v0.3.24 [INFO] [stderr] Compiling cc v1.0.31 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling pkg-config v0.3.14 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling smallvec v0.6.9 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling ucd-util v0.1.3 [INFO] [stderr] Compiling bitflags v0.4.0 [INFO] [stderr] Compiling regex v1.1.5 [INFO] [stderr] Compiling slab v0.1.3 [INFO] [stderr] Compiling byteorder v0.3.13 [INFO] [stderr] Compiling openssl v0.10.19 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling utf8-ranges v1.0.2 [INFO] [stderr] Compiling bytes v0.3.0 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling bitflags v1.0.4 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling regex-syntax v0.6.6 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling openssl-src v111.2.1+1.1.1b [INFO] [stderr] Compiling ws2_32-sys v0.2.1 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling unicode-normalization v0.1.8 [INFO] [stderr] Compiling bincode v0.3.0 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling openssl-sys v0.9.42 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling num_cpus v1.10.0 [INFO] [stderr] Compiling nix v0.5.1 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling aho-corasick v0.7.3 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling miow v0.1.5 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling mio v0.5.1 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling coap v0.7.4 [INFO] [stderr] Compiling rustest_coaps v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `len_received` [INFO] [stdout] --> src/lib.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let len_received = coaps_stream.ssl_read(&mut buf); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_len_received` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 52s [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn new(port: u16, address: SocketAddr) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `connect_to_google` [INFO] [stdout] --> src/lib.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn connect_to_google() -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `send_get_request` [INFO] [stdout] --> src/lib.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn send_get_request(https_stream: &mut SslStream) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `connect_to_local_coaps_server` [INFO] [stdout] --> src/lib.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn connect_to_local_coaps_server() -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `send_coaps_get_request` [INFO] [stdout] --> src/lib.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn send_coaps_get_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "622c10ece93bc90f1f31ad4071ec3dd6b9bcceb9fcf14049f6ffe2e534dc65a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "622c10ece93bc90f1f31ad4071ec3dd6b9bcceb9fcf14049f6ffe2e534dc65a6", kill_on_drop: false }` [INFO] [stdout] 622c10ece93bc90f1f31ad4071ec3dd6b9bcceb9fcf14049f6ffe2e534dc65a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-106/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+8aaecdf5df68a6fbc126704e44d399ba2fe66bf2" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7dffca0f5d183430ba74834d49c51fd0be26115a0f1bfa3af7dd64037a88b29a [INFO] running `Command { std: "docker" "start" "-a" "7dffca0f5d183430ba74834d49c51fd0be26115a0f1bfa3af7dd64037a88b29a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling rustest_coaps v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `len_received` [INFO] [stdout] --> src/lib.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let len_received = coaps_stream.ssl_read(&mut buf); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_len_received` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/lib.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 28 | fn new(port: u16, address: SocketAddr) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `connect_to_google` [INFO] [stdout] --> src/lib.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn connect_to_google() -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `send_get_request` [INFO] [stdout] --> src/lib.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn send_get_request(https_stream: &mut SslStream) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `connect_to_local_coaps_server` [INFO] [stdout] --> src/lib.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn connect_to_local_coaps_server() -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `send_coaps_get_request` [INFO] [stdout] --> src/lib.rs:124:4 [INFO] [stdout] | [INFO] [stdout] 124 | fn send_coaps_get_request( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `len_received` [INFO] [stdout] --> src/lib.rs:145:9 [INFO] [stdout] | [INFO] [stdout] 145 | let len_received = coaps_stream.ssl_read(&mut buf); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_len_received` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.02s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/rustest_coaps-e46eb66a13a79447) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/rustest_coaps-ecce61b3fb696c10) [INFO] running `Command { std: "docker" "inspect" "7dffca0f5d183430ba74834d49c51fd0be26115a0f1bfa3af7dd64037a88b29a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7dffca0f5d183430ba74834d49c51fd0be26115a0f1bfa3af7dd64037a88b29a", kill_on_drop: false }` [INFO] [stdout] 7dffca0f5d183430ba74834d49c51fd0be26115a0f1bfa3af7dd64037a88b29a