[INFO] fetching crate libswe-sys 0.2.7... [INFO] testing libswe-sys-0.2.7 against try#b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b for pr-145330-1 [INFO] extracting crate libswe-sys 0.2.7 into /workspace/builds/worker-6-tc2/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-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate libswe-sys 0.2.7 on toolchain b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "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" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 15a550e2ca8cdb30ccf0aaca0fd6c9b901e01cb5a3779fe28864d2bc350a523a [INFO] running `Command { std: "docker" "start" "-a" "15a550e2ca8cdb30ccf0aaca0fd6c9b901e01cb5a3779fe28864d2bc350a523a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "15a550e2ca8cdb30ccf0aaca0fd6c9b901e01cb5a3779fe28864d2bc350a523a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "15a550e2ca8cdb30ccf0aaca0fd6c9b901e01cb5a3779fe28864d2bc350a523a", kill_on_drop: false }` [INFO] [stdout] 15a550e2ca8cdb30ccf0aaca0fd6c9b901e01cb5a3779fe28864d2bc350a523a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e40cd5a904fa7546adcc06adab118e134adb2caa0ec48b36df2f738355783ae8 [INFO] running `Command { std: "docker" "start" "-a" "e40cd5a904fa7546adcc06adab118e134adb2caa0ec48b36df2f738355783ae8", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [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/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/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: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/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/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/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/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/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 '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: 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] 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 18.53s [INFO] running `Command { std: "docker" "inspect" "e40cd5a904fa7546adcc06adab118e134adb2caa0ec48b36df2f738355783ae8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e40cd5a904fa7546adcc06adab118e134adb2caa0ec48b36df2f738355783ae8", kill_on_drop: false }` [INFO] [stdout] e40cd5a904fa7546adcc06adab118e134adb2caa0ec48b36df2f738355783ae8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1c7bb46cf07951b4c8d3efd93496366ac357d0c77f59948ceaec1ed09ec48d4f [INFO] running `Command { std: "docker" "start" "-a" "1c7bb46cf07951b4c8d3efd93496366ac357d0c77f59948ceaec1ed09ec48d4f", 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/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: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/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/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/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/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/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 '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: 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] [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] 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.96s [INFO] running `Command { std: "docker" "inspect" "1c7bb46cf07951b4c8d3efd93496366ac357d0c77f59948ceaec1ed09ec48d4f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1c7bb46cf07951b4c8d3efd93496366ac357d0c77f59948ceaec1ed09ec48d4f", kill_on_drop: false }` [INFO] [stdout] 1c7bb46cf07951b4c8d3efd93496366ac357d0c77f59948ceaec1ed09ec48d4f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+b6ae10aa7319b7ebb6c7b3331dd71a9d6c9c5b4b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 9e456b9b950574d34317e9cdbc8ada5d432718f7e831ee7a4d2b5f2451360bd8 [INFO] running `Command { std: "docker" "start" "-a" "9e456b9b950574d34317e9cdbc8ada5d432718f7e831ee7a4d2b5f2451360bd8", 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] [stdout] [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] [stdout] running 0 tests [INFO] [stderr] warning: libswe-sys@0.2.7: 495 | double nutl, [INFO] [stdout] [INFO] [stderr] warning: libswe-sys@0.2.7: | ~~~~~~~^~~~ [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [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] [stdout] [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: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/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/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/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/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/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 '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: 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: 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.08s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/libswe_sys-d450caf0470a391c) [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" "9e456b9b950574d34317e9cdbc8ada5d432718f7e831ee7a4d2b5f2451360bd8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e456b9b950574d34317e9cdbc8ada5d432718f7e831ee7a4d2b5f2451360bd8", kill_on_drop: false }` [INFO] [stdout] 9e456b9b950574d34317e9cdbc8ada5d432718f7e831ee7a4d2b5f2451360bd8