[INFO] fetching crate libswe-sys 0.2.7... [INFO] checking libswe-sys-0.2.7 against master#38352b01ae4af9300be03b805d6db68c45e51068 for pr-129864 [INFO] extracting crate libswe-sys 0.2.7 into /workspace/builds/worker-2-tc1/source [INFO] validating manifest of crates.io crate libswe-sys 0.2.7 on toolchain 38352b01ae4af9300be03b805d6db68c45e51068 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-2-tc1/source/Cargo.toml [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" "+38352b01ae4af9300be03b805d6db68c45e51068" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libmath v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e40af8377b9cd518ddfaaa6aa645e7944029d5e1f66b3630b581c56b93d3490 [INFO] running `Command { std: "docker" "start" "-a" "3e40af8377b9cd518ddfaaa6aa645e7944029d5e1f66b3630b581c56b93d3490", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e40af8377b9cd518ddfaaa6aa645e7944029d5e1f66b3630b581c56b93d3490", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e40af8377b9cd518ddfaaa6aa645e7944029d5e1f66b3630b581c56b93d3490", kill_on_drop: false }` [INFO] [stdout] 3e40af8377b9cd518ddfaaa6aa645e7944029d5e1f66b3630b581c56b93d3490 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+38352b01ae4af9300be03b805d6db68c45e51068" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bafdbe0a5b905c3ac7002657da08660ac37f624282908d675c07591ae61847cc [INFO] running `Command { std: "docker" "start" "-a" "bafdbe0a5b905c3ac7002657da08660ac37f624282908d675c07591ae61847cc", 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 unicode-xid v0.1.0 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking itoa v1.0.1 [INFO] [stderr] Checking strum v0.17.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Compiling jobserver v0.1.24 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking libmath v0.2.1 [INFO] [stderr] Compiling libswe-sys v0.2.7 (/opt/rustwide/workdir) [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c:130:29: warning: missing initializer for field 'do_interpolate_nut' of 'struct swe_data' [-Wmissing-field-initializers] [INFO] [stderr] warning: libswe-sys@0.2.7: 130 | }; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^ [INFO] [stderr] warning: libswe-sys@0.2.7: In file included from /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c:72: [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.h:648:11: note: 'do_interpolate_nut' declared here [INFO] [stderr] warning: libswe-sys@0.2.7: 648 | AS_BOOL do_interpolate_nut; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swehel.c: In function 'calc_rise_and_set': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swehel.c:478:1: warning: this 'else' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 478 | else [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swehel.c:484:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' [INFO] [stderr] warning: libswe-sys@0.2.7: 484 | iflag = epheflag|SEFLG_SPEED|SEFLG_EQUATORIAL; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c: In function 'jplplan': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c:1999:48: warning: parameter 'iflag' set but not used [-Wunused-but-set-parameter] [INFO] [stderr] warning: libswe-sys@0.2.7: 1999 | static int jplplan(double tjd, int ipli, int32 iflag, AS_BOOL do_save, [INFO] [stderr] warning: libswe-sys@0.2.7: | ~~~~~~^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/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/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 'swi_strnlen': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:3598:17: warning: operand of '?:' changes signedness from 'long int' to 'size_t' {aka 'long unsigned int'} due to unsignedness of other operand [-Wsign-compare] [INFO] [stderr] warning: libswe-sys@0.2.7: 3598 | return stop ? stop - str : n; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~~~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c: In function 'swe_get_astro_models': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4271:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4271 | if (imod == SEMOD_PREC_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4271:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4271 | if (imod == SEMOD_PREC_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4273:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4273 | if (imod == SEMOD_PREC_DEFAULT_SHORT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4273:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4273 | if (imod == SEMOD_PREC_DEFAULT_SHORT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4275:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4275 | if (imod == SEMOD_NUT_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4275:50: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4275 | if (imod == SEMOD_NUT_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4277:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4277 | if (imod == SEMOD_SIDT_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4277:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4277 | if (imod == SEMOD_SIDT_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4279:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4279 | if (imod == SEMOD_BIAS_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4279:51: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4279 | if (imod == SEMOD_BIAS_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4281:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4281 | if (imod == SEMOD_JPLHOR_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4281:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4281 | if (imod == SEMOD_JPLHOR_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4283:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4283 | if (imod == SEMOD_JPLHORA_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4283:54: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4283 | if (imod == SEMOD_JPLHORA_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4285:9: warning: this 'if' clause does not guard... [-Wmisleading-indentation] [INFO] [stderr] warning: libswe-sys@0.2.7: 4285 | if (imod == SEMOD_DELTAT_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/swephlib.c:4285:53: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' [INFO] [stderr] warning: libswe-sys@0.2.7: 4285 | if (imod == SEMOD_DELTAT_DEFAULT) imod = 0; break; [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c: In function 'plaus_iflag': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c:5896:57: warning: unused parameter 'tjd' [-Wunused-parameter] [INFO] [stderr] warning: libswe-sys@0.2.7: 5896 | static int32 plaus_iflag(int32 iflag, int32 ipl, double tjd, char *serr) [INFO] [stderr] warning: libswe-sys@0.2.7: | ~~~~~~~^~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c: In function 'search_star_in_list': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c:6534:20: warning: comparison of integer expressions of different signedness: 'long int' and 'size_t' {aka 'long unsigned int'} [-Wsign-compare] [INFO] [stderr] warning: libswe-sys@0.2.7: 6534 | if (sp - sstar != strlen(sstar) - 1) { [INFO] [stderr] warning: libswe-sys@0.2.7: | ^~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c: In function 'swi_fixstar_load_record': [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c:7303:71: warning: unused parameter 'sname' [-Wunused-parameter] [INFO] [stderr] warning: libswe-sys@0.2.7: 7303 | static int32 swi_fixstar_load_record(char *star, char *srecord, char *sname, char *sbayer, double *dparams, char *serr) [INFO] [stderr] warning: libswe-sys@0.2.7: | ~~~~~~^~~~~ [INFO] [stderr] warning: libswe-sys@0.2.7: /opt/rustwide/workdir/src/swisseph/2.08/src/sweph.c:7303:84: warning: unused parameter 'sbayer' [-Wunused-parameter] [INFO] [stderr] warning: libswe-sys@0.2.7: 7303 | static int32 swi_fixstar_load_record(char *star, char *srecord, char *sname, char *sbayer, double *dparams, char *serr) [INFO] [stderr] warning: libswe-sys@0.2.7: | ~~~~~~^~~~~~ [INFO] [stderr] Compiling strum_macros v0.17.1 [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/raw.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | /// Interface https://www.astro.com/ftp/swisseph/doc/swephprg.htm#_Toc19111156 [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | #[link(name = "swe")] [INFO] [stdout] 4 | / extern "C" { [INFO] [stdout] 5 | | [INFO] [stdout] 6 | | /* [INFO] [stdout] 7 | | * 2. The Ephemeris file related functions [INFO] [stdout] ... | [INFO] [stdout] 201 | | ) -> c_double; [INFO] [stdout] 202 | | } [INFO] [stdout] | |_- rustdoc does not generate documentation for extern blocks [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: 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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 3 warnings emitted [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: this lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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 lint may become deny-by-default in the edition 2024 and higher, see the tracking issue [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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.28s [INFO] running `Command { std: "docker" "inspect" "bafdbe0a5b905c3ac7002657da08660ac37f624282908d675c07591ae61847cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bafdbe0a5b905c3ac7002657da08660ac37f624282908d675c07591ae61847cc", kill_on_drop: false }` [INFO] [stdout] bafdbe0a5b905c3ac7002657da08660ac37f624282908d675c07591ae61847cc