[INFO] crate salvo_core 0.1.6 is already in cache [INFO] testing salvo_core-0.1.6 against master#28742a1146f10a4f09369baad027a464acb7a766 for pr-71274 [INFO] extracting crate salvo_core 0.1.6 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate salvo_core 0.1.6 on toolchain 28742a1146f10a4f09369baad027a464acb7a766 [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate salvo_core 0.1.6 [INFO] finished tweaking crates.io crate salvo_core 0.1.6 [INFO] tweaked toml for crates.io crate salvo_core 0.1.6 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"/workspace/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "build" "--frozen"` [INFO] [stdout] 6acb01d94d7f94befc61673d668be7711aa88ab3a3c0c1fd3ebfa6035c3d26fc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `"docker" "start" "-a" "6acb01d94d7f94befc61673d668be7711aa88ab3a3c0c1fd3ebfa6035c3d26fc"` [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 autocfg v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling slab v0.4.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling futures-core v0.3.4 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.4 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling smallvec v1.3.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling version_check v0.9.1 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling itoa v0.4.5 [INFO] [stderr] Compiling fnv v1.0.6 [INFO] [stderr] Compiling arc-swap v0.4.6 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling serde v0.8.23 [INFO] [stderr] Compiling ryu v1.0.3 [INFO] [stderr] Compiling slog v2.5.2 [INFO] [stderr] Compiling regex-syntax v0.6.17 [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling try-lock v0.2.2 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling rust-ini v0.13.0 [INFO] [stderr] Compiling tower-service v0.3.0 [INFO] [stderr] Compiling display_bytes v0.2.1 [INFO] [stderr] Compiling state v0.4.1 [INFO] [stderr] Compiling rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.4 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.12 [INFO] [stderr] Compiling nom v4.2.3 [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 rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling double-checked-cell v2.0.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling aho-corasick v0.7.10 [INFO] [stderr] Compiling twoway v0.2.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling serde_test v0.8.23 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.2.0 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling dirs-sys v0.3.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling http-body v0.3.1 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling regex v1.3.7 [INFO] [stderr] Compiling syn v1.0.17 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling linked-hash-map v0.3.0 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling tempdir v0.3.7 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling term v0.6.1 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling serde-hjson v0.8.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling slog-term v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling futures-macro v0.3.4 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Compiling pin-project-internal v0.4.9 [INFO] [stderr] Compiling async-trait v0.1.30 [INFO] [stderr] Compiling tokio v0.2.18 [INFO] [stderr] Compiling futures-util v0.3.4 [INFO] [stderr] Compiling pin-project v0.4.9 [INFO] [stderr] Compiling futures-executor v0.3.4 [INFO] [stderr] Compiling double-checked-cell-async v2.0.2 [INFO] [stderr] Compiling futures v0.3.4 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling h2 v0.2.4 [INFO] [stderr] Compiling hyper v0.13.5 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling serde_json v1.0.51 [INFO] [stderr] Compiling multimap v0.8.1 [INFO] [stderr] Compiling textnonce v0.6.5 [INFO] [stderr] Compiling serde_cbor v0.10.2 [INFO] [stderr] Compiling config v0.9.3 [INFO] [stderr] Compiling salvo_core v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:92:42 [INFO] [stderr] | [INFO] [stderr] 92 | format!("{}: {:?}", self.description(), e).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:94:42 [INFO] [stderr] | [INFO] [stderr] 94 | format!("{}: {:?}", self.description(), e).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:96:40 [INFO] [stderr] | [INFO] [stderr] 96 | format!("{}: {}", self.description(), e).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:98:40 [INFO] [stderr] | [INFO] [stderr] 98 | format!("{}: {}", self.description(), e).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:100:40 [INFO] [stderr] | [INFO] [stderr] 100 | format!("{}: {}", self.description(), e).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:102:40 [INFO] [stderr] | [INFO] [stderr] 102 | format!("{}: {}", self.description(), e).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:103:37 [INFO] [stderr] | [INFO] [stderr] 103 | _ => format!("{}", self.description()).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:110:28 [INFO] [stderr] | [INFO] [stderr] 110 | f.write_str(&*self.description()).ok(); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 8 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 37s [INFO] running `"docker" "inspect" "6acb01d94d7f94befc61673d668be7711aa88ab3a3c0c1fd3ebfa6035c3d26fc"` [INFO] running `"docker" "rm" "-f" "6acb01d94d7f94befc61673d668be7711aa88ab3a3c0c1fd3ebfa6035c3d26fc"` [INFO] [stdout] 6acb01d94d7f94befc61673d668be7711aa88ab3a3c0c1fd3ebfa6035c3d26fc [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen" "--no-run"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9ddb2bde3e7781c40e731a8537b2fc035b3bcff3ba20bbd598a563389a4375a2 [INFO] running `"docker" "start" "-a" "9ddb2bde3e7781c40e731a8537b2fc035b3bcff3ba20bbd598a563389a4375a2"` [INFO] [stderr] Compiling futures-test v0.3.4 [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:92:42 [INFO] [stderr] | [INFO] [stderr] 92 | format!("{}: {:?}", self.description(), e).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:94:42 [INFO] [stderr] | [INFO] [stderr] 94 | format!("{}: {:?}", self.description(), e).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:96:40 [INFO] [stderr] | [INFO] [stderr] 96 | format!("{}: {}", self.description(), e).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:98:40 [INFO] [stderr] | [INFO] [stderr] 98 | format!("{}: {}", self.description(), e).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:100:40 [INFO] [stderr] | [INFO] [stderr] 100 | format!("{}: {}", self.description(), e).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:102:40 [INFO] [stderr] | [INFO] [stderr] 102 | format!("{}: {}", self.description(), e).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:103:37 [INFO] [stderr] | [INFO] [stderr] 103 | _ => format!("{}", self.description()).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:110:28 [INFO] [stderr] | [INFO] [stderr] 110 | f.write_str(&*self.description()).ok(); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 8 warnings emitted [INFO] [stderr] [INFO] [stderr] Compiling salvo_core v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused imports: `Context`, `Poll` [INFO] [stderr] --> src/http/multipart/test_util.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | use std::task::{Context, Poll}; [INFO] [stderr] | ^^^^^^^ ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread` [INFO] [stderr] --> src/http/multipart/test_util.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `TryStream` [INFO] [stderr] --> src/http/multipart/test_util.rs:14:31 [INFO] [stderr] | [INFO] [stderr] 14 | use futures::stream::{Stream, TryStream}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures_test::task::noop_context` [INFO] [stderr] --> src/http/multipart/test_util.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use futures_test::task::noop_context; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::convert::Infallible` [INFO] [stderr] --> src/http/multipart/test_util.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use std::convert::Infallible; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused macro definition [INFO] [stderr] --> src/http/multipart/test_util.rs:59:1 [INFO] [stderr] | [INFO] [stderr] 59 | / macro_rules! ready_assert_eq( [INFO] [stderr] 60 | | (|$cx:ident| $expr:expr, $eq:expr) => {{ [INFO] [stderr] 61 | | use std::task::Poll::*; [INFO] [stderr] 62 | | let ref mut $cx = futures_test::task::noop_context(); [INFO] [stderr] ... | [INFO] [stderr] 72 | | }} [INFO] [stderr] 73 | | ); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused macro definition [INFO] [stderr] --> src/http/multipart/test_util.rs:121:1 [INFO] [stderr] | [INFO] [stderr] 121 | / macro_rules! ready_assert( [INFO] [stderr] 122 | | (|$cx:ident| $expr:expr) => {{ [INFO] [stderr] 123 | | use std::task::Poll::*; [INFO] [stderr] 124 | | let ref mut $cx = futures_test::task::noop_context(); [INFO] [stderr] ... | [INFO] [stderr] 134 | | }} [INFO] [stderr] 135 | | ); [INFO] [stderr] | |__^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/multipart/field/headers.rs:565:87 [INFO] [stderr] | [INFO] [stderr] 565 | parse_headers(b"Content-Type: application/octet-stream\r\n\r\n").unwrap_err().description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/multipart/field/headers.rs:576:23 [INFO] [stderr] | [INFO] [stderr] 576 | .unwrap_err().description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:92:42 [INFO] [stderr] | [INFO] [stderr] 92 | format!("{}: {:?}", self.description(), e).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:94:42 [INFO] [stderr] | [INFO] [stderr] 94 | format!("{}: {:?}", self.description(), e).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:96:40 [INFO] [stderr] | [INFO] [stderr] 96 | format!("{}: {}", self.description(), e).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:98:40 [INFO] [stderr] | [INFO] [stderr] 98 | format!("{}: {}", self.description(), e).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:100:40 [INFO] [stderr] | [INFO] [stderr] 100 | format!("{}: {}", self.description(), e).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:102:40 [INFO] [stderr] | [INFO] [stderr] 102 | format!("{}: {}", self.description(), e).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:103:37 [INFO] [stderr] | [INFO] [stderr] 103 | _ => format!("{}", self.description()).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:110:28 [INFO] [stderr] | [INFO] [stderr] 110 | f.write_str(&*self.description()).ok(); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 17 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 9.95s [INFO] running `"docker" "inspect" "9ddb2bde3e7781c40e731a8537b2fc035b3bcff3ba20bbd598a563389a4375a2"` [INFO] running `"docker" "rm" "-f" "9ddb2bde3e7781c40e731a8537b2fc035b3bcff3ba20bbd598a563389a4375a2"` [INFO] [stdout] 9ddb2bde3e7781c40e731a8537b2fc035b3bcff3ba20bbd598a563389a4375a2 [INFO] running `"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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+28742a1146f10a4f09369baad027a464acb7a766" "test" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2c09191f5c2f85dcadea701fc148ac6b6f7dc13aaa773aed262620a85cfa425f [INFO] running `"docker" "start" "-a" "2c09191f5c2f85dcadea701fc148ac6b6f7dc13aaa773aed262620a85cfa425f"` [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:92:42 [INFO] [stderr] | [INFO] [stderr] 92 | format!("{}: {:?}", self.description(), e).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:94:42 [INFO] [stderr] | [INFO] [stderr] 94 | format!("{}: {:?}", self.description(), e).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:96:40 [INFO] [stderr] | [INFO] [stderr] 96 | format!("{}: {}", self.description(), e).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:98:40 [INFO] [stderr] | [INFO] [stderr] 98 | format!("{}: {}", self.description(), e).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:100:40 [INFO] [stderr] | [INFO] [stderr] 100 | format!("{}: {}", self.description(), e).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:102:40 [INFO] [stderr] | [INFO] [stderr] 102 | format!("{}: {}", self.description(), e).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:103:37 [INFO] [stderr] | [INFO] [stderr] 103 | _ => format!("{}", self.description()).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:110:28 [INFO] [stderr] | [INFO] [stderr] 110 | f.write_str(&*self.description()).ok(); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 8 warnings emitted [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Context`, `Poll` [INFO] [stderr] --> src/http/multipart/test_util.rs:11:17 [INFO] [stderr] | [INFO] [stderr] 11 | use std::task::{Context, Poll}; [INFO] [stderr] | ^^^^^^^ ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::thread` [INFO] [stderr] --> src/http/multipart/test_util.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 12 | use std::thread; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `TryStream` [INFO] [stderr] --> src/http/multipart/test_util.rs:14:31 [INFO] [stderr] | [INFO] [stderr] 14 | use futures::stream::{Stream, TryStream}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `futures_test::task::noop_context` [INFO] [stderr] --> src/http/multipart/test_util.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use futures_test::task::noop_context; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::convert::Infallible` [INFO] [stderr] --> src/http/multipart/test_util.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | use std::convert::Infallible; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused macro definition [INFO] [stderr] --> src/http/multipart/test_util.rs:59:1 [INFO] [stderr] | [INFO] [stderr] 59 | / macro_rules! ready_assert_eq( [INFO] [stderr] 60 | | (|$cx:ident| $expr:expr, $eq:expr) => {{ [INFO] [stderr] 61 | | use std::task::Poll::*; [INFO] [stderr] 62 | | let ref mut $cx = futures_test::task::noop_context(); [INFO] [stderr] ... | [INFO] [stderr] 72 | | }} [INFO] [stderr] 73 | | ); [INFO] [stderr] | |__^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_macros)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused macro definition [INFO] [stderr] --> src/http/multipart/test_util.rs:121:1 [INFO] [stderr] | [INFO] [stderr] 121 | / macro_rules! ready_assert( [INFO] [stderr] 122 | | (|$cx:ident| $expr:expr) => {{ [INFO] [stderr] 123 | | use std::task::Poll::*; [INFO] [stderr] 124 | | let ref mut $cx = futures_test::task::noop_context(); [INFO] [stderr] ... | [INFO] [stderr] 134 | | }} [INFO] [stderr] 135 | | ); [INFO] [stderr] | |__^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/multipart/field/headers.rs:565:87 [INFO] [stderr] | [INFO] [stderr] 565 | parse_headers(b"Content-Type: application/octet-stream\r\n\r\n").unwrap_err().description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/multipart/field/headers.rs:576:23 [INFO] [stderr] | [INFO] [stderr] 576 | .unwrap_err().description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:92:42 [INFO] [stderr] | [INFO] [stderr] 92 | format!("{}: {:?}", self.description(), e).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:94:42 [INFO] [stderr] | [INFO] [stderr] 94 | format!("{}: {:?}", self.description(), e).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:96:40 [INFO] [stderr] | [INFO] [stderr] 96 | format!("{}: {}", self.description(), e).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:98:40 [INFO] [stderr] | [INFO] [stderr] 98 | format!("{}: {}", self.description(), e).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:100:40 [INFO] [stderr] | [INFO] [stderr] 100 | format!("{}: {}", self.description(), e).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:102:40 [INFO] [stderr] | [INFO] [stderr] 102 | format!("{}: {}", self.description(), e).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:103:37 [INFO] [stderr] | [INFO] [stderr] 103 | _ => format!("{}", self.description()).fmt(f), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated item 'std::error::Error::description': use the Display impl or to_string() [INFO] [stderr] --> src/http/errors/read_error.rs:110:28 [INFO] [stderr] | [INFO] [stderr] 110 | f.write_str(&*self.description()).ok(); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: 17 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.37s [INFO] [stderr] Running /opt/rustwide/target/debug/deps/salvo_core-4088e4afcc91ceb7 [INFO] [stdout] [INFO] [stdout] running 17 tests [INFO] [stdout] test http::multipart::field::headers::test_header_end_split ... ok [INFO] [stdout] test http::multipart::boundary::test::test_one_boundary ... ok [INFO] [stdout] test http::multipart::boundary::test::test_one_empty_field ... ok [INFO] [stdout] test http::multipart::boundary::test::test_empty_stream ... ok [INFO] [stdout] test http::multipart::boundary::test::test_two_empty_fields ... ok [INFO] [stdout] test http::multipart::field::headers::test_parse_keyval ... ok [INFO] [stdout] test http::multipart::boundary::test::test_one_nonempty_field ... ok [INFO] [stdout] test http::multipart::field::headers::test_parse_headers_errors ... ok [INFO] [stdout] test http::multipart::field::headers::test_parse_headers ... ok [INFO] [stdout] test http::multipart::boundary::test::test_one_incomplete_boundary ... ok [INFO] [stdout] test http::multipart::test::test_no_headers ... ok [INFO] [stdout] test http::multipart::test::test_empty_body ... ok [INFO] [stdout] test http::multipart::field::headers::test_read_headers ... ok [INFO] [stdout] test http::multipart::field::test_read_to_string ... ok [INFO] [stdout] test http::multipart::test::test_two_fields ... ok [INFO] [stdout] test http::multipart::test::test_single_field ... ok [INFO] [stdout] test pick_port::tests::it_works ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- pick_port::tests::it_works stdout ---- [INFO] [stdout] thread 'pick_port::tests::it_works' panicked at 'assertion failed: pick_unused_port().is_some()', src/pick_port.rs:84:9 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5633244cf674 - backtrace::backtrace::libunwind::trace::hbb4ce8c04526962e [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/libunwind.rs:86 [INFO] [stdout] 1: 0x5633244cf674 - backtrace::backtrace::trace_unsynchronized::h79251c088e7be038 [INFO] [stdout] at /cargo/registry/src/github.com-1ecc6299db9ec823/backtrace-0.3.46/src/backtrace/mod.rs:66 [INFO] [stdout] 2: 0x5633244cf674 - std::sys_common::backtrace::_print_fmt::h6b0ea30a9223acae [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:78 [INFO] [stdout] 3: 0x5633244cf674 - ::fmt::h4d51ef07ce58e54b [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:59 [INFO] [stdout] 4: 0x5633244f91cc - core::fmt::write::he16b9c1345d8565e [INFO] [stdout] at src/libcore/fmt/mod.rs:1069 [INFO] [stdout] 5: 0x5633243c4135 - std::io::Write::write_fmt::hc31efe493f037457 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/io/mod.rs:1504 [INFO] [stdout] 6: 0x5633244c9b41 - std::io::impls::>::write_fmt::hfcb1ff6c5b834381 [INFO] [stdout] at src/libstd/io/impls.rs:156 [INFO] [stdout] 7: 0x5633244d1f45 - std::sys_common::backtrace::_print::h9288fa7d9f6629cb [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:62 [INFO] [stdout] 8: 0x5633244d1f45 - std::sys_common::backtrace::print::h82e606e62781d8af [INFO] [stdout] at src/libstd/sys_common/backtrace.rs:49 [INFO] [stdout] 9: 0x5633244d1f45 - std::panicking::default_hook::{{closure}}::h1fe350ecbf7604e4 [INFO] [stdout] at src/libstd/panicking.rs:198 [INFO] [stdout] 10: 0x5633244d1c2b - std::panicking::default_hook::h1b8b42953fdc841d [INFO] [stdout] at src/libstd/panicking.rs:215 [INFO] [stdout] 11: 0x5633244d25a2 - std::panicking::rust_panic_with_hook::he73826f4bb75a21e [INFO] [stdout] at src/libstd/panicking.rs:511 [INFO] [stdout] 12: 0x56332440e241 - std::panicking::begin_panic::hcad1f589b8f4754a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:438 [INFO] [stdout] 13: 0x5633243aa6ed - salvo_core::pick_port::tests::it_works::h4b90ba727e22abb7 [INFO] [stdout] at src/pick_port.rs:84 [INFO] [stdout] 14: 0x5633243aa68a - salvo_core::pick_port::tests::it_works::{{closure}}::h6046843a05ca05b2 [INFO] [stdout] at src/pick_port.rs:83 [INFO] [stdout] 15: 0x5633243ad59e - core::ops::function::FnOnce::call_once::h9ece748334d71ea2 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 16: 0x5633243d002f - as core::ops::function::FnOnce>::call_once::he1ba1da20629a2d8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 17: 0x5633243eb62e - as core::ops::function::FnOnce<()>>::call_once::hf94927858761de4a [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 18: 0x5633243eb62e - std::panicking::try::do_call::h1585003392664d93 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 19: 0x5633243eb62e - std::panicking::try::h43d950f958a74468 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 20: 0x5633243eb62e - std::panic::catch_unwind::hb5284de2977ddeea [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 21: 0x5633243eb62e - test::run_test_in_process::had39bb305b26a3ae [INFO] [stdout] at src/libtest/lib.rs:541 [INFO] [stdout] 22: 0x5633243eb62e - test::run_test::run_test_inner::{{closure}}::h12b1756b854ada1a [INFO] [stdout] at src/libtest/lib.rs:450 [INFO] [stdout] 23: 0x5633243c35e6 - std::sys_common::backtrace::__rust_begin_short_backtrace::hec04b80bece92bf9 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/sys_common/backtrace.rs:130 [INFO] [stdout] 24: 0x5633243c8905 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::heca431434c1ac418 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:475 [INFO] [stdout] 25: 0x5633243c8905 - as core::ops::function::FnOnce<()>>::call_once::he2457d582c032747 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:318 [INFO] [stdout] 26: 0x5633243c8905 - std::panicking::try::do_call::hbcd49dc3823e8b28 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:331 [INFO] [stdout] 27: 0x5633243c8905 - std::panicking::try::h1ba95c07dd8d422b [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panicking.rs:274 [INFO] [stdout] 28: 0x5633243c8905 - std::panic::catch_unwind::h95854794ba9eee4c [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/panic.rs:394 [INFO] [stdout] 29: 0x5633243c8905 - std::thread::Builder::spawn_unchecked::{{closure}}::h4e297b8574092d6e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libstd/thread/mod.rs:474 [INFO] [stdout] 30: 0x5633243c8905 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h1b855aad7f5ac67e [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/libcore/ops/function.rs:232 [INFO] [stdout] 31: 0x5633244c5d4f - as core::ops::function::FnOnce>::call_once::h48069b269ca48108 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 32: 0x5633244d93e3 - as core::ops::function::FnOnce>::call_once::heff660b32cd3afd8 [INFO] [stdout] at /rustc/28742a1146f10a4f09369baad027a464acb7a766/src/liballoc/boxed.rs:1008 [INFO] [stdout] 33: 0x5633244d93e3 - std::sys::unix::thread::Thread::new::thread_start::ha538939ed1e2e958 [INFO] [stdout] at src/libstd/sys/unix/thread.rs:87 [INFO] [stdout] 34: 0x7fc04f8de6db - start_thread [INFO] [stdout] 35: 0x7fc04f3ef88f - __clone [INFO] [stdout] 36: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] pick_port::tests::it_works [INFO] [stdout] [INFO] [stdout] test result: FAILED. 16 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--lib' [INFO] running `"docker" "inspect" "2c09191f5c2f85dcadea701fc148ac6b6f7dc13aaa773aed262620a85cfa425f"` [INFO] running `"docker" "rm" "-f" "2c09191f5c2f85dcadea701fc148ac6b6f7dc13aaa773aed262620a85cfa425f"` [INFO] [stdout] 2c09191f5c2f85dcadea701fc148ac6b6f7dc13aaa773aed262620a85cfa425f