[INFO] fetching crate libswe-sys 0.2.7... [INFO] checking libswe-sys-0.2.7 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [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 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum v0.17.1 [INFO] [stderr] Downloaded serde_derive v1.0.133 [INFO] [stderr] Downloaded serde v1.0.133 [INFO] [stderr] Downloaded strum_macros v0.17.1 [INFO] [stderr] Downloaded serde_json v1.0.74 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b9b2b877d0619df421bc8b903f0b9727c937dc7b3da2ee741ec0964962455cc [INFO] running `Command { std: "docker" "start" "-a" "0b9b2b877d0619df421bc8b903f0b9727c937dc7b3da2ee741ec0964962455cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b9b2b877d0619df421bc8b903f0b9727c937dc7b3da2ee741ec0964962455cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b9b2b877d0619df421bc8b903f0b9727c937dc7b3da2ee741ec0964962455cc", kill_on_drop: false }` [INFO] [stdout] 0b9b2b877d0619df421bc8b903f0b9727c937dc7b3da2ee741ec0964962455cc [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e02fcc568a881e732e3353bdcd4f8bb57930a5566093114a11390b3f320a7c4a [INFO] running `Command { std: "docker" "start" "-a" "e02fcc568a881e732e3353bdcd4f8bb57930a5566093114a11390b3f320a7c4a", 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 proc-macro2 v0.4.30 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking strum v0.17.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling libswe-sys v0.2.7 (/opt/rustwide/workdir) [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking libmath v0.2.1 [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/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/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 '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: 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] [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 15.90s [INFO] running `Command { std: "docker" "inspect" "e02fcc568a881e732e3353bdcd4f8bb57930a5566093114a11390b3f320a7c4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e02fcc568a881e732e3353bdcd4f8bb57930a5566093114a11390b3f320a7c4a", kill_on_drop: false }` [INFO] [stdout] e02fcc568a881e732e3353bdcd4f8bb57930a5566093114a11390b3f320a7c4a