[INFO] fetching crate trust-acme 0.1.0... [INFO] testing trust-acme-0.1.0 against 1.59.0 for beta-1.60-1 [INFO] extracting crate trust-acme 0.1.0 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate trust-acme 0.1.0 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate trust-acme 0.1.0 [INFO] finished tweaking crates.io crate trust-acme 0.1.0 [INFO] tweaked toml for crates.io crate trust-acme 0.1.0 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.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.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nibble_vec v0.0.4 [INFO] [stderr] Downloaded ct-logs v0.5.1 [INFO] [stderr] Downloaded trust-dns v0.16.1 [INFO] [stderr] Downloaded hyper-rustls v0.16.1 [INFO] [stderr] Downloaded webpki-roots v0.16.0 [INFO] [stderr] Downloaded radix_trie v0.1.6 [INFO] [stderr] Downloaded bcder v0.2.2 [INFO] [stderr] Downloaded reqwest v0.9.19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+1.59.0" "metadata" "--no-deps" "--format-version=1", 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] fcf3507b614f076aa4b17288550275e82da6af639ea9eaaa8488fdd80b679085 [INFO] running `Command { std: "docker" "start" "-a" "fcf3507b614f076aa4b17288550275e82da6af639ea9eaaa8488fdd80b679085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcf3507b614f076aa4b17288550275e82da6af639ea9eaaa8488fdd80b679085", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcf3507b614f076aa4b17288550275e82da6af639ea9eaaa8488fdd80b679085", kill_on_drop: false }` [INFO] [stdout] fcf3507b614f076aa4b17288550275e82da6af639ea9eaaa8488fdd80b679085 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a250d12fc7bde877c0b216f74815a3d68347599d7e77b137e84b4b4d9a650e19 [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" "a250d12fc7bde877c0b216f74815a3d68347599d7e77b137e84b4b4d9a650e19", kill_on_drop: false }` [INFO] [stderr] Compiling untrusted v0.6.2 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling endian-type v0.1.2 [INFO] [stderr] Compiling nibble_vec v0.0.4 [INFO] [stderr] Compiling ring v0.14.6 [INFO] [stderr] Compiling time v0.1.44 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling backtrace v0.3.64 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling data-encoding-macro-internal v0.1.10 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling radix_trie v0.1.6 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling data-encoding-macro v0.1.12 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-uds v0.2.7 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling sct v0.5.0 [INFO] [stderr] Compiling webpki v0.19.1 [INFO] [stderr] Compiling ct-logs v0.5.1 [INFO] [stderr] Compiling rustls v0.15.2 [INFO] [stderr] Compiling webpki-roots v0.16.0 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling toml v0.4.10 [INFO] [stderr] Compiling hyper v0.12.36 [INFO] [stderr] Compiling enum-as-inner v0.2.1 [INFO] [stderr] Compiling derive_more v0.14.1 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling tokio-rustls v0.9.4 [INFO] [stderr] Compiling trust-dns-proto v0.7.4 [INFO] [stderr] Compiling hyper-rustls v0.16.1 [INFO] [stderr] Compiling reqwest v0.9.19 [INFO] [stderr] Compiling bcder v0.2.2 [INFO] [stderr] Compiling trust-dns v0.16.1 [INFO] [stderr] Compiling trust-acme v0.1.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/acme.rs:565:40 [INFO] [stdout] | [INFO] [stdout] 565 | f.write_str(std::error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() -> Result<(), Box> { [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 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - fn main() -> Result<(), Box> { [INFO] [stdout] 6 + fn main() -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/acme.rs:7:45 [INFO] [stdout] | [INFO] [stdout] 7 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - type Result = std::result::Result>; [INFO] [stdout] 7 + type Result = std::result::Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:49:56 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn from_file(path: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - pub fn from_file(path: &str) -> Result> { [INFO] [stdout] 49 + pub fn from_file(path: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/csr.rs:7:85 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn generate_csr(key: &[u8], domains: &[&str]) -> Result<(Vec, Vec), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub fn generate_csr(key: &[u8], domains: &[&str]) -> Result<(Vec, Vec), Box> { [INFO] [stdout] 7 + pub fn generate_csr(key: &[u8], domains: &[&str]) -> Result<(Vec, Vec), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dns.rs:15:45 [INFO] [stdout] | [INFO] [stdout] 15 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 - type Result = std::result::Result>; [INFO] [stdout] 15 + type Result = std::result::Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `url` [INFO] [stdout] --> src/acme.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | url: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> src/acme.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | inner: AcmeAccount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_by_rdata` [INFO] [stdout] --> src/dns.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | fn delete_by_rdata(&self, record: Record) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_tlsa` [INFO] [stdout] --> src/dns.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn delete_tlsa(&self, domain: &str, tcp: &[u16], udp: &[u16], tlsa: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | zone.set_default_caa(&domain.name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | zone.clear_tlsa(&domain.name, domain.tcp(), domain.udp()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | zone.append_tlsa(&domain.name, domain.tcp(), domain.udp(), &tlsa); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/csr.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | &csrinfo.write_encoded(Mode::Der, &mut csrinfo_encoded)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 67 | let _ = &csrinfo.write_encoded(Mode::Der, &mut csrinfo_encoded)?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/csr.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | &spki.write_encoded(Mode::Der, &mut spki_encoded)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 82 | let _ = &spki.write_encoded(Mode::Der, &mut spki_encoded)?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 08s [INFO] running `Command { std: "docker" "inspect" "a250d12fc7bde877c0b216f74815a3d68347599d7e77b137e84b4b4d9a650e19", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a250d12fc7bde877c0b216f74815a3d68347599d7e77b137e84b4b4d9a650e19", kill_on_drop: false }` [INFO] [stdout] a250d12fc7bde877c0b216f74815a3d68347599d7e77b137e84b4b4d9a650e19 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 628a72371dac0509d79aeeed074132b3a3b8d57d63ae0088f0d7164aaa56c342 [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" "628a72371dac0509d79aeeed074132b3a3b8d57d63ae0088f0d7164aaa56c342", kill_on_drop: false }` [INFO] [stderr] Compiling trust-acme v0.1.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/acme.rs:565:40 [INFO] [stdout] | [INFO] [stdout] 565 | f.write_str(std::error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/main.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | fn main() -> Result<(), Box> { [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 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 - fn main() -> Result<(), Box> { [INFO] [stdout] 6 + fn main() -> Result<(), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/acme.rs:7:45 [INFO] [stdout] | [INFO] [stdout] 7 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - type Result = std::result::Result>; [INFO] [stdout] 7 + type Result = std::result::Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/config.rs:49:56 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn from_file(path: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 49 - pub fn from_file(path: &str) -> Result> { [INFO] [stdout] 49 + pub fn from_file(path: &str) -> Result> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/csr.rs:7:85 [INFO] [stdout] | [INFO] [stdout] 7 | pub fn generate_csr(key: &[u8], domains: &[&str]) -> Result<(Vec, Vec), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 7 - pub fn generate_csr(key: &[u8], domains: &[&str]) -> Result<(Vec, Vec), Box> { [INFO] [stdout] 7 + pub fn generate_csr(key: &[u8], domains: &[&str]) -> Result<(Vec, Vec), Box> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/dns.rs:15:45 [INFO] [stdout] | [INFO] [stdout] 15 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 15 - type Result = std::result::Result>; [INFO] [stdout] 15 + type Result = std::result::Result>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `url` [INFO] [stdout] --> src/acme.rs:212:5 [INFO] [stdout] | [INFO] [stdout] 212 | url: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `inner` [INFO] [stdout] --> src/acme.rs:216:5 [INFO] [stdout] | [INFO] [stdout] 216 | inner: AcmeAccount, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_by_rdata` [INFO] [stdout] --> src/dns.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | fn delete_by_rdata(&self, record: Record) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `delete_tlsa` [INFO] [stdout] --> src/dns.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn delete_tlsa(&self, domain: &str, tcp: &[u16], udp: &[u16], tlsa: &[u8]) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:29:17 [INFO] [stdout] | [INFO] [stdout] 29 | zone.set_default_caa(&domain.name); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | zone.clear_tlsa(&domain.name, domain.tcp(), domain.udp()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/main.rs:104:25 [INFO] [stdout] | [INFO] [stdout] 104 | zone.append_tlsa(&domain.name, domain.tcp(), domain.udp(), &tlsa); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/csr.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | &csrinfo.write_encoded(Mode::Der, &mut csrinfo_encoded)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 67 | let _ = &csrinfo.write_encoded(Mode::Der, &mut csrinfo_encoded)?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/csr.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | &spki.write_encoded(Mode::Der, &mut spki_encoded)?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 82 | let _ = &spki.write_encoded(Mode::Der, &mut spki_encoded)?; [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.58s [INFO] running `Command { std: "docker" "inspect" "628a72371dac0509d79aeeed074132b3a3b8d57d63ae0088f0d7164aaa56c342", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "628a72371dac0509d79aeeed074132b3a3b8d57d63ae0088f0d7164aaa56c342", kill_on_drop: false }` [INFO] [stdout] 628a72371dac0509d79aeeed074132b3a3b8d57d63ae0088f0d7164aaa56c342 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 45aae97d25be5f7e3166f3a6e6bbee9317afe5cac943f5c305a6a70b0e63073a [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" "45aae97d25be5f7e3166f3a6e6bbee9317afe5cac943f5c305a6a70b0e63073a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stdout] [INFO] [stderr] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] running 0 tests [INFO] [stderr] --> src/acme.rs:565:40 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 565 | f.write_str(std::error::Error::description(self)) [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/main.rs:6:29 [INFO] [stderr] | [INFO] [stderr] 6 | fn main() -> Result<(), Box> { [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 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 6 - fn main() -> Result<(), Box> { [INFO] [stderr] 6 + fn main() -> Result<(), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/acme.rs:7:45 [INFO] [stderr] | [INFO] [stderr] 7 | type Result = std::result::Result>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 7 - type Result = std::result::Result>; [INFO] [stderr] 7 + type Result = std::result::Result>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/config.rs:49:56 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn from_file(path: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 49 - pub fn from_file(path: &str) -> Result> { [INFO] [stderr] 49 + pub fn from_file(path: &str) -> Result> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/csr.rs:7:85 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn generate_csr(key: &[u8], domains: &[&str]) -> Result<(Vec, Vec), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 7 - pub fn generate_csr(key: &[u8], domains: &[&str]) -> Result<(Vec, Vec), Box> { [INFO] [stderr] 7 + pub fn generate_csr(key: &[u8], domains: &[&str]) -> Result<(Vec, Vec), Box> { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/dns.rs:15:45 [INFO] [stderr] | [INFO] [stderr] 15 | type Result = std::result::Result>; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: use `dyn` [INFO] [stderr] | [INFO] [stderr] 15 - type Result = std::result::Result>; [INFO] [stderr] 15 + type Result = std::result::Result>; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: field is never read: `url` [INFO] [stderr] --> src/acme.rs:212:5 [INFO] [stderr] | [INFO] [stderr] 212 | url: String, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `inner` [INFO] [stderr] --> src/acme.rs:216:5 [INFO] [stderr] | [INFO] [stderr] 216 | inner: AcmeAccount, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `delete_by_rdata` [INFO] [stderr] --> src/dns.rs:70:8 [INFO] [stderr] | [INFO] [stderr] 70 | fn delete_by_rdata(&self, record: Record) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `delete_tlsa` [INFO] [stderr] --> src/dns.rs:137:12 [INFO] [stderr] | [INFO] [stderr] 137 | pub fn delete_tlsa(&self, domain: &str, tcp: &[u16], udp: &[u16], tlsa: &[u8]) -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:29:17 [INFO] [stderr] | [INFO] [stderr] 29 | zone.set_default_caa(&domain.name); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:103:25 [INFO] [stderr] | [INFO] [stderr] 103 | zone.clear_tlsa(&domain.name, domain.tcp(), domain.udp()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `std::result::Result` that must be used [INFO] [stderr] --> src/main.rs:104:25 [INFO] [stderr] | [INFO] [stderr] 104 | zone.append_tlsa(&domain.name, domain.tcp(), domain.udp(), &tlsa); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/csr.rs:67:5 [INFO] [stderr] | [INFO] [stderr] 67 | &csrinfo.write_encoded(Mode::Der, &mut csrinfo_encoded)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 67 | let _ = &csrinfo.write_encoded(Mode::Der, &mut csrinfo_encoded)?; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: unused borrow that must be used [INFO] [stderr] --> src/csr.rs:82:5 [INFO] [stderr] | [INFO] [stderr] 82 | &spki.write_encoded(Mode::Der, &mut spki_encoded)?; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stderr] | [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 82 | let _ = &spki.write_encoded(Mode::Der, &mut spki_encoded)?; [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `trust-acme` (bin "trust-acme" test) generated 15 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.64s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/trust_acme-ce7151aead3cda1e) [INFO] running `Command { std: "docker" "inspect" "45aae97d25be5f7e3166f3a6e6bbee9317afe5cac943f5c305a6a70b0e63073a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45aae97d25be5f7e3166f3a6e6bbee9317afe5cac943f5c305a6a70b0e63073a", kill_on_drop: false }` [INFO] [stdout] 45aae97d25be5f7e3166f3a6e6bbee9317afe5cac943f5c305a6a70b0e63073a