[INFO] fetching crate michromer 0.4.0... [INFO] testing michromer-0.4.0 against beta-2022-02-22 for beta-1.60-1 [INFO] extracting crate michromer 0.4.0 into /workspace/builds/worker-11/source [INFO] validating manifest of crates.io crate michromer 0.4.0 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-11/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded chrono v0.3.0 [INFO] [stderr] Downloaded serde_codegen_internals v0.14.2 [INFO] [stderr] Downloaded serde_derive v0.9.15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cd8b834ae855f139f9374c54ba8ed7095e26a1b8e141620b06528084c022ba8 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7cd8b834ae855f139f9374c54ba8ed7095e26a1b8e141620b06528084c022ba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cd8b834ae855f139f9374c54ba8ed7095e26a1b8e141620b06528084c022ba8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cd8b834ae855f139f9374c54ba8ed7095e26a1b8e141620b06528084c022ba8", kill_on_drop: false }` [INFO] [stdout] 7cd8b834ae855f139f9374c54ba8ed7095e26a1b8e141620b06528084c022ba8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fcf25a65e67d27abdad1ab8e23e8db2700b3b0ce5244fab5fa0990f8d5cfcf64 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fcf25a65e67d27abdad1ab8e23e8db2700b3b0ce5244fab5fa0990f8d5cfcf64", kill_on_drop: false }` [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling chrono v0.3.0 [INFO] [stderr] Compiling serde_codegen_internals v0.14.2 [INFO] [stderr] Compiling serde_derive v0.9.15 [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 13.08s [INFO] running `Command { std: "docker" "inspect" "fcf25a65e67d27abdad1ab8e23e8db2700b3b0ce5244fab5fa0990f8d5cfcf64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcf25a65e67d27abdad1ab8e23e8db2700b3b0ce5244fab5fa0990f8d5cfcf64", kill_on_drop: false }` [INFO] [stdout] fcf25a65e67d27abdad1ab8e23e8db2700b3b0ce5244fab5fa0990f8d5cfcf64 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4c47e700603f26467f7430a297442a639815e303249f9b596240258859ac7ecc [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4c47e700603f26467f7430a297442a639815e303249f9b596240258859ac7ecc", kill_on_drop: false }` [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] 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 test [unoptimized + debuginfo] target(s) in 6.01s [INFO] running `Command { std: "docker" "inspect" "4c47e700603f26467f7430a297442a639815e303249f9b596240258859ac7ecc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c47e700603f26467f7430a297442a639815e303249f9b596240258859ac7ecc", kill_on_drop: false }` [INFO] [stdout] 4c47e700603f26467f7430a297442a639815e303249f9b596240258859ac7ecc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 6fdd6d5c7d2b162436216e43521cda06712f58bd69823391bc849e32f0085be9 [INFO] running `Command { std: "docker" "start" "-a" "6fdd6d5c7d2b162436216e43521cda06712f58bd69823391bc849e32f0085be9", 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.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/michromer-4c48f151551caac7) [INFO] [stdout] [INFO] [stdout] running 9 tests [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 data::tests::test_encode_order ... 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_decode_date_time ... ok [INFO] [stdout] test client::tests::test_start_level ... ok [INFO] [stdout] test data::tests::test_bid_ask_encode_field_name ... ok [INFO] [stderr] Doc-tests michromer [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.07s [INFO] [stdout] [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" "6fdd6d5c7d2b162436216e43521cda06712f58bd69823391bc849e32f0085be9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6fdd6d5c7d2b162436216e43521cda06712f58bd69823391bc849e32f0085be9", kill_on_drop: false }` [INFO] [stdout] 6fdd6d5c7d2b162436216e43521cda06712f58bd69823391bc849e32f0085be9