[INFO] cloning repository https://github.com/a348019017/worktools-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/a348019017/worktools-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa348019017%2Fworktools-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa348019017%2Fworktools-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2127c1b95319928e9025767dbf7ef5cba5bce251 [INFO] building a348019017/worktools-rs against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa348019017%2Fworktools-rs" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/a348019017/worktools-rs [INFO] finished tweaking git repo https://github.com/a348019017/worktools-rs [INFO] tweaked toml for git repo https://github.com/a348019017/worktools-rs written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/a348019017/worktools-rs on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/a348019017/worktools-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tobj v4.0.2 [INFO] [stderr] Downloaded sorted-vec v0.8.3 [INFO] [stderr] Downloaded init_with v1.1.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.83 [INFO] [stderr] Downloaded az v1.2.1 [INFO] [stderr] Downloaded anstyle-wincon v3.0.3 [INFO] [stderr] Downloaded anstyle-parse v0.2.4 [INFO] [stderr] Downloaded geo-types v0.7.13 [INFO] [stderr] Downloaded zune-jpeg v0.4.11 [INFO] [stderr] Downloaded bitstream-io v2.3.0 [INFO] [stderr] Downloaded image-webp v0.1.2 [INFO] [stderr] Downloaded anstyle-query v1.0.3 [INFO] [stderr] Downloaded toml v0.8.13 [INFO] [stderr] Downloaded target-lexicon v0.12.14 [INFO] [stderr] Downloaded rgb v0.8.37 [INFO] [stderr] Downloaded geographiclib-rs v0.2.4 [INFO] [stderr] Downloaded fixed v1.27.0 [INFO] [stderr] Downloaded geo v0.28.0 [INFO] [stderr] Downloaded spade v2.8.0 [INFO] [stderr] Downloaded kiddo v4.2.0 [INFO] [stderr] Downloaded cc v1.0.98 [INFO] [stderr] Downloaded syn v2.0.65 [INFO] [stderr] Downloaded num-bigint v0.4.5 [INFO] [stderr] Downloaded winnow v0.6.8 [INFO] [stderr] Downloaded exr v1.72.0 [INFO] [stderr] Downloaded toml_edit v0.22.13 [INFO] [stderr] Downloaded heapless v0.8.0 [INFO] [stderr] Downloaded geojson v0.24.1 [INFO] [stderr] Downloaded earcutr v0.4.3 [INFO] [stderr] Downloaded hash32 v0.3.1 [INFO] [stderr] Downloaded built v0.7.3 [INFO] [stderr] Downloaded ravif v0.11.5 [INFO] [stderr] Downloaded kamadak-exif v0.5.5 [INFO] [stderr] Downloaded mutate_once v0.1.1 [INFO] [stderr] Downloaded robust v1.1.0 [INFO] [stderr] Downloaded rstar v0.12.0 [INFO] [stderr] Downloaded divrem v1.0.0 [INFO] [stderr] Downloaded colorchoice v1.0.1 [INFO] [stderr] Downloaded is_terminal_polyfill v1.70.0 [INFO] [stderr] Downloaded anstream v0.6.14 [INFO] [stderr] Downloaded anstyle v1.0.7 [INFO] [stderr] Downloaded image v0.25.1 [INFO] [stderr] Downloaded elapsed v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06c44fb841705ee23ae980b58cdad522d2d45cfebf1c37ce145d74c971f2f865 [INFO] running `Command { std: "docker" "start" "-a" "06c44fb841705ee23ae980b58cdad522d2d45cfebf1c37ce145d74c971f2f865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06c44fb841705ee23ae980b58cdad522d2d45cfebf1c37ce145d74c971f2f865", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06c44fb841705ee23ae980b58cdad522d2d45cfebf1c37ce145d74c971f2f865", kill_on_drop: false }` [INFO] [stdout] 06c44fb841705ee23ae980b58cdad522d2d45cfebf1c37ce145d74c971f2f865 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d12d13982108db40b3225ecd0311ea51de7694869478360b65b6888abbc46f9 [INFO] running `Command { std: "docker" "start" "-a" "6d12d13982108db40b3225ecd0311ea51de7694869478360b65b6888abbc46f9", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling proc-macro2 v1.0.83 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling bytemuck v1.16.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling hash32 v0.3.1 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling built v0.7.3 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling generator v0.7.5 [INFO] [stderr] Compiling rstar v0.12.0 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling fixed v1.27.0 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling bitstream-io v2.3.0 [INFO] [stderr] Compiling robust v1.1.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling av1-grain v0.2.3 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling spade v2.8.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling earcutr v0.4.3 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling ordered-float v4.2.0 [INFO] [stderr] Compiling geographiclib-rs v0.2.4 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling rgb v0.8.37 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling sorted-vec v0.8.3 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling plugin_interface v0.1.0 (/opt/rustwide/workdir/plugin_interface) [INFO] [stderr] Compiling elapsed v0.1.2 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling float_next_after v1.0.0 [INFO] [stderr] Compiling init_with v1.1.0 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling divrem v1.0.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling image-webp v0.1.2 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling zune-jpeg v0.4.11 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling tobj v4.0.2 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling mutate_once v0.1.1 [INFO] [stderr] Compiling kamadak-exif v0.5.5 [INFO] [stderr] Compiling geo-types v0.7.13 [INFO] [stderr] Compiling geo v0.28.0 [INFO] [stderr] Compiling geojson v0.24.1 [INFO] [stderr] Compiling kiddo v4.2.0 [INFO] [stderr] Compiling ravif v0.11.5 [INFO] [stderr] Compiling image v0.25.1 [INFO] [stderr] Compiling plugin_test v0.1.0 (/opt/rustwide/workdir/plugin_test) [INFO] [stdout] warning: unused import: `clap::builder::Str` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::builder::Str; [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: `Error` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{Error, Parser}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::value` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::de::value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Number` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::Number; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_dir_all` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::{self, create_dir_all}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Instant` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `geo::algorithm::concave_hull` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use geo::algorithm::concave_hull; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConcaveHull` and `CoordsIter` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use geo::{ConcaveHull, CoordsIter}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KNearestConcaveHull` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | use geo::{ConvexHull, Coord, KNearestConcaveHull}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Feature`, `GeoJson`, `Position`, and `Value` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | use geojson::{Feature, GeoJson, Geometry, Position, Value}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | use rayon::{prelude::*, vec}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> plugin_test/src/mymod/mycore.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> plugin_test/src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{Error, Parser}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::builder::Str` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::builder::Str; [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: `Error` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{Error, Parser}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::value` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::de::value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Number` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::Number; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_dir_all` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::{self, create_dir_all}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Instant` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `geo::algorithm::concave_hull` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use geo::algorithm::concave_hull; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConcaveHull` and `CoordsIter` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use geo::{ConcaveHull, CoordsIter}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KNearestConcaveHull` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | use geo::{ConvexHull, Coord, KNearestConcaveHull}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Feature`, `GeoJson`, `Position`, and `Value` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | use geojson::{Feature, GeoJson, Geometry, Position, Value}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | use rayon::{prelude::*, vec}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> plugin_test/src/mymod/mycore.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `Parser` [INFO] [stdout] --> plugin_test/src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{Error, Parser}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `materials` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | let (models, materials) = tobj::load_obj(path, &tobj::LoadOptions::default()) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_materials` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | for (i, m) in models.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `materials` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | let (models, materials) = tobj::load_obj(path, &tobj::LoadOptions::default()) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_materials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `icoords` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | let mut icoords: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_icoords` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 133 | for (i, m) in models.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | let mut icoords: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `firstBbox` should have a snake case name [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | let mut firstBbox = result_boxes[0]; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `first_bbox` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `materials` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | let (models, materials) = tobj::load_obj(path, &tobj::LoadOptions::default()) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_materials` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | for (i, m) in models.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `materials` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | let (models, materials) = tobj::load_obj(path, &tobj::LoadOptions::default()) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_materials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `icoords` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | let mut icoords: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_icoords` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 133 | for (i, m) in models.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | let mut icoords: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> plugin_test/src/lib.rs:6:36 [INFO] [stdout] | [INFO] [stdout] 6 | pub extern "C" fn execute(options: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Result<(), Box>`, which is not FFI-safe [INFO] [stdout] --> plugin_test/src/lib.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | pub extern "C" fn execute(options: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `firstBbox` should have a snake case name [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | let mut firstBbox = result_boxes[0]; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `first_bbox` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling plugin_panoramic v0.1.0 (/opt/rustwide/workdir/plugin_panoramic) [INFO] [stdout] warning: unused import: `clap::builder::Str` [INFO] [stdout] --> plugin_panoramic/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::builder::Str; [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: `Error` [INFO] [stdout] --> plugin_panoramic/src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{Error, Parser}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::imageops::thumbnail` [INFO] [stdout] --> plugin_panoramic/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use image::imageops::thumbnail; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageError` and `io::Reader as ImageReader` [INFO] [stdout] --> plugin_panoramic/src/main.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use image::{io::Reader as ImageReader, GenericImage, GenericImageView, ImageError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Number` [INFO] [stdout] --> plugin_panoramic/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::Number; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Instant` [INFO] [stdout] --> plugin_panoramic/src/main.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> plugin_panoramic/src/main.rs:144:27 [INFO] [stdout] | [INFO] [stdout] 144 | .map_err(|e| path.display().to_string()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 13s [INFO] running `Command { std: "docker" "inspect" "6d12d13982108db40b3225ecd0311ea51de7694869478360b65b6888abbc46f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d12d13982108db40b3225ecd0311ea51de7694869478360b65b6888abbc46f9", kill_on_drop: false }` [INFO] [stdout] 6d12d13982108db40b3225ecd0311ea51de7694869478360b65b6888abbc46f9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6f5dea9bb9d34b7cbc5178db6deb16fd67cfd990b2668302805ce8dbff00691a [INFO] running `Command { std: "docker" "start" "-a" "6f5dea9bb9d34b7cbc5178db6deb16fd67cfd990b2668302805ce8dbff00691a", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Compiling plugin_test v0.1.0 (/opt/rustwide/workdir/plugin_test) [INFO] [stderr] Compiling plugin_interface v0.1.0 (/opt/rustwide/workdir/plugin_interface) [INFO] [stderr] Compiling plugin_panoramic v0.1.0 (/opt/rustwide/workdir/plugin_panoramic) [INFO] [stdout] warning: unused import: `clap::builder::Str` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::builder::Str; [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: `Error` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{Error, Parser}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::value` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::de::value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Number` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::Number; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_dir_all` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::{self, create_dir_all}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Instant` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `geo::algorithm::concave_hull` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use geo::algorithm::concave_hull; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConcaveHull` and `CoordsIter` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use geo::{ConcaveHull, CoordsIter}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KNearestConcaveHull` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | use geo::{ConvexHull, Coord, KNearestConcaveHull}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Feature`, `GeoJson`, `Position`, and `Value` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | use geojson::{Feature, GeoJson, Geometry, Position, Value}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | use rayon::{prelude::*, vec}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> plugin_test/src/mymod/mycore.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> plugin_test/src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{Error, Parser}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::builder::Str` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::builder::Str; [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: `Error` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{Error, Parser}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde::de::value` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use serde::de::value; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Number` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use serde_json::Number; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `create_dir_all` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fs::{self, create_dir_all}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::ops::Deref` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::ops::Deref; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Instant` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:8:17 [INFO] [stdout] | [INFO] [stdout] 8 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `geo::algorithm::concave_hull` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use geo::algorithm::concave_hull; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ConcaveHull` and `CoordsIter` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | use geo::{ConcaveHull, CoordsIter}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `KNearestConcaveHull` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | use geo::{ConvexHull, Coord, KNearestConcaveHull}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Feature`, `GeoJson`, `Position`, and `Value` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | use geojson::{Feature, GeoJson, Geometry, Position, Value}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:19:25 [INFO] [stdout] | [INFO] [stdout] 19 | use rayon::{prelude::*, vec}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Debug` [INFO] [stdout] --> plugin_test/src/mymod/mycore.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fmt::Debug; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Error` and `Parser` [INFO] [stdout] --> plugin_test/src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{Error, Parser}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clap::builder::Str` [INFO] [stdout] --> plugin_panoramic/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use clap::builder::Str; [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: `Error` [INFO] [stdout] --> plugin_panoramic/src/main.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use clap::{Error, Parser}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `image::imageops::thumbnail` [INFO] [stdout] --> plugin_panoramic/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use image::imageops::thumbnail; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ImageError` and `io::Reader as ImageReader` [INFO] [stdout] --> plugin_panoramic/src/main.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use image::{io::Reader as ImageReader, GenericImage, GenericImageView, ImageError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::Number` [INFO] [stdout] --> plugin_panoramic/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use serde_json::Number; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Instant` [INFO] [stdout] --> plugin_panoramic/src/main.rs:9:17 [INFO] [stdout] | [INFO] [stdout] 9 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `materials` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | let (models, materials) = tobj::load_obj(path, &tobj::LoadOptions::default()) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_materials` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | for (i, m) in models.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `materials` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | let (models, materials) = tobj::load_obj(path, &tobj::LoadOptions::default()) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_materials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `icoords` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | let mut icoords: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_icoords` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 133 | for (i, m) in models.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `materials` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:67:26 [INFO] [stdout] | [INFO] [stdout] 67 | let (models, materials) = tobj::load_obj(path, &tobj::LoadOptions::default()) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_materials` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:73:18 [INFO] [stdout] | [INFO] [stdout] 73 | for (i, m) in models.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `materials` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | let (models, materials) = tobj::load_obj(path, &tobj::LoadOptions::default()) [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_materials` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `icoords` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | let mut icoords: Vec = Vec::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_icoords` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:133:18 [INFO] [stdout] | [INFO] [stdout] 133 | for (i, m) in models.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | let mut icoords: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stdout] --> plugin_test/src/lib.rs:6:36 [INFO] [stdout] | [INFO] [stdout] 6 | pub extern "C" fn execute(options: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider using `*const u8` and a length instead [INFO] [stdout] = note: string slices have no C equivalent [INFO] [stdout] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` fn uses type `Result<(), Box>`, which is not FFI-safe [INFO] [stdout] --> plugin_test/src/lib.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | pub extern "C" fn execute(options: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stdout] = note: enum has no representation hint [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `firstBbox` should have a snake case name [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | let mut firstBbox = result_boxes[0]; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `first_bbox` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | let mut icoords: Vec = Vec::new(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `firstBbox` should have a snake case name [INFO] [stdout] --> plugin_test/src/mymod/mod.rs:100:13 [INFO] [stdout] | [INFO] [stdout] 100 | let mut firstBbox = result_boxes[0]; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `first_bbox` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> plugin_panoramic/src/main.rs:144:27 [INFO] [stdout] | [INFO] [stdout] 144 | .map_err(|e| path.display().to_string()) [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.33s [INFO] running `Command { std: "docker" "inspect" "6f5dea9bb9d34b7cbc5178db6deb16fd67cfd990b2668302805ce8dbff00691a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6f5dea9bb9d34b7cbc5178db6deb16fd67cfd990b2668302805ce8dbff00691a", kill_on_drop: false }` [INFO] [stdout] 6f5dea9bb9d34b7cbc5178db6deb16fd67cfd990b2668302805ce8dbff00691a