[INFO] fetching crate spiro-sys 0.1.1... [INFO] testing spiro-sys-0.1.1 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-2 [INFO] extracting crate spiro-sys 0.1.1 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate spiro-sys 0.1.1 [INFO] finished tweaking crates.io crate spiro-sys 0.1.1 [INFO] tweaked toml for crates.io crate spiro-sys 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate spiro-sys 0.1.1 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 48 packages to latest compatible versions [INFO] [stderr] Adding bindgen v0.55.1 (available: v0.72.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 593c7347fd095d1cfe2530536280672060034b9e6c80c130418ef2774fed023e [INFO] running `Command { std: "docker" "start" "-a" "593c7347fd095d1cfe2530536280672060034b9e6c80c130418ef2774fed023e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "593c7347fd095d1cfe2530536280672060034b9e6c80c130418ef2774fed023e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "593c7347fd095d1cfe2530536280672060034b9e6c80c130418ef2774fed023e", kill_on_drop: false }` [INFO] [stdout] 593c7347fd095d1cfe2530536280672060034b9e6c80c130418ef2774fed023e [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca0e95b60b5f1421f841a6ecbdd696dc66f8a96f5f15605ef1a6a2c698996433 [INFO] running `Command { std: "docker" "start" "-a" "ca0e95b60b5f1421f841a6ecbdd696dc66f8a96f5f15605ef1a6a2c698996433", kill_on_drop: false }` [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling cc v1.2.60 [INFO] [stderr] Compiling spiro-sys v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `cc::Build::static_flag`: cc only creates static libraries, setting this does nothing [INFO] [stdout] --> build.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | .static_flag(true) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `cc::Build::shared_flag`: cc only creates static libraries, setting this does nothing [INFO] [stdout] --> build.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | .shared_flag(true) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: spiro-sys@0.1.1: libspiro/spiro.c:1122:1: warning: 'spiro_seg_to_bpath' defined but not used [-Wunused-function] [INFO] [stderr] warning: spiro-sys@0.1.1: 1122 | spiro_seg_to_bpath(const double ks[4], [INFO] [stderr] warning: spiro-sys@0.1.1: | ^~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: spiro-sys@0.1.1: libspiro/spiro.c:661:1: warning: 'setup_path' defined but not used [-Wunused-function] [INFO] [stderr] warning: spiro-sys@0.1.1: 661 | setup_path(const spiro_cp *src, int n) [INFO] [stderr] warning: spiro-sys@0.1.1: | ^~~~~~~~~~ [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, Default, Copy, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 43 | pub struct _bezctx { [INFO] [stdout] 44 | / pub moveto: ::std::option::Option< [INFO] [stdout] 45 | | unsafe extern "C" fn(bc: *mut bezctx, x: f64, y: f64, is_open: ::std::os::raw::c_int), [INFO] [stdout] 46 | | >, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, Default, Copy, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 47 | pub lineto: ::std::option::Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, Default, Copy, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 48 | / pub quadto: ::std::option::Option< [INFO] [stdout] 49 | | unsafe extern "C" fn(bc: *mut bezctx, x1: f64, y1: f64, x2: f64, y2: f64), [INFO] [stdout] 50 | | >, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, Default, Copy, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 51 | / pub curveto: ::std::option::Option< [INFO] [stdout] 52 | | unsafe extern "C" fn(bc: *mut bezctx, x1: f64, y1: f64, x2: f64, y2: f64, x3: f64, y3: f64), [INFO] [stdout] 53 | | >, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, Default, Copy, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 54 | / pub mark_knot: ::std::option::Option< [INFO] [stdout] 55 | | unsafe extern "C" fn(bc: *mut bezctx, knot_idx: ::std::os::raw::c_int), [INFO] [stdout] 56 | | >, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.37s [INFO] running `Command { std: "docker" "inspect" "ca0e95b60b5f1421f841a6ecbdd696dc66f8a96f5f15605ef1a6a2c698996433", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca0e95b60b5f1421f841a6ecbdd696dc66f8a96f5f15605ef1a6a2c698996433", kill_on_drop: false }` [INFO] [stdout] ca0e95b60b5f1421f841a6ecbdd696dc66f8a96f5f15605ef1a6a2c698996433 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 998fad0a211b2452572125d020af302b9b6ea267275108d7d9fa36b2706bb53e [INFO] running `Command { std: "docker" "start" "-a" "998fad0a211b2452572125d020af302b9b6ea267275108d7d9fa36b2706bb53e", kill_on_drop: false }` [INFO] [stderr] warning: spiro-sys@0.1.1: libspiro/spiro.c:1122:1: warning: 'spiro_seg_to_bpath' defined but not used [-Wunused-function] [INFO] [stderr] warning: spiro-sys@0.1.1: 1122 | spiro_seg_to_bpath(const double ks[4], [INFO] [stderr] warning: spiro-sys@0.1.1: | ^~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: spiro-sys@0.1.1: libspiro/spiro.c:661:1: warning: 'setup_path' defined but not used [-Wunused-function] [INFO] [stderr] warning: spiro-sys@0.1.1: 661 | setup_path(const spiro_cp *src, int n) [INFO] [stderr] warning: spiro-sys@0.1.1: | ^~~~~~~~~~ [INFO] [stderr] Compiling spiro-sys v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated method `cc::Build::static_flag`: cc only creates static libraries, setting this does nothing [INFO] [stdout] --> build.rs:47:10 [INFO] [stdout] | [INFO] [stdout] 47 | .static_flag(true) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `cc::Build::shared_flag`: cc only creates static libraries, setting this does nothing [INFO] [stdout] --> build.rs:48:10 [INFO] [stdout] | [INFO] [stdout] 48 | .shared_flag(true) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, Default, Copy, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 43 | pub struct _bezctx { [INFO] [stdout] 44 | / pub moveto: ::std::option::Option< [INFO] [stdout] 45 | | unsafe extern "C" fn(bc: *mut bezctx, x: f64, y: f64, is_open: ::std::os::raw::c_int), [INFO] [stdout] 46 | | >, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, Default, Copy, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 47 | pub lineto: ::std::option::Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, Default, Copy, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 48 | / pub quadto: ::std::option::Option< [INFO] [stdout] 49 | | unsafe extern "C" fn(bc: *mut bezctx, x1: f64, y1: f64, x2: f64, y2: f64), [INFO] [stdout] 50 | | >, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, Default, Copy, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 51 | / pub curveto: ::std::option::Option< [INFO] [stdout] 52 | | unsafe extern "C" fn(bc: *mut bezctx, x1: f64, y1: f64, x2: f64, y2: f64, x3: f64, y3: f64), [INFO] [stdout] 53 | | >, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, Default, Copy, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 54 | / pub mark_knot: ::std::option::Option< [INFO] [stdout] 55 | | unsafe extern "C" fn(bc: *mut bezctx, knot_idx: ::std::os::raw::c_int), [INFO] [stdout] 56 | | >, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, Default, Copy, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] 43 | pub struct _bezctx { [INFO] [stdout] 44 | / pub moveto: ::std::option::Option< [INFO] [stdout] 45 | | unsafe extern "C" fn(bc: *mut bezctx, x: f64, y: f64, is_open: ::std::os::raw::c_int), [INFO] [stdout] 46 | | >, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, Default, Copy, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 47 | pub lineto: ::std::option::Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, Default, Copy, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 48 | / pub quadto: ::std::option::Option< [INFO] [stdout] 49 | | unsafe extern "C" fn(bc: *mut bezctx, x1: f64, y1: f64, x2: f64, y2: f64), [INFO] [stdout] 50 | | >, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, Default, Copy, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 51 | / pub curveto: ::std::option::Option< [INFO] [stdout] 52 | | unsafe extern "C" fn(bc: *mut bezctx, x1: f64, y1: f64, x2: f64, y2: f64, x3: f64, y3: f64), [INFO] [stdout] 53 | | >, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique [INFO] [stdout] --> src/lib.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 42 | #[derive(Debug, Default, Copy, Clone, PartialEq)] [INFO] [stdout] | --------- in this derive macro expansion [INFO] [stdout] ... [INFO] [stdout] 54 | / pub mark_knot: ::std::option::Option< [INFO] [stdout] 55 | | unsafe extern "C" fn(bc: *mut bezctx, knot_idx: ::std::os::raw::c_int), [INFO] [stdout] 56 | | >, [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: the address of the same function can vary between different codegen units [INFO] [stdout] = note: furthermore, different functions could have the same address after being merged together [INFO] [stdout] = note: for more information visit [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/lib.rs:71:19 [INFO] [stdout] | [INFO] [stdout] 71 | unsafe { &(*(::std::ptr::null::<_bezctx>())).moveto as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(deref_nullptr)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/lib.rs:81:19 [INFO] [stdout] | [INFO] [stdout] 81 | unsafe { &(*(::std::ptr::null::<_bezctx>())).lineto as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/lib.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 91 | unsafe { &(*(::std::ptr::null::<_bezctx>())).quadto as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/lib.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | unsafe { &(*(::std::ptr::null::<_bezctx>())).curveto as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/lib.rs:111:19 [INFO] [stdout] | [INFO] [stdout] 111 | unsafe { &(*(::std::ptr::null::<_bezctx>())).mark_knot as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/lib.rs:141:19 [INFO] [stdout] | [INFO] [stdout] 141 | unsafe { &(*(::std::ptr::null::())).x as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/lib.rs:151:19 [INFO] [stdout] | [INFO] [stdout] 151 | unsafe { &(*(::std::ptr::null::())).y as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/lib.rs:161:19 [INFO] [stdout] | [INFO] [stdout] 161 | unsafe { &(*(::std::ptr::null::())).ty as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/lib.rs:196:19 [INFO] [stdout] | [INFO] [stdout] 196 | unsafe { &(*(::std::ptr::null::())).x as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/lib.rs:206:19 [INFO] [stdout] | [INFO] [stdout] 206 | unsafe { &(*(::std::ptr::null::())).y as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/lib.rs:216:19 [INFO] [stdout] | [INFO] [stdout] 216 | unsafe { &(*(::std::ptr::null::())).ty as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/lib.rs:226:19 [INFO] [stdout] | [INFO] [stdout] 226 | unsafe { &(*(::std::ptr::null::())).bend_th as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/lib.rs:236:19 [INFO] [stdout] | [INFO] [stdout] 236 | unsafe { &(*(::std::ptr::null::())).ks as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/lib.rs:246:19 [INFO] [stdout] | [INFO] [stdout] 246 | unsafe { &(*(::std::ptr::null::())).seg_ch as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/lib.rs:256:19 [INFO] [stdout] | [INFO] [stdout] 256 | unsafe { &(*(::std::ptr::null::())).seg_th as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing a null pointer [INFO] [stdout] --> src/lib.rs:266:19 [INFO] [stdout] | [INFO] [stdout] 266 | unsafe { &(*(::std::ptr::null::())).l as *const _ as usize }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: spiro-sys@0.1.1: libspiro/spiro.c:1122:1: warning: 'spiro_seg_to_bpath' defined but not used [-Wunused-function] [INFO] [stderr] warning: spiro-sys@0.1.1: 1122 | spiro_seg_to_bpath(const double ks[4], [INFO] [stderr] warning: spiro-sys@0.1.1: | ^~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: spiro-sys@0.1.1: libspiro/spiro.c:661:1: warning: 'setup_path' defined but not used [-Wunused-function] [INFO] [stderr] warning: spiro-sys@0.1.1: 661 | setup_path(const spiro_cp *src, int n) [INFO] [stderr] warning: spiro-sys@0.1.1: | ^~~~~~~~~~ [INFO] [stderr] error: could not compile `spiro-sys` (lib test) due to 16 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "998fad0a211b2452572125d020af302b9b6ea267275108d7d9fa36b2706bb53e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "998fad0a211b2452572125d020af302b9b6ea267275108d7d9fa36b2706bb53e", kill_on_drop: false }` [INFO] [stdout] 998fad0a211b2452572125d020af302b9b6ea267275108d7d9fa36b2706bb53e