[INFO] fetching crate libswe-sys 0.2.7... [INFO] testing libswe-sys-0.2.7 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [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 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] 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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum_macros v0.17.1 [INFO] [stderr] Downloaded strum v0.17.1 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2d291885797eca864c195a9d8aeb25149aee887624774bf9be823aad71a63442 [INFO] running `Command { std: "docker" "start" "-a" "2d291885797eca864c195a9d8aeb25149aee887624774bf9be823aad71a63442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2d291885797eca864c195a9d8aeb25149aee887624774bf9be823aad71a63442", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2d291885797eca864c195a9d8aeb25149aee887624774bf9be823aad71a63442", kill_on_drop: false }` [INFO] [stdout] 2d291885797eca864c195a9d8aeb25149aee887624774bf9be823aad71a63442 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5c89fccc06c64f7d588355a58c609ca299877c19cb250695382104aa5d32f102 [INFO] running `Command { std: "docker" "start" "-a" "5c89fccc06c64f7d588355a58c609ca299877c19cb250695382104aa5d32f102", 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 num-derive v0.2.5 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling strum v0.17.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling jobserver v0.1.24 [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/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: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/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/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/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/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/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/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 13.88s [INFO] running `Command { std: "docker" "inspect" "5c89fccc06c64f7d588355a58c609ca299877c19cb250695382104aa5d32f102", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c89fccc06c64f7d588355a58c609ca299877c19cb250695382104aa5d32f102", kill_on_drop: false }` [INFO] [stdout] 5c89fccc06c64f7d588355a58c609ca299877c19cb250695382104aa5d32f102 [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 3419d090d6a5de03e391bcf3663fdf77311d7acd206a7645c011152c513a5b6b [INFO] running `Command { std: "docker" "start" "-a" "3419d090d6a5de03e391bcf3663fdf77311d7acd206a7645c011152c513a5b6b", kill_on_drop: false }` [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: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/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/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/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/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/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/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] [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] [stderr] Compiling libswe-sys v0.2.7 (/opt/rustwide/workdir) [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] [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.54s [INFO] running `Command { std: "docker" "inspect" "3419d090d6a5de03e391bcf3663fdf77311d7acd206a7645c011152c513a5b6b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3419d090d6a5de03e391bcf3663fdf77311d7acd206a7645c011152c513a5b6b", kill_on_drop: false }` [INFO] [stdout] 3419d090d6a5de03e391bcf3663fdf77311d7acd206a7645c011152c513a5b6b [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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] e1242f0316c34294c4fe061cb13cb533f5b22f76eedcdee589ca44a814ba963d [INFO] running `Command { std: "docker" "start" "-a" "e1242f0316c34294c4fe061cb13cb533f5b22f76eedcdee589ca44a814ba963d", kill_on_drop: false }` [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: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/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/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/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/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/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/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.03s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/libswe_sys-aec4a08f826fb160) [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" "e1242f0316c34294c4fe061cb13cb533f5b22f76eedcdee589ca44a814ba963d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1242f0316c34294c4fe061cb13cb533f5b22f76eedcdee589ca44a814ba963d", kill_on_drop: false }` [INFO] [stdout] e1242f0316c34294c4fe061cb13cb533f5b22f76eedcdee589ca44a814ba963d