[INFO] cloning repository https://github.com/mpizenberg/computer-vision-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mpizenberg/computer-vision-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmpizenberg%2Fcomputer-vision-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmpizenberg%2Fcomputer-vision-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5f77605cefdce3796b64f21391e31a43100205d6 [INFO] checking mpizenberg/computer-vision-rs against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmpizenberg%2Fcomputer-vision-rs" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mpizenberg/computer-vision-rs on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mpizenberg/computer-vision-rs [INFO] finished tweaking git repo https://github.com/mpizenberg/computer-vision-rs [INFO] tweaked toml for git repo https://github.com/mpizenberg/computer-vision-rs written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 96 packages [INFO] [stderr] Adding alga v0.8.2 (latest: v0.9.3) [INFO] [stderr] Adding approx v0.3.2 (latest: v0.5.1) [INFO] [stderr] Adding autocfg v0.1.8 (latest: v1.2.0) [INFO] [stderr] Adding bitflags v1.3.2 (latest: v2.5.0) [INFO] [stderr] Adding cast v0.2.7 (latest: v0.3.0) [INFO] [stderr] Adding clap v2.34.0 (latest: v4.5.4) [INFO] [stderr] Adding cloudabi v0.0.3 (latest: v0.1.0) [INFO] [stderr] Adding criterion v0.2.11 (latest: v0.5.1) [INFO] [stderr] Adding criterion-plot v0.3.1 (latest: v0.5.0) [INFO] [stderr] Adding deflate v0.7.20 (latest: v1.0.0) [INFO] [stderr] Adding env_logger v0.6.2 (latest: v0.11.3) [INFO] [stderr] Adding generic-array v0.12.4 (latest: v1.0.0) [INFO] [stderr] Adding gif v0.10.3 (latest: v0.13.1) [INFO] [stderr] Adding hermit-abi v0.1.19 (latest: v0.3.9) [INFO] [stderr] Adding image v0.19.0 (latest: v0.25.1) [INFO] [stderr] Adding itertools v0.7.11 (latest: v0.12.1) [INFO] [stderr] Adding itertools v0.8.2 (latest: v0.12.1) [INFO] [stderr] Adding jpeg-decoder v0.1.22 (latest: v0.3.1) [INFO] [stderr] Adding libm v0.1.4 (latest: v0.2.8) [INFO] [stderr] Adding matrixmultiply v0.2.4 (latest: v0.3.8) [INFO] [stderr] Adding nalgebra v0.17.3 (latest: v0.32.5) [INFO] [stderr] Adding nom v4.2.3 (latest: v7.1.3) [INFO] [stderr] Adding num-complex v0.2.4 (latest: v0.4.5) [INFO] [stderr] Adding num-derive v0.2.5 (latest: v0.4.2) [INFO] [stderr] Adding num-rational v0.1.42 (latest: v0.4.1) [INFO] [stderr] Adding png v0.12.0 (latest: v0.17.13) [INFO] [stderr] Adding proc-macro2 v0.4.30 (latest: v1.0.79) [INFO] [stderr] Adding quickcheck v0.8.5 (latest: v1.0.3) [INFO] [stderr] Adding quickcheck_macros v0.8.0 (latest: v1.0.0) [INFO] [stderr] Adding quote v0.6.13 (latest: v1.0.35) [INFO] [stderr] Adding rand v0.6.5 (latest: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.1.1 (latest: v0.3.1) [INFO] [stderr] Adding rand_core v0.3.1 (latest: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (latest: v0.6.4) [INFO] [stderr] Adding rand_hc v0.1.0 (latest: v0.3.2) [INFO] [stderr] Adding rand_isaac v0.1.1 (latest: v0.3.0) [INFO] [stderr] Adding rand_jitter v0.1.4 (latest: v0.4.0) [INFO] [stderr] Adding rand_os v0.1.3 (latest: v0.2.2) [INFO] [stderr] Adding rand_pcg v0.1.2 (latest: v0.3.1) [INFO] [stderr] Adding rand_xorshift v0.1.1 (latest: v0.3.0) [INFO] [stderr] Adding rand_xoshiro v0.1.0 (latest: v0.6.0) [INFO] [stderr] Adding rdrand v0.4.0 (latest: v0.8.3) [INFO] [stderr] Adding syn v0.15.44 (latest: v2.0.58) [INFO] [stderr] Adding textwrap v0.11.0 (latest: v0.16.1) [INFO] [stderr] Adding unicode-xid v0.1.0 (latest: v0.2.4) [INFO] [stderr] Adding version_check v0.1.5 (latest: v0.9.4) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quickcheck_macros v0.8.0 [INFO] [stderr] Downloaded quickcheck v0.8.5 [INFO] [stderr] Downloaded alga v0.8.2 [INFO] [stderr] Downloaded nalgebra v0.17.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d4dc6d7b417a13a54f24cc4aafd314edaa0eab92574ec95547d5e9da915342b5 [INFO] running `Command { std: "docker" "start" "-a" "d4dc6d7b417a13a54f24cc4aafd314edaa0eab92574ec95547d5e9da915342b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d4dc6d7b417a13a54f24cc4aafd314edaa0eab92574ec95547d5e9da915342b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d4dc6d7b417a13a54f24cc4aafd314edaa0eab92574ec95547d5e9da915342b5", kill_on_drop: false }` [INFO] [stdout] d4dc6d7b417a13a54f24cc4aafd314edaa0eab92574ec95547d5e9da915342b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] edbd1a6b8757ddabcd7a2947acc61177fe89f1171a5d6ca5bcb7019d9ce0ff0f [INFO] running `Command { std: "docker" "start" "-a" "edbd1a6b8757ddabcd7a2947acc61177fe89f1171a5d6ca5bcb7019d9ce0ff0f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Checking matrixmultiply v0.2.4 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking alga v0.8.2 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking nalgebra v0.17.3 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Compiling quickcheck_macros v0.8.0 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking quickcheck v0.8.5 [INFO] [stderr] Checking image v0.19.0 [INFO] [stderr] Checking criterion v0.2.11 [INFO] [stderr] Checking visual-odometry-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `num_traits` is imported redundantly [INFO] [stdout] --> src/core/candidates/dso.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use num_traits::{self, cast::AsPrimitive, NumCast}; [INFO] [stdout] | ^^^^ the item `num_traits` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `png` is imported redundantly [INFO] [stdout] --> src/misc/helper.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use png::{self, HasParameters}; [INFO] [stdout] | ^^^^ the item `png` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/misc/helper.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{self, fs::File, io::Cursor, path::Path}; [INFO] [stdout] | ^^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num_traits` is imported redundantly [INFO] [stdout] --> src/core/candidates/dso.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use num_traits::{self, cast::AsPrimitive, NumCast}; [INFO] [stdout] | ^^^^ the item `num_traits` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `approx` is imported redundantly [INFO] [stdout] --> src/math/se3.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | use approx; [INFO] [stdout] | ^^^^^^ the item `approx` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `quickcheck_macros` is imported redundantly [INFO] [stdout] --> src/math/se3.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | use quickcheck_macros; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the item `quickcheck_macros` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `approx` is imported redundantly [INFO] [stdout] --> src/math/so3.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | use approx; [INFO] [stdout] | ^^^^^^ the item `approx` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `quickcheck_macros` is imported redundantly [INFO] [stdout] --> src/math/so3.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | use quickcheck_macros; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the item `quickcheck_macros` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `png` is imported redundantly [INFO] [stdout] --> src/misc/helper.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use png::{self, HasParameters}; [INFO] [stdout] | ^^^^ the item `png` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/misc/helper.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{self, fs::File, io::Cursor, path::Path}; [INFO] [stdout] | ^^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/optim_affine-2d.rs:38:45 [INFO] [stdout] | [INFO] [stdout] 38 | fn run(args: Vec) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | fn run(args: Vec) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/vors_track.rs:26:46 [INFO] [stdout] | [INFO] [stdout] 26 | fn my_run(args: &[String]) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | fn my_run(args: &[String]) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/vors_track.rs:115:45 [INFO] [stdout] | [INFO] [stdout] 115 | ) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 115 | ) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/vors_track.rs:140:90 [INFO] [stdout] | [INFO] [stdout] 140 | fn read_images(assoc: &tum_rgbd::Association) -> Result<(DMatrix, DMatrix), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 140 | fn read_images(assoc: &tum_rgbd::Association) -> Result<(DMatrix, DMatrix), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/candidates_dso.rs:24:45 [INFO] [stdout] | [INFO] [stdout] 24 | fn run(args: Vec) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | fn run(args: Vec) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/candidates_dso.rs:82:65 [INFO] [stdout] | [INFO] [stdout] 82 | fn read_image>(image_path: P) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | fn read_image>(image_path: P) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/optim_affine-2d.rs:245:65 [INFO] [stdout] | [INFO] [stdout] 245 | fn read_image>(image_path: P) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 245 | fn read_image>(image_path: P) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/vors_track.rs:26:46 [INFO] [stdout] | [INFO] [stdout] 26 | fn my_run(args: &[String]) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | fn my_run(args: &[String]) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/optim_affine-2d.rs:231:57 [INFO] [stdout] | [INFO] [stdout] 231 | fn check_args(args: Vec) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 231 | fn check_args(args: Vec) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/vors_track.rs:115:45 [INFO] [stdout] | [INFO] [stdout] 115 | ) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 115 | ) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/vors_track.rs:140:90 [INFO] [stdout] | [INFO] [stdout] 140 | fn read_images(assoc: &tum_rgbd::Association) -> Result<(DMatrix, DMatrix), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 140 | fn read_images(assoc: &tum_rgbd::Association) -> Result<(DMatrix, DMatrix), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/dataset_tum-read-associations.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | fn run(args: Vec) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | fn run(args: Vec) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/dataset_tum-read-associations.rs:70:85 [INFO] [stdout] | [INFO] [stdout] 70 | fn parse_associations(file_path: PathBuf) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 70 | fn parse_associations(file_path: PathBuf) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/candidates_coarse-to-fine.rs:25:45 [INFO] [stdout] | [INFO] [stdout] 25 | fn run(args: Vec) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | fn run(args: Vec) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/candidates_coarse-to-fine.rs:92:65 [INFO] [stdout] | [INFO] [stdout] 92 | fn read_image>(image_path: P) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 92 | fn read_image>(image_path: P) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/dataset_tum-read-trajectory.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | fn run(args: Vec) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | fn run(args: Vec) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/dataset_tum-read-trajectory.rs:60:77 [INFO] [stdout] | [INFO] [stdout] 60 | fn parse_trajectory(file_path: PathBuf) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 | fn parse_trajectory(file_path: PathBuf) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.96s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.2.11, nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "edbd1a6b8757ddabcd7a2947acc61177fe89f1171a5d6ca5bcb7019d9ce0ff0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "edbd1a6b8757ddabcd7a2947acc61177fe89f1171a5d6ca5bcb7019d9ce0ff0f", kill_on_drop: false }` [INFO] [stdout] edbd1a6b8757ddabcd7a2947acc61177fe89f1171a5d6ca5bcb7019d9ce0ff0f [INFO] checking mpizenberg/computer-vision-rs against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmpizenberg%2Fcomputer-vision-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mpizenberg/computer-vision-rs on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mpizenberg/computer-vision-rs [INFO] finished tweaking git repo https://github.com/mpizenberg/computer-vision-rs [INFO] tweaked toml for git repo https://github.com/mpizenberg/computer-vision-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0ac53fa86e1ea613b5a50092c47470a101e8320a87a185e5c8ed07131091d215 [INFO] running `Command { std: "docker" "start" "-a" "0ac53fa86e1ea613b5a50092c47470a101e8320a87a185e5c8ed07131091d215", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0ac53fa86e1ea613b5a50092c47470a101e8320a87a185e5c8ed07131091d215", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ac53fa86e1ea613b5a50092c47470a101e8320a87a185e5c8ed07131091d215", kill_on_drop: false }` [INFO] [stdout] 0ac53fa86e1ea613b5a50092c47470a101e8320a87a185e5c8ed07131091d215 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d64b604a89004d34747b42a400c9872ccbb2cd82fb7ca29a0bbb0ffbdea25989 [INFO] running `Command { std: "docker" "start" "-a" "d64b604a89004d34747b42a400c9872ccbb2cd82fb7ca29a0bbb0ffbdea25989", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.2.0 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling semver v1.0.22 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling proc-macro2 v1.0.79 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Compiling autocfg v0.1.8 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking regex-syntax v0.8.3 [INFO] [stderr] Checking ryu v1.0.17 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Compiling serde_json v1.0.115 [INFO] [stderr] Checking matrixmultiply v0.2.4 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking itertools v0.7.11 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking crossbeam-deque v0.8.5 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking clap v2.34.0 [INFO] [stderr] Checking rand_xoshiro v0.1.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking generic-array v0.12.4 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking criterion-plot v0.3.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking regex-automata v0.4.6 [INFO] [stderr] Checking num-iter v0.1.44 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking alga v0.8.2 [INFO] [stderr] Checking png v0.12.0 [INFO] [stderr] Checking nalgebra v0.17.3 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling quickcheck_macros v0.8.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Checking regex v1.10.4 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking env_logger v0.6.2 [INFO] [stderr] Checking quickcheck v0.8.5 [INFO] [stderr] Checking image v0.19.0 [INFO] [stderr] Checking criterion v0.2.11 [INFO] [stderr] Checking visual-odometry-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: the item `num_traits` is imported redundantly [INFO] [stdout] --> src/core/candidates/dso.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use num_traits::{self, cast::AsPrimitive, NumCast}; [INFO] [stdout] | ^^^^ the item `num_traits` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `png` is imported redundantly [INFO] [stdout] --> src/misc/helper.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use png::{self, HasParameters}; [INFO] [stdout] | ^^^^ the item `png` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/misc/helper.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{self, fs::File, io::Cursor, path::Path}; [INFO] [stdout] | ^^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `num_traits` is imported redundantly [INFO] [stdout] --> src/core/candidates/dso.rs:9:18 [INFO] [stdout] | [INFO] [stdout] 9 | use num_traits::{self, cast::AsPrimitive, NumCast}; [INFO] [stdout] | ^^^^ the item `num_traits` is already defined by prelude [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `approx` is imported redundantly [INFO] [stdout] --> src/math/se3.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | use approx; [INFO] [stdout] | ^^^^^^ the item `approx` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `quickcheck_macros` is imported redundantly [INFO] [stdout] --> src/math/se3.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | use quickcheck_macros; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the item `quickcheck_macros` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `approx` is imported redundantly [INFO] [stdout] --> src/math/so3.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | use approx; [INFO] [stdout] | ^^^^^^ the item `approx` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `quickcheck_macros` is imported redundantly [INFO] [stdout] --> src/math/so3.rs:108:9 [INFO] [stdout] | [INFO] [stdout] 108 | use quickcheck_macros; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ the item `quickcheck_macros` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `png` is imported redundantly [INFO] [stdout] --> src/misc/helper.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use png::{self, HasParameters}; [INFO] [stdout] | ^^^^ the item `png` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `std` is imported redundantly [INFO] [stdout] --> src/misc/helper.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | use std::{self, fs::File, io::Cursor, path::Path}; [INFO] [stdout] | ^^^^ the item `std` is already defined by prelude [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/vors_track.rs:26:46 [INFO] [stdout] | [INFO] [stdout] 26 | fn my_run(args: &[String]) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | fn my_run(args: &[String]) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/dataset_tum-read-trajectory.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | fn run(args: Vec) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | fn run(args: Vec) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/optim_affine-2d.rs:38:45 [INFO] [stdout] | [INFO] [stdout] 38 | fn run(args: Vec) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | fn run(args: Vec) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/dataset_tum-read-trajectory.rs:60:77 [INFO] [stdout] | [INFO] [stdout] 60 | fn parse_trajectory(file_path: PathBuf) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 60 | fn parse_trajectory(file_path: PathBuf) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/vors_track.rs:115:45 [INFO] [stdout] | [INFO] [stdout] 115 | ) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 115 | ) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/dataset_tum-read-associations.rs:21:45 [INFO] [stdout] | [INFO] [stdout] 21 | fn run(args: Vec) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 21 | fn run(args: Vec) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/vors_track.rs:140:90 [INFO] [stdout] | [INFO] [stdout] 140 | fn read_images(assoc: &tum_rgbd::Association) -> Result<(DMatrix, DMatrix), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 140 | fn read_images(assoc: &tum_rgbd::Association) -> Result<(DMatrix, DMatrix), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/dataset_tum-read-associations.rs:70:85 [INFO] [stdout] | [INFO] [stdout] 70 | fn parse_associations(file_path: PathBuf) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 70 | fn parse_associations(file_path: PathBuf) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/optim_affine-2d.rs:245:65 [INFO] [stdout] | [INFO] [stdout] 245 | fn read_image>(image_path: P) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 245 | fn read_image>(image_path: P) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/candidates_dso.rs:24:45 [INFO] [stdout] | [INFO] [stdout] 24 | fn run(args: Vec) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 24 | fn run(args: Vec) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/candidates_coarse-to-fine.rs:25:45 [INFO] [stdout] | [INFO] [stdout] 25 | fn run(args: Vec) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | fn run(args: Vec) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/optim_affine-2d.rs:231:57 [INFO] [stdout] | [INFO] [stdout] 231 | fn check_args(args: Vec) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 231 | fn check_args(args: Vec) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/candidates_coarse-to-fine.rs:92:65 [INFO] [stdout] | [INFO] [stdout] 92 | fn read_image>(image_path: P) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 92 | fn read_image>(image_path: P) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> examples/candidates_dso.rs:82:65 [INFO] [stdout] | [INFO] [stdout] 82 | fn read_image>(image_path: P) -> Result> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 82 | fn read_image>(image_path: P) -> Result> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/vors_track.rs:26:46 [INFO] [stdout] | [INFO] [stdout] 26 | fn my_run(args: &[String]) -> Result<(), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | fn my_run(args: &[String]) -> Result<(), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/vors_track.rs:115:45 [INFO] [stdout] | [INFO] [stdout] 115 | ) -> Result, Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 115 | ) -> Result, Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/bin/vors_track.rs:140:90 [INFO] [stdout] | [INFO] [stdout] 140 | fn read_images(assoc: &tum_rgbd::Association) -> Result<(DMatrix, DMatrix), Box> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 140 | fn read_images(assoc: &tum_rgbd::Association) -> Result<(DMatrix, DMatrix), Box> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.55s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: criterion v0.2.11, nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "d64b604a89004d34747b42a400c9872ccbb2cd82fb7ca29a0bbb0ffbdea25989", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d64b604a89004d34747b42a400c9872ccbb2cd82fb7ca29a0bbb0ffbdea25989", kill_on_drop: false }` [INFO] [stdout] d64b604a89004d34747b42a400c9872ccbb2cd82fb7ca29a0bbb0ffbdea25989