[INFO] fetching crate clipper2-sys 0.5.0... [INFO] checking clipper2-sys-0.5.0 against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] extracting crate clipper2-sys 0.5.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate clipper2-sys 0.5.0 [INFO] finished tweaking crates.io crate clipper2-sys 0.5.0 [INFO] tweaked toml for crates.io crate clipper2-sys 0.5.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate clipper2-sys 0.5.0 on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate clipper2-sys 0.5.0 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8426e70412e5de225f331aaa9cfd95c20f24812ec48da7e2dcd095182e05ad57 [INFO] running `Command { std: "docker" "start" "-a" "8426e70412e5de225f331aaa9cfd95c20f24812ec48da7e2dcd095182e05ad57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8426e70412e5de225f331aaa9cfd95c20f24812ec48da7e2dcd095182e05ad57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8426e70412e5de225f331aaa9cfd95c20f24812ec48da7e2dcd095182e05ad57", kill_on_drop: false }` [INFO] [stdout] 8426e70412e5de225f331aaa9cfd95c20f24812ec48da7e2dcd095182e05ad57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 28a5a6e74b8cd0f81a9af706913e30f8da6c84e6f816650deda70e3218aa226e [INFO] running `Command { std: "docker" "start" "-a" "28a5a6e74b8cd0f81a9af706913e30f8da6c84e6f816650deda70e3218aa226e", kill_on_drop: false }` [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling cc v1.2.13 [INFO] [stderr] Compiling clipper2-sys v0.5.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: clipper2-sys@0.5.0: clipper2c/src/clipper2c.cpp: In function 'ClipperPath64* clipper_path64_of_points(void*, ClipperPoint64*, size_t)': [INFO] [stderr] warning: clipper2-sys@0.5.0: clipper2c/src/clipper2c.cpp:235:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: clipper2-sys@0.5.0: 235 | for (int i = 0; i < len_pts; ++i) { [INFO] [stderr] warning: clipper2-sys@0.5.0: | ~~^~~~~~~~~ [INFO] [stderr] warning: clipper2-sys@0.5.0: clipper2c/src/clipper2c.cpp: In function 'ClipperPathD* clipper_pathd_of_points(void*, ClipperPointD*, size_t)': [INFO] [stderr] warning: clipper2-sys@0.5.0: clipper2c/src/clipper2c.cpp:245:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: clipper2-sys@0.5.0: 245 | for (int i = 0; i < len_pts; ++i) { [INFO] [stderr] warning: clipper2-sys@0.5.0: | ~~^~~~~~~~~ [INFO] [stderr] warning: clipper2-sys@0.5.0: clipper2c/src/clipper2c.cpp: In function 'ClipperPaths64* clipper_paths64_of_paths(void*, ClipperPath64**, size_t)': [INFO] [stderr] warning: clipper2-sys@0.5.0: clipper2c/src/clipper2c.cpp:296:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: clipper2-sys@0.5.0: 296 | for (int i = 0; i < len_paths; ++i) { [INFO] [stderr] warning: clipper2-sys@0.5.0: | ~~^~~~~~~~~~~ [INFO] [stderr] warning: clipper2-sys@0.5.0: clipper2c/src/clipper2c.cpp: In function 'ClipperPathsD* clipper_pathsd_of_paths(void*, ClipperPathD**, size_t)': [INFO] [stderr] warning: clipper2-sys@0.5.0: clipper2c/src/clipper2c.cpp:306:21: warning: comparison of integer expressions of different signedness: 'int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: clipper2-sys@0.5.0: 306 | for (int i = 0; i < len_paths; ++i) { [INFO] [stderr] warning: clipper2-sys@0.5.0: | ~~^~~~~~~~~~~ [INFO] [stderr] warning: clipper2-sys@0.5.0: clipper2c/src/clipper2c.cpp: In function 'ClipperPoint64* clipper_path64_to_points(void*, ClipperPath64*)': [INFO] [stderr] warning: clipper2-sys@0.5.0: clipper2c/src/clipper2c.cpp:348:21: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: clipper2-sys@0.5.0: 348 | for (int i = 0; i < len; ++i) { [INFO] [stderr] warning: clipper2-sys@0.5.0: | ~~^~~~~ [INFO] [stderr] warning: clipper2-sys@0.5.0: clipper2c/src/clipper2c.cpp: In function 'ClipperPointD* clipper_pathd_to_points(void*, ClipperPathD*)': [INFO] [stderr] warning: clipper2-sys@0.5.0: clipper2c/src/clipper2c.cpp:358:21: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: clipper2-sys@0.5.0: 358 | for (int i = 0; i < len; ++i) { [INFO] [stderr] warning: clipper2-sys@0.5.0: | ~~^~~~~ [INFO] [stderr] warning: clipper2-sys@0.5.0: clipper2c/src/clipper2c.cpp: In function 'size_t* clipper_paths64_lengths(void*, ClipperPaths64*)': [INFO] [stderr] warning: clipper2-sys@0.5.0: clipper2c/src/clipper2c.cpp:376:21: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: clipper2-sys@0.5.0: 376 | for (int i = 0; i < n; ++i) { [INFO] [stderr] warning: clipper2-sys@0.5.0: | ~~^~~ [INFO] [stderr] warning: clipper2-sys@0.5.0: clipper2c/src/clipper2c.cpp: In function 'size_t* clipper_pathsd_lengths(void*, ClipperPathsD*)': [INFO] [stderr] warning: clipper2-sys@0.5.0: clipper2c/src/clipper2c.cpp:386:21: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: clipper2-sys@0.5.0: 386 | for (int i = 0; i < n; ++i) { [INFO] [stderr] warning: clipper2-sys@0.5.0: | ~~^~~ [INFO] [stderr] warning: clipper2-sys@0.5.0: clipper2c/src/clipper2c.cpp: In function 'ClipperPoint64** clipper_paths64_to_points(void**, ClipperPaths64*)': [INFO] [stderr] warning: clipper2-sys@0.5.0: clipper2c/src/clipper2c.cpp:426:21: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: clipper2-sys@0.5.0: 426 | for (int i = 0; i < n; ++i) { [INFO] [stderr] warning: clipper2-sys@0.5.0: | ~~^~~ [INFO] [stderr] warning: clipper2-sys@0.5.0: clipper2c/src/clipper2c.cpp:428:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: clipper2-sys@0.5.0: 428 | for (int j = 0; j < len; ++j) { [INFO] [stderr] warning: clipper2-sys@0.5.0: | ~~^~~~~ [INFO] [stderr] warning: clipper2-sys@0.5.0: clipper2c/src/clipper2c.cpp: In function 'ClipperPointD** clipper_pathsd_to_points(void**, ClipperPathsD*)': [INFO] [stderr] warning: clipper2-sys@0.5.0: clipper2c/src/clipper2c.cpp:439:21: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: clipper2-sys@0.5.0: 439 | for (int i = 0; i < n; ++i) { [INFO] [stderr] warning: clipper2-sys@0.5.0: | ~~^~~ [INFO] [stderr] warning: clipper2-sys@0.5.0: clipper2c/src/clipper2c.cpp:441:23: warning: comparison of integer expressions of different signedness: 'int' and 'long unsigned int' [-Wsign-compare] [INFO] [stderr] warning: clipper2-sys@0.5.0: 441 | for (int j = 0; j < len; ++j) { [INFO] [stderr] warning: clipper2-sys@0.5.0: | ~~^~~~~ [INFO] [stderr] warning: clipper2-sys@0.5.0: clipper2c/src/conv.cpp: In function 'ClipperJoinType to_c(Clipper2Lib::JoinType)': [INFO] [stderr] warning: clipper2-sys@0.5.0: clipper2c/src/conv.cpp:94:10: warning: enumeration value 'Bevel' not handled in switch [-Wswitch] [INFO] [stderr] warning: clipper2-sys@0.5.0: 94 | switch (jointype) { [INFO] [stderr] warning: clipper2-sys@0.5.0: | ^ [INFO] [stdout] warning: unused variable: `is_success` [INFO] [stdout] --> src/double/clipper_d.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let is_success = clipper_clipperd_execute( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_success` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_success` [INFO] [stdout] --> src/double/clipper_d.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | let is_success = clipper_clipperd_execute_tree_with_open( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_success` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_success` [INFO] [stdout] --> src/int64/clipper_64.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | let is_success = clipper_clipper64_execute( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_success` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_success` [INFO] [stdout] --> src/int64/clipper_64.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let is_success = clipper_clipper64_execute_tree_with_open( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_success` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `free` is never used [INFO] [stdout] --> src/lib.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) unsafe fn free(p: *mut std::os::raw::c_void) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_success` [INFO] [stdout] --> src/double/clipper_d.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | let is_success = clipper_clipperd_execute( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_success` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_success` [INFO] [stdout] --> src/double/clipper_d.rs:96:17 [INFO] [stdout] | [INFO] [stdout] 96 | let is_success = clipper_clipperd_execute_tree_with_open( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_success` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_success` [INFO] [stdout] --> src/int64/clipper_64.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | let is_success = clipper_clipper64_execute( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_success` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_success` [INFO] [stdout] --> src/int64/clipper_64.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let is_success = clipper_clipper64_execute_tree_with_open( [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_success` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clip_paths` [INFO] [stdout] --> src/tests.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let clip_paths = PathsD::new(&vec![ [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clip_paths` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `clip2_paths` [INFO] [stdout] --> src/tests.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let clip2_paths = PathsD::new(&vec![PathD::new(&vec![ [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_clip2_paths` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/tests.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let mut path = PathD::new(&vec![ [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] --> src/tests.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 114 | let mut path = PathD::new(&vec![ [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `free` is never used [INFO] [stdout] --> src/lib.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | pub(crate) unsafe fn free(p: *mut std::os::raw::c_void) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.91s [INFO] running `Command { std: "docker" "inspect" "28a5a6e74b8cd0f81a9af706913e30f8da6c84e6f816650deda70e3218aa226e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "28a5a6e74b8cd0f81a9af706913e30f8da6c84e6f816650deda70e3218aa226e", kill_on_drop: false }` [INFO] [stdout] 28a5a6e74b8cd0f81a9af706913e30f8da6c84e6f816650deda70e3218aa226e