[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] testing a348019017/worktools-rs against try#7af779037716ae4125ceabb429791b4cf5dd0a43 for pr-136932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fa348019017%2Fworktools-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/a348019017/worktools-rs on toolchain 7af779037716ae4125ceabb429791b4cf5dd0a43 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-4-tc2/source/Cargo.toml [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" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1efe797121e7670b627426c4406a3d2128cbe38e17704a4dcfda71a737ad68f7 [INFO] running `Command { std: "docker" "start" "-a" "1efe797121e7670b627426c4406a3d2128cbe38e17704a4dcfda71a737ad68f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1efe797121e7670b627426c4406a3d2128cbe38e17704a4dcfda71a737ad68f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1efe797121e7670b627426c4406a3d2128cbe38e17704a4dcfda71a737ad68f7", kill_on_drop: false }` [INFO] [stdout] 1efe797121e7670b627426c4406a3d2128cbe38e17704a4dcfda71a737ad68f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 445e4855807faa96615a74b9c6beebdcb071e9e997ad82c9877e9b632cb03c21 [INFO] running `Command { std: "docker" "start" "-a" "445e4855807faa96615a74b9c6beebdcb071e9e997ad82c9877e9b632cb03c21", 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 once_cell v1.19.0 [INFO] [stderr] Compiling libm v0.2.8 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling log v0.4.21 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling smallvec v1.13.2 [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 byteorder v1.5.0 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling serde v1.0.202 [INFO] [stderr] Compiling bytemuck v1.16.0 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling heapless v0.8.0 [INFO] [stderr] Compiling rustversion v1.0.17 [INFO] [stderr] Compiling hash32 v0.3.1 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling half v2.4.1 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling zerocopy v0.7.34 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling miniz_oxide v0.7.3 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling built v0.7.3 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling aligned-vec v0.5.0 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling memchr v2.7.2 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling anstyle-query v1.0.3 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling az v1.2.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling syn v2.0.65 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling jobserver v0.1.31 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling overload v0.1.1 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling fixed v1.27.0 [INFO] [stderr] Compiling clap_lex v0.7.0 [INFO] [stderr] Compiling cc v1.0.98 [INFO] [stderr] Compiling doc-comment v0.3.3 [INFO] [stderr] Compiling allocator-api2 v0.2.18 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling flate2 v1.0.30 [INFO] [stderr] Compiling sharded-slab v0.1.7 [INFO] [stderr] Compiling nu-ansi-term v0.46.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling clap_builder v4.5.2 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling thread_local v1.1.8 [INFO] [stderr] Compiling itertools v0.11.0 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling imgref v1.10.1 [INFO] [stderr] Compiling robust v1.1.0 [INFO] [stderr] Compiling weezl v0.1.8 [INFO] [stderr] Compiling bitstream-io v2.3.0 [INFO] [stderr] Compiling new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.18 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling rstar v0.12.0 [INFO] [stderr] Compiling v_frame v0.3.8 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling ordered-float v4.2.0 [INFO] [stderr] Compiling avif-serialize v0.8.1 [INFO] [stderr] Compiling geographiclib-rs v0.2.4 [INFO] [stderr] Compiling rgb v0.8.37 [INFO] [stderr] Compiling spade v2.8.0 [INFO] [stderr] Compiling generator v0.7.5 [INFO] [stderr] Compiling fdeflate v0.3.4 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling num-bigint v0.4.5 [INFO] [stderr] Compiling jpeg-decoder v0.3.1 [INFO] [stderr] Compiling elapsed v0.1.2 [INFO] [stderr] Compiling plugin_interface v0.1.0 (/opt/rustwide/workdir/plugin_interface) [INFO] [stderr] Compiling sorted-vec v0.8.3 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling ubyte v0.10.4 [INFO] [stderr] Compiling divrem v1.0.0 [INFO] [stderr] Compiling float_next_after v1.0.0 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling init_with v1.1.0 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling exr v1.72.0 [INFO] [stderr] Compiling png v0.17.13 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling zune-jpeg v0.4.11 [INFO] [stderr] Compiling gif v0.13.1 [INFO] [stderr] Compiling tobj v4.0.2 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling earcutr v0.4.3 [INFO] [stderr] Compiling tiff v0.9.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 av1-grain v0.2.3 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling serde_derive v1.0.202 [INFO] [stderr] Compiling profiling-procmacros v1.0.15 [INFO] [stderr] Compiling clap_derive v4.5.4 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling profiling v1.0.15 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling image-webp v0.1.2 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling clap v4.5.4 [INFO] [stderr] Compiling geo-types v0.7.13 [INFO] [stderr] Compiling kiddo v4.2.0 [INFO] [stderr] Compiling geo v0.28.0 [INFO] [stderr] Compiling geojson v0.24.1 [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)]` on by default [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)]` 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: `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: `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 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)]` on by default [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)]` 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: `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 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)]` 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)]` 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: 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)]` 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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "445e4855807faa96615a74b9c6beebdcb071e9e997ad82c9877e9b632cb03c21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "445e4855807faa96615a74b9c6beebdcb071e9e997ad82c9877e9b632cb03c21", kill_on_drop: false }` [INFO] [stdout] 445e4855807faa96615a74b9c6beebdcb071e9e997ad82c9877e9b632cb03c21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d25f95d4c91119ba80958a56530f375f302d1afdca369a996faa578cca23defc [INFO] running `Command { std: "docker" "start" "-a" "d25f95d4c91119ba80958a56530f375f302d1afdca369a996faa578cca23defc", 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_interface v0.1.0 (/opt/rustwide/workdir/plugin_interface) [INFO] [stderr] Compiling plugin_test v0.1.0 (/opt/rustwide/workdir/plugin_test) [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)]` 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: `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)]` 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)]` 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)]` 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)]` 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: 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: `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)]` on by default [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)]` 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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.09s [INFO] running `Command { std: "docker" "inspect" "d25f95d4c91119ba80958a56530f375f302d1afdca369a996faa578cca23defc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d25f95d4c91119ba80958a56530f375f302d1afdca369a996faa578cca23defc", kill_on_drop: false }` [INFO] [stdout] d25f95d4c91119ba80958a56530f375f302d1afdca369a996faa578cca23defc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+7af779037716ae4125ceabb429791b4cf5dd0a43" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] af9638c87041956a73f86d3cb6d2b05fb74085d14a1dfbe77a4e3bd3c9f73ddc [INFO] running `Command { std: "docker" "start" "-a" "af9638c87041956a73f86d3cb6d2b05fb74085d14a1dfbe77a4e3bd3c9f73ddc", 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] warning: unused import: `clap::builder::Str` [INFO] [stderr] --> plugin_test/src/mymod/mod.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use clap::builder::Str; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> plugin_test/src/mymod/mod.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | use clap::{Error, Parser}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde::de::value` [INFO] [stderr] --> plugin_test/src/mymod/mod.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use serde::de::value; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::Number` [INFO] [stderr] --> plugin_test/src/mymod/mod.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use serde_json::Number; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `create_dir_all` [INFO] [stderr] --> plugin_test/src/mymod/mod.rs:5:21 [INFO] [stderr] | [INFO] [stderr] 5 | use std::fs::{self, create_dir_all}; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::ops::Deref` [INFO] [stderr] --> plugin_test/src/mymod/mod.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use std::ops::Deref; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Path` [INFO] [stderr] --> plugin_test/src/mymod/mod.rs:7:17 [INFO] [stderr] | [INFO] [stderr] 7 | use std::path::{Path, PathBuf}; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Duration` and `Instant` [INFO] [stderr] --> plugin_test/src/mymod/mod.rs:8:17 [INFO] [stderr] | [INFO] [stderr] 8 | use std::time::{Duration, Instant}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `geo::algorithm::concave_hull` [INFO] [stderr] --> plugin_test/src/mymod/mod.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use geo::algorithm::concave_hull; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ConcaveHull` and `CoordsIter` [INFO] [stderr] --> plugin_test/src/mymod/mod.rs:12:11 [INFO] [stderr] | [INFO] [stderr] 12 | use geo::{ConcaveHull, CoordsIter}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `KNearestConcaveHull` [INFO] [stderr] --> plugin_test/src/mymod/mod.rs:13:30 [INFO] [stderr] | [INFO] [stderr] 13 | use geo::{ConvexHull, Coord, KNearestConcaveHull}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Feature`, `GeoJson`, `Position`, and `Value` [INFO] [stderr] --> plugin_test/src/mymod/mod.rs:15:15 [INFO] [stderr] | [INFO] [stderr] 15 | use geojson::{Feature, GeoJson, Geometry, Position, Value}; [INFO] [stderr] | ^^^^^^^ ^^^^^^^ ^^^^^^^^ ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `vec` [INFO] [stderr] --> plugin_test/src/mymod/mod.rs:19:25 [INFO] [stderr] | [INFO] [stderr] 19 | use rayon::{prelude::*, vec}; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::fmt::Debug` [INFO] [stderr] --> plugin_test/src/mymod/mycore.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::fmt::Debug; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> plugin_test/src/main.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | use clap::{Error, Parser}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `itertools::Itertools` [INFO] [stderr] --> plugin_test/src/mymod/mod.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | use itertools::Itertools; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `materials` [INFO] [stderr] --> plugin_test/src/mymod/mod.rs:67:26 [INFO] [stderr] | [INFO] [stderr] 67 | let (models, materials) = tobj::load_obj(path, &tobj::LoadOptions::default()) [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_materials` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> plugin_test/src/mymod/mod.rs:73:18 [INFO] [stderr] | [INFO] [stderr] 73 | for (i, m) in models.iter().enumerate() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `materials` [INFO] [stderr] --> plugin_test/src/mymod/mod.rs:123:26 [INFO] [stderr] | [INFO] [stderr] 123 | let (models, materials) = tobj::load_obj(path, &tobj::LoadOptions::default()) [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_materials` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `icoords` [INFO] [stderr] --> plugin_test/src/mymod/mod.rs:127:21 [INFO] [stderr] | [INFO] [stderr] 127 | let mut icoords: Vec = Vec::new(); [INFO] [stderr] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_icoords` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `i` [INFO] [stderr] --> plugin_test/src/mymod/mod.rs:133:18 [INFO] [stderr] | [INFO] [stderr] 133 | for (i, m) in models.iter().enumerate() { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> plugin_test/src/mymod/mod.rs:127:17 [INFO] [stderr] | [INFO] [stderr] 127 | let mut icoords: Vec = Vec::new(); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `firstBbox` should have a snake case name [INFO] [stderr] --> plugin_test/src/mymod/mod.rs:100:13 [INFO] [stderr] | [INFO] [stderr] 100 | let mut firstBbox = result_boxes[0]; [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `first_bbox` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Error` and `Parser` [INFO] [stderr] --> plugin_test/src/lib.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | use clap::{Error, Parser}; [INFO] [stderr] | ^^^^^ ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `str`, which is not FFI-safe [INFO] [stderr] --> plugin_test/src/lib.rs:6:36 [INFO] [stderr] | [INFO] [stderr] 6 | pub extern "C" fn execute(options: &str) -> Result<(), Box> { [INFO] [stderr] | ^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider using `*const u8` and a length instead [INFO] [stderr] = note: string slices have no C equivalent [INFO] [stderr] = note: `#[warn(improper_ctypes_definitions)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `extern` fn uses type `Result<(), Box>`, which is not FFI-safe [INFO] [stderr] --> plugin_test/src/lib.rs:6:45 [INFO] [stderr] | [INFO] [stderr] 6 | pub extern "C" fn execute(options: &str) -> Result<(), Box> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not FFI-safe [INFO] [stderr] | [INFO] [stderr] = help: consider adding a `#[repr(C)]`, `#[repr(transparent)]`, or integer `#[repr(...)]` attribute to this enum [INFO] [stderr] = note: enum has no representation hint [INFO] [stderr] [INFO] [stderr] warning: `plugin_test` (bin "plugin_test" test) generated 23 warnings (run `cargo fix --bin "plugin_test" --tests` to apply 16 suggestions) [INFO] [stderr] warning: `plugin_test` (lib test) generated 25 warnings (22 duplicates) (run `cargo fix --lib -p plugin_test --tests` to apply 1 suggestion) [INFO] [stderr] warning: unused import: `clap::builder::Str` [INFO] [stderr] --> plugin_panoramic/src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use clap::builder::Str; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> plugin_panoramic/src/main.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | use clap::{Error, Parser}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `image::imageops::thumbnail` [INFO] [stderr] --> plugin_panoramic/src/main.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use image::imageops::thumbnail; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `ImageError` and `io::Reader as ImageReader` [INFO] [stderr] --> plugin_panoramic/src/main.rs:4:13 [INFO] [stderr] | [INFO] [stderr] 4 | use image::{io::Reader as ImageReader, GenericImage, GenericImageView, ImageError}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::Number` [INFO] [stderr] --> plugin_panoramic/src/main.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use serde_json::Number; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Duration` and `Instant` [INFO] [stderr] --> plugin_panoramic/src/main.rs:9:17 [INFO] [stderr] | [INFO] [stderr] 9 | use std::time::{Duration, Instant}; [INFO] [stderr] | ^^^^^^^^ ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> plugin_panoramic/src/main.rs:144:27 [INFO] [stderr] | [INFO] [stderr] 144 | .map_err(|e| path.display().to_string()) [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `plugin_panoramic` (bin "pbuildtool" test) generated 7 warnings (run `cargo fix --bin "pbuildtool" --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/plugin_interface-cd4277447d05eceb) [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/deps/pbuildtool-f9599e3e3b721767) [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/lib.rs (/opt/rustwide/target/debug/deps/plugin_test-0513f80afd37477d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/plugin_test-81cd7854645f0638) [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] [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 plugin_interface [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" "af9638c87041956a73f86d3cb6d2b05fb74085d14a1dfbe77a4e3bd3c9f73ddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af9638c87041956a73f86d3cb6d2b05fb74085d14a1dfbe77a4e3bd3c9f73ddc", kill_on_drop: false }` [INFO] [stdout] af9638c87041956a73f86d3cb6d2b05fb74085d14a1dfbe77a4e3bd3c9f73ddc