[INFO] fetching crate xous-tts-backend 0.1.6... [INFO] testing xous-tts-backend-0.1.6 against 1.90.0 for beta-1.91-3 [INFO] extracting crate xous-tts-backend 0.1.6 into /workspace/builds/worker-2-tc1/source [INFO] started tweaking crates.io crate xous-tts-backend 0.1.6 [INFO] finished tweaking crates.io crate xous-tts-backend 0.1.6 [INFO] tweaked toml for crates.io crate xous-tts-backend 0.1.6 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate xous-tts-backend 0.1.6 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 42 packages to latest compatible versions [INFO] [stderr] Adding num-derive v0.3.3 (available: v0.4.2) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.104 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.104 [INFO] [stderr] Downloaded uuid v1.18.1 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.104 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Downloaded wasm-bindgen v0.2.104 [INFO] [stderr] Downloaded xous v0.9.66 [INFO] [stderr] Downloaded xous-api-log v0.1.65 [INFO] [stderr] Downloaded equivalent v1.0.2 [INFO] [stderr] Downloaded num-derive v0.3.3 [INFO] [stderr] Downloaded autocfg v1.5.0 [INFO] [stderr] Downloaded rkyv_derive v0.8.12 [INFO] [stderr] Downloaded num-derive v0.4.2 [INFO] [stderr] Downloaded ptr_meta v0.3.1 [INFO] [stderr] Downloaded bytes v1.10.1 [INFO] [stderr] Downloaded tinyvec v1.10.0 [INFO] [stderr] Downloaded hashbrown v0.16.0 [INFO] [stderr] Downloaded indexmap v2.11.4 [INFO] [stderr] Downloaded hashbrown v0.15.5 [INFO] [stderr] Downloaded bumpalo v3.19.0 [INFO] [stderr] Downloaded rkyv v0.8.12 [INFO] [stderr] Downloaded js-sys v0.3.81 [INFO] [stderr] Downloaded log v0.4.28 [INFO] [stderr] Downloaded num-traits v0.2.19 [INFO] [stderr] Downloaded bitflags v1.3.2 [INFO] [stderr] Downloaded munge_macro v0.4.7 [INFO] [stderr] Downloaded ptr_meta_derive v0.3.1 [INFO] [stderr] Downloaded rancor v0.1.1 [INFO] [stderr] Downloaded rend v0.5.3 [INFO] [stderr] Downloaded cfg-if v1.0.3 [INFO] [stderr] Downloaded once_cell v1.21.3 [INFO] [stderr] Downloaded rustversion v1.0.22 [INFO] [stderr] Downloaded xous-api-names v0.9.67 [INFO] [stderr] Downloaded munge v0.4.7 [INFO] [stderr] Downloaded tinyvec_macros v0.1.1 [INFO] [stderr] Downloaded xous-ipc v0.10.6 [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f206305e4618cc62d95fe471dcd18afc98e797a95074892a3ce75ae8252c4ef8 [INFO] running `Command { std: "docker" "start" "-a" "f206305e4618cc62d95fe471dcd18afc98e797a95074892a3ce75ae8252c4ef8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f206305e4618cc62d95fe471dcd18afc98e797a95074892a3ce75ae8252c4ef8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f206305e4618cc62d95fe471dcd18afc98e797a95074892a3ce75ae8252c4ef8", kill_on_drop: false }` [INFO] [stdout] f206305e4618cc62d95fe471dcd18afc98e797a95074892a3ce75ae8252c4ef8 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bda947a7f6f1382e60462a2401d2577a6d2fdaaef31d07cadfb1fd0d7e41936d [INFO] running `Command { std: "docker" "start" "-a" "bda947a7f6f1382e60462a2401d2577a6d2fdaaef31d07cadfb1fd0d7e41936d", kill_on_drop: false }` [INFO] [stderr] Compiling rend v0.5.3 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling xous v0.9.66 [INFO] [stderr] Compiling ptr_meta_derive v0.3.1 [INFO] [stderr] Compiling munge_macro v0.4.7 [INFO] [stderr] Compiling rkyv_derive v0.8.12 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling ptr_meta v0.3.1 [INFO] [stderr] Compiling munge v0.4.7 [INFO] [stderr] Compiling rancor v0.1.1 [INFO] [stderr] Compiling num-derive v0.3.3 [INFO] [stderr] Compiling rkyv v0.8.12 [INFO] [stderr] Compiling xous-ipc v0.10.6 [INFO] [stderr] Compiling xous-api-log v0.1.65 [INFO] [stderr] Compiling xous-api-names v0.9.67 [INFO] [stderr] Compiling xous-tts-backend v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/api.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(num_derive::FromPrimitive, num_derive::ToPrimitive, Debug)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TtsBeOpcode` [INFO] [stdout] 6 | pub enum TtsBeOpcode { [INFO] [stdout] | ----------- `TtsBeOpcode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `num_derive::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 `num_derive::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/api.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(num_derive::FromPrimitive, num_derive::ToPrimitive, Debug)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_TtsBeOpcode` [INFO] [stdout] 6 | pub enum TtsBeOpcode { [INFO] [stdout] | ----------- `TtsBeOpcode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `num_derive::ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `num_derive::ToPrimitive` 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 `num_derive::ToPrimitive` (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 4.72s [INFO] running `Command { std: "docker" "inspect" "bda947a7f6f1382e60462a2401d2577a6d2fdaaef31d07cadfb1fd0d7e41936d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bda947a7f6f1382e60462a2401d2577a6d2fdaaef31d07cadfb1fd0d7e41936d", kill_on_drop: false }` [INFO] [stdout] bda947a7f6f1382e60462a2401d2577a6d2fdaaef31d07cadfb1fd0d7e41936d [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 928e2438c6e3214b1186988d8cb3c128428036fc2df36dd2835f11089e590372 [INFO] running `Command { std: "docker" "start" "-a" "928e2438c6e3214b1186988d8cb3c128428036fc2df36dd2835f11089e590372", kill_on_drop: false }` [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/api.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(num_derive::FromPrimitive, num_derive::ToPrimitive, Debug)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TtsBeOpcode` [INFO] [stdout] 6 | pub enum TtsBeOpcode { [INFO] [stdout] | ----------- `TtsBeOpcode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `num_derive::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 `num_derive::FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling xous-tts-backend v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/api.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(num_derive::FromPrimitive, num_derive::ToPrimitive, Debug)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_TtsBeOpcode` [INFO] [stdout] 6 | pub enum TtsBeOpcode { [INFO] [stdout] | ----------- `TtsBeOpcode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `num_derive::ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `num_derive::ToPrimitive` 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 `num_derive::ToPrimitive` (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/api.rs:5:10 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(num_derive::FromPrimitive, num_derive::ToPrimitive, Debug)] [INFO] [stdout] | ^------------------------ [INFO] [stdout] | | [INFO] [stdout] | `FromPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TtsBeOpcode` [INFO] [stdout] 6 | pub enum TtsBeOpcode { [INFO] [stdout] | ----------- `TtsBeOpcode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `num_derive::FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `num_derive::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 `num_derive::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/api.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | #[derive(num_derive::FromPrimitive, num_derive::ToPrimitive, Debug)] [INFO] [stdout] | ^---------------------- [INFO] [stdout] | | [INFO] [stdout] | `ToPrimitive` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_TtsBeOpcode` [INFO] [stdout] 6 | pub enum TtsBeOpcode { [INFO] [stdout] | ----------- `TtsBeOpcode` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `num_derive::ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `num_derive::ToPrimitive` 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 `num_derive::ToPrimitive` (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.20s [INFO] running `Command { std: "docker" "inspect" "928e2438c6e3214b1186988d8cb3c128428036fc2df36dd2835f11089e590372", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "928e2438c6e3214b1186988d8cb3c128428036fc2df36dd2835f11089e590372", kill_on_drop: false }` [INFO] [stdout] 928e2438c6e3214b1186988d8cb3c128428036fc2df36dd2835f11089e590372 [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 19fae060cb527dcf63111cfe5cabd9878451c17205cf9a7ff4aafa53a835cc18 [INFO] running `Command { std: "docker" "start" "-a" "19fae060cb527dcf63111cfe5cabd9878451c17205cf9a7ff4aafa53a835cc18", kill_on_drop: false }` [INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stderr] --> src/api.rs:5:10 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(num_derive::FromPrimitive, num_derive::ToPrimitive, Debug)] [INFO] [stderr] | ^------------------------ [INFO] [stderr] | | [INFO] [stderr] | `FromPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_TtsBeOpcode` [INFO] [stderr] 6 | pub enum TtsBeOpcode { [INFO] [stderr] | ----------- `TtsBeOpcode` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `num_derive::FromPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `num_derive::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 `num_derive::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/api.rs:5:37 [INFO] [stderr] | [INFO] [stderr] 5 | #[derive(num_derive::FromPrimitive, num_derive::ToPrimitive, Debug)] [INFO] [stderr] | ^---------------------- [INFO] [stderr] | | [INFO] [stderr] | `ToPrimitive` is not local [INFO] [stderr] | move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_TtsBeOpcode` [INFO] [stderr] 6 | pub enum TtsBeOpcode { [INFO] [stderr] | ----------- `TtsBeOpcode` is not local [INFO] [stderr] | [INFO] [stderr] = note: the derive macro `num_derive::ToPrimitive` defines the non-local `impl`, and may need to be changed [INFO] [stderr] = note: the derive macro `num_derive::ToPrimitive` 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 `num_derive::ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `xous-tts-backend` (lib) generated 2 warnings [INFO] [stderr] warning: `xous-tts-backend` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xous_tts_backend-5ca4ef40371f3c61) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests xous_tts_backend [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" "19fae060cb527dcf63111cfe5cabd9878451c17205cf9a7ff4aafa53a835cc18", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19fae060cb527dcf63111cfe5cabd9878451c17205cf9a7ff4aafa53a835cc18", kill_on_drop: false }` [INFO] [stdout] 19fae060cb527dcf63111cfe5cabd9878451c17205cf9a7ff4aafa53a835cc18