[INFO] cloning repository https://github.com/michael-swan/StreamSign [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/michael-swan/StreamSign" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichael-swan%2FStreamSign", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichael-swan%2FStreamSign'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 05ccba9da78416d9a33afc8e155803c0213b00e5 [INFO] building michael-swan/StreamSign against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmichael-swan%2FStreamSign" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/michael-swan/StreamSign [INFO] finished tweaking git repo https://github.com/michael-swan/StreamSign [INFO] tweaked toml for git repo https://github.com/michael-swan/StreamSign written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/michael-swan/StreamSign on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/michael-swan/StreamSign 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded time-macros v0.1.0 [INFO] [stderr] Downloaded time-macros-impl v0.1.0 [INFO] [stderr] Downloaded js-sys v0.3.37 [INFO] [stderr] Downloaded standback v0.2.2 [INFO] [stderr] Downloaded actix-connect v2.0.0-alpha.2 [INFO] [stderr] Downloaded actix-tls v2.0.0-alpha.1 [INFO] [stderr] Downloaded actix-testing v1.0.0 [INFO] [stderr] Downloaded actix-threadpool v0.3.1 [INFO] [stderr] Downloaded failure_derive v0.1.7 [INFO] [stderr] Downloaded actix-web-codegen v0.2.1 [INFO] [stderr] Downloaded dtoa v0.4.5 [INFO] [stderr] Downloaded enum-as-inner v0.3.2 [INFO] [stderr] Downloaded actix-router v0.2.4 [INFO] [stderr] Downloaded actix-server v1.0.2 [INFO] [stderr] Downloaded failure v0.1.7 [INFO] [stderr] Downloaded actix v0.10.0-alpha.2 [INFO] [stderr] Downloaded crossbeam-channel v0.4.2 [INFO] [stderr] Downloaded trust-dns-resolver v0.19.3 [INFO] [stderr] Downloaded h2 v0.2.4 [INFO] [stderr] Downloaded aho-corasick v0.7.10 [INFO] [stderr] Downloaded trust-dns-proto v0.19.3 [INFO] [stderr] Downloaded actix-http v2.0.0-alpha.2 [INFO] [stderr] Downloaded arc-swap v0.4.5 [INFO] [stderr] Downloaded derive_more v0.99.5 [INFO] [stderr] Downloaded actix-web v3.0.0-alpha.1 [INFO] [stderr] Downloaded indexmap v1.3.2 [INFO] [stderr] Downloaded awc v2.0.0-alpha.1 [INFO] [stderr] Downloaded tokio v0.2.16 [INFO] [stderr] Downloaded tokio-util v0.2.0 [INFO] [stderr] Downloaded async-trait v0.1.29 [INFO] [stderr] Downloaded thiserror-impl v1.0.14 [INFO] [stderr] Downloaded actix-codec v0.2.0 [INFO] [stderr] Downloaded actix-utils v1.0.6 [INFO] [stderr] Downloaded actix-service v1.0.5 [INFO] [stderr] Downloaded pin-project-internal v0.4.8 [INFO] [stderr] Downloaded web-sys v0.3.37 [INFO] [stderr] Downloaded time v0.2.9 [INFO] [stderr] Downloaded thiserror v1.0.14 [INFO] [stderr] Downloaded actix-rt v1.0.0 [INFO] [stderr] Downloaded rustversion v1.0.2 [INFO] [stderr] Downloaded actix-macros v0.1.1 [INFO] [stderr] Downloaded untrusted v0.7.0 [INFO] [stderr] Downloaded encoding_rs v0.8.22 [INFO] [stderr] Downloaded pin-project v0.4.8 [INFO] [stderr] Downloaded flate2 v1.0.14 [INFO] [stderr] Downloaded ring v0.17.0-alpha.1 [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b641cfaa923083c47c282927498b05a5d36ad5ba305bdc7da25b7c95db8abbe1 [INFO] running `Command { std: "docker" "start" "-a" "b641cfaa923083c47c282927498b05a5d36ad5ba305bdc7da25b7c95db8abbe1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b641cfaa923083c47c282927498b05a5d36ad5ba305bdc7da25b7c95db8abbe1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b641cfaa923083c47c282927498b05a5d36ad5ba305bdc7da25b7c95db8abbe1", kill_on_drop: false }` [INFO] [stdout] b641cfaa923083c47c282927498b05a5d36ad5ba305bdc7da25b7c95db8abbe1 [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad5cac1208aa74d343669cf2506a57777f8ef174a3530b3502dff08bb4420900 [INFO] running `Command { std: "docker" "start" "-a" "ad5cac1208aa74d343669cf2506a57777f8ef174a3530b3502dff08bb4420900", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling libc v0.2.68 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling smallvec v1.2.0 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling arc-swap v0.4.5 [INFO] [stderr] Compiling futures-io v0.3.4 [INFO] [stderr] Compiling pin-project-lite v0.1.4 [INFO] [stderr] Compiling lock_api v0.3.3 [INFO] [stderr] Compiling copyless v0.1.4 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling either v1.5.3 [INFO] [stderr] Compiling rustversion v1.0.2 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling linked-hash-map v0.5.2 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling indexmap v1.3.2 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling byte-tools v0.3.1 [INFO] [stderr] Compiling standback v0.2.2 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling encoding_rs v0.8.22 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling num_cpus v1.12.0 [INFO] [stderr] Compiling parking_lot_core v0.7.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling threadpool v1.7.1 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling parking_lot v0.10.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling backtrace-sys v0.1.35 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling generic-array v0.12.3 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling miniz_oxide v0.3.6 [INFO] [stderr] Compiling fake-simd v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.2.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling dtoa v0.4.5 [INFO] [stderr] Compiling regex v1.3.6 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling tokio v0.2.16 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling ring v0.17.0-alpha.1 [INFO] [stderr] Compiling flate2 v1.0.14 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling crossbeam-channel v0.4.2 [INFO] [stderr] Compiling untrusted v0.7.0 [INFO] [stderr] Compiling hex v0.4.2 [INFO] [stderr] Compiling tokio-util v0.2.0 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling actix-codec v0.2.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling derive_more v0.99.5 [INFO] [stderr] Compiling pin-project-internal v0.4.8 [INFO] [stderr] Compiling actix-macros v0.1.1 [INFO] [stderr] Compiling thiserror-impl v1.0.14 [INFO] [stderr] Compiling async-trait v0.1.29 [INFO] [stderr] Compiling enum-as-inner v0.3.2 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling time-macros-impl v0.1.0 [INFO] [stderr] Compiling actix-web-codegen v0.2.1 [INFO] [stderr] Compiling actix_derive v0.5.0 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling time v0.2.9 [INFO] [stderr] Compiling time-macros v0.1.0 [INFO] [stderr] Compiling thiserror v1.0.14 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling pin-project v0.4.8 [INFO] [stderr] Compiling actix-threadpool v0.3.1 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling actix-service v1.0.5 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling actix-rt v1.0.0 [INFO] [stderr] Compiling trust-dns-proto v0.19.3 [INFO] [stderr] Compiling actix-utils v1.0.6 [INFO] [stderr] Compiling actix-server v1.0.2 [INFO] [stderr] Compiling actix-tls v2.0.0-alpha.1 [INFO] [stderr] Compiling actix-testing v1.0.0 [INFO] [stderr] Compiling trust-dns-resolver v0.19.3 [INFO] [stderr] Compiling actix-connect v2.0.0-alpha.2 [INFO] [stderr] Compiling actix v0.10.0-alpha.2 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling actix-router v0.2.4 [INFO] [stderr] Compiling actix-http v2.0.0-alpha.2 [INFO] [stderr] Compiling awc v2.0.0-alpha.1 [INFO] [stderr] Compiling actix-web v3.0.0-alpha.1 [INFO] [stderr] Compiling StreamSign v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Future` and `Stream` [INFO] [stdout] --> src/main.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{Future, Stream, StreamExt}; [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 imports: `Error` and `error` [INFO] [stdout] --> src/main.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{web, error, App, Error, HttpResponse, Responder, HttpServer}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::body::Body` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::body::Body; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromHex` and `ToHex` [INFO] [stdout] --> src/main.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use hex::{ToHex, FromHex}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use actix::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:107:27 [INFO] [stdout] | [INFO] [stdout] 107 | fn started(&mut self, ctx: &mut Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:111:27 [INFO] [stdout] | [INFO] [stdout] 111 | fn stopped(&mut self, ctx: &mut Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctxt` [INFO] [stdout] --> src/main.rs:128:48 [INFO] [stdout] | [INFO] [stdout] 128 | fn handle(&mut self, msg: NewSignatureMsg, ctxt: &mut Context) -> Self::Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ctxt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctxt` [INFO] [stdout] --> src/main.rs:146:50 [INFO] [stdout] | [INFO] [stdout] 146 | fn handle(&mut self, msg: CheckSignatureMsg, ctxt: &mut Context) -> Self::Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ctxt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/main.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | ctxt.update(unsafe { &transmute::(now_sec.to_be()) }); [INFO] [stdout] | -------------------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/main.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | ctxt.update(unsafe { &transmute::(now_nsec.to_be()) }); [INFO] [stdout] | -------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 58.38s [INFO] running `Command { std: "docker" "inspect" "ad5cac1208aa74d343669cf2506a57777f8ef174a3530b3502dff08bb4420900", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad5cac1208aa74d343669cf2506a57777f8ef174a3530b3502dff08bb4420900", kill_on_drop: false }` [INFO] [stdout] ad5cac1208aa74d343669cf2506a57777f8ef174a3530b3502dff08bb4420900 [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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e9a18dded3ff0bfa59bf886fe42aaf399c81dff6725390659c4f06cc24a5d29d [INFO] running `Command { std: "docker" "start" "-a" "e9a18dded3ff0bfa59bf886fe42aaf399c81dff6725390659c4f06cc24a5d29d", kill_on_drop: false }` [INFO] [stderr] Compiling StreamSign v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Future` and `Stream` [INFO] [stdout] --> src/main.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{Future, Stream, StreamExt}; [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 imports: `Error` and `error` [INFO] [stdout] --> src/main.rs:2:22 [INFO] [stdout] | [INFO] [stdout] 2 | use actix_web::{web, error, App, Error, HttpResponse, Responder, HttpServer}; [INFO] [stdout] | ^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix_web::body::Body` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use actix_web::body::Body; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FromHex` and `ToHex` [INFO] [stdout] --> src/main.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use hex::{ToHex, FromHex}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::io; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::Serialize` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use serde::Serialize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `actix` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use actix::*; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:107:27 [INFO] [stdout] | [INFO] [stdout] 107 | fn started(&mut self, ctx: &mut Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:111:27 [INFO] [stdout] | [INFO] [stdout] 111 | fn stopped(&mut self, ctx: &mut Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctxt` [INFO] [stdout] --> src/main.rs:128:48 [INFO] [stdout] | [INFO] [stdout] 128 | fn handle(&mut self, msg: NewSignatureMsg, ctxt: &mut Context) -> Self::Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ctxt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctxt` [INFO] [stdout] --> src/main.rs:146:50 [INFO] [stdout] | [INFO] [stdout] 146 | fn handle(&mut self, msg: CheckSignatureMsg, ctxt: &mut Context) -> Self::Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ctxt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/main.rs:34:27 [INFO] [stdout] | [INFO] [stdout] 34 | ctxt.update(unsafe { &transmute::(now_sec.to_be()) }); [INFO] [stdout] | -------------------------^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/main.rs:35:27 [INFO] [stdout] | [INFO] [stdout] 35 | ctxt.update(unsafe { &transmute::(now_nsec.to_be()) }); [INFO] [stdout] | -------------------------^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `Command { std: "docker" "inspect" "e9a18dded3ff0bfa59bf886fe42aaf399c81dff6725390659c4f06cc24a5d29d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e9a18dded3ff0bfa59bf886fe42aaf399c81dff6725390659c4f06cc24a5d29d", kill_on_drop: false }` [INFO] [stdout] e9a18dded3ff0bfa59bf886fe42aaf399c81dff6725390659c4f06cc24a5d29d