[INFO] fetching crate xous-tts-backend 0.1.6... [INFO] testing xous-tts-backend-0.1.6 against master#caccb4d0368bd918ef6668af8e13834d07040417 for pr-146098-1 [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 caccb4d0368bd918ef6668af8e13834d07040417 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "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" "+caccb4d0368bd918ef6668af8e13834d07040417" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.104 [INFO] [stderr] Downloaded xous-api-names v0.9.67 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.104 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.104 [INFO] [stderr] Downloaded rkyv v0.8.12 [INFO] [stderr] Downloaded once_cell v1.21.3 [INFO] [stderr] Downloaded hashbrown v0.15.5 [INFO] [stderr] Downloaded num-derive v0.3.3 [INFO] [stderr] Downloaded munge v0.4.7 [INFO] [stderr] Downloaded rend v0.5.3 [INFO] [stderr] Downloaded wasm-bindgen v0.2.104 [INFO] [stderr] Downloaded ptr_meta_derive v0.3.1 [INFO] [stderr] Downloaded ptr_meta v0.3.1 [INFO] [stderr] Downloaded rkyv_derive v0.8.12 [INFO] [stderr] Downloaded rustversion v1.0.22 [INFO] [stderr] Downloaded quote v1.0.41 [INFO] [stderr] Downloaded syn v2.0.106 [INFO] [stderr] Downloaded bumpalo v3.19.0 [INFO] [stderr] Downloaded cfg-if v1.0.3 [INFO] [stderr] Downloaded indexmap v2.11.4 [INFO] [stderr] Downloaded munge_macro v0.4.7 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.104 [INFO] [stderr] Downloaded uuid v1.18.1 [INFO] [stderr] Downloaded js-sys v0.3.81 [INFO] [stderr] Downloaded proc-macro2 v1.0.101 [INFO] [stderr] Downloaded hashbrown v0.16.0 [INFO] [stderr] Downloaded rancor v0.1.1 [INFO] [stderr] Downloaded unicode-ident v1.0.19 [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" "+caccb4d0368bd918ef6668af8e13834d07040417" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8ef59432ff4e2b164befd0a6fe94b3b12ed37c382f64fe47b15799efd8ad4bf [INFO] running `Command { std: "docker" "start" "-a" "d8ef59432ff4e2b164befd0a6fe94b3b12ed37c382f64fe47b15799efd8ad4bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8ef59432ff4e2b164befd0a6fe94b3b12ed37c382f64fe47b15799efd8ad4bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8ef59432ff4e2b164befd0a6fe94b3b12ed37c382f64fe47b15799efd8ad4bf", kill_on_drop: false }` [INFO] [stdout] d8ef59432ff4e2b164befd0a6fe94b3b12ed37c382f64fe47b15799efd8ad4bf [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab2041692950159fe166b1711d0d54c3196f922e766f99df085c2e58f5cdcb3c [INFO] running `Command { std: "docker" "start" "-a" "ab2041692950159fe166b1711d0d54c3196f922e766f99df085c2e58f5cdcb3c", kill_on_drop: false }` [INFO] [stderr] Compiling rend v0.5.3 [INFO] [stderr] Compiling xous v0.9.66 [INFO] [stderr] Compiling num-traits v0.2.19 [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 num-derive v0.3.3 [INFO] [stderr] Compiling ptr_meta v0.3.1 [INFO] [stderr] Compiling rancor v0.1.1 [INFO] [stderr] Compiling munge v0.4.7 [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 13.58s [INFO] running `Command { std: "docker" "inspect" "ab2041692950159fe166b1711d0d54c3196f922e766f99df085c2e58f5cdcb3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab2041692950159fe166b1711d0d54c3196f922e766f99df085c2e58f5cdcb3c", kill_on_drop: false }` [INFO] [stdout] ab2041692950159fe166b1711d0d54c3196f922e766f99df085c2e58f5cdcb3c [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1765a9ffd77727bcd90a62861c8f50efcb042365dadbecf08560bc91918eeaef [INFO] running `Command { std: "docker" "start" "-a" "1765a9ffd77727bcd90a62861c8f50efcb042365dadbecf08560bc91918eeaef", 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] [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] 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 `test` profile [unoptimized + debuginfo] target(s) in 0.61s [INFO] running `Command { std: "docker" "inspect" "1765a9ffd77727bcd90a62861c8f50efcb042365dadbecf08560bc91918eeaef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1765a9ffd77727bcd90a62861c8f50efcb042365dadbecf08560bc91918eeaef", kill_on_drop: false }` [INFO] [stdout] 1765a9ffd77727bcd90a62861c8f50efcb042365dadbecf08560bc91918eeaef [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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+caccb4d0368bd918ef6668af8e13834d07040417" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1a611afe50a04fea14a5b8d10b446c9c0e48dba96d6695a8a2b8ddebc19ad69c [INFO] running `Command { std: "docker" "start" "-a" "1a611afe50a04fea14a5b8d10b446c9c0e48dba96d6695a8a2b8ddebc19ad69c", 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.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/xous_tts_backend-073afbd79eb6d07b) [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" "1a611afe50a04fea14a5b8d10b446c9c0e48dba96d6695a8a2b8ddebc19ad69c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1a611afe50a04fea14a5b8d10b446c9c0e48dba96d6695a8a2b8ddebc19ad69c", kill_on_drop: false }` [INFO] [stdout] 1a611afe50a04fea14a5b8d10b446c9c0e48dba96d6695a8a2b8ddebc19ad69c