[INFO] fetching crate async-byteorder 0.3.0... [INFO] testing async-byteorder-0.3.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate async-byteorder 0.3.0 into /workspace/builds/worker-2-tc2/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-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate async-byteorder 0.3.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5d3c5750cbd3d6586d27f04f7123677f851c6ef486e2411ba4707a0f601c58c2 [INFO] running `Command { std: "docker" "start" "-a" "5d3c5750cbd3d6586d27f04f7123677f851c6ef486e2411ba4707a0f601c58c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5d3c5750cbd3d6586d27f04f7123677f851c6ef486e2411ba4707a0f601c58c2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d3c5750cbd3d6586d27f04f7123677f851c6ef486e2411ba4707a0f601c58c2", kill_on_drop: false }` [INFO] [stdout] 5d3c5750cbd3d6586d27f04f7123677f851c6ef486e2411ba4707a0f601c58c2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9024f04262fd619c20d7493b0656e7ebf24cfd289f4c034025869b02640a1a2a [INFO] running `Command { std: "docker" "start" "-a" "9024f04262fd619c20d7493b0656e7ebf24cfd289f4c034025869b02640a1a2a", 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 humantime v1.3.0 [INFO] [stderr] Compiling futures-core v0.2.1 [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.91s [INFO] running `Command { std: "docker" "inspect" "9024f04262fd619c20d7493b0656e7ebf24cfd289f4c034025869b02640a1a2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9024f04262fd619c20d7493b0656e7ebf24cfd289f4c034025869b02640a1a2a", kill_on_drop: false }` [INFO] [stdout] 9024f04262fd619c20d7493b0656e7ebf24cfd289f4c034025869b02640a1a2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8ee970a003b6487c109a418e75c29f2b0f1f362a4279cff5feb1a59879bf747 [INFO] running `Command { std: "docker" "start" "-a" "c8ee970a003b6487c109a418e75c29f2b0f1f362a4279cff5feb1a59879bf747", 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" "c8ee970a003b6487c109a418e75c29f2b0f1f362a4279cff5feb1a59879bf747", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8ee970a003b6487c109a418e75c29f2b0f1f362a4279cff5feb1a59879bf747", kill_on_drop: false }` [INFO] [stdout] c8ee970a003b6487c109a418e75c29f2b0f1f362a4279cff5feb1a59879bf747