[INFO] fetching crate saltpig 0.0.0... [INFO] checking saltpig-0.0.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate saltpig 0.0.0 into /workspace/builds/worker-6-tc1/source [INFO] validating manifest of crates.io crate saltpig 0.0.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate saltpig 0.0.0 [INFO] finished tweaking crates.io crate saltpig 0.0.0 [INFO] tweaked toml for crates.io crate saltpig 0.0.0 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 41 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding cfg-if v0.1.10 (available: v1.0.0) [INFO] [stderr] Adding cloudabi v0.0.3 (available: v0.1.0) [INFO] [stderr] Adding env_logger v0.5.13 (available: v0.11.5) [INFO] [stderr] Adding half v1.8.3 (available: v2.4.1) [INFO] [stderr] Adding hermit-abi v0.1.19 (available: v0.4.0) [INFO] [stderr] Adding humantime v1.3.0 (available: v2.1.0) [INFO] [stderr] Adding quick-error v1.2.3 (available: v2.0.1) [INFO] [stderr] Adding quickcheck v0.6.2 (available: v1.0.3) [INFO] [stderr] Adding rand v0.4.6 (available: v0.8.5) [INFO] [stderr] Adding rand v0.5.6 (available: v0.8.5) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] [stderr] Adding uuid v0.6.5 (available: v1.10.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quickcheck v0.6.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6373dc002b0c9685bb3f0eb6deae785840f575ad8243e680314bf0200e97f90d [INFO] running `Command { std: "docker" "start" "-a" "6373dc002b0c9685bb3f0eb6deae785840f575ad8243e680314bf0200e97f90d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6373dc002b0c9685bb3f0eb6deae785840f575ad8243e680314bf0200e97f90d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6373dc002b0c9685bb3f0eb6deae785840f575ad8243e680314bf0200e97f90d", kill_on_drop: false }` [INFO] [stdout] 6373dc002b0c9685bb3f0eb6deae785840f575ad8243e680314bf0200e97f90d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86b086c501d4d192ed8c2b5c442310cd99dae76c0f78d8b4b1e51287c8c11437 [INFO] running `Command { std: "docker" "start" "-a" "86b086c501d4d192ed8c2b5c442310cd99dae76c0f78d8b4b1e51287c8c11437", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking half v1.8.3 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking saltpig v0.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused `#[macro_use]` import [INFO] [stdout] --> src/lib.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | n @ 0...23 => Prefix::from((major, n.into())), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | n @ 28...30 => return Err(Error::UnknownInfo(n, major)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | 32...255 => unreachable!(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:222:22 [INFO] [stdout] | [INFO] [stdout] 222 | n @ 0...23 => Value::from_simple_value(n), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:236:23 [INFO] [stdout] | [INFO] [stdout] 236 | n @ 28...30 => return Err(Error::UnknownInfo(n, Major::Simple)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:238:19 [INFO] [stdout] | [INFO] [stdout] 238 | 32...255 => unreachable!(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `half::consts::NAN`: moved to `f16::NAN` [INFO] [stdout] --> src/value/convert.rs:231:43 [INFO] [stdout] | [INFO] [stdout] 231 | return Ok(::half::consts::NAN) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `try_from` has been stable since 1.34.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | #![feature(try_from)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:103:32 [INFO] [stdout] | [INFO] [stdout] 103 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 103 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | formatter.write_str(self.description())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:244:34 [INFO] [stdout] | [INFO] [stdout] 244 | formatter.write_str(self.description())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `half::f16::as_bits`: renamed to `to_bits` [INFO] [stdout] --> src/value/mod.rs:242:27 [INFO] [stdout] | [INFO] [stdout] 242 | x.as_bits(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/de.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/de.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 59 | n @ 0...23 => Prefix::from((major, n.into())), [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] 60 | 24 => Prefix::from((major, self.reader.read_u8()?.into())), [INFO] [stdout] | -- matches some of the same values [INFO] [stdout] 61 | 25 => Prefix::from((major, self.reader.read_u16::()?.into())), [INFO] [stdout] | -- matches some of the same values [INFO] [stdout] 62 | 26 => Prefix::from((major, self.reader.read_u32::()?.into())), [INFO] [stdout] | -- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 73 | _ => unreachable!(), [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/de.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | if let Ok(prefix) = (major, 31).try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/de.rs:239:17 [INFO] [stdout] | [INFO] [stdout] 239 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/de.rs:239:17 [INFO] [stdout] | [INFO] [stdout] 222 | n @ 0...23 => Value::from_simple_value(n), [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] 223 | 24 => Value::from_simple_value(self.reader.read_u8()?), [INFO] [stdout] | -- matches some of the same values [INFO] [stdout] 224 | 25 => { [INFO] [stdout] | -- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 228 | 26 => { [INFO] [stdout] | -- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 239 | _ => unreachable!(), [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking quickcheck v0.6.2 [INFO] [stdout] error[E0432]: unresolved import `uuid` [INFO] [stdout] --> src/test.rs:284:11 [INFO] [stdout] | [INFO] [stdout] 284 | use ::uuid::Uuid; [INFO] [stdout] | ^^^^ help: a similar path exists: `super::uuid` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/lib.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 64 | extern crate uuid; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `ext-uuid` feature [INFO] [stdout] --> src/lib.rs:63:7 [INFO] [stdout] | [INFO] [stdout] 63 | #[cfg(feature="ext-uuid")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `extensions::uuid` [INFO] [stdout] --> src/test.rs:287:23 [INFO] [stdout] | [INFO] [stdout] 287 | use ::extensions::uuid::Uuid as Wrapper; [INFO] [stdout] | ^^^^ could not find `uuid` in `extensions` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/extensions/mod.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | pub mod uuid; [INFO] [stdout] | ^^^^ [INFO] [stdout] note: the item is gated behind the `ext-uuid` feature [INFO] [stdout] --> src/extensions/uuid.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | #![cfg(feature="ext-uuid")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:59:18 [INFO] [stdout] | [INFO] [stdout] 59 | n @ 0...23 => Prefix::from((major, n.into())), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:64:19 [INFO] [stdout] | [INFO] [stdout] 64 | n @ 28...30 => return Err(Error::UnknownInfo(n, major)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | 32...255 => unreachable!(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:222:22 [INFO] [stdout] | [INFO] [stdout] 222 | n @ 0...23 => Value::from_simple_value(n), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:236:23 [INFO] [stdout] | [INFO] [stdout] 236 | n @ 28...30 => return Err(Error::UnknownInfo(n, Major::Simple)), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/de.rs:238:19 [INFO] [stdout] | [INFO] [stdout] 238 | 32...255 => unreachable!(), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [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] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `half::consts::INFINITY`: moved to `f16::INFINITY` [INFO] [stdout] --> src/test.rs:364:50 [INFO] [stdout] | [INFO] [stdout] 364 | roundtrip_test!(f16_inf, ::half::consts::INFINITY, b"f97c00"); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `half::consts::NAN`: moved to `f16::NAN` [INFO] [stdout] --> src/test.rs:365:50 [INFO] [stdout] | [INFO] [stdout] 365 | roundtrip_test!(f16_nan, ::half::consts::NAN, b"f97e00"); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `half::consts::NEG_INFINITY`: moved to `f16::NEG_INFINITY` [INFO] [stdout] --> src/test.rs:366:51 [INFO] [stdout] | [INFO] [stdout] 366 | roundtrip_test!(f16_ninf, ::half::consts::NEG_INFINITY, b"f9fc00"); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `half::consts::NAN`: moved to `f16::NAN` [INFO] [stdout] --> src/value/convert.rs:231:43 [INFO] [stdout] | [INFO] [stdout] 231 | return Ok(::half::consts::NAN) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `try_from` has been stable since 1.34.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | #![feature(try_from)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:103:32 [INFO] [stdout] | [INFO] [stdout] 103 | fn cause(&self) -> Option<&::std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 103 | fn cause(&self) -> Option<&dyn (::std::error::Error)> { [INFO] [stdout] | +++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:122:34 [INFO] [stdout] | [INFO] [stdout] 122 | formatter.write_str(self.description())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:244:34 [INFO] [stdout] | [INFO] [stdout] 244 | formatter.write_str(self.description())?; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `half::f16::as_bits`: renamed to `to_bits` [INFO] [stdout] --> src/value/mod.rs:242:27 [INFO] [stdout] | [INFO] [stdout] 242 | x.as_bits(), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::std::convert::TryFrom` [INFO] [stdout] --> src/test.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | use ::std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | roundtrip_test!(roundtrip_uuid_nil, Wrapper, Uuid::nil(), b"d8255000000000000000000000000000000000"); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] = note: this warning originates in the macro `roundtrip_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::std::convert::TryFrom` [INFO] [stdout] --> src/test.rs:282:9 [INFO] [stdout] | [INFO] [stdout] 282 | use ::std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `::std::convert::TryFrom` [INFO] [stdout] --> src/test.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | use ::std::convert::TryFrom; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 291 | roundtrip_test!(roundtrip_uuid_random, Wrapper, Uuid::from_uuid_bytes([0x37, 0xc3, 0x96, 0xc1, 0xfb, 0x97, 0x4e, 0xff, 0xb3, 0xa8, 0xd7, 0xae, 0xb8, 0xb9, 0x6c, 0xc7]), b"d8255037c396c1fb974effb3a8d7aeb8b96cc7... [INFO] [stdout] | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `roundtrip_test` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/de.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 73 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/de.rs:73:13 [INFO] [stdout] | [INFO] [stdout] 59 | n @ 0...23 => Prefix::from((major, n.into())), [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] 60 | 24 => Prefix::from((major, self.reader.read_u8()?.into())), [INFO] [stdout] | -- matches some of the same values [INFO] [stdout] 61 | 25 => Prefix::from((major, self.reader.read_u16::()?.into())), [INFO] [stdout] | -- matches some of the same values [INFO] [stdout] 62 | 26 => Prefix::from((major, self.reader.read_u32::()?.into())), [INFO] [stdout] | -- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 73 | _ => unreachable!(), [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/de.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | if let Ok(prefix) = (major, 31).try_into() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/de.rs:239:17 [INFO] [stdout] | [INFO] [stdout] 239 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/de.rs:239:17 [INFO] [stdout] | [INFO] [stdout] 222 | n @ 0...23 => Value::from_simple_value(n), [INFO] [stdout] | ------ matches some of the same values [INFO] [stdout] 223 | 24 => Value::from_simple_value(self.reader.read_u8()?), [INFO] [stdout] | -- matches some of the same values [INFO] [stdout] 224 | 25 => { [INFO] [stdout] | -- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 228 | 26 => { [INFO] [stdout] | -- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 239 | _ => unreachable!(), [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `saltpig` (lib test) due to 3 previous errors; 21 warnings emitted [INFO] running `Command { std: "docker" "inspect" "86b086c501d4d192ed8c2b5c442310cd99dae76c0f78d8b4b1e51287c8c11437", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86b086c501d4d192ed8c2b5c442310cd99dae76c0f78d8b4b1e51287c8c11437", kill_on_drop: false }` [INFO] [stdout] 86b086c501d4d192ed8c2b5c442310cd99dae76c0f78d8b4b1e51287c8c11437