[INFO] cloning repository https://github.com/bitsparrow/bitsparrow-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bitsparrow/bitsparrow-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbitsparrow%2Fbitsparrow-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbitsparrow%2Fbitsparrow-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0c6bb725befecec29121c6a04b53616c207bc9a0 [INFO] testing bitsparrow/bitsparrow-rust against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbitsparrow%2Fbitsparrow-rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bitsparrow/bitsparrow-rust [INFO] finished tweaking git repo https://github.com/bitsparrow/bitsparrow-rust [INFO] tweaked toml for git repo https://github.com/bitsparrow/bitsparrow-rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bitsparrow/bitsparrow-rust on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bitsparrow/bitsparrow-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b07a0e9307dc39be3093340b56b9b2bc6fc4c7f665d78c3afe07aee7b171e605 [INFO] running `Command { std: "docker" "start" "-a" "b07a0e9307dc39be3093340b56b9b2bc6fc4c7f665d78c3afe07aee7b171e605", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b07a0e9307dc39be3093340b56b9b2bc6fc4c7f665d78c3afe07aee7b171e605", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b07a0e9307dc39be3093340b56b9b2bc6fc4c7f665d78c3afe07aee7b171e605", kill_on_drop: false }` [INFO] [stdout] b07a0e9307dc39be3093340b56b9b2bc6fc4c7f665d78c3afe07aee7b171e605 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5386119c69c686aa927d547c5bcee57bc4b327f80adf192d190614bc44b658de [INFO] running `Command { std: "docker" "start" "-a" "5386119c69c686aa927d547c5bcee57bc4b327f80adf192d190614bc44b658de", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling bitsparrow v2.0.0-rc4 (/opt/rustwide/workdir) [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/encode.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | fn encode(&self, &mut Encoder); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Encoder` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/decode.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | fn decode(&mut Decoder<'src>) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Decoder<'src>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | let value = try!(BitDecode::decode(&mut d)); [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/decode.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | let uint8 = try!(self.uint8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | let uint32 = try!(self.uint32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:141:22 [INFO] [stdout] | [INFO] [stdout] 141 | let uint64 = try!(self.uint64()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:181:20 [INFO] [stdout] | [INFO] [stdout] 181 | let bits = try!(self.uint8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:193:20 [INFO] [stdout] | [INFO] [stdout] 193 | let high = try!(self.uint8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:205:34 [INFO] [stdout] | [INFO] [stdout] 205 | size = (size << 8) | try!(self.uint8()) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:221:19 [INFO] [stdout] | [INFO] [stdout] 221 | let len = try!(self.size()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:246:19 [INFO] [stdout] | [INFO] [stdout] 246 | from_utf8(try!(self.bytes())).map_err(Into::into) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:292:19 [INFO] [stdout] | [INFO] [stdout] 292 | let len = try!(d.size()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:327:27 [INFO] [stdout] | [INFO] [stdout] 327 | String::from_utf8(try!(BitDecode::decode(d))).map_err(Into::into) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:334:20 [INFO] [stdout] | [INFO] [stdout] 334 | let size = try!(d.size()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:339:22 [INFO] [stdout] | [INFO] [stdout] 339 | vec.push(try!(D::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 361 | impl_tuple!(A, B); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | impl_tuple!(A, B, C); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | impl_tuple!(A, B, C, D); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | impl_tuple!(A, B, C, D, E); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | impl_tuple!(A, B, C, D, E, F); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | impl_tuple!(A, B, C, D, E, F, G); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | impl_tuple!(A, B, C, D, E, F, G, H); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | impl_tuple!(A, B, C, D, E, F, G, H, I); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | impl_tuple!(A, B, C, D, E, F, G, H, I, J); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/encode.rs:220:46 [INFO] [stdout] | [INFO] [stdout] 220 | let mut buf: [u8; 9] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/decode.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | read_bytes!(self, u16) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/decode.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | read_bytes!(self, u32) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/decode.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | read_bytes!(self, u64) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/decode.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | read_bytes!(self, i16) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/decode.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | read_bytes!(self, i32) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/decode.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | read_bytes!(self, i64) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [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/utils.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | f.write_str(error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 9]` does not permit being left uninitialized [INFO] [stdout] --> src/encode.rs:220:41 [INFO] [stdout] | [INFO] [stdout] 220 | let mut buf: [u8; 9] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/encode.rs:286:37 [INFO] [stdout] | [INFO] [stdout] 286 | BitEncode::encode(&unsafe { mem::transmute::(*self) }, e); [INFO] [stdout] | --------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/encode.rs:298:37 [INFO] [stdout] | [INFO] [stdout] 298 | BitEncode::encode(&unsafe { mem::transmute::(*self) }, e); [INFO] [stdout] | --------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decode.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(data: &[u8]) -> Decoder { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(data: &[u8]) -> Decoder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u16` does not permit being left uninitialized [INFO] [stdout] --> src/decode.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 89 | read_bytes!(self, u16) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/decode.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 95 | read_bytes!(self, u32) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u64` does not permit being left uninitialized [INFO] [stdout] --> src/decode.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 101 | read_bytes!(self, u64) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i16` does not permit being left uninitialized [INFO] [stdout] --> src/decode.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 115 | read_bytes!(self, i16) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/decode.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 121 | read_bytes!(self, i32) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i64` does not permit being left uninitialized [INFO] [stdout] --> src/decode.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 127 | read_bytes!(self, i64) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/decode.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | Ok(unsafe { mem::transmute(uint32) }) [INFO] [stdout] | --------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/decode.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | Ok(unsafe { mem::transmute(uint64) }) [INFO] [stdout] | --------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.36s [INFO] running `Command { std: "docker" "inspect" "5386119c69c686aa927d547c5bcee57bc4b327f80adf192d190614bc44b658de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5386119c69c686aa927d547c5bcee57bc4b327f80adf192d190614bc44b658de", kill_on_drop: false }` [INFO] [stdout] 5386119c69c686aa927d547c5bcee57bc4b327f80adf192d190614bc44b658de [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] bd5c2cc4ab026c2a8eee33c4d43d75bd2efb0a8e6da1d841dbbddb649c0848ee [INFO] running `Command { std: "docker" "start" "-a" "bd5c2cc4ab026c2a8eee33c4d43d75bd2efb0a8e6da1d841dbbddb649c0848ee", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/encode.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | fn encode(&self, &mut Encoder); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Encoder` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/decode.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | fn decode(&mut Decoder<'src>) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Decoder<'src>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | let value = try!(BitDecode::decode(&mut d)); [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/decode.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | let uint8 = try!(self.uint8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | let uint32 = try!(self.uint32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:141:22 [INFO] [stdout] | [INFO] [stdout] 141 | let uint64 = try!(self.uint64()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:181:20 [INFO] [stdout] | [INFO] [stdout] 181 | let bits = try!(self.uint8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:193:20 [INFO] [stdout] | [INFO] [stdout] 193 | let high = try!(self.uint8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:205:34 [INFO] [stdout] | [INFO] [stdout] 205 | size = (size << 8) | try!(self.uint8()) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:221:19 [INFO] [stdout] | [INFO] [stdout] 221 | let len = try!(self.size()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:246:19 [INFO] [stdout] | [INFO] [stdout] 246 | from_utf8(try!(self.bytes())).map_err(Into::into) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:292:19 [INFO] [stdout] | [INFO] [stdout] 292 | let len = try!(d.size()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:327:27 [INFO] [stdout] | [INFO] [stdout] 327 | String::from_utf8(try!(BitDecode::decode(d))).map_err(Into::into) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:334:20 [INFO] [stdout] | [INFO] [stdout] 334 | let size = try!(d.size()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:339:22 [INFO] [stdout] | [INFO] [stdout] 339 | vec.push(try!(D::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 361 | impl_tuple!(A, B); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | impl_tuple!(A, B, C); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | impl_tuple!(A, B, C, D); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | impl_tuple!(A, B, C, D, E); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | impl_tuple!(A, B, C, D, E, F); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | impl_tuple!(A, B, C, D, E, F, G); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | impl_tuple!(A, B, C, D, E, F, G, H); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | impl_tuple!(A, B, C, D, E, F, G, H, I); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | impl_tuple!(A, B, C, D, E, F, G, H, I, J); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/encode.rs:220:46 [INFO] [stdout] | [INFO] [stdout] 220 | let mut buf: [u8; 9] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/decode.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | read_bytes!(self, u16) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/decode.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | read_bytes!(self, u32) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling bitsparrow v2.0.0-rc4 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/decode.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | read_bytes!(self, u64) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/decode.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | read_bytes!(self, i16) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/decode.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | read_bytes!(self, i32) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/decode.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | read_bytes!(self, i64) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [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/utils.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | f.write_str(error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 9]` does not permit being left uninitialized [INFO] [stdout] --> src/encode.rs:220:41 [INFO] [stdout] | [INFO] [stdout] 220 | let mut buf: [u8; 9] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/encode.rs:286:37 [INFO] [stdout] | [INFO] [stdout] 286 | BitEncode::encode(&unsafe { mem::transmute::(*self) }, e); [INFO] [stdout] | --------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/encode.rs:298:37 [INFO] [stdout] | [INFO] [stdout] 298 | BitEncode::encode(&unsafe { mem::transmute::(*self) }, e); [INFO] [stdout] | --------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decode.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(data: &[u8]) -> Decoder { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(data: &[u8]) -> Decoder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u16` does not permit being left uninitialized [INFO] [stdout] --> src/decode.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 89 | read_bytes!(self, u16) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/decode.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 95 | read_bytes!(self, u32) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u64` does not permit being left uninitialized [INFO] [stdout] --> src/decode.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 101 | read_bytes!(self, u64) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i16` does not permit being left uninitialized [INFO] [stdout] --> src/decode.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 115 | read_bytes!(self, i16) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/decode.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 121 | read_bytes!(self, i32) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i64` does not permit being left uninitialized [INFO] [stdout] --> src/decode.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 127 | read_bytes!(self, i64) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/decode.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | Ok(unsafe { mem::transmute(uint32) }) [INFO] [stdout] | --------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/decode.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | Ok(unsafe { mem::transmute(uint64) }) [INFO] [stdout] | --------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/encode.rs:13:22 [INFO] [stdout] | [INFO] [stdout] 13 | fn encode(&self, &mut Encoder); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Encoder` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/decode.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | fn decode(&mut Decoder<'src>) -> Result; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Decoder<'src>` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | let value = try!(BitDecode::decode(&mut d)); [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/decode.rs:107:21 [INFO] [stdout] | [INFO] [stdout] 107 | let uint8 = try!(self.uint8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:133:22 [INFO] [stdout] | [INFO] [stdout] 133 | let uint32 = try!(self.uint32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:141:22 [INFO] [stdout] | [INFO] [stdout] 141 | let uint64 = try!(self.uint64()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:181:20 [INFO] [stdout] | [INFO] [stdout] 181 | let bits = try!(self.uint8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:193:20 [INFO] [stdout] | [INFO] [stdout] 193 | let high = try!(self.uint8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:205:34 [INFO] [stdout] | [INFO] [stdout] 205 | size = (size << 8) | try!(self.uint8()) as usize; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:221:19 [INFO] [stdout] | [INFO] [stdout] 221 | let len = try!(self.size()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:246:19 [INFO] [stdout] | [INFO] [stdout] 246 | from_utf8(try!(self.bytes())).map_err(Into::into) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:292:19 [INFO] [stdout] | [INFO] [stdout] 292 | let len = try!(d.size()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:327:27 [INFO] [stdout] | [INFO] [stdout] 327 | String::from_utf8(try!(BitDecode::decode(d))).map_err(Into::into) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:334:20 [INFO] [stdout] | [INFO] [stdout] 334 | let size = try!(d.size()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:339:22 [INFO] [stdout] | [INFO] [stdout] 339 | vec.push(try!(D::decode(d))); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 361 | impl_tuple!(A, B); [INFO] [stdout] | ----------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 362 | impl_tuple!(A, B, C); [INFO] [stdout] | -------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 363 | impl_tuple!(A, B, C, D); [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | impl_tuple!(A, B, C, D, E); [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 365 | impl_tuple!(A, B, C, D, E, F); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 366 | impl_tuple!(A, B, C, D, E, F, G); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 367 | impl_tuple!(A, B, C, D, E, F, G, H); [INFO] [stdout] | ----------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 368 | impl_tuple!(A, B, C, D, E, F, G, H, I); [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/decode.rs:355:25 [INFO] [stdout] | [INFO] [stdout] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 369 | impl_tuple!(A, B, C, D, E, F, G, H, I, J); [INFO] [stdout] | ----------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/encode.rs:220:46 [INFO] [stdout] | [INFO] [stdout] 220 | let mut buf: [u8; 9] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/decode.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | read_bytes!(self, u16) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/decode.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | read_bytes!(self, u32) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/decode.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | read_bytes!(self, u64) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/decode.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | read_bytes!(self, i16) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/decode.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | read_bytes!(self, i32) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/decode.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | read_bytes!(self, i64) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [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/utils.rs:41:35 [INFO] [stdout] | [INFO] [stdout] 41 | f.write_str(error::Error::description(self)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 9]` does not permit being left uninitialized [INFO] [stdout] --> src/encode.rs:220:41 [INFO] [stdout] | [INFO] [stdout] 220 | let mut buf: [u8; 9] = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/encode.rs:286:37 [INFO] [stdout] | [INFO] [stdout] 286 | BitEncode::encode(&unsafe { mem::transmute::(*self) }, e); [INFO] [stdout] | --------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::to_bits` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/encode.rs:298:37 [INFO] [stdout] | [INFO] [stdout] 298 | BitEncode::encode(&unsafe { mem::transmute::(*self) }, e); [INFO] [stdout] | --------------------------^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::to_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/decode.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(data: &[u8]) -> Decoder { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | pub fn new(data: &[u8]) -> Decoder<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u16` does not permit being left uninitialized [INFO] [stdout] --> src/decode.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 89 | read_bytes!(self, u16) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/decode.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 95 | read_bytes!(self, u32) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u64` does not permit being left uninitialized [INFO] [stdout] --> src/decode.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 101 | read_bytes!(self, u64) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i16` does not permit being left uninitialized [INFO] [stdout] --> src/decode.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 115 | read_bytes!(self, i16) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/decode.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 121 | read_bytes!(self, i32) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i64` does not permit being left uninitialized [INFO] [stdout] --> src/decode.rs:30:33 [INFO] [stdout] | [INFO] [stdout] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 127 | read_bytes!(self, i64) [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/decode.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | Ok(unsafe { mem::transmute(uint32) }) [INFO] [stdout] | --------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f32::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/decode.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | Ok(unsafe { mem::transmute(uint64) }) [INFO] [stdout] | --------------^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `f64::from_bits` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.35s [INFO] running `Command { std: "docker" "inspect" "bd5c2cc4ab026c2a8eee33c4d43d75bd2efb0a8e6da1d841dbbddb649c0848ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd5c2cc4ab026c2a8eee33c4d43d75bd2efb0a8e6da1d841dbbddb649c0848ee", kill_on_drop: false }` [INFO] [stdout] bd5c2cc4ab026c2a8eee33c4d43d75bd2efb0a8e6da1d841dbbddb649c0848ee [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] bde6c9aeea11809e959779c35692762ee475e8ab2d2135e819354ae6081d53aa [INFO] running `Command { std: "docker" "start" "-a" "bde6c9aeea11809e959779c35692762ee475e8ab2d2135e819354ae6081d53aa", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/encode.rs:13:22 [INFO] [stderr] | [INFO] [stderr] 13 | fn encode(&self, &mut Encoder); [INFO] [stderr] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Encoder` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/decode.rs:18:15 [INFO] [stderr] | [INFO] [stderr] 18 | fn decode(&mut Decoder<'src>) -> Result; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut Decoder<'src>` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/decode.rs:63:21 [INFO] [stderr] | [INFO] [stderr] 63 | let value = try!(BitDecode::decode(&mut d)); [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/decode.rs:107:21 [INFO] [stderr] | [INFO] [stderr] 107 | let uint8 = try!(self.uint8()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/decode.rs:133:22 [INFO] [stderr] | [INFO] [stderr] 133 | let uint32 = try!(self.uint32()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/decode.rs:141:22 [INFO] [stderr] | [INFO] [stderr] 141 | let uint64 = try!(self.uint64()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/decode.rs:181:20 [INFO] [stderr] | [INFO] [stderr] 181 | let bits = try!(self.uint8()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/decode.rs:193:20 [INFO] [stderr] | [INFO] [stderr] 193 | let high = try!(self.uint8()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/decode.rs:205:34 [INFO] [stderr] | [INFO] [stderr] 205 | size = (size << 8) | try!(self.uint8()) as usize; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/decode.rs:221:19 [INFO] [stderr] | [INFO] [stderr] 221 | let len = try!(self.size()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/decode.rs:246:19 [INFO] [stderr] | [INFO] [stderr] 246 | from_utf8(try!(self.bytes())).map_err(Into::into) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/decode.rs:292:19 [INFO] [stderr] | [INFO] [stderr] 292 | let len = try!(d.size()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/decode.rs:327:27 [INFO] [stderr] | [INFO] [stderr] 327 | String::from_utf8(try!(BitDecode::decode(d))).map_err(Into::into) [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/decode.rs:334:20 [INFO] [stderr] | [INFO] [stderr] 334 | let size = try!(d.size()); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/decode.rs:339:22 [INFO] [stderr] | [INFO] [stderr] 339 | vec.push(try!(D::decode(d))); [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/decode.rs:355:25 [INFO] [stderr] | [INFO] [stderr] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 361 | impl_tuple!(A, B); [INFO] [stderr] | ----------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/decode.rs:355:25 [INFO] [stderr] | [INFO] [stderr] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 362 | impl_tuple!(A, B, C); [INFO] [stderr] | -------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/decode.rs:355:25 [INFO] [stderr] | [INFO] [stderr] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 363 | impl_tuple!(A, B, C, D); [INFO] [stderr] | ----------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/decode.rs:355:25 [INFO] [stderr] | [INFO] [stderr] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 364 | impl_tuple!(A, B, C, D, E); [INFO] [stderr] | -------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/decode.rs:355:25 [INFO] [stderr] | [INFO] [stderr] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 365 | impl_tuple!(A, B, C, D, E, F); [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/decode.rs:355:25 [INFO] [stderr] | [INFO] [stderr] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 366 | impl_tuple!(A, B, C, D, E, F, G); [INFO] [stderr] | -------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/decode.rs:355:25 [INFO] [stderr] | [INFO] [stderr] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 367 | impl_tuple!(A, B, C, D, E, F, G, H); [INFO] [stderr] | ----------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/decode.rs:355:25 [INFO] [stderr] | [INFO] [stderr] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 368 | impl_tuple!(A, B, C, D, E, F, G, H, I); [INFO] [stderr] | -------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stderr] --> src/decode.rs:355:25 [INFO] [stderr] | [INFO] [stderr] 355 | Ok(( $( try!($l::decode(d)) ),* )) [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 369 | impl_tuple!(A, B, C, D, E, F, G, H, I, J); [INFO] [stderr] | ----------------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `impl_tuple` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/encode.rs:220:46 [INFO] [stderr] | [INFO] [stderr] 220 | let mut buf: [u8; 9] = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/decode.rs:30:38 [INFO] [stderr] | [INFO] [stderr] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 89 | read_bytes!(self, u16) [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/decode.rs:30:38 [INFO] [stderr] | [INFO] [stderr] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 95 | read_bytes!(self, u32) [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/decode.rs:30:38 [INFO] [stderr] | [INFO] [stderr] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 101 | read_bytes!(self, u64) [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/decode.rs:30:38 [INFO] [stderr] | [INFO] [stderr] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 115 | read_bytes!(self, i16) [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/decode.rs:30:38 [INFO] [stderr] | [INFO] [stderr] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 121 | read_bytes!(self, i32) [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/decode.rs:30:38 [INFO] [stderr] | [INFO] [stderr] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 127 | read_bytes!(self, i64) [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stderr] --> src/utils.rs:41:35 [INFO] [stderr] | [INFO] [stderr] 41 | f.write_str(error::Error::description(self)) [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: the type `[u8; 9]` does not permit being left uninitialized [INFO] [stderr] --> src/encode.rs:220:41 [INFO] [stderr] | [INFO] [stderr] 220 | let mut buf: [u8; 9] = unsafe { mem::uninitialized() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = note: `#[warn(invalid_value)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/encode.rs:286:37 [INFO] [stderr] | [INFO] [stderr] 286 | BitEncode::encode(&unsafe { mem::transmute::(*self) }, e); [INFO] [stderr] | --------------------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f32::to_bits` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/encode.rs:298:37 [INFO] [stderr] | [INFO] [stderr] 298 | BitEncode::encode(&unsafe { mem::transmute::(*self) }, e); [INFO] [stderr] | --------------------------^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f64::to_bits` [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/decode.rs:50:22 [INFO] [stderr] | [INFO] [stderr] 50 | pub fn new(data: &[u8]) -> Decoder { [INFO] [stderr] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 50 | pub fn new(data: &[u8]) -> Decoder<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: the type `u16` does not permit being left uninitialized [INFO] [stderr] --> src/decode.rs:30:33 [INFO] [stderr] | [INFO] [stderr] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] ... [INFO] [stderr] 89 | read_bytes!(self, u16) [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `u32` does not permit being left uninitialized [INFO] [stderr] --> src/decode.rs:30:33 [INFO] [stderr] | [INFO] [stderr] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] ... [INFO] [stderr] 95 | read_bytes!(self, u32) [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `u64` does not permit being left uninitialized [INFO] [stderr] --> src/decode.rs:30:33 [INFO] [stderr] | [INFO] [stderr] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] ... [INFO] [stderr] 101 | read_bytes!(self, u64) [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `i16` does not permit being left uninitialized [INFO] [stderr] --> src/decode.rs:30:33 [INFO] [stderr] | [INFO] [stderr] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] ... [INFO] [stderr] 115 | read_bytes!(self, i16) [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `i32` does not permit being left uninitialized [INFO] [stderr] --> src/decode.rs:30:33 [INFO] [stderr] | [INFO] [stderr] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] ... [INFO] [stderr] 121 | read_bytes!(self, i32) [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: the type `i64` does not permit being left uninitialized [INFO] [stderr] --> src/decode.rs:30:33 [INFO] [stderr] | [INFO] [stderr] 30 | let mut value: $t = mem::uninitialized(); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] ... [INFO] [stderr] 127 | read_bytes!(self, i64) [INFO] [stderr] | ---------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = note: this warning originates in the macro `read_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/decode.rs:135:21 [INFO] [stderr] | [INFO] [stderr] 135 | Ok(unsafe { mem::transmute(uint32) }) [INFO] [stderr] | --------------^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f32::from_bits` [INFO] [stderr] [INFO] [stderr] warning: unnecessary transmute [INFO] [stderr] --> src/decode.rs:143:21 [INFO] [stderr] | [INFO] [stderr] 143 | Ok(unsafe { mem::transmute(uint64) }) [INFO] [stderr] | --------------^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: replace this with: `f64::from_bits` [INFO] [stderr] [INFO] [stderr] warning: `bitsparrow` (lib) generated 44 warnings (run `cargo fix --lib -p bitsparrow` to apply 7 suggestions) [INFO] [stderr] warning: `bitsparrow` (lib test) generated 44 warnings (44 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/bitsparrow-fc1506d3bc3b3704) [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] [stderr] Running tests/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/lib-3a8b7d5216751178) [INFO] [stdout] [INFO] [stdout] running 55 tests [INFO] [stdout] test bytes ... ok [INFO] [stdout] test decode_complex_vec ... ok [INFO] [stdout] test decode_tuple ... ok [INFO] [stdout] test eat_own_dog_food ... ok [INFO] [stdout] test bool_false ... ok [INFO] [stdout] test bool_true ... ok [INFO] [stdout] test encode_decode_slices ... ok [INFO] [stdout] test float32_neg ... ok [INFO] [stdout] test float32_pos ... ok [INFO] [stdout] test encode_complex_slice ... ok [INFO] [stdout] test encode_tuple ... ok [INFO] [stdout] test int16_max ... ok [INFO] [stdout] test int32_max ... ok [INFO] [stdout] test int64_max ... ok [INFO] [stdout] test int16_zero ... ok [INFO] [stdout] test int64_min ... ok [INFO] [stdout] test int64_zero ... ok [INFO] [stdout] test int8_max ... ok [INFO] [stdout] test int8_zero ... ok [INFO] [stdout] test float64_pos ... ok [INFO] [stdout] test int8_min ... ok [INFO] [stdout] test size_1 ... ok [INFO] [stdout] test float64_neg ... ok [INFO] [stdout] test int32_min ... ok [INFO] [stdout] test int16_min ... ok [INFO] [stdout] test int32_zero ... ok [INFO] [stdout] test size_2 ... ok [INFO] [stdout] test size_3 ... ok [INFO] [stdout] test size_4 ... ok [INFO] [stdout] test size_5 ... ok [INFO] [stdout] test size_6 ... ok [INFO] [stdout] test size_7 ... ok [INFO] [stdout] test size_8 ... ok [INFO] [stdout] test size_check_len_1 ... ok [INFO] [stdout] test size_check_len_2 ... ok [INFO] [stdout] test size_check_len_3 ... ok [INFO] [stdout] test size_check_len_5 ... ok [INFO] [stdout] test size_check_len_4 ... ok [INFO] [stdout] test size_9 ... ok [INFO] [stdout] test size_check_len_7 ... ok [INFO] [stdout] test size_check_len_8 ... ok [INFO] [stdout] test size_check_len_9 ... ok [INFO] [stdout] test size_max ... ok [INFO] [stdout] test size_check_len_6 ... ok [INFO] [stdout] test size_zero ... ok [INFO] [stdout] test stacking_bools ... ok [INFO] [stdout] test uint64_max ... ok [INFO] [stdout] test uint64_zero ... ok [INFO] [stdout] test uint8_max ... ok [INFO] [stdout] test uint8_zero ... ok [INFO] [stdout] test string ... ok [INFO] [stdout] test uint32_zero ... ok [INFO] [stdout] test uint16_max ... ok [INFO] [stdout] test uint16_zero ... ok [INFO] [stdout] test uint32_max ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 55 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "bde6c9aeea11809e959779c35692762ee475e8ab2d2135e819354ae6081d53aa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bde6c9aeea11809e959779c35692762ee475e8ab2d2135e819354ae6081d53aa", kill_on_drop: false }` [INFO] [stdout] bde6c9aeea11809e959779c35692762ee475e8ab2d2135e819354ae6081d53aa