[INFO] cloning repository https://github.com/tlatzko/rifts [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tlatzko/rifts" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlatzko%2Frifts", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlatzko%2Frifts'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a4fee028a9c10a31becc67304e09db8e1c30361c [INFO] checking tlatzko/rifts against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlatzko%2Frifts" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tlatzko/rifts on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tlatzko/rifts [INFO] finished tweaking git repo https://github.com/tlatzko/rifts [INFO] tweaked toml for git repo https://github.com/tlatzko/rifts written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/tlatzko/rifts already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-5/source/examples/cub_ex.rs [INFO] [stderr] error: the lock file /workspace/builds/worker-5/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /workspace/builds/worker-5/source/examples/cub_ex.rs [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c6049ddda9323e556b38796ee21a91ffe61a569adaef65bfb5309b46ff8c471b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c6049ddda9323e556b38796ee21a91ffe61a569adaef65bfb5309b46ff8c471b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c6049ddda9323e556b38796ee21a91ffe61a569adaef65bfb5309b46ff8c471b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c6049ddda9323e556b38796ee21a91ffe61a569adaef65bfb5309b46ff8c471b", kill_on_drop: false }` [INFO] [stdout] c6049ddda9323e556b38796ee21a91ffe61a569adaef65bfb5309b46ff8c471b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66e31a659d4e566383cfa1e26e01fe9996c523df0e6de3f6090c9aef648a7e17 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "66e31a659d4e566383cfa1e26e01fe9996c523df0e6de3f6090c9aef648a7e17", kill_on_drop: false }` [INFO] [stderr] warning: file found to be present in multiple build targets: /opt/rustwide/workdir/examples/cub_ex.rs [INFO] [stderr] Checking gifts v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | Ok(try!(self.read_u64().map(|x| x as usize))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | try!(self.read_type::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | try!(self.read_type::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | try!(self.read_type::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | try!(self.read_type::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | try!(self.read_type::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | try!(self.read_type::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | try!(self.read_type::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | try!(self.read_type::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | let x = try!(self.read_i8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | try!(self.read_type::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | try!(self.read_type::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | let _ = try!(self.reader.read(&mut buf[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:254:23 [INFO] [stdout] | [INFO] [stdout] 254 | match try!(self.reader.read(&mut buf[start .. width])) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:262:19 [INFO] [stdout] | [INFO] [stdout] 262 | let res = try!(match str::from_utf8(&buf[..width]).ok() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | try!(self.read_bytes(res.len_utf8() as u64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:272:19 [INFO] [stdout] | [INFO] [stdout] 272 | let len = try!(self.read_usize()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | try!(self.read_bytes(len as u64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | try!(self.reader.by_ref().take(len as u64).read_to_end(&mut buff)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:293:18 [INFO] [stdout] | [INFO] [stdout] 293 | let id = try!(self.read_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | let x = try!(self.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:369:19 [INFO] [stdout] | [INFO] [stdout] 369 | let len = try!(self.read_usize()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:380:19 [INFO] [stdout] | [INFO] [stdout] 380 | let len = try!(self.read_usize()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fileio/reader.rs:115:32 [INFO] [stdout] | [INFO] [stdout] 115 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `frame_value_type` should have an upper camel case name [INFO] [stdout] --> src/fileio/cuboid.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub type frame_value_type = u16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FrameValueType` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/math/mod.rs:36:19 [INFO] [stdout] | [INFO] [stdout] 36 | )*; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] ... [INFO] [stdout] 55 | let p = poly_val!(0.2, 0.3, 0.4, 0.1); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CuboidFrame` [INFO] [stdout] --> src/lib.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | use fileio::cuboid::{CuboidFile, CuboidFrame}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:178:12 [INFO] [stdout] | [INFO] [stdout] 178 | Ok(try!(self.read_u64().map(|x| x as usize))) [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:181:9 [INFO] [stdout] | [INFO] [stdout] 181 | try!(self.read_type::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | try!(self.read_type::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | try!(self.read_type::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | try!(self.read_type::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:200:9 [INFO] [stdout] | [INFO] [stdout] 200 | try!(self.read_type::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:204:9 [INFO] [stdout] | [INFO] [stdout] 204 | try!(self.read_type::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:208:9 [INFO] [stdout] | [INFO] [stdout] 208 | try!(self.read_type::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:212:9 [INFO] [stdout] | [INFO] [stdout] 212 | try!(self.read_type::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | let x = try!(self.read_i8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:227:9 [INFO] [stdout] | [INFO] [stdout] 227 | try!(self.read_type::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:231:9 [INFO] [stdout] | [INFO] [stdout] 231 | try!(self.read_type::()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:244:17 [INFO] [stdout] | [INFO] [stdout] 244 | let _ = try!(self.reader.read(&mut buf[..])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:254:23 [INFO] [stdout] | [INFO] [stdout] 254 | match try!(self.reader.read(&mut buf[start .. width])) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:262:19 [INFO] [stdout] | [INFO] [stdout] 262 | let res = try!(match str::from_utf8(&buf[..width]).ok() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:267:9 [INFO] [stdout] | [INFO] [stdout] 267 | try!(self.read_bytes(res.len_utf8() as u64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:272:19 [INFO] [stdout] | [INFO] [stdout] 272 | let len = try!(self.read_usize()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | try!(self.read_bytes(len as u64)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:276:9 [INFO] [stdout] | [INFO] [stdout] 276 | try!(self.reader.by_ref().take(len as u64).read_to_end(&mut buff)); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:293:18 [INFO] [stdout] | [INFO] [stdout] 293 | let id = try!(self.read_u32()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:356:17 [INFO] [stdout] | [INFO] [stdout] 356 | let x = try!(self.read_u8()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:369:19 [INFO] [stdout] | [INFO] [stdout] 369 | let len = try!(self.read_usize()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/fileio/reader.rs:380:19 [INFO] [stdout] | [INFO] [stdout] 380 | let len = try!(self.read_usize()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/fileio/reader.rs:115:32 [INFO] [stdout] | [INFO] [stdout] 115 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ help: use `dyn`: `dyn Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `frame_value_type` should have an upper camel case name [INFO] [stdout] --> src/fileio/cuboid.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub type frame_value_type = u16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `FrameValueType` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition [INFO] [stdout] --> src/math/mod.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 25 | / macro_rules! poly_val { [INFO] [stdout] 26 | | ( [INFO] [stdout] 27 | | $p0:expr, $( $p_rest:expr),* [INFO] [stdout] 28 | | ) => { [INFO] [stdout] ... | [INFO] [stdout] 40 | | }; [INFO] [stdout] 41 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CuboidFrame` [INFO] [stdout] --> src/lib.rs:11:34 [INFO] [stdout] | [INFO] [stdout] 11 | use fileio::cuboid::{CuboidFile, CuboidFrame}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/fileio/reader.rs:109:48 [INFO] [stdout] | [INFO] [stdout] 109 | DecodingError::IoError(ref err) => Error::description(err), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/fileio/reader.rs:109:48 [INFO] [stdout] | [INFO] [stdout] 109 | DecodingError::IoError(ref err) => Error::description(err), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/fileio/reader.rs:117:56 [INFO] [stdout] | [INFO] [stdout] 117 | DecodingError::IoError(ref err) => err.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::error::Error::cause`: replaced by Error::source, which can support downcasting [INFO] [stdout] --> src/fileio/reader.rs:117:56 [INFO] [stdout] | [INFO] [stdout] 117 | DecodingError::IoError(ref err) => err.cause(), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/lib.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | fn cub_reader(tx: T) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/lib.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let d = match rx2.recv() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tx` [INFO] [stdout] --> src/lib.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | fn cub_reader(tx: T) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_tx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/lib.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let d = match rx2.recv() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/fileio/cuboid.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | self.file.seek(SeekFrom::Start(pos)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(safe_packed_borrows)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/fileio/cuboid.rs:112:54 [INFO] [stdout] | [INFO] [stdout] 112 | let header: CuboidFrameHeader = decode_struct(&mut self.file).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/fileio/cuboid.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | self.file.seek(SeekFrom::Start(pixel_pos as u64)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/fileio/cuboid.rs:155:54 [INFO] [stdout] | [INFO] [stdout] 155 | println!("cub w {} frame status {} time {}", cub.header.length, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/fileio/cuboid.rs:156:18 [INFO] [stdout] | [INFO] [stdout] 156 | frame.header.status, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cub_reader` [INFO] [stdout] --> src/lib.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn cub_reader(tx: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/fileio/cuboid.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | self.file.seek(SeekFrom::Start(pos)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/fileio/cuboid.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | self.file.seek(SeekFrom::Start(pixel_pos as u64)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/fileio/cuboid.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | self.file.read(&mut byte_map); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 40 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/fileio/cuboid.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | self.file.seek(SeekFrom::Start(pos)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(safe_packed_borrows)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/fileio/cuboid.rs:112:54 [INFO] [stdout] | [INFO] [stdout] 112 | let header: CuboidFrameHeader = decode_struct(&mut self.file).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: borrow of packed field is unsafe and requires unsafe function or block (error E0133) [INFO] [stdout] --> src/fileio/cuboid.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | self.file.seek(SeekFrom::Start(pixel_pos as u64)); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #46043 [INFO] [stdout] = note: fields of packed structs might be misaligned: dereferencing a misaligned pointer or even just creating a misaligned reference is undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `cub_reader` [INFO] [stdout] --> src/lib.rs:13:4 [INFO] [stdout] | [INFO] [stdout] 13 | fn cub_reader(tx: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/fileio/cuboid.rs:111:8 [INFO] [stdout] | [INFO] [stdout] 111 | self.file.seek(SeekFrom::Start(pos)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/fileio/cuboid.rs:117:8 [INFO] [stdout] | [INFO] [stdout] 117 | self.file.seek(SeekFrom::Start(pixel_pos as u64)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `std::result::Result` that must be used [INFO] [stdout] --> src/fileio/cuboid.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | self.file.read(&mut byte_map); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 38 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1.97s [INFO] running `Command { std: "docker" "inspect" "66e31a659d4e566383cfa1e26e01fe9996c523df0e6de3f6090c9aef648a7e17", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66e31a659d4e566383cfa1e26e01fe9996c523df0e6de3f6090c9aef648a7e17", kill_on_drop: false }` [INFO] [stdout] 66e31a659d4e566383cfa1e26e01fe9996c523df0e6de3f6090c9aef648a7e17