[INFO] cloning repository https://github.com/forsaken628/s2-bind [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/forsaken628/s2-bind" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforsaken628%2Fs2-bind", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforsaken628%2Fs2-bind'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 11c85603ff487a79b1a1a411dabda872ebfe5b27 [INFO] checking forsaken628/s2-bind against master#f2d69d5a7c04617d122facd0a7a5bdde0af928ae for pr-138363 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fforsaken628%2Fs2-bind" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/forsaken628/s2-bind on toolchain f2d69d5a7c04617d122facd0a7a5bdde0af928ae [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/forsaken628/s2-bind [INFO] finished tweaking git repo https://github.com/forsaken628/s2-bind [INFO] tweaked toml for git repo https://github.com/forsaken628/s2-bind written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/forsaken628/s2-bind 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" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bindgen v0.70.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0076361813ec584958f4054aba7a904b42d6077f2fd936b868f10d8e32cd6ad [INFO] running `Command { std: "docker" "start" "-a" "b0076361813ec584958f4054aba7a904b42d6077f2fd936b868f10d8e32cd6ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0076361813ec584958f4054aba7a904b42d6077f2fd936b868f10d8e32cd6ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0076361813ec584958f4054aba7a904b42d6077f2fd936b868f10d8e32cd6ad", kill_on_drop: false }` [INFO] [stdout] b0076361813ec584958f4054aba7a904b42d6077f2fd936b868f10d8e32cd6ad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+f2d69d5a7c04617d122facd0a7a5bdde0af928ae" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a7bd2ccf9237c387cb9e9fbd398f59a25af8177cc0514164645bfe20fab8909e [INFO] running `Command { std: "docker" "start" "-a" "a7bd2ccf9237c387cb9e9fbd398f59a25af8177cc0514164645bfe20fab8909e", kill_on_drop: false }` [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling prettyplease v0.2.20 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking libloading v0.8.5 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Compiling bindgen v0.70.0 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling s2-sys v0.1.0 (/opt/rustwide/workdir/sys) [INFO] [stderr] Checking shlex v1.3.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking pkg-config v0.3.30 [INFO] [stderr] Checking s2-bind v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stdout] warning: type `std_string` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type std_string = [u64; 4usize]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `StdString` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `std_integral_constant_value_type` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type std_integral_constant_value_type<_Tp> = _Tp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StdIntegralConstantValueType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `std_integral_constant_type` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type std_integral_constant_type = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StdIntegralConstantType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `std_true_type` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub type std_true_type = u8; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StdTrueType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `std_conditional_type` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub type std_conditional_type<_Iftrue> = _Iftrue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StdConditionalType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `std_make_integer_sequence` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub type std_make_integer_sequence = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StdMakeIntegerSequence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `std_make_index_sequence` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub type std_make_index_sequence = std_make_integer_sequence; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StdMakeIndexSequence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `uint32` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub type uint32 = libc::c_uint; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Uint32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `uint64` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub type uint64 = libc::c_ulonglong; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Uint64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `util_math_internal_vector_BasicVector_D` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub type util_math_internal_vector_BasicVector_D = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UtilMathInternalVectorBasicVectorD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `util_math_internal_vector_BasicVector_FloatType` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub type util_math_internal_vector_BasicVector_FloatType = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UtilMathInternalVectorBasicVectorFloatType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `util_math_internal_vector_BasicVector_IdxSeqN` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub type util_math_internal_vector_BasicVector_IdxSeqN = std_make_index_sequence; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UtilMathInternalVectorBasicVectorIdxSeqN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `util_math_internal_vector_BasicVector__bindgen_ty_1` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub type util_math_internal_vector_BasicVector__bindgen_ty_1 = i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UtilMathInternalVectorBasicVectorBindgenTy1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Vector2_Base` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub type Vector2_Base = u8; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Vector2Base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Vector2_VType` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub type Vector2_VType = T; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Vector2Vtype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Vector2_BaseType` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub type Vector2_BaseType = Vector2_VType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Vector2BaseType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Vector2_FloatType` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub type Vector2_FloatType = Vector2_Base; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Vector2FloatType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Vector3_Base` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub type Vector3_Base = u8; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Vector3Base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Vector3_VType` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub type Vector3_VType = T; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Vector3Vtype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Vector3_BaseType` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | pub type Vector3_BaseType = Vector3_VType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Vector3BaseType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Vector3_FloatType` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub type Vector3_FloatType = Vector3_Base; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Vector3FloatType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Vector2_d` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | pub type Vector2_d = [u64; 2usize]; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Vector2D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Vector3_d` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | pub type Vector3_d = [u64; 3usize]; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Vector3D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `S2Error_Code` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:174:10 [INFO] [stdout] | [INFO] [stdout] 174 | pub type S2Error_Code = libc::c_uint; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `S2errorCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `S2Point_ValType` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 198 | pub type S2Point_ValType = libc::c_double; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `S2pointValType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `S2Point_Coder` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:199:10 [INFO] [stdout] | [INFO] [stdout] 199 | pub type S2Point_Coder = s2coding_S2BasicCoder; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `S2pointCoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `S2Point_Base` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:200:10 [INFO] [stdout] | [INFO] [stdout] 200 | pub type S2Point_Base = Vector3_d; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `S2pointBase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `S1Angle_absl_btree_prefer_linear_node_search` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:211:10 [INFO] [stdout] | [INFO] [stdout] 211 | pub type S1Angle_absl_btree_prefer_linear_node_search = std_true_type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `S1angleAbslBtreePreferLinearNodeSearch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `S2LatLng_Coder` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:260:10 [INFO] [stdout] | [INFO] [stdout] 260 | pub type S2LatLng_Coder = s2coding_S2BasicCoder; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `S2latLngCoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `util_math_internal_vector_BasicVector_SIZE` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const util_math_internal_vector_BasicVector_SIZE: [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `UTIL_MATH_INTERNAL_VECTOR_BASIC_VECTOR_SIZE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Encoder_kVarintMax32` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | pub const Encoder_kVarintMax32: libc::c_int = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ENCODER_K_VARINT_MAX32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Encoder_kVarintMax64` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | pub const Encoder_kVarintMax64: libc::c_int = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ENCODER_K_VARINT_MAX64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Resize` should have a snake case name [INFO] [stdout] --> sys/src/s2.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | pub unsafe fn Resize(&mut self, N: usize) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `resize` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> sys/src/s2.rs:105:37 [INFO] [stdout] | [INFO] [stdout] 105 | pub unsafe fn Resize(&mut self, N: usize) { [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_OK` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:139:11 [INFO] [stdout] | [INFO] [stdout] 139 | pub const S2Error_Code_OK: S2Error_Code = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_OK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_UNKNOWN` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:140:11 [INFO] [stdout] | [INFO] [stdout] 140 | pub const S2Error_Code_UNKNOWN: S2Error_Code = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_UNKNOWN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_UNIMPLEMENTED` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:141:11 [INFO] [stdout] | [INFO] [stdout] 141 | pub const S2Error_Code_UNIMPLEMENTED: S2Error_Code = 1001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_UNIMPLEMENTED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_OUT_OF_RANGE` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:142:11 [INFO] [stdout] | [INFO] [stdout] 142 | pub const S2Error_Code_OUT_OF_RANGE: S2Error_Code = 1002; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_OUT_OF_RANGE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_INVALID_ARGUMENT` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:143:11 [INFO] [stdout] | [INFO] [stdout] 143 | pub const S2Error_Code_INVALID_ARGUMENT: S2Error_Code = 1003; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_INVALID_ARGUMENT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_FAILED_PRECONDITION` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:144:11 [INFO] [stdout] | [INFO] [stdout] 144 | pub const S2Error_Code_FAILED_PRECONDITION: S2Error_Code = 1004; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_FAILED_PRECONDITION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_INTERNAL` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:145:11 [INFO] [stdout] | [INFO] [stdout] 145 | pub const S2Error_Code_INTERNAL: S2Error_Code = 1005; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_INTERNAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_DATA_LOSS` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:146:11 [INFO] [stdout] | [INFO] [stdout] 146 | pub const S2Error_Code_DATA_LOSS: S2Error_Code = 1006; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_DATA_LOSS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_RESOURCE_EXHAUSTED` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:147:11 [INFO] [stdout] | [INFO] [stdout] 147 | pub const S2Error_Code_RESOURCE_EXHAUSTED: S2Error_Code = 1007; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_RESOURCE_EXHAUSTED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_CANCELLED` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:148:11 [INFO] [stdout] | [INFO] [stdout] 148 | pub const S2Error_Code_CANCELLED: S2Error_Code = 1008; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_CANCELLED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_USER_DEFINED_START` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:149:11 [INFO] [stdout] | [INFO] [stdout] 149 | pub const S2Error_Code_USER_DEFINED_START: S2Error_Code = 1000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_USER_DEFINED_START` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_USER_DEFINED_END` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:150:11 [INFO] [stdout] | [INFO] [stdout] 150 | pub const S2Error_Code_USER_DEFINED_END: S2Error_Code = 9999999; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_USER_DEFINED_END` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_NOT_UNIT_LENGTH` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:151:11 [INFO] [stdout] | [INFO] [stdout] 151 | pub const S2Error_Code_NOT_UNIT_LENGTH: S2Error_Code = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_NOT_UNIT_LENGTH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_DUPLICATE_VERTICES` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:152:11 [INFO] [stdout] | [INFO] [stdout] 152 | pub const S2Error_Code_DUPLICATE_VERTICES: S2Error_Code = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_DUPLICATE_VERTICES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_ANTIPODAL_VERTICES` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:153:11 [INFO] [stdout] | [INFO] [stdout] 153 | pub const S2Error_Code_ANTIPODAL_VERTICES: S2Error_Code = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_ANTIPODAL_VERTICES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_NOT_CONTINUOUS` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:154:11 [INFO] [stdout] | [INFO] [stdout] 154 | pub const S2Error_Code_NOT_CONTINUOUS: S2Error_Code = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_NOT_CONTINUOUS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_INVALID_VERTEX` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:155:11 [INFO] [stdout] | [INFO] [stdout] 155 | pub const S2Error_Code_INVALID_VERTEX: S2Error_Code = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_INVALID_VERTEX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_LOOP_NOT_ENOUGH_VERTICES` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:156:11 [INFO] [stdout] | [INFO] [stdout] 156 | pub const S2Error_Code_LOOP_NOT_ENOUGH_VERTICES: S2Error_Code = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_LOOP_NOT_ENOUGH_VERTICES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_LOOP_SELF_INTERSECTION` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:157:11 [INFO] [stdout] | [INFO] [stdout] 157 | pub const S2Error_Code_LOOP_SELF_INTERSECTION: S2Error_Code = 101; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_LOOP_SELF_INTERSECTION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_POLYGON_LOOPS_SHARE_EDGE` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:158:11 [INFO] [stdout] | [INFO] [stdout] 158 | pub const S2Error_Code_POLYGON_LOOPS_SHARE_EDGE: S2Error_Code = 200; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_POLYGON_LOOPS_SHARE_EDGE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_POLYGON_LOOPS_CROSS` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:159:11 [INFO] [stdout] | [INFO] [stdout] 159 | pub const S2Error_Code_POLYGON_LOOPS_CROSS: S2Error_Code = 201; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_POLYGON_LOOPS_CROSS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_POLYGON_EMPTY_LOOP` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:160:11 [INFO] [stdout] | [INFO] [stdout] 160 | pub const S2Error_Code_POLYGON_EMPTY_LOOP: S2Error_Code = 202; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_POLYGON_EMPTY_LOOP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_POLYGON_EXCESS_FULL_LOOP` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:161:11 [INFO] [stdout] | [INFO] [stdout] 161 | pub const S2Error_Code_POLYGON_EXCESS_FULL_LOOP: S2Error_Code = 203; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_POLYGON_EXCESS_FULL_LOOP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_POLYGON_INCONSISTENT_LOOP_ORIENTATIONS` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:162:11 [INFO] [stdout] | [INFO] [stdout] 162 | pub const S2Error_Code_POLYGON_INCONSISTENT_LOOP_ORIENTATIONS: S2Error_Code = 204; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_POLYGON_INCONSISTENT_LOOP_ORIENTATIONS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_POLYGON_INVALID_LOOP_DEPTH` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:163:11 [INFO] [stdout] | [INFO] [stdout] 163 | pub const S2Error_Code_POLYGON_INVALID_LOOP_DEPTH: S2Error_Code = 205; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_POLYGON_INVALID_LOOP_DEPTH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_POLYGON_INVALID_LOOP_NESTING` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:164:11 [INFO] [stdout] | [INFO] [stdout] 164 | pub const S2Error_Code_POLYGON_INVALID_LOOP_NESTING: S2Error_Code = 206; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_POLYGON_INVALID_LOOP_NESTING` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_INVALID_DIMENSION` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:165:11 [INFO] [stdout] | [INFO] [stdout] 165 | pub const S2Error_Code_INVALID_DIMENSION: S2Error_Code = 207; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_INVALID_DIMENSION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_SPLIT_INTERIOR` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:166:11 [INFO] [stdout] | [INFO] [stdout] 166 | pub const S2Error_Code_SPLIT_INTERIOR: S2Error_Code = 208; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_SPLIT_INTERIOR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_OVERLAPPING_GEOMETRY` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:167:11 [INFO] [stdout] | [INFO] [stdout] 167 | pub const S2Error_Code_OVERLAPPING_GEOMETRY: S2Error_Code = 209; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_OVERLAPPING_GEOMETRY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_BUILDER_SNAP_RADIUS_TOO_SMALL` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:168:11 [INFO] [stdout] | [INFO] [stdout] 168 | pub const S2Error_Code_BUILDER_SNAP_RADIUS_TOO_SMALL: S2Error_Code = 300; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_BUILDER_SNAP_RADIUS_TOO_SMALL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_BUILDER_MISSING_EXPECTED_SIBLING_EDGES` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:169:11 [INFO] [stdout] | [INFO] [stdout] 169 | pub const S2Error_Code_BUILDER_MISSING_EXPECTED_SIBLING_EDGES: S2Error_Code = 301; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_BUILDER_MISSING_EXPECTED_SIBLING_EDGES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_BUILDER_UNEXPECTED_DEGENERATE_EDGE` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:170:11 [INFO] [stdout] | [INFO] [stdout] 170 | pub const S2Error_Code_BUILDER_UNEXPECTED_DEGENERATE_EDGE: S2Error_Code = 302; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_BUILDER_UNEXPECTED_DEGENERATE_EDGE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_BUILDER_EDGES_DO_NOT_FORM_LOOPS` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:171:11 [INFO] [stdout] | [INFO] [stdout] 171 | pub const S2Error_Code_BUILDER_EDGES_DO_NOT_FORM_LOOPS: S2Error_Code = 303; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_BUILDER_EDGES_DO_NOT_FORM_LOOPS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_BUILDER_EDGES_DO_NOT_FORM_POLYLINE` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:172:11 [INFO] [stdout] | [INFO] [stdout] 172 | pub const S2Error_Code_BUILDER_EDGES_DO_NOT_FORM_POLYLINE: S2Error_Code = 304; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_BUILDER_EDGES_DO_NOT_FORM_POLYLINE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_BUILDER_IS_FULL_PREDICATE_NOT_SPECIFIED` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:173:11 [INFO] [stdout] | [INFO] [stdout] 173 | pub const S2Error_Code_BUILDER_IS_FULL_PREDICATE_NOT_SPECIFIED: S2Error_Code = 305; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_BUILDER_IS_FULL_PREDICATE_NOT_SPECIFIED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Normalized` should have a snake case name [INFO] [stdout] --> sys/src/s2.rs:235:19 [INFO] [stdout] | [INFO] [stdout] 235 | pub unsafe fn Normalized(&self) -> S1Angle { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `normalized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Normalize` should have a snake case name [INFO] [stdout] --> sys/src/s2.rs:239:19 [INFO] [stdout] | [INFO] [stdout] 239 | pub unsafe fn Normalize(&mut self) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `normalize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `[u64; 4]`, which is not FFI-safe [INFO] [stdout] --> sys/src/s2.rs:288:65 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn S2LatLng_ToStringInDegrees(this: *const S2LatLng) -> std_string; [INFO] [stdout] | ^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider passing a pointer to the array [INFO] [stdout] = note: passing raw arrays by value is not FFI-safe [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Init` should have a snake case name [INFO] [stdout] --> sys/src/s2.rs:296:19 [INFO] [stdout] | [INFO] [stdout] 296 | pub unsafe fn Init(&mut self, decoder: *mut Decoder, error: *mut S2Error) -> bool { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Encode` should have a snake case name [INFO] [stdout] --> sys/src/s2.rs:300:19 [INFO] [stdout] | [INFO] [stdout] 300 | pub unsafe fn Encode(&self, encoder: *mut Encoder) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Normalized` should have a snake case name [INFO] [stdout] --> sys/src/s2.rs:304:19 [INFO] [stdout] | [INFO] [stdout] 304 | pub unsafe fn Normalized(&self) -> S2LatLng { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `normalized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ToPoint` should have a snake case name [INFO] [stdout] --> sys/src/s2.rs:308:19 [INFO] [stdout] | [INFO] [stdout] 308 | pub unsafe fn ToPoint(&self) -> S2Point { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `to_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `GetDistance` should have a snake case name [INFO] [stdout] --> sys/src/s2.rs:312:19 [INFO] [stdout] | [INFO] [stdout] 312 | pub unsafe fn GetDistance(&self, o: *const S2LatLng) -> S1Angle { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ToStringInDegrees` should have a snake case name [INFO] [stdout] --> sys/src/s2.rs:316:19 [INFO] [stdout] | [INFO] [stdout] 316 | pub unsafe fn ToStringInDegrees(&self) -> std_string { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `to_string_in_degrees` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `std_string` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub type std_string = [u64; 4usize]; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `StdString` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `std_integral_constant_value_type` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | pub type std_integral_constant_value_type<_Tp> = _Tp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StdIntegralConstantValueType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `std_integral_constant_type` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type std_integral_constant_type = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StdIntegralConstantType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `std_true_type` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub type std_true_type = u8; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StdTrueType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `std_conditional_type` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | pub type std_conditional_type<_Iftrue> = _Iftrue; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StdConditionalType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `std_make_integer_sequence` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | pub type std_make_integer_sequence = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StdMakeIntegerSequence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `std_make_index_sequence` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub type std_make_index_sequence = std_make_integer_sequence; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `StdMakeIndexSequence` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `uint32` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub type uint32 = libc::c_uint; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Uint32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `uint64` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:16:10 [INFO] [stdout] | [INFO] [stdout] 16 | pub type uint64 = libc::c_ulonglong; [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper camel case (notice the capitalization): `Uint64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `util_math_internal_vector_BasicVector_D` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | pub type util_math_internal_vector_BasicVector_D = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UtilMathInternalVectorBasicVectorD` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `util_math_internal_vector_BasicVector_FloatType` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | pub type util_math_internal_vector_BasicVector_FloatType = u8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UtilMathInternalVectorBasicVectorFloatType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `util_math_internal_vector_BasicVector_IdxSeqN` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:19:10 [INFO] [stdout] | [INFO] [stdout] 19 | pub type util_math_internal_vector_BasicVector_IdxSeqN = std_make_index_sequence; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UtilMathInternalVectorBasicVectorIdxSeqN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `util_math_internal_vector_BasicVector__bindgen_ty_1` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | pub type util_math_internal_vector_BasicVector__bindgen_ty_1 = i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UtilMathInternalVectorBasicVectorBindgenTy1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Vector2_Base` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 28 | pub type Vector2_Base = u8; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Vector2Base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Vector2_VType` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:29:10 [INFO] [stdout] | [INFO] [stdout] 29 | pub type Vector2_VType = T; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Vector2Vtype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Vector2_BaseType` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:30:10 [INFO] [stdout] | [INFO] [stdout] 30 | pub type Vector2_BaseType = Vector2_VType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Vector2BaseType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Vector2_FloatType` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub type Vector2_FloatType = Vector2_Base; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Vector2FloatType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Vector3_Base` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:37:10 [INFO] [stdout] | [INFO] [stdout] 37 | pub type Vector3_Base = u8; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Vector3Base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Vector3_VType` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:38:10 [INFO] [stdout] | [INFO] [stdout] 38 | pub type Vector3_VType = T; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Vector3Vtype` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Vector3_BaseType` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | pub type Vector3_BaseType = Vector3_VType; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Vector3BaseType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Vector3_FloatType` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | pub type Vector3_FloatType = Vector3_Base; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `Vector3FloatType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Vector2_d` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:41:10 [INFO] [stdout] | [INFO] [stdout] 41 | pub type Vector2_d = [u64; 2usize]; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Vector2D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Vector3_d` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:42:10 [INFO] [stdout] | [INFO] [stdout] 42 | pub type Vector3_d = [u64; 3usize]; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to upper camel case: `Vector3D` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `S2Error_Code` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:174:10 [INFO] [stdout] | [INFO] [stdout] 174 | pub type S2Error_Code = libc::c_uint; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `S2errorCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `S2Point_ValType` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:198:10 [INFO] [stdout] | [INFO] [stdout] 198 | pub type S2Point_ValType = libc::c_double; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `S2pointValType` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `S2Point_Coder` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:199:10 [INFO] [stdout] | [INFO] [stdout] 199 | pub type S2Point_Coder = s2coding_S2BasicCoder; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `S2pointCoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `S2Point_Base` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:200:10 [INFO] [stdout] | [INFO] [stdout] 200 | pub type S2Point_Base = Vector3_d; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `S2pointBase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `S1Angle_absl_btree_prefer_linear_node_search` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:211:10 [INFO] [stdout] | [INFO] [stdout] 211 | pub type S1Angle_absl_btree_prefer_linear_node_search = std_true_type; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `S1angleAbslBtreePreferLinearNodeSearch` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `S2LatLng_Coder` should have an upper camel case name [INFO] [stdout] --> sys/src/s2.rs:260:10 [INFO] [stdout] | [INFO] [stdout] 260 | pub type S2LatLng_Coder = s2coding_S2BasicCoder; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `S2latLngCoder` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `util_math_internal_vector_BasicVector_SIZE` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const util_math_internal_vector_BasicVector_SIZE: [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `UTIL_MATH_INTERNAL_VECTOR_BASIC_VECTOR_SIZE` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Encoder_kVarintMax32` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | pub const Encoder_kVarintMax32: libc::c_int = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ENCODER_K_VARINT_MAX32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Encoder_kVarintMax64` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | pub const Encoder_kVarintMax64: libc::c_int = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ENCODER_K_VARINT_MAX64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Resize` should have a snake case name [INFO] [stdout] --> sys/src/s2.rs:105:19 [INFO] [stdout] | [INFO] [stdout] 105 | pub unsafe fn Resize(&mut self, N: usize) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `resize` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `N` should have a snake case name [INFO] [stdout] --> sys/src/s2.rs:105:37 [INFO] [stdout] | [INFO] [stdout] 105 | pub unsafe fn Resize(&mut self, N: usize) { [INFO] [stdout] | ^ help: convert the identifier to snake case: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_OK` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:139:11 [INFO] [stdout] | [INFO] [stdout] 139 | pub const S2Error_Code_OK: S2Error_Code = 0; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_OK` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_UNKNOWN` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:140:11 [INFO] [stdout] | [INFO] [stdout] 140 | pub const S2Error_Code_UNKNOWN: S2Error_Code = 1000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_UNKNOWN` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_UNIMPLEMENTED` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:141:11 [INFO] [stdout] | [INFO] [stdout] 141 | pub const S2Error_Code_UNIMPLEMENTED: S2Error_Code = 1001; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_UNIMPLEMENTED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_OUT_OF_RANGE` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:142:11 [INFO] [stdout] | [INFO] [stdout] 142 | pub const S2Error_Code_OUT_OF_RANGE: S2Error_Code = 1002; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_OUT_OF_RANGE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_INVALID_ARGUMENT` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:143:11 [INFO] [stdout] | [INFO] [stdout] 143 | pub const S2Error_Code_INVALID_ARGUMENT: S2Error_Code = 1003; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_INVALID_ARGUMENT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_FAILED_PRECONDITION` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:144:11 [INFO] [stdout] | [INFO] [stdout] 144 | pub const S2Error_Code_FAILED_PRECONDITION: S2Error_Code = 1004; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_FAILED_PRECONDITION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_INTERNAL` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:145:11 [INFO] [stdout] | [INFO] [stdout] 145 | pub const S2Error_Code_INTERNAL: S2Error_Code = 1005; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_INTERNAL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_DATA_LOSS` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:146:11 [INFO] [stdout] | [INFO] [stdout] 146 | pub const S2Error_Code_DATA_LOSS: S2Error_Code = 1006; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_DATA_LOSS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_RESOURCE_EXHAUSTED` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:147:11 [INFO] [stdout] | [INFO] [stdout] 147 | pub const S2Error_Code_RESOURCE_EXHAUSTED: S2Error_Code = 1007; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_RESOURCE_EXHAUSTED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_CANCELLED` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:148:11 [INFO] [stdout] | [INFO] [stdout] 148 | pub const S2Error_Code_CANCELLED: S2Error_Code = 1008; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_CANCELLED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_USER_DEFINED_START` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:149:11 [INFO] [stdout] | [INFO] [stdout] 149 | pub const S2Error_Code_USER_DEFINED_START: S2Error_Code = 1000000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_USER_DEFINED_START` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_USER_DEFINED_END` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:150:11 [INFO] [stdout] | [INFO] [stdout] 150 | pub const S2Error_Code_USER_DEFINED_END: S2Error_Code = 9999999; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_USER_DEFINED_END` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_NOT_UNIT_LENGTH` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:151:11 [INFO] [stdout] | [INFO] [stdout] 151 | pub const S2Error_Code_NOT_UNIT_LENGTH: S2Error_Code = 1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_NOT_UNIT_LENGTH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_DUPLICATE_VERTICES` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:152:11 [INFO] [stdout] | [INFO] [stdout] 152 | pub const S2Error_Code_DUPLICATE_VERTICES: S2Error_Code = 2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_DUPLICATE_VERTICES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_ANTIPODAL_VERTICES` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:153:11 [INFO] [stdout] | [INFO] [stdout] 153 | pub const S2Error_Code_ANTIPODAL_VERTICES: S2Error_Code = 3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_ANTIPODAL_VERTICES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_NOT_CONTINUOUS` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:154:11 [INFO] [stdout] | [INFO] [stdout] 154 | pub const S2Error_Code_NOT_CONTINUOUS: S2Error_Code = 4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_NOT_CONTINUOUS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_INVALID_VERTEX` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:155:11 [INFO] [stdout] | [INFO] [stdout] 155 | pub const S2Error_Code_INVALID_VERTEX: S2Error_Code = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_INVALID_VERTEX` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_LOOP_NOT_ENOUGH_VERTICES` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:156:11 [INFO] [stdout] | [INFO] [stdout] 156 | pub const S2Error_Code_LOOP_NOT_ENOUGH_VERTICES: S2Error_Code = 100; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_LOOP_NOT_ENOUGH_VERTICES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_LOOP_SELF_INTERSECTION` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:157:11 [INFO] [stdout] | [INFO] [stdout] 157 | pub const S2Error_Code_LOOP_SELF_INTERSECTION: S2Error_Code = 101; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_LOOP_SELF_INTERSECTION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_POLYGON_LOOPS_SHARE_EDGE` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:158:11 [INFO] [stdout] | [INFO] [stdout] 158 | pub const S2Error_Code_POLYGON_LOOPS_SHARE_EDGE: S2Error_Code = 200; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_POLYGON_LOOPS_SHARE_EDGE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_POLYGON_LOOPS_CROSS` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:159:11 [INFO] [stdout] | [INFO] [stdout] 159 | pub const S2Error_Code_POLYGON_LOOPS_CROSS: S2Error_Code = 201; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_POLYGON_LOOPS_CROSS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_POLYGON_EMPTY_LOOP` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:160:11 [INFO] [stdout] | [INFO] [stdout] 160 | pub const S2Error_Code_POLYGON_EMPTY_LOOP: S2Error_Code = 202; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_POLYGON_EMPTY_LOOP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_POLYGON_EXCESS_FULL_LOOP` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:161:11 [INFO] [stdout] | [INFO] [stdout] 161 | pub const S2Error_Code_POLYGON_EXCESS_FULL_LOOP: S2Error_Code = 203; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_POLYGON_EXCESS_FULL_LOOP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_POLYGON_INCONSISTENT_LOOP_ORIENTATIONS` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:162:11 [INFO] [stdout] | [INFO] [stdout] 162 | pub const S2Error_Code_POLYGON_INCONSISTENT_LOOP_ORIENTATIONS: S2Error_Code = 204; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_POLYGON_INCONSISTENT_LOOP_ORIENTATIONS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_POLYGON_INVALID_LOOP_DEPTH` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:163:11 [INFO] [stdout] | [INFO] [stdout] 163 | pub const S2Error_Code_POLYGON_INVALID_LOOP_DEPTH: S2Error_Code = 205; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_POLYGON_INVALID_LOOP_DEPTH` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_POLYGON_INVALID_LOOP_NESTING` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:164:11 [INFO] [stdout] | [INFO] [stdout] 164 | pub const S2Error_Code_POLYGON_INVALID_LOOP_NESTING: S2Error_Code = 206; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_POLYGON_INVALID_LOOP_NESTING` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_INVALID_DIMENSION` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:165:11 [INFO] [stdout] | [INFO] [stdout] 165 | pub const S2Error_Code_INVALID_DIMENSION: S2Error_Code = 207; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_INVALID_DIMENSION` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_SPLIT_INTERIOR` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:166:11 [INFO] [stdout] | [INFO] [stdout] 166 | pub const S2Error_Code_SPLIT_INTERIOR: S2Error_Code = 208; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_SPLIT_INTERIOR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_OVERLAPPING_GEOMETRY` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:167:11 [INFO] [stdout] | [INFO] [stdout] 167 | pub const S2Error_Code_OVERLAPPING_GEOMETRY: S2Error_Code = 209; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_OVERLAPPING_GEOMETRY` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_BUILDER_SNAP_RADIUS_TOO_SMALL` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:168:11 [INFO] [stdout] | [INFO] [stdout] 168 | pub const S2Error_Code_BUILDER_SNAP_RADIUS_TOO_SMALL: S2Error_Code = 300; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_BUILDER_SNAP_RADIUS_TOO_SMALL` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_BUILDER_MISSING_EXPECTED_SIBLING_EDGES` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:169:11 [INFO] [stdout] | [INFO] [stdout] 169 | pub const S2Error_Code_BUILDER_MISSING_EXPECTED_SIBLING_EDGES: S2Error_Code = 301; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_BUILDER_MISSING_EXPECTED_SIBLING_EDGES` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_BUILDER_UNEXPECTED_DEGENERATE_EDGE` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:170:11 [INFO] [stdout] | [INFO] [stdout] 170 | pub const S2Error_Code_BUILDER_UNEXPECTED_DEGENERATE_EDGE: S2Error_Code = 302; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_BUILDER_UNEXPECTED_DEGENERATE_EDGE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_BUILDER_EDGES_DO_NOT_FORM_LOOPS` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:171:11 [INFO] [stdout] | [INFO] [stdout] 171 | pub const S2Error_Code_BUILDER_EDGES_DO_NOT_FORM_LOOPS: S2Error_Code = 303; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_BUILDER_EDGES_DO_NOT_FORM_LOOPS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_BUILDER_EDGES_DO_NOT_FORM_POLYLINE` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:172:11 [INFO] [stdout] | [INFO] [stdout] 172 | pub const S2Error_Code_BUILDER_EDGES_DO_NOT_FORM_POLYLINE: S2Error_Code = 304; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_BUILDER_EDGES_DO_NOT_FORM_POLYLINE` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S2Error_Code_BUILDER_IS_FULL_PREDICATE_NOT_SPECIFIED` should have an upper case name [INFO] [stdout] --> sys/src/s2.rs:173:11 [INFO] [stdout] | [INFO] [stdout] 173 | pub const S2Error_Code_BUILDER_IS_FULL_PREDICATE_NOT_SPECIFIED: S2Error_Code = 305; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `S2_ERROR_CODE_BUILDER_IS_FULL_PREDICATE_NOT_SPECIFIED` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Normalized` should have a snake case name [INFO] [stdout] --> sys/src/s2.rs:235:19 [INFO] [stdout] | [INFO] [stdout] 235 | pub unsafe fn Normalized(&self) -> S1Angle { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `normalized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Normalize` should have a snake case name [INFO] [stdout] --> sys/src/s2.rs:239:19 [INFO] [stdout] | [INFO] [stdout] 239 | pub unsafe fn Normalize(&mut self) { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `normalize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` block uses type `[u64; 4]`, which is not FFI-safe [INFO] [stdout] --> sys/src/s2.rs:288:65 [INFO] [stdout] | [INFO] [stdout] 288 | pub fn S2LatLng_ToStringInDegrees(this: *const S2LatLng) -> std_string; [INFO] [stdout] | ^^^^^^^^^^ not FFI-safe [INFO] [stdout] | [INFO] [stdout] = help: consider passing a pointer to the array [INFO] [stdout] = note: passing raw arrays by value is not FFI-safe [INFO] [stdout] = note: `#[warn(improper_ctypes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Init` should have a snake case name [INFO] [stdout] --> sys/src/s2.rs:296:19 [INFO] [stdout] | [INFO] [stdout] 296 | pub unsafe fn Init(&mut self, decoder: *mut Decoder, error: *mut S2Error) -> bool { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Encode` should have a snake case name [INFO] [stdout] --> sys/src/s2.rs:300:19 [INFO] [stdout] | [INFO] [stdout] 300 | pub unsafe fn Encode(&self, encoder: *mut Encoder) { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `encode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Normalized` should have a snake case name [INFO] [stdout] --> sys/src/s2.rs:304:19 [INFO] [stdout] | [INFO] [stdout] 304 | pub unsafe fn Normalized(&self) -> S2LatLng { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `normalized` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ToPoint` should have a snake case name [INFO] [stdout] --> sys/src/s2.rs:308:19 [INFO] [stdout] | [INFO] [stdout] 308 | pub unsafe fn ToPoint(&self) -> S2Point { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `to_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `GetDistance` should have a snake case name [INFO] [stdout] --> sys/src/s2.rs:312:19 [INFO] [stdout] | [INFO] [stdout] 312 | pub unsafe fn GetDistance(&self, o: *const S2LatLng) -> S1Angle { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `get_distance` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ToStringInDegrees` should have a snake case name [INFO] [stdout] --> sys/src/s2.rs:316:19 [INFO] [stdout] | [INFO] [stdout] 316 | pub unsafe fn ToStringInDegrees(&self) -> std_string { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `to_string_in_degrees` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking syn v2.0.75 [INFO] [stderr] Checking cexpr v0.6.0 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking s2-sys-bind v0.1.0 (/opt/rustwide/workdir/s2-sys-bind) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 17.10s [INFO] running `Command { std: "docker" "inspect" "a7bd2ccf9237c387cb9e9fbd398f59a25af8177cc0514164645bfe20fab8909e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a7bd2ccf9237c387cb9e9fbd398f59a25af8177cc0514164645bfe20fab8909e", kill_on_drop: false }` [INFO] [stdout] a7bd2ccf9237c387cb9e9fbd398f59a25af8177cc0514164645bfe20fab8909e