[INFO] fetching crate michromer 0.4.0... [INFO] testing michromer-0.4.0 against 1.60.0 for beta-1.61-1 [INFO] extracting crate michromer 0.4.0 into /workspace/builds/worker-6/source [INFO] validating manifest of crates.io crate michromer 0.4.0 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate michromer 0.4.0 [INFO] finished tweaking crates.io crate michromer 0.4.0 [INFO] tweaked toml for crates.io crate michromer 0.4.0 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a8257732816288cf11e0867c44d94467c75418a19883f1cf23eac26de2b3fd8b [INFO] running `Command { std: "docker" "start" "-a" "a8257732816288cf11e0867c44d94467c75418a19883f1cf23eac26de2b3fd8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a8257732816288cf11e0867c44d94467c75418a19883f1cf23eac26de2b3fd8b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8257732816288cf11e0867c44d94467c75418a19883f1cf23eac26de2b3fd8b", kill_on_drop: false }` [INFO] [stdout] a8257732816288cf11e0867c44d94467c75418a19883f1cf23eac26de2b3fd8b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ea98d2173e4656fd0ed98505f1306cd562fdad511801523394fc967448e05ff5 [INFO] running `Command { std: "docker" "start" "-a" "ea98d2173e4656fd0ed98505f1306cd562fdad511801523394fc967448e05ff5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Compiling httparse v1.7.0 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling percent-encoding v1.0.1 [INFO] [stderr] Compiling typeable v0.1.2 [INFO] [stderr] Compiling traitobject v0.1.0 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling unicase v1.4.2 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Compiling mime v0.2.6 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Compiling hyper v0.10.16 [INFO] [stderr] Compiling serde_derive v0.9.15 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling chrono v0.3.0 [INFO] [stderr] Compiling michromer v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | let res = try!(self.http_client.post(&url, None)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | let level: Level = try!(parse_response(&res)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | let encoded = try!(serde_json::to_string(o)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | let res = try!(self.http_client.post(&url, Some(&encoded))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:132:19 [INFO] [stdout] | [INFO] [stdout] 132 | let res = try!(self.http_client.get(url)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 136 | let res = try!(self.http_client.delete(url)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data.rs:239:16 [INFO] [stdout] | [INFO] [stdout] 239 | let l: T = try!(serde_json::from_str(&buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/http.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | /// Header class used to send the api key on each http request. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/http.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | try!(r.read_to_string(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/http.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | let mut r = try!(self.build_get(url).send()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/http.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | try!(r.read_to_string(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/http.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | let mut r = try!(self.build_post(url, body).send()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/http.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | try!(r.read_to_string(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/http.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let mut r = try!(self.build_delete(url).send()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 - fn cause(&self) -> Option<&StdError> { [INFO] [stdout] 44 + fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:32:47 [INFO] [stdout] | [INFO] [stdout] 32 | write!(f, "Michromer Error: {}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | Error::Hyper(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | Error::IO(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | Error::JSON(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.12s [INFO] running `Command { std: "docker" "inspect" "ea98d2173e4656fd0ed98505f1306cd562fdad511801523394fc967448e05ff5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea98d2173e4656fd0ed98505f1306cd562fdad511801523394fc967448e05ff5", kill_on_drop: false }` [INFO] [stdout] ea98d2173e4656fd0ed98505f1306cd562fdad511801523394fc967448e05ff5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 61367c6c4aec4f0161089b8d13fba9e75e4142e880fb4f12b71f690c71e1903d [INFO] running `Command { std: "docker" "start" "-a" "61367c6c4aec4f0161089b8d13fba9e75e4142e880fb4f12b71f690c71e1903d", 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] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | let res = try!(self.http_client.post(&url, None)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | let level: Level = try!(parse_response(&res)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | let encoded = try!(serde_json::to_string(o)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | let res = try!(self.http_client.post(&url, Some(&encoded))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:132:19 [INFO] [stdout] | [INFO] [stdout] 132 | let res = try!(self.http_client.get(url)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 136 | let res = try!(self.http_client.delete(url)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data.rs:239:16 [INFO] [stdout] | [INFO] [stdout] 239 | let l: T = try!(serde_json::from_str(&buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/http.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | /// Header class used to send the api key on each http request. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/http.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | try!(r.read_to_string(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/http.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | let mut r = try!(self.build_get(url).send()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/http.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | try!(r.read_to_string(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/http.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | let mut r = try!(self.build_post(url, body).send()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/http.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | try!(r.read_to_string(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/http.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let mut r = try!(self.build_delete(url).send()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 - fn cause(&self) -> Option<&StdError> { [INFO] [stdout] 44 + fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling michromer v0.4.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:32:47 [INFO] [stdout] | [INFO] [stdout] 32 | write!(f, "Michromer Error: {}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | Error::Hyper(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | Error::IO(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | Error::JSON(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:27:19 [INFO] [stdout] | [INFO] [stdout] 27 | let res = try!(self.http_client.post(&url, None)); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:28:28 [INFO] [stdout] | [INFO] [stdout] 28 | let level: Level = try!(parse_response(&res)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:106:23 [INFO] [stdout] | [INFO] [stdout] 106 | let encoded = try!(serde_json::to_string(o)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:107:19 [INFO] [stdout] | [INFO] [stdout] 107 | let res = try!(self.http_client.post(&url, Some(&encoded))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:132:19 [INFO] [stdout] | [INFO] [stdout] 132 | let res = try!(self.http_client.get(url)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/client.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 136 | let res = try!(self.http_client.delete(url)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/data.rs:239:16 [INFO] [stdout] | [INFO] [stdout] 239 | let l: T = try!(serde_json::from_str(&buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/http.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | /// Header class used to send the api key on each http request. [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/http.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | try!(r.read_to_string(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/http.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | let mut r = try!(self.build_get(url).send()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/http.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | try!(r.read_to_string(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/http.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | let mut r = try!(self.build_post(url, body).send()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/http.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | try!(r.read_to_string(&mut buf)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/http.rs:70:21 [INFO] [stdout] | [INFO] [stdout] 70 | let mut r = try!(self.build_delete(url).send()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:44:32 [INFO] [stdout] | [INFO] [stdout] 44 | fn cause(&self) -> Option<&StdError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 44 - fn cause(&self) -> Option<&StdError> { [INFO] [stdout] 44 + fn cause(&self) -> Option<&dyn StdError> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:32:47 [INFO] [stdout] | [INFO] [stdout] 32 | write!(f, "Michromer Error: {}", self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:38:38 [INFO] [stdout] | [INFO] [stdout] 38 | Error::Hyper(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:39:35 [INFO] [stdout] | [INFO] [stdout] 39 | Error::IO(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:40:37 [INFO] [stdout] | [INFO] [stdout] 40 | Error::JSON(ref e) => e.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.14s [INFO] running `Command { std: "docker" "inspect" "61367c6c4aec4f0161089b8d13fba9e75e4142e880fb4f12b71f690c71e1903d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "61367c6c4aec4f0161089b8d13fba9e75e4142e880fb4f12b71f690c71e1903d", kill_on_drop: false }` [INFO] [stdout] 61367c6c4aec4f0161089b8d13fba9e75e4142e880fb4f12b71f690c71e1903d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e04c848bff97cedd1db31d690fd079b4881a680dd48ccbf6d6835c37c568d715 [INFO] running `Command { std: "docker" "start" "-a" "e04c848bff97cedd1db31d690fd079b4881a680dd48ccbf6d6835c37c568d715", kill_on_drop: false }` [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/client.rs:27:19 [INFO] [stderr] | [INFO] [stderr] 27 | let res = try!(self.http_client.post(&url, None)); [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/client.rs:28:28 [INFO] [stderr] | [INFO] [stderr] 28 | let level: Level = try!(parse_response(&res)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/client.rs:106:23 [INFO] [stderr] | [INFO] [stderr] 106 | let encoded = try!(serde_json::to_string(o)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/client.rs:107:19 [INFO] [stderr] | [INFO] [stderr] 107 | let res = try!(self.http_client.post(&url, Some(&encoded))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/client.rs:132:19 [INFO] [stderr] | [INFO] [stderr] 132 | let res = try!(self.http_client.get(url)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/client.rs:136:19 [INFO] [stderr] | [INFO] [stderr] 136 | let res = try!(self.http_client.delete(url)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/data.rs:239:16 [INFO] [stderr] | [INFO] [stderr] 239 | let l: T = try!(serde_json::from_str(&buf)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/http.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | /// Header class used to send the api key on each http request. [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/http.rs:58:9 [INFO] [stderr] | [INFO] [stderr] 58 | try!(r.read_to_string(&mut buf)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/http.rs:56:21 [INFO] [stderr] | [INFO] [stderr] 56 | let mut r = try!(self.build_get(url).send()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/http.rs:65:9 [INFO] [stderr] | [INFO] [stderr] 65 | try!(r.read_to_string(&mut buf)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/http.rs:63:21 [INFO] [stderr] | [INFO] [stderr] 63 | let mut r = try!(self.build_post(url, body).send()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/http.rs:72:9 [INFO] [stderr] | [INFO] [stderr] 72 | try!(r.read_to_string(&mut buf)); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/http.rs:70:21 [INFO] [stderr] | [INFO] [stderr] 70 | let mut r = try!(self.build_delete(url).send()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/error.rs:44:32 [INFO] [stderr] | [INFO] [stderr] 44 | fn cause(&self) -> Option<&StdError> { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 44 - fn cause(&self) -> Option<&StdError> { [INFO] [stderr] 44 + fn cause(&self) -> Option<&dyn StdError> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:32:47 [INFO] [stderr] | [INFO] [stderr] 32 | write!(f, "Michromer Error: {}", self.description()) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:38:38 [INFO] [stderr] | [INFO] [stderr] 38 | Error::Hyper(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:39:35 [INFO] [stderr] | [INFO] [stderr] 39 | Error::IO(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/error.rs:40:37 [INFO] [stderr] | [INFO] [stderr] 40 | Error::JSON(ref e) => e.description(), [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `michromer` (lib) generated 19 warnings [INFO] [stderr] warning: `michromer` (lib test) generated 19 warnings (19 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/michromer-4f90c55b2a514cd8) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test client::tests::test_start_level ... ok [INFO] [stdout] test data::tests::test_bid_ask_encode_field_name ... ok [INFO] [stdout] test data::tests::test_decode_date_time ... ok [INFO] [stdout] test data::tests::test_encode_level_field_names ... ok [INFO] [stdout] test data::tests::test_decode_order_response ... ok [INFO] [stdout] test data::tests::test_encode_order ... ok [INFO] [stdout] test data::tests::test_quote_response_fieled_name ... ok [INFO] [stdout] test data::tests::test_order_response_field_name ... ok [INFO] [stdout] test client::tests::test_start_level_bad_resp - should panic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests michromer [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" "e04c848bff97cedd1db31d690fd079b4881a680dd48ccbf6d6835c37c568d715", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e04c848bff97cedd1db31d690fd079b4881a680dd48ccbf6d6835c37c568d715", kill_on_drop: false }` [INFO] [stdout] e04c848bff97cedd1db31d690fd079b4881a680dd48ccbf6d6835c37c568d715