[INFO] fetching crate shp 0.1.1... [INFO] testing shp-0.1.1 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate shp 0.1.1 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate shp 0.1.1 [INFO] finished tweaking crates.io crate shp 0.1.1 [INFO] tweaked toml for crates.io crate shp 0.1.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate shp 0.1.1 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 1 package to latest compatible version [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f8a23fa52c5e9ac4ad50508aa19e8982d7f5e360e9545aafb6fc912249f17a21 [INFO] running `Command { std: "docker" "start" "-a" "f8a23fa52c5e9ac4ad50508aa19e8982d7f5e360e9545aafb6fc912249f17a21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f8a23fa52c5e9ac4ad50508aa19e8982d7f5e360e9545aafb6fc912249f17a21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8a23fa52c5e9ac4ad50508aa19e8982d7f5e360e9545aafb6fc912249f17a21", kill_on_drop: false }` [INFO] [stdout] f8a23fa52c5e9ac4ad50508aa19e8982d7f5e360e9545aafb6fc912249f17a21 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 43022c95e72e2733245bc922196794691c30a083e2ec21a1da9f849ae186cc41 [INFO] running `Command { std: "docker" "start" "-a" "43022c95e72e2733245bc922196794691c30a083e2ec21a1da9f849ae186cc41", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling shp v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/lib.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 175 | pub struct PointShape { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 176 | x: f64, [INFO] [stdout] | ^ [INFO] [stdout] 177 | y: f64, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `PointShape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `xmin`, `xmax`, `ymin`, `ymax`, `num_points`, and `points` are never read [INFO] [stdout] --> src/lib.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct MultiPointShape { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 189 | xmin: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 190 | xmax: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 191 | ymin: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 192 | ymax: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 193 | num_points: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 194 | points: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MultiPointShape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct PolyLineShape { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 220 | xmin: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 221 | xmax: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 222 | ymin: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 223 | ymax: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 224 | num_parts: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 225 | num_points: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 226 | parts: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 227 | points: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PolyLineShape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 260 | pub struct PolygonShape { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 261 | xmin: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 262 | xmax: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 263 | ymin: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 264 | ymax: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 265 | num_parts: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 266 | num_points: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 267 | //每一个part的首位两点必须相同 [INFO] [stdout] 268 | parts: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 269 | points: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PolygonShape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] running `Command { std: "docker" "inspect" "43022c95e72e2733245bc922196794691c30a083e2ec21a1da9f849ae186cc41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "43022c95e72e2733245bc922196794691c30a083e2ec21a1da9f849ae186cc41", kill_on_drop: false }` [INFO] [stdout] 43022c95e72e2733245bc922196794691c30a083e2ec21a1da9f849ae186cc41 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d0deca8d8192b57fdd5a596b7031d8ce4d2d4ae34ceec324710ba45a276865f9 [INFO] running `Command { std: "docker" "start" "-a" "d0deca8d8192b57fdd5a596b7031d8ce4d2d4ae34ceec324710ba45a276865f9", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/lib.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 175 | pub struct PointShape { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 176 | x: f64, [INFO] [stdout] | ^ [INFO] [stdout] 177 | y: f64, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `PointShape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `xmin`, `xmax`, `ymin`, `ymax`, `num_points`, and `points` are never read [INFO] [stdout] --> src/lib.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct MultiPointShape { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 189 | xmin: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 190 | xmax: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 191 | ymin: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 192 | ymax: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 193 | num_points: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 194 | points: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MultiPointShape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct PolyLineShape { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 220 | xmin: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 221 | xmax: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 222 | ymin: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 223 | ymax: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 224 | num_parts: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 225 | num_points: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 226 | parts: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 227 | points: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PolyLineShape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling shp v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 260 | pub struct PolygonShape { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 261 | xmin: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 262 | xmax: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 263 | ymin: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 264 | ymax: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 265 | num_parts: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 266 | num_points: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 267 | //每一个part的首位两点必须相同 [INFO] [stdout] 268 | parts: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 269 | points: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PolygonShape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/lib.rs:176:5 [INFO] [stdout] | [INFO] [stdout] 175 | pub struct PointShape { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 176 | x: f64, [INFO] [stdout] | ^ [INFO] [stdout] 177 | y: f64, [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `PointShape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `xmin`, `xmax`, `ymin`, `ymax`, `num_points`, and `points` are never read [INFO] [stdout] --> src/lib.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 188 | pub struct MultiPointShape { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 189 | xmin: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 190 | xmax: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 191 | ymin: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 192 | ymax: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 193 | num_points: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 194 | points: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MultiPointShape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib.rs:220:5 [INFO] [stdout] | [INFO] [stdout] 219 | pub struct PolyLineShape { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 220 | xmin: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 221 | xmax: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 222 | ymin: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 223 | ymax: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 224 | num_parts: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 225 | num_points: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 226 | parts: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 227 | points: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PolyLineShape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/lib.rs:261:5 [INFO] [stdout] | [INFO] [stdout] 260 | pub struct PolygonShape { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 261 | xmin: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 262 | xmax: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 263 | ymin: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 264 | ymax: f64, [INFO] [stdout] | ^^^^ [INFO] [stdout] 265 | num_parts: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 266 | num_points: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 267 | //每一个part的首位两点必须相同 [INFO] [stdout] 268 | parts: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 269 | points: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PolygonShape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.51s [INFO] running `Command { std: "docker" "inspect" "d0deca8d8192b57fdd5a596b7031d8ce4d2d4ae34ceec324710ba45a276865f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d0deca8d8192b57fdd5a596b7031d8ce4d2d4ae34ceec324710ba45a276865f9", kill_on_drop: false }` [INFO] [stdout] d0deca8d8192b57fdd5a596b7031d8ce4d2d4ae34ceec324710ba45a276865f9 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] b08824549e0e2838c6546b06ae33226ff826bc24f74fa9f22029b575603fb477 [INFO] running `Command { std: "docker" "start" "-a" "b08824549e0e2838c6546b06ae33226ff826bc24f74fa9f22029b575603fb477", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: fields `x` and `y` are never read [INFO] [stdout] [INFO] [stderr] --> src/lib.rs:176:5 [INFO] [stdout] running 1 test [INFO] [stderr] | [INFO] [stdout] test tests::it_works ... ok [INFO] [stderr] 175 | pub struct PointShape { [INFO] [stdout] [INFO] [stderr] | ---------- fields in this struct [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] 176 | x: f64, [INFO] [stdout] [INFO] [stderr] | ^ [INFO] [stderr] 177 | y: f64, [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `PointShape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: fields `xmin`, `xmax`, `ymin`, `ymax`, `num_points`, and `points` are never read [INFO] [stderr] --> src/lib.rs:189:5 [INFO] [stderr] | [INFO] [stderr] 188 | pub struct MultiPointShape { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 189 | xmin: f64, [INFO] [stderr] | ^^^^ [INFO] [stderr] 190 | xmax: f64, [INFO] [stderr] | ^^^^ [INFO] [stderr] 191 | ymin: f64, [INFO] [stderr] | ^^^^ [INFO] [stderr] 192 | ymax: f64, [INFO] [stderr] | ^^^^ [INFO] [stderr] 193 | num_points: i32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 194 | points: Vec, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MultiPointShape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/lib.rs:220:5 [INFO] [stderr] | [INFO] [stderr] 219 | pub struct PolyLineShape { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 220 | xmin: f64, [INFO] [stderr] | ^^^^ [INFO] [stderr] 221 | xmax: f64, [INFO] [stderr] | ^^^^ [INFO] [stderr] 222 | ymin: f64, [INFO] [stderr] | ^^^^ [INFO] [stderr] 223 | ymax: f64, [INFO] [stderr] | ^^^^ [INFO] [stderr] 224 | num_parts: i32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 225 | num_points: i32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 226 | parts: Vec, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 227 | points: Vec, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PolyLineShape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> src/lib.rs:261:5 [INFO] [stderr] | [INFO] [stderr] 260 | pub struct PolygonShape { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 261 | xmin: f64, [INFO] [stderr] | ^^^^ [INFO] [stderr] 262 | xmax: f64, [INFO] [stderr] | ^^^^ [INFO] [stderr] 263 | ymin: f64, [INFO] [stderr] | ^^^^ [INFO] [stderr] 264 | ymax: f64, [INFO] [stderr] | ^^^^ [INFO] [stderr] 265 | num_parts: i32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 266 | num_points: i32, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] 267 | //每一个part的首位两点必须相同 [INFO] [stderr] 268 | parts: Vec, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 269 | points: Vec, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `PolygonShape` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `shp` (lib) generated 4 warnings [INFO] [stderr] warning: `shp` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/shp-14902a8eee62904c) [INFO] running `Command { std: "docker" "inspect" "b08824549e0e2838c6546b06ae33226ff826bc24f74fa9f22029b575603fb477", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b08824549e0e2838c6546b06ae33226ff826bc24f74fa9f22029b575603fb477", kill_on_drop: false }` [INFO] [stdout] b08824549e0e2838c6546b06ae33226ff826bc24f74fa9f22029b575603fb477