[INFO] cloning repository https://github.com/uzuna/aruco-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/uzuna/aruco-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuzuna%2Faruco-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuzuna%2Faruco-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7ded634bfd8e11b71b888fdd635e0776b7f87d6d [INFO] testing uzuna/aruco-rs against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuzuna%2Faruco-rs" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/uzuna/aruco-rs [INFO] finished tweaking git repo https://github.com/uzuna/aruco-rs [INFO] tweaked toml for git repo https://github.com/uzuna/aruco-rs written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/uzuna/aruco-rs on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/uzuna/aruco-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wide v0.7.13 [INFO] [stderr] Downloaded nalgebra v0.30.1 [INFO] [stderr] Downloaded exr v1.71.0 [INFO] [stderr] Downloaded imageproc v0.23.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 89ae171be417d993e1b0772f647a8bb08955bbb0b4b2202e16e015a468f47edf [INFO] running `Command { std: "docker" "start" "-a" "89ae171be417d993e1b0772f647a8bb08955bbb0b4b2202e16e015a468f47edf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "89ae171be417d993e1b0772f647a8bb08955bbb0b4b2202e16e015a468f47edf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89ae171be417d993e1b0772f647a8bb08955bbb0b4b2202e16e015a468f47edf", kill_on_drop: false }` [INFO] [stdout] 89ae171be417d993e1b0772f647a8bb08955bbb0b4b2202e16e015a468f47edf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 893917c9277933ea5e0d9eff2773de827d6e9f73ca874a4dbafbc8e39378e916 [INFO] running `Command { std: "docker" "start" "-a" "893917c9277933ea5e0d9eff2773de827d6e9f73ca874a4dbafbc8e39378e916", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling crossbeam-utils v0.8.18 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling fdeflate v0.3.3 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling safe_arch v0.7.1 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling half v2.2.1 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling custom_derive v0.1.7 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling wide v0.7.13 [INFO] [stderr] Compiling conv v0.3.3 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling crossbeam-epoch v0.9.17 [INFO] [stderr] Compiling crossbeam-deque v0.8.4 [INFO] [stderr] Compiling png v0.17.10 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling num-complex v0.4.4 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rayon v1.8.0 [INFO] [stderr] Compiling exr v1.71.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling simba v0.7.3 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling owned_ttf_parser v0.15.2 [INFO] [stderr] Compiling rusttype v0.9.3 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling num v0.4.1 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Compiling jpeg-decoder v0.3.0 [INFO] [stderr] Compiling tiff v0.9.0 [INFO] [stderr] Compiling image v0.24.7 [INFO] [stderr] Compiling nalgebra v0.30.1 [INFO] [stderr] Compiling nalgebra v0.32.3 [INFO] [stderr] Compiling imageproc v0.23.0 [INFO] [stderr] Compiling aruco-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `nalgebra::Normed` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nalgebra::Normed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `max_dist` is never read [INFO] [stdout] --> src/lib.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut max_dist = 0.0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Poly` is more private than the item `approx_line` [INFO] [stdout] --> src/lib.rs:191:1 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn approx_line(points: &[nalgebra::Point2], epsilon: f32) -> Poly { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `approx_line` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Poly` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | struct Poly { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Candidate` is never constructed [INFO] [stdout] --> src/lib.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | struct Candidate { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_points` is never used [INFO] [stdout] --> src/lib.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl Candidate { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 36 | fn from_points(points: &[nalgebra::Point2], index: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `approx_poly_dp` is never used [INFO] [stdout] --> src/lib.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn approx_poly_dp(_c: &Contour, _epsilon: f32) -> Poly { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_length` is never used [INFO] [stdout] --> src/lib.rs:181:4 [INFO] [stdout] | [INFO] [stdout] 181 | fn line_length(points: &[nalgebra::Point2]) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 36.53s [INFO] running `Command { std: "docker" "inspect" "893917c9277933ea5e0d9eff2773de827d6e9f73ca874a4dbafbc8e39378e916", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "893917c9277933ea5e0d9eff2773de827d6e9f73ca874a4dbafbc8e39378e916", kill_on_drop: false }` [INFO] [stdout] 893917c9277933ea5e0d9eff2773de827d6e9f73ca874a4dbafbc8e39378e916 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a110c4b9d7b83e637ae50b47c56fba3ea0f91ffb64827fcbda7f963ca7047a14 [INFO] running `Command { std: "docker" "start" "-a" "a110c4b9d7b83e637ae50b47c56fba3ea0f91ffb64827fcbda7f963ca7047a14", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `nalgebra::Normed` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nalgebra::Normed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `max_dist` is never read [INFO] [stdout] --> src/lib.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut max_dist = 0.0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Poly` is more private than the item `approx_line` [INFO] [stdout] --> src/lib.rs:191:1 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn approx_line(points: &[nalgebra::Point2], epsilon: f32) -> Poly { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `approx_line` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Poly` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | struct Poly { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Candidate` is never constructed [INFO] [stdout] --> src/lib.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | struct Candidate { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_points` is never used [INFO] [stdout] --> src/lib.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl Candidate { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 36 | fn from_points(points: &[nalgebra::Point2], index: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `approx_poly_dp` is never used [INFO] [stdout] --> src/lib.rs:110:4 [INFO] [stdout] | [INFO] [stdout] 110 | fn approx_poly_dp(_c: &Contour, _epsilon: f32) -> Poly { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling aruco-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `line_length` is never used [INFO] [stdout] --> src/lib.rs:181:4 [INFO] [stdout] | [INFO] [stdout] 181 | fn line_length(points: &[nalgebra::Point2]) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `nalgebra::Normed` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use nalgebra::Normed; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `max_dist` is never read [INFO] [stdout] --> src/lib.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut max_dist = 0.0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Poly` is more private than the item `approx_line` [INFO] [stdout] --> src/lib.rs:191:1 [INFO] [stdout] | [INFO] [stdout] 191 | pub fn approx_line(points: &[nalgebra::Point2], epsilon: f32) -> Poly { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `approx_line` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `Poly` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/lib.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | struct Poly { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Candidate` is never constructed [INFO] [stdout] --> src/lib.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | struct Candidate { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_points` is never used [INFO] [stdout] --> src/lib.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 35 | impl Candidate { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 36 | fn from_points(points: &[nalgebra::Point2], index: usize) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `line_length` is never used [INFO] [stdout] --> src/lib.rs:181:4 [INFO] [stdout] | [INFO] [stdout] 181 | fn line_length(points: &[nalgebra::Point2]) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "a110c4b9d7b83e637ae50b47c56fba3ea0f91ffb64827fcbda7f963ca7047a14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a110c4b9d7b83e637ae50b47c56fba3ea0f91ffb64827fcbda7f963ca7047a14", kill_on_drop: false }` [INFO] [stdout] a110c4b9d7b83e637ae50b47c56fba3ea0f91ffb64827fcbda7f963ca7047a14 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 53298d775fe81062a1c6b161eaedabeb70bea14136e75aac6e21c24ada03b93a [INFO] running `Command { std: "docker" "start" "-a" "53298d775fe81062a1c6b161eaedabeb70bea14136e75aac6e21c24ada03b93a", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `nalgebra::Normed` [INFO] [stderr] --> src/lib.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use nalgebra::Normed; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `max_dist` is never read [INFO] [stderr] --> src/lib.rs:158:13 [INFO] [stderr] | [INFO] [stderr] 158 | let mut max_dist = 0.0; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: type `Poly` is more private than the item `approx_line` [INFO] [stderr] --> src/lib.rs:191:1 [INFO] [stderr] | [INFO] [stderr] 191 | pub fn approx_line(points: &[nalgebra::Point2], epsilon: f32) -> Poly { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function `approx_line` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `Poly` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/lib.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | struct Poly { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Candidate` is never constructed [INFO] [stderr] --> src/lib.rs:30:8 [INFO] [stderr] | [INFO] [stderr] 30 | struct Candidate { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated function `from_points` is never used [INFO] [stderr] --> src/lib.rs:36:8 [INFO] [stderr] | [INFO] [stderr] 35 | impl Candidate { [INFO] [stderr] | -------------- associated function in this implementation [INFO] [stderr] 36 | fn from_points(points: &[nalgebra::Point2], index: usize) -> Self { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `approx_poly_dp` is never used [INFO] [stderr] --> src/lib.rs:110:4 [INFO] [stderr] | [INFO] [stderr] 110 | fn approx_poly_dp(_c: &Contour, _epsilon: f32) -> Poly { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `line_length` is never used [INFO] [stderr] --> src/lib.rs:181:4 [INFO] [stderr] | [INFO] [stderr] 181 | fn line_length(points: &[nalgebra::Point2]) -> f32 { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `aruco-rs` (lib) generated 7 warnings [INFO] [stderr] warning: `aruco-rs` (lib test) generated 6 warnings (6 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/aruco_rs-810ca48cd328350c) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test tests::it_works ... ignored [INFO] [stdout] test tests::test_applox_line ... ok [INFO] [stdout] test tests::test_distance_from_line ... ok [INFO] [stderr] Doc-tests aruco_rs [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "53298d775fe81062a1c6b161eaedabeb70bea14136e75aac6e21c24ada03b93a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53298d775fe81062a1c6b161eaedabeb70bea14136e75aac6e21c24ada03b93a", kill_on_drop: false }` [INFO] [stdout] 53298d775fe81062a1c6b161eaedabeb70bea14136e75aac6e21c24ada03b93a