[INFO] fetching crate libswe-sys 0.2.7... [INFO] testing libswe-sys-0.2.7 against 1.90.0 for beta-1.91-3 [INFO] extracting crate libswe-sys 0.2.7 into /workspace/builds/worker-1-tc1/source [INFO] started tweaking crates.io crate libswe-sys 0.2.7 [INFO] finished tweaking crates.io crate libswe-sys 0.2.7 [INFO] tweaked toml for crates.io crate libswe-sys 0.2.7 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate libswe-sys 0.2.7 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate libswe-sys 0.2.7 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libmath v0.2.1 [INFO] [stderr] Downloaded strum_macros v0.17.1 [INFO] [stderr] Downloaded strum v0.17.1 [INFO] [stderr] Downloaded jobserver v0.1.24 [INFO] [stderr] Downloaded quote v1.0.14 [INFO] [stderr] Downloaded serde_derive v1.0.133 [INFO] [stderr] Downloaded serde v1.0.133 [INFO] [stderr] Downloaded proc-macro2 v1.0.36 [INFO] [stderr] Downloaded serde_json v1.0.74 [INFO] [stderr] Downloaded syn v1.0.85 [INFO] [stderr] Downloaded libc v0.2.112 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d333ef6b0fe89a20afed44db82786816defba8049af4a39241cb13a711c2148e [INFO] running `Command { std: "docker" "start" "-a" "d333ef6b0fe89a20afed44db82786816defba8049af4a39241cb13a711c2148e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d333ef6b0fe89a20afed44db82786816defba8049af4a39241cb13a711c2148e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d333ef6b0fe89a20afed44db82786816defba8049af4a39241cb13a711c2148e", kill_on_drop: false }` [INFO] [stdout] d333ef6b0fe89a20afed44db82786816defba8049af4a39241cb13a711c2148e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46fda77aec6a791350711f235f22aceefa9678b4ab2203f8dd9a1ec9a543e9ba [INFO] running `Command { std: "docker" "start" "-a" "46fda77aec6a791350711f235f22aceefa9678b4ab2203f8dd9a1ec9a543e9ba", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling strum v0.17.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling rand v0.3.23 [INFO] [stderr] Compiling libmath v0.2.1 [INFO] [stderr] Compiling libswe-sys v0.2.7 (/opt/rustwide/workdir) [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c:130:29: warning: missing initializer for field 'do_interpolate_nut' of 'struct swe_data' [-Wmissing-field-initializers] [INFO] [stderr] warning: libswe-sys@0.2.7: 130 | }; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^ [INFO] [stderr] warning: libswe-sys@0.2.7: In file included from /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c:72: [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.h:648:11: note: 'do_interpolate_nut' declared here [INFO] [stderr] warning: libswe-sys@0.2.7: 648 | AS_BOOL do_interpolate_nut; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swehouse.c: In function 'sidereal_houses_trad': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swehouse.c:495:35: warning: unused parameter 'nutl' [-Wunused-parameter] [INFO] [stderr] warning: libswe-sys@0.2.7: 495 | double nutl, [INFO] [stderr] warning: libswe-sys@0.2.7: | ~~~~~~~^~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c: In function 'jplplan': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c:1999:48: warning: parameter 'iflag' set but not used [-Wunused-but-set-parameter] [INFO] [stderr] warning: libswe-sys@0.2.7: 1999 | static int jplplan(double tjd, int ipli, int32 iflag, AS_BOOL do_save, [INFO] [stderr] warning: libswe-sys@0.2.7: | ~~~~~~^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c: In function 'swi_strnlen': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:3598:17: warning: operand of '?:' changes signedness from 'long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare] [INFO] [stderr] warning: libswe-sys@0.2.7: 3598 | return stop ? stop - str : n; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~~~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c: In function 'swe_get_astro_models': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4271:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4271 | if (imod == SEMOD_PREC_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4271:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4271 | if (imod == SEMOD_PREC_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4273:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4273 | if (imod == SEMOD_PREC_DEFAULT_SHORT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4273:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4273 | if (imod == SEMOD_PREC_DEFAULT_SHORT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4275:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4275 | if (imod == SEMOD_NUT_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4275:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4275 | if (imod == SEMOD_NUT_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4277:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4277 | if (imod == SEMOD_SIDT_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4277:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4277 | if (imod == SEMOD_SIDT_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4279:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4279 | if (imod == SEMOD_BIAS_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4279:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4279 | if (imod == SEMOD_BIAS_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4281:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4281 | if (imod == SEMOD_JPLHOR_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4281:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4281 | if (imod == SEMOD_JPLHOR_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swehel.c: In function 'calc_rise_and_set': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swehel.c:478:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 478 | else [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swehel.c:484:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' [INFO] [stderr] warning: libswe-sys@0.2.7: 484 | iflag = epheflag|SEFLG_SPEED|SEFLG_EQUATORIAL; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4283:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4283 | if (imod == SEMOD_JPLHORA_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4283:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4283 | if (imod == SEMOD_JPLHORA_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4285:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4285 | if (imod == SEMOD_DELTAT_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4285:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4285 | if (imod == SEMOD_DELTAT_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c: In function 'plaus_iflag': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c:5896:57: warning: unused parameter 'tjd' [-Wunused-parameter] [INFO] [stderr] warning: libswe-sys@0.2.7: 5896 | static int32 plaus_iflag(int32 iflag, int32 ipl, double tjd, char *serr) [INFO] [stderr] warning: libswe-sys@0.2.7: | ~~~~~~~^~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swecl.c: In function 'swe_rise_trans_true_hor': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swecl.c:4444:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4444 | if (!do_fixstar) [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swecl.c:4447:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4447 | if (rsmi & SE_BIT_GEOCTR_NO_ECL_LAT) [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c: In function 'search_star_in_list': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c:6534:20: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: libswe-sys@0.2.7: 6534 | if (sp - sstar != strlen(sstar) - 1) { [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c: In function 'swi_fixstar_load_record': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c:7303:71: warning: unused parameter 'sname' [-Wunused-parameter] [INFO] [stderr] warning: libswe-sys@0.2.7: 7303 | static int32 swi_fixstar_load_record(char *star, char *srecord, char *sname, char *sbayer, double *dparams, char *serr) [INFO] [stderr] warning: libswe-sys@0.2.7: | ~~~~~~^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c:7303:84: warning: unused parameter 'sbayer' [-Wunused-parameter] [INFO] [stderr] warning: libswe-sys@0.2.7: 7303 | static int32 swi_fixstar_load_record(char *star, char *srecord, char *sname, char *sbayer, double *dparams, char *serr) [INFO] [stderr] warning: libswe-sys@0.2.7: | ~~~~~~^~~~~~ [INFO] [stderr] Compiling strum_macros v0.17.1 [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/raw.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | /// Interface https://www.astro.com/ftp/swisseph/doc/swephprg.htm#_Toc19111156 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | #[link(name = "swe")] [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | /* [INFO] [stdout] 7 | | * 2. The Ephemeris file related functions [INFO] [stdout] ... | [INFO] [stdout] 201 | | ) -> c_double; [INFO] [stdout] 202 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/sweconst.rs:12:41 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/sweconst.rs:626:5 [INFO] [stdout] | [INFO] [stdout] 626 | FromPrimitive, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sweconst.rs:12:41 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Language` [INFO] [stdout] 13 | pub enum Language { [INFO] [stdout] | -------- `Language` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sweconst.rs:626:5 [INFO] [stdout] | [INFO] [stdout] 626 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AspectsFilter` [INFO] [stdout] 627 | )] [INFO] [stdout] 628 | pub enum AspectsFilter { [INFO] [stdout] | ------------- `AspectsFilter` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.69s [INFO] running `Command { std: "docker" "inspect" "46fda77aec6a791350711f235f22aceefa9678b4ab2203f8dd9a1ec9a543e9ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46fda77aec6a791350711f235f22aceefa9678b4ab2203f8dd9a1ec9a543e9ba", kill_on_drop: false }` [INFO] [stdout] 46fda77aec6a791350711f235f22aceefa9678b4ab2203f8dd9a1ec9a543e9ba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 917c39f68f2d3931f1b24fb5a6c0287e38341419eabf2e73acda53dc75cce1ff [INFO] running `Command { std: "docker" "start" "-a" "917c39f68f2d3931f1b24fb5a6c0287e38341419eabf2e73acda53dc75cce1ff", kill_on_drop: false }` [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c:130:29: warning: missing initializer for field 'do_interpolate_nut' of 'struct swe_data' [-Wmissing-field-initializers] [INFO] [stderr] warning: libswe-sys@0.2.7: 130 | }; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^ [INFO] [stderr] warning: libswe-sys@0.2.7: In file included from /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c:72: [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.h:648:11: note: 'do_interpolate_nut' declared here [INFO] [stderr] warning: libswe-sys@0.2.7: 648 | AS_BOOL do_interpolate_nut; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swehouse.c: In function 'sidereal_houses_trad': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swehouse.c:495:35: warning: unused parameter 'nutl' [-Wunused-parameter] [INFO] [stderr] warning: libswe-sys@0.2.7: 495 | double nutl, [INFO] [stderr] warning: libswe-sys@0.2.7: | ~~~~~~~^~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c: In function 'jplplan': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c:1999:48: warning: parameter 'iflag' set but not used [-Wunused-but-set-parameter] [INFO] [stderr] warning: libswe-sys@0.2.7: 1999 | static int jplplan(double tjd, int ipli, int32 iflag, AS_BOOL do_save, [INFO] [stderr] warning: libswe-sys@0.2.7: | ~~~~~~^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c: In function 'swi_strnlen': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:3598:17: warning: operand of '?:' changes signedness from 'long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare] [INFO] [stderr] warning: libswe-sys@0.2.7: 3598 | return stop ? stop - str : n; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~~~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c: In function 'swe_get_astro_models': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4271:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4271 | if (imod == SEMOD_PREC_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4271:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4271 | if (imod == SEMOD_PREC_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4273:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4273 | if (imod == SEMOD_PREC_DEFAULT_SHORT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4273:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4273 | if (imod == SEMOD_PREC_DEFAULT_SHORT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4275:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4275 | if (imod == SEMOD_NUT_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4275:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4275 | if (imod == SEMOD_NUT_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4277:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4277 | if (imod == SEMOD_SIDT_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4277:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4277 | if (imod == SEMOD_SIDT_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4279:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4279 | if (imod == SEMOD_BIAS_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4279:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/raw.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | /// Interface https://www.astro.com/ftp/swisseph/doc/swephprg.htm#_Toc19111156 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | #[link(name = "swe")] [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | /* [INFO] [stdout] 7 | | * 2. The Ephemeris file related functions [INFO] [stdout] ... | [INFO] [stdout] 201 | | ) -> c_double; [INFO] [stdout] 202 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: libswe-sys@0.2.7: 4279 | if (imod == SEMOD_BIAS_DEFAULT) imod = 0; break; [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/sweconst.rs:12:41 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/sweconst.rs:626:5 [INFO] [stdout] | [INFO] [stdout] 626 | FromPrimitive, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4281:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sweconst.rs:12:41 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Language` [INFO] [stdout] 13 | pub enum Language { [INFO] [stdout] | -------- `Language` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: libswe-sys@0.2.7: 4281 | if (imod == SEMOD_JPLHOR_DEFAULT) imod = 0; break; [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sweconst.rs:626:5 [INFO] [stdout] | [INFO] [stdout] 626 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AspectsFilter` [INFO] [stdout] 627 | )] [INFO] [stdout] 628 | pub enum AspectsFilter { [INFO] [stdout] | ------------- `AspectsFilter` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4281:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4281 | if (imod == SEMOD_JPLHOR_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swehel.c: In function 'calc_rise_and_set': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swehel.c:478:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 478 | else [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swehel.c:484:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' [INFO] [stderr] warning: libswe-sys@0.2.7: 484 | iflag = epheflag|SEFLG_SPEED|SEFLG_EQUATORIAL; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4283:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4283 | if (imod == SEMOD_JPLHORA_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4283:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4283 | if (imod == SEMOD_JPLHORA_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4285:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4285 | if (imod == SEMOD_DELTAT_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4285:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4285 | if (imod == SEMOD_DELTAT_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c: In function 'plaus_iflag': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c:5896:57: warning: unused parameter 'tjd' [-Wunused-parameter] [INFO] [stderr] warning: libswe-sys@0.2.7: 5896 | static int32 plaus_iflag(int32 iflag, int32 ipl, double tjd, char *serr) [INFO] [stderr] warning: libswe-sys@0.2.7: | ~~~~~~~^~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swecl.c: In function 'swe_rise_trans_true_hor': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swecl.c:4444:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4444 | if (!do_fixstar) [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swecl.c:4447:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4447 | if (rsmi & SE_BIT_GEOCTR_NO_ECL_LAT) [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c: In function 'search_star_in_list': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c:6534:20: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: libswe-sys@0.2.7: 6534 | if (sp - sstar != strlen(sstar) - 1) { [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c: In function 'swi_fixstar_load_record': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c:7303:71: warning: unused parameter 'sname' [-Wunused-parameter] [INFO] [stderr] warning: libswe-sys@0.2.7: 7303 | static int32 swi_fixstar_load_record(char *star, char *srecord, char *sname, char *sbayer, double *dparams, char *serr) [INFO] [stderr] warning: libswe-sys@0.2.7: | ~~~~~~^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c:7303:84: warning: unused parameter 'sbayer' [-Wunused-parameter] [INFO] [stderr] warning: libswe-sys@0.2.7: 7303 | static int32 swi_fixstar_load_record(char *star, char *srecord, char *sname, char *sbayer, double *dparams, char *serr) [INFO] [stderr] warning: libswe-sys@0.2.7: | ~~~~~~^~~~~~ [INFO] [stderr] Compiling libswe-sys v0.2.7 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/raw.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | /// Interface https://www.astro.com/ftp/swisseph/doc/swephprg.htm#_Toc19111156 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | #[link(name = "swe")] [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | /* [INFO] [stdout] 7 | | * 2. The Ephemeris file related functions [INFO] [stdout] ... | [INFO] [stdout] 201 | | ) -> c_double; [INFO] [stdout] 202 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/sweconst.rs:12:41 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive)] [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/sweconst.rs:626:5 [INFO] [stdout] | [INFO] [stdout] 626 | FromPrimitive, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stdout] = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stdout] = help: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sweconst.rs:12:41 [INFO] [stdout] | [INFO] [stdout] 12 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive)] [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Language` [INFO] [stdout] 13 | pub enum Language { [INFO] [stdout] | -------- `Language` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/sweconst.rs:626:5 [INFO] [stdout] | [INFO] [stdout] 626 | FromPrimitive, [INFO] [stdout] | ^------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AspectsFilter` [INFO] [stdout] 627 | )] [INFO] [stdout] 628 | pub enum AspectsFilter { [INFO] [stdout] | ------------- `AspectsFilter` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.67s [INFO] running `Command { std: "docker" "inspect" "917c39f68f2d3931f1b24fb5a6c0287e38341419eabf2e73acda53dc75cce1ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "917c39f68f2d3931f1b24fb5a6c0287e38341419eabf2e73acda53dc75cce1ff", kill_on_drop: false }` [INFO] [stdout] 917c39f68f2d3931f1b24fb5a6c0287e38341419eabf2e73acda53dc75cce1ff [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 492de626f6ca0f60e509aebd742e4351f7ee75b2f335d38fed6d6f1ca3459a5c [INFO] running `Command { std: "docker" "start" "-a" "492de626f6ca0f60e509aebd742e4351f7ee75b2f335d38fed6d6f1ca3459a5c", kill_on_drop: false }` [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c:130:29: warning: missing initializer for field 'do_interpolate_nut' of 'struct swe_data' [-Wmissing-field-initializers] [INFO] [stderr] warning: libswe-sys@0.2.7: 130 | }; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^ [INFO] [stderr] warning: libswe-sys@0.2.7: In file included from /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c:72: [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.h:648:11: note: 'do_interpolate_nut' declared here [INFO] [stderr] warning: libswe-sys@0.2.7: 648 | AS_BOOL do_interpolate_nut; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swehouse.c: In function 'sidereal_houses_trad': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swehouse.c:495:35: warning: unused parameter 'nutl' [-Wunused-parameter] [INFO] [stderr] warning: libswe-sys@0.2.7: 495 | double nutl, [INFO] [stderr] warning: libswe-sys@0.2.7: | ~~~~~~~^~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c: In function 'jplplan': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c:1999:48: warning: parameter 'iflag' set but not used [-Wunused-but-set-parameter] [INFO] [stderr] warning: libswe-sys@0.2.7: 1999 | static int jplplan(double tjd, int ipli, int32 iflag, AS_BOOL do_save, [INFO] [stderr] warning: libswe-sys@0.2.7: | ~~~~~~^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c: In function 'swi_strnlen': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:3598:17: warning: operand of '?:' changes signedness from 'long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare] [INFO] [stderr] warning: libswe-sys@0.2.7: 3598 | return stop ? stop - str : n; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~~~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c: In function 'swe_get_astro_models': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4271:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4271 | if (imod == SEMOD_PREC_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4271:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4271 | if (imod == SEMOD_PREC_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4273:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4273 | if (imod == SEMOD_PREC_DEFAULT_SHORT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4273:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4273 | if (imod == SEMOD_PREC_DEFAULT_SHORT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4275:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4275 | if (imod == SEMOD_NUT_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4275:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4275 | if (imod == SEMOD_NUT_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4277:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4277 | if (imod == SEMOD_SIDT_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4277:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4277 | if (imod == SEMOD_SIDT_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4279:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4279 | if (imod == SEMOD_BIAS_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4279:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4279 | if (imod == SEMOD_BIAS_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4281:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4281 | if (imod == SEMOD_JPLHOR_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4281:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4281 | if (imod == SEMOD_JPLHOR_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swehel.c: In function 'calc_rise_and_set': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swehel.c:478:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 478 | else [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swehel.c:484:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' [INFO] [stderr] warning: libswe-sys@0.2.7: 484 | iflag = epheflag|SEFLG_SPEED|SEFLG_EQUATORIAL; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4283:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4283 | if (imod == SEMOD_JPLHORA_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4283:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4283 | if (imod == SEMOD_JPLHORA_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4285:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4285 | if (imod == SEMOD_DELTAT_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4285:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4285 | if (imod == SEMOD_DELTAT_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c: In function 'plaus_iflag': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c:5896:57: warning: unused parameter 'tjd' [-Wunused-parameter] [INFO] [stderr] warning: libswe-sys@0.2.7: 5896 | static int32 plaus_iflag(int32 iflag, int32 ipl, double tjd, char *serr) [INFO] [stderr] warning: libswe-sys@0.2.7: | ~~~~~~~^~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swecl.c: In function 'swe_rise_trans_true_hor': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swecl.c:4444:11: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4444 | if (!do_fixstar) [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swecl.c:4447:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4447 | if (rsmi & SE_BIT_GEOCTR_NO_ECL_LAT) [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c: In function 'search_star_in_list': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c:6534:20: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: libswe-sys@0.2.7: 6534 | if (sp - sstar != strlen(sstar) - 1) { [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c: In function 'swi_fixstar_load_record': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c:7303:71: warning: unused parameter 'sname' [-Wunused-parameter] [INFO] [stderr] warning: libswe-sys@0.2.7: 7303 | static int32 swi_fixstar_load_record(char *star, char *srecord, char *sname, char *sbayer, double *dparams, char *serr) [INFO] [stderr] warning: libswe-sys@0.2.7: | ~~~~~~^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c:7303:84: warning: unused parameter 'sbayer' [-Wunused-parameter] [INFO] [stderr] warning: libswe-sys@0.2.7: 7303 | static int32 swi_fixstar_load_record(char *star, char *srecord, char *sname, char *sbayer, double *dparams, char *serr) [INFO] [stderr] warning: libswe-sys@0.2.7: | ~~~~~~^~~~~~ [INFO] [stderr] warning: unused doc comment [INFO] [stderr] --> src/raw.rs:2:1 [INFO] [stderr] | [INFO] [stderr] 2 | /// Interface https://www.astro.com/ftp/swisseph/doc/swephprg.htm#_Toc19111156 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 3 | #[link(name = "swe")] [INFO] [stderr] 4 | / extern "C" { [INFO] [stderr] 5 | | [INFO] [stderr] 6 | | /* [INFO] [stderr] 7 | | * 2. The Ephemeris file related functions [INFO] [stderr] ... | [INFO] [stderr] 201 | | ) -> c_double; [INFO] [stderr] 202 | | } [INFO] [stderr] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stderr] | [INFO] [stderr] = help: use `//` for a plain comment [INFO] [stderr] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/sweconst.rs:12:41 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive)] [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/sweconst.rs:626:5 [INFO] [stderr] | [INFO] [stderr] 626 | FromPrimitive, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = note: using a cfg inside a derive macro will use the cfgs from the destination crate and not the ones from the defining crate [INFO] [stderr] = help: try referring to `FromPrimitive` crate for guidance on how handle this unexpected cfg [INFO] [stderr] = help: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/sweconst.rs:12:41 [INFO] [stderr] | [INFO] [stderr] 12 | #[derive(Debug, Clone, Copy, PartialEq, FromPrimitive)] [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_Language` [INFO] [stderr] 13 | pub enum Language { [INFO] [stderr] | -------- `Language` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/sweconst.rs:626:5 [INFO] [stderr] | [INFO] [stderr] 626 | FromPrimitive, [INFO] [stderr] | ^------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_AspectsFilter` [INFO] [stderr] 627 | )] [INFO] [stderr] 628 | pub enum AspectsFilter { [INFO] [stderr] | ------------- `AspectsFilter` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive` [INFO] [stderr] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stderr] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stderr] = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `libswe-sys` (lib) generated 5 warnings [INFO] [stderr] warning: `libswe-sys` (lib test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libswe_sys-d52ae83c1d5fd954) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests libswe_sys [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "492de626f6ca0f60e509aebd742e4351f7ee75b2f335d38fed6d6f1ca3459a5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "492de626f6ca0f60e509aebd742e4351f7ee75b2f335d38fed6d6f1ca3459a5c", kill_on_drop: false }` [INFO] [stdout] 492de626f6ca0f60e509aebd742e4351f7ee75b2f335d38fed6d6f1ca3459a5c