[INFO] fetching crate async-byteorder 0.3.0... [INFO] testing async-byteorder-0.3.0 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate async-byteorder 0.3.0 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate async-byteorder 0.3.0 [INFO] finished tweaking crates.io crate async-byteorder 0.3.0 [INFO] tweaked toml for crates.io crate async-byteorder 0.3.0 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate async-byteorder 0.3.0 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 40 packages to latest compatible versions [INFO] [stderr] Adding async-codec v0.3.0 (available: v0.4.1) [INFO] [stderr] Adding async-ringbuffer v0.3.1 (available: v0.5.5) [INFO] [stderr] Adding futures-core v0.2.1 (available: v0.3.31) [INFO] [stderr] Adding futures-io v0.2.1 (available: v0.3.31) [INFO] [stderr] Adding quickcheck v0.6.2 (available: v1.0.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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] Downloading crates ... [INFO] [stderr] Downloaded env_logger v0.5.13 [INFO] [stderr] Downloaded futures-core v0.2.1 [INFO] [stderr] Downloaded async-ringbuffer v0.3.1 [INFO] [stderr] Downloaded futures-sink v0.2.1 [INFO] [stderr] Downloaded atm-io-utils v0.2.5 [INFO] [stderr] Downloaded quickcheck v0.6.2 [INFO] [stderr] Downloaded futures-executor v0.2.1 [INFO] [stderr] Downloaded futures-channel v0.2.1 [INFO] [stderr] Downloaded futures-util v0.2.1 [INFO] [stderr] Downloaded async-codec-util v0.3.3 [INFO] [stderr] Downloaded futures-io v0.2.1 [INFO] [stderr] Downloaded async-codec v0.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c71b801683099a3cf5284270164d64a8921eb82ebcab61ef3a6ab901b4c3dafc [INFO] running `Command { std: "docker" "start" "-a" "c71b801683099a3cf5284270164d64a8921eb82ebcab61ef3a6ab901b4c3dafc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c71b801683099a3cf5284270164d64a8921eb82ebcab61ef3a6ab901b4c3dafc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c71b801683099a3cf5284270164d64a8921eb82ebcab61ef3a6ab901b4c3dafc", kill_on_drop: false }` [INFO] [stdout] c71b801683099a3cf5284270164d64a8921eb82ebcab61ef3a6ab901b4c3dafc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 19f2aebcf2466f8e3f5a8654cbd454a704a8ed7fb8e0835ce7440224e74488a6 [INFO] running `Command { std: "docker" "start" "-a" "19f2aebcf2466f8e3f5a8654cbd454a704a8ed7fb8e0835ce7440224e74488a6", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling futures-core v0.2.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling futures-io v0.2.1 [INFO] [stderr] Compiling futures-channel v0.2.1 [INFO] [stderr] Compiling async-codec v0.3.0 [INFO] [stderr] Compiling futures-sink v0.2.1 [INFO] [stderr] Compiling futures-util v0.2.1 [INFO] [stderr] Compiling futures-executor v0.2.1 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling env_logger v0.5.13 [INFO] [stderr] Compiling quickcheck v0.6.2 [INFO] [stderr] Compiling atm-io-utils v0.2.5 [INFO] [stderr] Compiling async-codec-util v0.3.3 [INFO] [stderr] Compiling async-byteorder v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:139:52 [INFO] [stdout] | [INFO] [stdout] 139 | PollDec::Done(unsafe { transmute::<[u8; $bytes], $num>(self.bytes) }, read) [INFO] [stdout] | -------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 355 | gen_module!{u16, "u16", 2, u16::from_be, u16::from_le} [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `gen_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | bytes: unsafe { transmute::<$num, [u8; $bytes]>(num) }, [INFO] [stdout] | -------------------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 355 | gen_module!{u16, "u16", 2, u16::from_be, u16::from_le} [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `gen_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:139:52 [INFO] [stdout] | [INFO] [stdout] 139 | PollDec::Done(unsafe { transmute::<[u8; $bytes], $num>(self.bytes) }, read) [INFO] [stdout] | -------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 371 | gen_module!{u32, "u32", 4, u32::from_be, u32::from_le} [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `gen_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | bytes: unsafe { transmute::<$num, [u8; $bytes]>(num) }, [INFO] [stdout] | -------------------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 371 | gen_module!{u32, "u32", 4, u32::from_be, u32::from_le} [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `gen_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:139:52 [INFO] [stdout] | [INFO] [stdout] 139 | PollDec::Done(unsafe { transmute::<[u8; $bytes], $num>(self.bytes) }, read) [INFO] [stdout] | -------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 387 | gen_module!{u64, "u64", 8, u64::from_be, u64::from_le} [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `gen_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | bytes: unsafe { transmute::<$num, [u8; $bytes]>(num) }, [INFO] [stdout] | -------------------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 387 | gen_module!{u64, "u64", 8, u64::from_be, u64::from_le} [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `gen_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:139:52 [INFO] [stdout] | [INFO] [stdout] 139 | PollDec::Done(unsafe { transmute::<[u8; $bytes], $num>(self.bytes) }, read) [INFO] [stdout] | -------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 403 | gen_module!{i16, "i16", 2, i16::from_be, i16::from_le} [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `gen_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | bytes: unsafe { transmute::<$num, [u8; $bytes]>(num) }, [INFO] [stdout] | -------------------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 403 | gen_module!{i16, "i16", 2, i16::from_be, i16::from_le} [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `gen_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:139:52 [INFO] [stdout] | [INFO] [stdout] 139 | PollDec::Done(unsafe { transmute::<[u8; $bytes], $num>(self.bytes) }, read) [INFO] [stdout] | -------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 419 | gen_module!{i32, "i32", 4, i32::from_be, i32::from_le} [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `gen_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | bytes: unsafe { transmute::<$num, [u8; $bytes]>(num) }, [INFO] [stdout] | -------------------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 419 | gen_module!{i32, "i32", 4, i32::from_be, i32::from_le} [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `gen_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:139:52 [INFO] [stdout] | [INFO] [stdout] 139 | PollDec::Done(unsafe { transmute::<[u8; $bytes], $num>(self.bytes) }, read) [INFO] [stdout] | -------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 435 | gen_module!{i64, "i64", 8, i64::from_be, i64::from_le} [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `gen_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | bytes: unsafe { transmute::<$num, [u8; $bytes]>(num) }, [INFO] [stdout] | -------------------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 435 | gen_module!{i64, "i64", 8, i64::from_be, i64::from_le} [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `gen_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.68s [INFO] running `Command { std: "docker" "inspect" "19f2aebcf2466f8e3f5a8654cbd454a704a8ed7fb8e0835ce7440224e74488a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19f2aebcf2466f8e3f5a8654cbd454a704a8ed7fb8e0835ce7440224e74488a6", kill_on_drop: false }` [INFO] [stdout] 19f2aebcf2466f8e3f5a8654cbd454a704a8ed7fb8e0835ce7440224e74488a6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee216bfb7a6d83383a5b5543045078b480dfaf55ec243b4399ec5595392dbe34 [INFO] running `Command { std: "docker" "start" "-a" "ee216bfb7a6d83383a5b5543045078b480dfaf55ec243b4399ec5595392dbe34", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling async-ringbuffer v0.3.1 [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:139:52 [INFO] [stdout] | [INFO] [stdout] 139 | PollDec::Done(unsafe { transmute::<[u8; $bytes], $num>(self.bytes) }, read) [INFO] [stdout] | -------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 355 | gen_module!{u16, "u16", 2, u16::from_be, u16::from_le} [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] = note: this warning originates in the macro `gen_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | bytes: unsafe { transmute::<$num, [u8; $bytes]>(num) }, [INFO] [stdout] | -------------------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 355 | gen_module!{u16, "u16", 2, u16::from_be, u16::from_le} [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `gen_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:139:52 [INFO] [stdout] | [INFO] [stdout] 139 | PollDec::Done(unsafe { transmute::<[u8; $bytes], $num>(self.bytes) }, read) [INFO] [stdout] | -------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 371 | gen_module!{u32, "u32", 4, u32::from_be, u32::from_le} [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `gen_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | bytes: unsafe { transmute::<$num, [u8; $bytes]>(num) }, [INFO] [stdout] | -------------------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 371 | gen_module!{u32, "u32", 4, u32::from_be, u32::from_le} [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `gen_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:139:52 [INFO] [stdout] | [INFO] [stdout] 139 | PollDec::Done(unsafe { transmute::<[u8; $bytes], $num>(self.bytes) }, read) [INFO] [stdout] | -------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 387 | gen_module!{u64, "u64", 8, u64::from_be, u64::from_le} [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `gen_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | bytes: unsafe { transmute::<$num, [u8; $bytes]>(num) }, [INFO] [stdout] | -------------------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `u64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 387 | gen_module!{u64, "u64", 8, u64::from_be, u64::from_le} [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `gen_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:139:52 [INFO] [stdout] | [INFO] [stdout] 139 | PollDec::Done(unsafe { transmute::<[u8; $bytes], $num>(self.bytes) }, read) [INFO] [stdout] | -------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 403 | gen_module!{i16, "i16", 2, i16::from_be, i16::from_le} [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `gen_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | bytes: unsafe { transmute::<$num, [u8; $bytes]>(num) }, [INFO] [stdout] | -------------------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i16::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 403 | gen_module!{i16, "i16", 2, i16::from_be, i16::from_le} [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `gen_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:139:52 [INFO] [stdout] | [INFO] [stdout] 139 | PollDec::Done(unsafe { transmute::<[u8; $bytes], $num>(self.bytes) }, read) [INFO] [stdout] | -------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 419 | gen_module!{i32, "i32", 4, i32::from_be, i32::from_le} [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `gen_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | bytes: unsafe { transmute::<$num, [u8; $bytes]>(num) }, [INFO] [stdout] | -------------------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i32::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 419 | gen_module!{i32, "i32", 4, i32::from_be, i32::from_le} [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `gen_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:139:52 [INFO] [stdout] | [INFO] [stdout] 139 | PollDec::Done(unsafe { transmute::<[u8; $bytes], $num>(self.bytes) }, read) [INFO] [stdout] | -------------------------------^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::from_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 435 | gen_module!{i64, "i64", 8, i64::from_be, i64::from_le} [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `from_le_bytes` and `from_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `gen_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/lib.rs:221:33 [INFO] [stdout] | [INFO] [stdout] 221 | bytes: unsafe { transmute::<$num, [u8; $bytes]>(num) }, [INFO] [stdout] | -------------------------------^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `i64::to_ne_bytes` [INFO] [stdout] ... [INFO] [stdout] 435 | gen_module!{i64, "i64", 8, i64::from_be, i64::from_le} [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: there's also `to_le_bytes` and `to_be_bytes` if you expect a particular byte order [INFO] [stdout] = note: this warning originates in the macro `gen_module` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `offset_to` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-ringbuffer-0.3.1/src/lib.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | #![feature(offset_to)] [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `offset_to` found for raw pointer `*mut u8` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-ringbuffer-0.3.1/src/lib.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 68 | let diff = start [INFO] [stdout] | ________________________- [INFO] [stdout] 69 | | .offset(self.data.capacity() as isize) [INFO] [stdout] 70 | | .offset_to(self.read.offset(self.amount as isize)) [INFO] [stdout] | |_________________-^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `offset` with a similar name [INFO] [stdout] | [INFO] [stdout] 70 - .offset_to(self.read.offset(self.amount as isize)) [INFO] [stdout] 70 + .offset(self.read.offset(self.amount as isize)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `offset_to` found for raw pointer `*mut u8` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-ringbuffer-0.3.1/src/lib.rs:133:46 [INFO] [stdout] | [INFO] [stdout] 133 | let distance_we = rb.write_ptr().offset_to(end).unwrap() as usize; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `offset` with a similar name [INFO] [stdout] | [INFO] [stdout] 133 - let distance_we = rb.write_ptr().offset_to(end).unwrap() as usize; [INFO] [stdout] 133 + let distance_we = rb.write_ptr().offset(end).unwrap() as usize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `offset_to` found for raw pointer `*mut u8` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/async-ringbuffer-0.3.1/src/lib.rs:225:39 [INFO] [stdout] | [INFO] [stdout] 225 | let distance_re = rb.read.offset_to(end).unwrap() as usize; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `offset` with a similar name [INFO] [stdout] | [INFO] [stdout] 225 - let distance_re = rb.read.offset_to(end).unwrap() as usize; [INFO] [stdout] 225 + let distance_re = rb.read.offset(end).unwrap() as usize; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0599, E0635. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `async-ringbuffer` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "ee216bfb7a6d83383a5b5543045078b480dfaf55ec243b4399ec5595392dbe34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee216bfb7a6d83383a5b5543045078b480dfaf55ec243b4399ec5595392dbe34", kill_on_drop: false }` [INFO] [stdout] ee216bfb7a6d83383a5b5543045078b480dfaf55ec243b4399ec5595392dbe34