[INFO] fetching crate io-tools 0.1.1... [INFO] checking io-tools-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate io-tools 0.1.1 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate io-tools 0.1.1 [INFO] finished tweaking crates.io crate io-tools 0.1.1 [INFO] tweaked toml for crates.io crate io-tools 0.1.1 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate io-tools 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0980714065c9d68184429a6371569619dfa406921de96ebf97321368db859fae [INFO] running `Command { std: "docker" "start" "-a" "0980714065c9d68184429a6371569619dfa406921de96ebf97321368db859fae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0980714065c9d68184429a6371569619dfa406921de96ebf97321368db859fae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0980714065c9d68184429a6371569619dfa406921de96ebf97321368db859fae", kill_on_drop: false }` [INFO] [stdout] 0980714065c9d68184429a6371569619dfa406921de96ebf97321368db859fae [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d0ad63c82892db461e9073244440c4eafa4fb09b4efabfc0e1017efaad0bf70e [INFO] running `Command { std: "docker" "start" "-a" "d0ad63c82892db461e9073244440c4eafa4fb09b4efabfc0e1017efaad0bf70e", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking io-tools v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn write_u8(&mut self, data: u8) -> IOResult<()> { write_func!(self, u8, data) } [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn write_u16(&mut self, data: u16) -> IOResult<()> { write_func!(self, u16, data) } [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn write_u32(&mut self, data: u32) -> IOResult<()> { write_func!(self, u32, data) } [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn write_u64(&mut self, data: u64) -> IOResult<()> { write_func!(self, u64, data) } [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn write_i8(&mut self, data: i8) -> IOResult<()> { write_func!(self, i8, data) } [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn write_i16(&mut self, data: i16) -> IOResult<()> { write_func!(self, i16, data) } [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn write_i32(&mut self, data: i32) -> IOResult<()> { write_func!(self, i32, data) } [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn write_i64(&mut self, data: i64) -> IOResult<()> { write_func!(self, i64, data) } [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn write_f32(&mut self, data: f32) -> IOResult<()> { write_func!(self, f32, data) } [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn write_f64(&mut self, data: f64) -> IOResult<()> { write_func!(self, f64, data) } [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn write_u8_at(&mut self, offset: usize, data: u8) -> IOResult<()> { write_at_func!(self, u8, offset, data) } [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_at_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn write_u16_at(&mut self, offset: usize, data: u16) -> IOResult<()> { write_at_func!(self, u16, offset, data) } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_at_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn write_u32_at(&mut self, offset: usize, data: u32) -> IOResult<()> { write_at_func!(self, u32, offset, data) } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_at_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn write_u64_at(&mut self, offset: usize, data: u64) -> IOResult<()> { write_at_func!(self, u64, offset, data) } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_at_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn write_i8_at(&mut self, offset: usize, data: i8) -> IOResult<()> { write_at_func!(self, i8, offset, data) } [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_at_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn write_i16_at(&mut self, offset: usize, data: i16) -> IOResult<()> { write_at_func!(self, i16, offset, data) } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_at_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn write_i32_at(&mut self, offset: usize, data: i32) -> IOResult<()> { write_at_func!(self, i32, offset, data) } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_at_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn write_i64_at(&mut self, offset: usize, data: i64) -> IOResult<()> { write_at_func!(self, i64, offset, data) } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_at_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn write_f32_at(&mut self, offset: usize, data: f32) -> IOResult<()> { write_at_func!(self, f32, offset, data) } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_at_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn write_f64_at(&mut self, offset: usize, data: f64) -> IOResult<()> { write_at_func!(self, f64, offset, data) } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_at_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:250:36 [INFO] [stdout] | [INFO] [stdout] 250 | ::std::intrinsics::copy_nonoverlapping(src, dst, bytes.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:263:36 [INFO] [stdout] | [INFO] [stdout] 263 | ::std::intrinsics::copy_nonoverlapping(src, dst, bytes.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:337:32 [INFO] [stdout] | [INFO] [stdout] 337 | ::std::intrinsics::copy(src, dst, self.remaining()); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 132 | pub fn write_u8(&mut self, data: u8) -> IOResult<()> { write_func!(self, u8, data) } [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | pub fn write_u16(&mut self, data: u16) -> IOResult<()> { write_func!(self, u16, data) } [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn write_u32(&mut self, data: u32) -> IOResult<()> { write_func!(self, u32, data) } [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn write_u64(&mut self, data: u64) -> IOResult<()> { write_func!(self, u64, data) } [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub fn write_i8(&mut self, data: i8) -> IOResult<()> { write_func!(self, i8, data) } [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn write_i16(&mut self, data: i16) -> IOResult<()> { write_func!(self, i16, data) } [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn write_i32(&mut self, data: i32) -> IOResult<()> { write_func!(self, i32, data) } [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn write_i64(&mut self, data: i64) -> IOResult<()> { write_func!(self, i64, data) } [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn write_f32(&mut self, data: f32) -> IOResult<()> { write_func!(self, f32, data) } [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:47:36 [INFO] [stdout] | [INFO] [stdout] 47 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn write_f64(&mut self, data: f64) -> IOResult<()> { write_func!(self, f64, data) } [INFO] [stdout] | ---------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 142 | pub fn write_u8_at(&mut self, offset: usize, data: u8) -> IOResult<()> { write_at_func!(self, u8, offset, data) } [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_at_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn write_u16_at(&mut self, offset: usize, data: u16) -> IOResult<()> { write_at_func!(self, u16, offset, data) } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_at_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub fn write_u32_at(&mut self, offset: usize, data: u32) -> IOResult<()> { write_at_func!(self, u32, offset, data) } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_at_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | pub fn write_u64_at(&mut self, offset: usize, data: u64) -> IOResult<()> { write_at_func!(self, u64, offset, data) } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_at_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 146 | pub fn write_i8_at(&mut self, offset: usize, data: i8) -> IOResult<()> { write_at_func!(self, i8, offset, data) } [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_at_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | pub fn write_i16_at(&mut self, offset: usize, data: i16) -> IOResult<()> { write_at_func!(self, i16, offset, data) } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_at_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn write_i32_at(&mut self, offset: usize, data: i32) -> IOResult<()> { write_at_func!(self, i32, offset, data) } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_at_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 149 | pub fn write_i64_at(&mut self, offset: usize, data: i64) -> IOResult<()> { write_at_func!(self, i64, offset, data) } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_at_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn write_f32_at(&mut self, offset: usize, data: f32) -> IOResult<()> { write_at_func!(self, f32, offset, data) } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_at_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:63:36 [INFO] [stdout] | [INFO] [stdout] 63 | ::std::intrinsics::copy_nonoverlapping(src, dst, ::std::mem::size_of::<$ty>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn write_f64_at(&mut self, offset: usize, data: f64) -> IOResult<()> { write_at_func!(self, f64, offset, data) } [INFO] [stdout] | --------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `write_at_func` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:250:36 [INFO] [stdout] | [INFO] [stdout] 250 | ::std::intrinsics::copy_nonoverlapping(src, dst, bytes.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:263:36 [INFO] [stdout] | [INFO] [stdout] 263 | ::std::intrinsics::copy_nonoverlapping(src, dst, bytes.len()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::ptr` instead [INFO] [stdout] --> src/common/buf.rs:337:32 [INFO] [stdout] | [INFO] [stdout] 337 | ::std::intrinsics::copy(src, dst, self.remaining()); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:33:50 [INFO] [stdout] | [INFO] [stdout] 33 | IOError::new(IOErrorCode::Utf8Error, err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `err_code` and `err_msg` are never read [INFO] [stdout] --> src/error.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct IOError { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 12 | err_code: IOErrorCode, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | err_msg: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IOError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell` [INFO] [stdout] --> src/common/buf.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 345 | *(&self.pos as *const usize as *mut usize) = pos; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/error.rs:33:50 [INFO] [stdout] | [INFO] [stdout] 33 | IOError::new(IOErrorCode::Utf8Error, err.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `io-tools` (lib) due to 1 previous error; 25 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: fields `err_code` and `err_msg` are never read [INFO] [stdout] --> src/error.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct IOError { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 12 | err_code: IOErrorCode, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 13 | err_msg: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `IOError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: assigning to `&T` is undefined behavior, consider using an `UnsafeCell` [INFO] [stdout] --> src/common/buf.rs:345:13 [INFO] [stdout] | [INFO] [stdout] 345 | *(&self.pos as *const usize as *mut usize) = pos; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, visit [INFO] [stdout] = note: `#[deny(invalid_reference_casting)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `io-tools` (lib test) due to 1 previous error; 25 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d0ad63c82892db461e9073244440c4eafa4fb09b4efabfc0e1017efaad0bf70e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0ad63c82892db461e9073244440c4eafa4fb09b4efabfc0e1017efaad0bf70e", kill_on_drop: false }` [INFO] [stdout] d0ad63c82892db461e9073244440c4eafa4fb09b4efabfc0e1017efaad0bf70e