[INFO] cloning repository https://github.com/bionut15/image-to-points [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bionut15/image-to-points" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbionut15%2Fimage-to-points", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbionut15%2Fimage-to-points'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b71b4a9bd3323f14d3e0865221e3c2d22a1ba8f3 [INFO] testing bionut15/image-to-points against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbionut15%2Fimage-to-points" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/bionut15/image-to-points [INFO] finished tweaking git repo https://github.com/bionut15/image-to-points [INFO] tweaked toml for git repo https://github.com/bionut15/image-to-points written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bionut15/image-to-points on toolchain bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bionut15/image-to-points 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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6c1a39be2981ffc22d18bf28c7f9f129a3b1d74879bfbe6c2940cf5b5602f075 [INFO] running `Command { std: "docker" "start" "-a" "6c1a39be2981ffc22d18bf28c7f9f129a3b1d74879bfbe6c2940cf5b5602f075", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6c1a39be2981ffc22d18bf28c7f9f129a3b1d74879bfbe6c2940cf5b5602f075", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6c1a39be2981ffc22d18bf28c7f9f129a3b1d74879bfbe6c2940cf5b5602f075", kill_on_drop: false }` [INFO] [stdout] 6c1a39be2981ffc22d18bf28c7f9f129a3b1d74879bfbe6c2940cf5b5602f075 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] b62d5c3df8f6c08f6619bfae545959414bc75480bb0bc88cab7fe2c978d9a414 [INFO] running `Command { std: "docker" "start" "-a" "b62d5c3df8f6c08f6619bfae545959414bc75480bb0bc88cab7fe2c978d9a414", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.97 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling thiserror v2.0.17 [INFO] [stderr] Compiling zerocopy v0.8.30 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling built v0.8.0 [INFO] [stderr] Compiling as-slice v0.2.1 [INFO] [stderr] Compiling av-scenechange v0.14.1 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling aligned v0.4.2 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling pastey v0.1.1 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling y4m v0.8.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling itertools v0.8.2 [INFO] [stderr] Compiling roots v0.0.6 [INFO] [stderr] Compiling rav1e v0.8.1 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling roxmltree v0.20.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling core2 v0.4.0 [INFO] [stderr] Compiling nom v8.0.0 [INFO] [stderr] Compiling bitstream-io v4.9.0 [INFO] [stderr] Compiling unicode-width v0.1.14 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling imgref v1.12.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling is-docker v0.2.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling memmap2 v0.9.7 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling syn v2.0.105 [INFO] [stderr] Compiling fontconfig-parser v0.5.8 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling pxfm v0.1.26 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling zune-jpeg v0.4.21 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling flo_curves v0.3.1 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling core_maths v0.1.1 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling gif v0.11.4 [INFO] [stderr] Compiling kurbo v0.11.3 [INFO] [stderr] Compiling avif-serialize v0.8.6 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling unicode-bidi-mirroring v0.4.0 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling zune-core v0.5.0 [INFO] [stderr] Compiling unicode-ccc v0.4.0 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling unicode-properties v0.1.3 [INFO] [stderr] Compiling unicode-script v0.5.7 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling svgtypes v0.15.3 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling zune-jpeg v0.5.5 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling visioncortex v0.8.8 [INFO] [stderr] Compiling tiny-skia-path v0.11.4 [INFO] [stderr] Compiling image-webp v0.2.4 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling is-wsl v0.4.0 [INFO] [stderr] Compiling gif v0.14.0 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling simplecss v0.2.2 [INFO] [stderr] Compiling data-url v0.3.1 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling imagesize v0.13.0 [INFO] [stderr] Compiling xmlwriter v0.1.0 [INFO] [stderr] Compiling unicode-vo v0.1.0 [INFO] [stderr] Compiling fastrand v1.9.0 [INFO] [stderr] Compiling unicode-bidi v0.3.18 [INFO] [stderr] Compiling pathdiff v0.2.3 [INFO] [stderr] Compiling pico-args v0.5.0 [INFO] [stderr] Compiling open v5.3.2 [INFO] [stderr] Compiling svg v0.18.0 [INFO] [stderr] Compiling moxcms v0.7.10 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling rustybuzz v0.20.1 [INFO] [stderr] Compiling fontdb v0.23.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling zerocopy-derive v0.8.30 [INFO] [stderr] Compiling thiserror-impl v2.0.17 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling usvg v0.45.1 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling av1-grain v0.2.5 [INFO] [stderr] Compiling clap v4.5.47 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling tiff v0.10.3 [INFO] [stderr] Compiling exr v1.74.0 [INFO] [stderr] Compiling vtracer v0.6.3 [INFO] [stderr] Compiling ravif v0.12.0 [INFO] [stderr] Compiling image v0.25.9 [INFO] [stderr] Compiling image-to-points v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/cli.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/cli.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/image_process.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `visioncortex::Point2` [INFO] [stdout] --> src/image_process.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use visioncortex::Point2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Cli(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 6 | let _ = Cli(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `outputFile` should have a snake case name [INFO] [stdout] --> src/cli.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | outputFile: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `output_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `inputPath` should have a snake case name [INFO] [stdout] --> src/cli.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | inputPath: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `input_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `colorCount` should have a snake case name [INFO] [stdout] --> src/cli.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | colorCount: u8, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `color_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Cli` should have a snake case name [INFO] [stdout] --> src/cli.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn Cli() -> Result<(), Box> { [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `cli` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_to_ColorImage` should have a snake case name [INFO] [stdout] --> src/image_process.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn convert_to_ColorImage(path: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_to_color_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 17s [INFO] running `Command { std: "docker" "inspect" "b62d5c3df8f6c08f6619bfae545959414bc75480bb0bc88cab7fe2c978d9a414", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b62d5c3df8f6c08f6619bfae545959414bc75480bb0bc88cab7fe2c978d9a414", kill_on_drop: false }` [INFO] [stdout] b62d5c3df8f6c08f6619bfae545959414bc75480bb0bc88cab7fe2c978d9a414 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "--no-run" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] e365276b3ce11217e0a2f74eb5eda4bcbdf856e54bd7b9b55d0e3a6201b3b0c3 [INFO] running `Command { std: "docker" "start" "-a" "e365276b3ce11217e0a2f74eb5eda4bcbdf856e54bd7b9b55d0e3a6201b3b0c3", kill_on_drop: false }` [INFO] [stderr] Compiling image-to-points v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/cli.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Write` [INFO] [stdout] --> src/cli.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::Write; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/image_process.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `visioncortex::Point2` [INFO] [stdout] --> src/image_process.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use visioncortex::Point2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | Cli(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 6 | let _ = Cli(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `outputFile` should have a snake case name [INFO] [stdout] --> src/cli.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | outputFile: String, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `output_file` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `inputPath` should have a snake case name [INFO] [stdout] --> src/cli.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | inputPath: String, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `input_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `colorCount` should have a snake case name [INFO] [stdout] --> src/cli.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | colorCount: u8, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `color_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Cli` should have a snake case name [INFO] [stdout] --> src/cli.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn Cli() -> Result<(), Box> { [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `cli` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `convert_to_ColorImage` should have a snake case name [INFO] [stdout] --> src/image_process.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 62 | pub fn convert_to_ColorImage(path: &str) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_to_color_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.99s [INFO] running `Command { std: "docker" "inspect" "e365276b3ce11217e0a2f74eb5eda4bcbdf856e54bd7b9b55d0e3a6201b3b0c3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e365276b3ce11217e0a2f74eb5eda4bcbdf856e54bd7b9b55d0e3a6201b3b0c3", kill_on_drop: false }` [INFO] [stdout] e365276b3ce11217e0a2f74eb5eda4bcbdf856e54bd7b9b55d0e3a6201b3b0c3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "test" "--frozen" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 6ec7a14c5d400658e525fd19d3aaabdb81e269e079230c677f005aa745bc85a3 [INFO] running `Command { std: "docker" "start" "-a" "6ec7a14c5d400658e525fd19d3aaabdb81e269e079230c677f005aa745bc85a3", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::fs::File` [INFO] [stderr] --> src/cli.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use std::fs::File; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::io::Write` [INFO] [stderr] --> src/cli.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use std::io::Write; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::path::Path` [INFO] [stderr] --> src/image_process.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use std::path::Path; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `visioncortex::Point2` [INFO] [stderr] --> src/image_process.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use visioncortex::Point2; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | Cli(); [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 6 | let _ = Cli(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: structure field `outputFile` should have a snake case name [INFO] [stderr] --> src/cli.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | outputFile: String, [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `output_file` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `inputPath` should have a snake case name [INFO] [stderr] --> src/cli.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | inputPath: String, [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `input_path` [INFO] [stderr] [INFO] [stderr] warning: structure field `colorCount` should have a snake case name [INFO] [stderr] --> src/cli.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 19 | colorCount: u8, [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to snake case: `color_count` [INFO] [stderr] [INFO] [stderr] warning: function `Cli` should have a snake case name [INFO] [stderr] --> src/cli.rs:23:8 [INFO] [stderr] | [INFO] [stderr] 23 | pub fn Cli() -> Result<(), Box> { [INFO] [stderr] | ^^^ help: convert the identifier to snake case (notice the capitalization): `cli` [INFO] [stderr] [INFO] [stderr] warning: function `convert_to_ColorImage` should have a snake case name [INFO] [stderr] --> src/image_process.rs:62:8 [INFO] [stderr] | [INFO] [stderr] 62 | pub fn convert_to_ColorImage(path: &str) -> Result> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `convert_to_color_image` [INFO] [stderr] [INFO] [stderr] warning: `image-to-points` (bin "image-to-points" test) generated 10 warnings (run `cargo fix --bin "image-to-points" -p image-to-points --tests` to apply 4 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/build/image-to-points/f7961d1adffd8909/deps/image_to_points-f7961d1adffd8909) [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] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/build/image-to-points/daaae66f0311f387/deps/image_to_points-daaae66f0311f387) [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] [stderr] Doc-tests image_to_points [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" "6ec7a14c5d400658e525fd19d3aaabdb81e269e079230c677f005aa745bc85a3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ec7a14c5d400658e525fd19d3aaabdb81e269e079230c677f005aa745bc85a3", kill_on_drop: false }` [INFO] [stdout] 6ec7a14c5d400658e525fd19d3aaabdb81e269e079230c677f005aa745bc85a3