[INFO] fetching crate audio-time 0.0.1-alpha.2... [INFO] checking audio-time-0.0.1-alpha.2 against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] extracting crate audio-time 0.0.1-alpha.2 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate audio-time 0.0.1-alpha.2 [INFO] finished tweaking crates.io crate audio-time 0.0.1-alpha.2 [INFO] tweaked toml for crates.io crate audio-time 0.0.1-alpha.2 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate audio-time 0.0.1-alpha.2 on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 11 packages to latest compatible versions [INFO] [stderr] Adding derive_more v0.99.20 (available: v2.0.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded audio-core v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b4460b805c313d585712652b3d0a35fee581707f3360d2a12d5856951b21da7 [INFO] running `Command { std: "docker" "start" "-a" "9b4460b805c313d585712652b3d0a35fee581707f3360d2a12d5856951b21da7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b4460b805c313d585712652b3d0a35fee581707f3360d2a12d5856951b21da7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b4460b805c313d585712652b3d0a35fee581707f3360d2a12d5856951b21da7", kill_on_drop: false }` [INFO] [stdout] 9b4460b805c313d585712652b3d0a35fee581707f3360d2a12d5856951b21da7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9ff3afdac133859db48244c35a89e57441edfc76857df41fc4c52e927d1be29 [INFO] running `Command { std: "docker" "start" "-a" "f9ff3afdac133859db48244c35a89e57441edfc76857df41fc4c52e927d1be29", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Checking audio-core v0.2.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling derive_more v0.99.20 [INFO] [stderr] Checking audio-time v0.0.1-alpha.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | core_intrinsics, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library [INFO] [stdout] --> src/lib.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | core_intrinsics, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: using it is strongly discouraged [INFO] [stdout] = note: `#[warn(internal_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_clone` [INFO] [stdout] --> src/sample_rate.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive_const(Clone)] [INFO] [stdout] | ^^^^^ trait is not stable as const yet [INFO] [stdout] | [INFO] [stdout] = note: see issue #142757 for more information [INFO] [stdout] = help: add `#![feature(const_clone)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable const library feature `const_clone` [INFO] [stdout] --> src/sample_rate.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive_const(Clone)] [INFO] [stdout] | ^^^^^ trait is not stable as const yet [INFO] [stdout] | [INFO] [stdout] = note: see issue #142757 for more information [INFO] [stdout] = help: add `#![feature(const_clone)]` to the crate attributes to enable [INFO] [stdout] = note: this compiler was built on 2025-06-28; consider upgrading it if it is out of date [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | const_mut_refs, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | const_mut_refs, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_option` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | const_option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_option_ext` has been stable since 1.84.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | const_option_ext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `const_result_drop` [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | const_result_drop, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `const_convert` [INFO] [stdout] --> src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | const_convert, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `const_num_from_num` [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | const_num_from_num, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_option` has been stable since 1.83.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | const_option, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `const_option_ext` has been stable since 1.84.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | const_option_ext, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `const_result_drop` [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | const_result_drop, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `const_convert` [INFO] [stdout] --> src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | const_convert, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0635]: unknown feature `const_num_from_num` [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | const_num_from_num, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `TryFrom` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/convert.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | impl const TryFrom> for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `TryFrom` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/convert.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | impl const TryFrom for Samples { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `TryFrom` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/convert.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | impl const TryFrom> for Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `TryFrom` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/convert.rs:78:31 [INFO] [stdout] | [INFO] [stdout] 78 | impl const TryFrom for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `TryFrom` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/convert.rs:87:31 [INFO] [stdout] | [INFO] [stdout] 87 | impl const TryFrom> for Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `TryFrom` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/convert.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | impl const TryFrom> for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `TryFrom` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/convert.rs:37:31 [INFO] [stdout] | [INFO] [stdout] 37 | impl const TryFrom for Samples { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `TryFrom` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/convert.rs:56:31 [INFO] [stdout] | [INFO] [stdout] 56 | impl const TryFrom> for Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `TryFrom` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/convert.rs:78:31 [INFO] [stdout] | [INFO] [stdout] 78 | impl const TryFrom for Bytes { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `TryFrom` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/convert.rs:87:31 [INFO] [stdout] | [INFO] [stdout] 87 | impl const TryFrom> for Duration { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/bytes.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Bytes(usize); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/bytes.rs:18:33 [INFO] [stdout] | [INFO] [stdout] 18 | pub struct Bytes(usize); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/bytes.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | impl Bytes { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/bytes.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | impl Bytes { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/bytes.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | impl fmt::Debug for Bytes { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/bytes.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | impl Bytes { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/bytes.rs:94:31 [INFO] [stdout] | [INFO] [stdout] 94 | impl const From> for usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/convert.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | impl const From> for Samples { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/sample_rate.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl const From for SampleRate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/sample_rate.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl const From for NonZeroU32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/samples.rs:85:31 [INFO] [stdout] | [INFO] [stdout] 85 | impl const From for Samples { [INFO] [stdout] | ^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/samples.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 92 | impl const From> for usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/bytes.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | impl const From> for usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/convert.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | impl const From> for Samples { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/convert.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | impl const TryFrom> for Bytes { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/bytes.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | impl fmt::Debug for Bytes { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/convert.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | impl const TryFrom for Samples { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/bytes.rs:49:17 [INFO] [stdout] | [INFO] [stdout] 49 | impl Bytes { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/bytes.rs:94:31 [INFO] [stdout] | [INFO] [stdout] 94 | impl const From> for usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/convert.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | impl const From> for Samples { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/sample_rate.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl const From for SampleRate { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/sample_rate.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | impl const From for NonZeroU32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/samples.rs:85:31 [INFO] [stdout] | [INFO] [stdout] 85 | impl const From for Samples { [INFO] [stdout] | ^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: const `impl` for trait `From` which is not marked with `#[const_trait]` [INFO] [stdout] --> src/samples.rs:92:31 [INFO] [stdout] | [INFO] [stdout] 92 | impl const From> for usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ this trait is not `const` [INFO] [stdout] | [INFO] [stdout] = note: marking a trait with `#[const_trait]` ensures all default method bodies are `const` [INFO] [stdout] = note: adding a non-const method body in the future would be a breaking change [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/bytes.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | impl const From> for usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/convert.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | impl const TryFrom> for Duration { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/convert.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | impl const TryFrom for Bytes { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/convert.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | impl const TryFrom> for Duration { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/convert.rs:12:17 [INFO] [stdout] | [INFO] [stdout] 12 | impl const From> for Samples { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/convert.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | impl const TryFrom> for Bytes { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/convert.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | impl const TryFrom for Samples { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/convert.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | impl const TryFrom> for Duration { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/convert.rs:78:17 [INFO] [stdout] | [INFO] [stdout] 78 | impl const TryFrom for Bytes { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/convert.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | impl const TryFrom> for Duration { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/samples.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Samples(usize); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/samples.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | impl Samples { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/samples.rs:17:35 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct Samples(usize); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/samples.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | impl fmt::Debug for Samples { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/samples.rs:19:21 [INFO] [stdout] | [INFO] [stdout] 19 | impl Samples { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/samples.rs:34:17 [INFO] [stdout] | [INFO] [stdout] 34 | impl fmt::Debug for Samples { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/samples.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | impl Samples { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/samples.rs:40:17 [INFO] [stdout] | [INFO] [stdout] 40 | impl Samples { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/samples.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | impl const From for Samples { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/samples.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | impl const From> for usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/samples.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | impl const Mul for Samples { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/samples.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | impl const From for Samples { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/samples.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | impl const Mul for Samples [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/samples.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | impl const Div for Samples { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/samples.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | impl const From> for usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/samples.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | impl const Div for Samples [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/samples.rs:99:17 [INFO] [stdout] | [INFO] [stdout] 99 | impl const Mul for Samples { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/samples.rs:109:17 [INFO] [stdout] | [INFO] [stdout] 109 | impl const Mul for Samples [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/samples.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | impl const Div for Samples { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0741]: `system::System` must implement `ConstParamTy` to be used as the type of a const generic parameter [INFO] [stdout] --> src/samples.rs:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | impl const Div for Samples [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: add `#[derive(ConstParamTy)]` to the struct [INFO] [stdout] --> src/system.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 - pub struct System { [INFO] [stdout] 9 + #[derive(ConstParamTy)] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/sample.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | _type: type_id::(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `u64`, found `u128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/sample.rs:42:20 [INFO] [stdout] | [INFO] [stdout] 42 | _type: type_id::(), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected `u64`, found `u128` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constant functions [INFO] [stdout] --> src/bytes.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | let rem = n % usize::from(SYS.sample_size().get()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as TryInto>::try_into` in constant functions [INFO] [stdout] --> src/bytes.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | match self.try_into() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `>>::try_into` in constant functions [INFO] [stdout] --> src/bytes.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | match dur.try_into() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Into>>::into` in constant functions [INFO] [stdout] --> src/bytes.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | self.into() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as TryInto>>::try_into` in constant functions [INFO] [stdout] --> src/bytes.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | match samples.try_into() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constant functions [INFO] [stdout] --> src/convert.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | Self::new(value.get() / usize::from(SYS.sample_size().get())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `>::into` in constant functions [INFO] [stdout] --> src/convert.rs:24:69 [INFO] [stdout] | [INFO] [stdout] 24 | let bytes = value.get().checked_mul(SYS.sample_size().get().into()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `>::into` in constant functions [INFO] [stdout] --> src/convert.rs:43:59 [INFO] [stdout] | [INFO] [stdout] 43 | let sample_rate = SYS.sample_rate.get().get().into(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Option` in constant functions [INFO] [stdout] --> src/convert.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | let samples = value.as_millis().checked_mul(sample_rate)? / 1_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Option` in constant functions [INFO] [stdout] --> src/convert.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | let samples = value.as_millis().checked_mul(sample_rate)? / 1_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `>::try_into` in constant functions [INFO] [stdout] --> src/convert.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | samples.try_into().ok()? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `Result::::ok` in constant functions [INFO] [stdout] --> src/convert.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | samples.try_into().ok()? [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Option` in constant functions [INFO] [stdout] --> src/convert.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | samples.try_into().ok()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `try` block cannot convert `Option` to the result in constant functions [INFO] [stdout] --> src/convert.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | samples.try_into().ok()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Option` in constant functions [INFO] [stdout] --> src/convert.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | samples.try_into().ok()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::try_from` in constant functions [INFO] [stdout] --> src/convert.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 62 | let sample_rate = usize::try_from(SYS.sample_rate.get().get()).ok()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `Result::::ok` in constant functions [INFO] [stdout] --> src/convert.rs:62:76 [INFO] [stdout] | [INFO] [stdout] 62 | let sample_rate = usize::try_from(SYS.sample_rate.get().get()).ok()?; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Option` in constant functions [INFO] [stdout] --> src/convert.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 62 | let sample_rate = usize::try_from(SYS.sample_rate.get().get()).ok()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Option` in constant functions [INFO] [stdout] --> src/convert.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 62 | let sample_rate = usize::try_from(SYS.sample_rate.get().get()).ok()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Option` in constant functions [INFO] [stdout] --> src/convert.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | let millis = value.get().checked_mul(1_000)? / sample_rate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Option` in constant functions [INFO] [stdout] --> src/convert.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | let millis = value.get().checked_mul(1_000)? / sample_rate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `>::try_into` in constant functions [INFO] [stdout] --> src/convert.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | millis.try_into().ok()? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `Result::::ok` in constant functions [INFO] [stdout] --> src/convert.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | millis.try_into().ok()? [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Option` in constant functions [INFO] [stdout] --> src/convert.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | millis.try_into().ok()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `try` block cannot convert `Option` to the result in constant functions [INFO] [stdout] --> src/convert.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | millis.try_into().ok()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Option` in constant functions [INFO] [stdout] --> src/convert.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | millis.try_into().ok()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as TryFrom>::try_from` in constant functions [INFO] [stdout] --> src/convert.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | Samples::::try_from(value)?.try_into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Result, OverflowError>` in constant functions [INFO] [stdout] --> src/convert.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | Samples::::try_from(value)?.try_into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as TryInto>>::try_into` in constant functions [INFO] [stdout] --> src/convert.rs:83:42 [INFO] [stdout] | [INFO] [stdout] 83 | Samples::::try_from(value)?.try_into() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Result, OverflowError>` in constant functions [INFO] [stdout] --> src/convert.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | Samples::::try_from(value)?.try_into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as From>>::from` in constant functions [INFO] [stdout] --> src/convert.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | Samples::::from(value).try_into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as TryInto>::try_into` in constant functions [INFO] [stdout] --> src/convert.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | Samples::::from(value).try_into() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as TryInto>::try_into` in constant functions [INFO] [stdout] --> src/samples.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | match self.try_into() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `>>::try_into` in constant functions [INFO] [stdout] --> src/samples.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | match dur.try_into() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as TryInto>>::try_into` in constant functions [INFO] [stdout] --> src/samples.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | match self.try_into() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Into>>::into` in constant functions [INFO] [stdout] --> src/samples.rs:81:15 [INFO] [stdout] | [INFO] [stdout] 81 | bytes.into() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0308, E0635, E0658, E0741. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `audio-time` (lib) due to 73 previous errors; 4 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constant functions [INFO] [stdout] --> src/bytes.rs:25:27 [INFO] [stdout] | [INFO] [stdout] 25 | let rem = n % usize::from(SYS.sample_size().get()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as TryInto>::try_into` in constant functions [INFO] [stdout] --> src/bytes.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | match self.try_into() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `>>::try_into` in constant functions [INFO] [stdout] --> src/bytes.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | match dur.try_into() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Into>>::into` in constant functions [INFO] [stdout] --> src/bytes.rs:78:14 [INFO] [stdout] | [INFO] [stdout] 78 | self.into() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as TryInto>>::try_into` in constant functions [INFO] [stdout] --> src/bytes.rs:85:23 [INFO] [stdout] | [INFO] [stdout] 85 | match samples.try_into() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::from` in constant functions [INFO] [stdout] --> src/convert.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | Self::new(value.get() / usize::from(SYS.sample_size().get())) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `>::into` in constant functions [INFO] [stdout] --> src/convert.rs:24:69 [INFO] [stdout] | [INFO] [stdout] 24 | let bytes = value.get().checked_mul(SYS.sample_size().get().into()); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `>::into` in constant functions [INFO] [stdout] --> src/convert.rs:43:59 [INFO] [stdout] | [INFO] [stdout] 43 | let sample_rate = SYS.sample_rate.get().get().into(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Option` in constant functions [INFO] [stdout] --> src/convert.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | let samples = value.as_millis().checked_mul(sample_rate)? / 1_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Option` in constant functions [INFO] [stdout] --> src/convert.rs:44:27 [INFO] [stdout] | [INFO] [stdout] 44 | let samples = value.as_millis().checked_mul(sample_rate)? / 1_000; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `>::try_into` in constant functions [INFO] [stdout] --> src/convert.rs:46:21 [INFO] [stdout] | [INFO] [stdout] 46 | samples.try_into().ok()? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `Result::::ok` in constant functions [INFO] [stdout] --> src/convert.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | samples.try_into().ok()? [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Option` in constant functions [INFO] [stdout] --> src/convert.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | samples.try_into().ok()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `try` block cannot convert `Option` to the result in constant functions [INFO] [stdout] --> src/convert.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | samples.try_into().ok()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Option` in constant functions [INFO] [stdout] --> src/convert.rs:46:13 [INFO] [stdout] | [INFO] [stdout] 46 | samples.try_into().ok()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function `>::try_from` in constant functions [INFO] [stdout] --> src/convert.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 62 | let sample_rate = usize::try_from(SYS.sample_rate.get().get()).ok()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `Result::::ok` in constant functions [INFO] [stdout] --> src/convert.rs:62:76 [INFO] [stdout] | [INFO] [stdout] 62 | let sample_rate = usize::try_from(SYS.sample_rate.get().get()).ok()?; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Option` in constant functions [INFO] [stdout] --> src/convert.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 62 | let sample_rate = usize::try_from(SYS.sample_rate.get().get()).ok()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Option` in constant functions [INFO] [stdout] --> src/convert.rs:62:31 [INFO] [stdout] | [INFO] [stdout] 62 | let sample_rate = usize::try_from(SYS.sample_rate.get().get()).ok()?; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Option` in constant functions [INFO] [stdout] --> src/convert.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | let millis = value.get().checked_mul(1_000)? / sample_rate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Option` in constant functions [INFO] [stdout] --> src/convert.rs:63:26 [INFO] [stdout] | [INFO] [stdout] 63 | let millis = value.get().checked_mul(1_000)? / sample_rate; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `>::try_into` in constant functions [INFO] [stdout] --> src/convert.rs:64:20 [INFO] [stdout] | [INFO] [stdout] 64 | millis.try_into().ok()? [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `Result::::ok` in constant functions [INFO] [stdout] --> src/convert.rs:64:31 [INFO] [stdout] | [INFO] [stdout] 64 | millis.try_into().ok()? [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Option` in constant functions [INFO] [stdout] --> src/convert.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | millis.try_into().ok()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `try` block cannot convert `Option` to the result in constant functions [INFO] [stdout] --> src/convert.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | millis.try_into().ok()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Option` in constant functions [INFO] [stdout] --> src/convert.rs:64:13 [INFO] [stdout] | [INFO] [stdout] 64 | millis.try_into().ok()? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as TryFrom>::try_from` in constant functions [INFO] [stdout] --> src/convert.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | Samples::::try_from(value)?.try_into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Result, OverflowError>` in constant functions [INFO] [stdout] --> src/convert.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | Samples::::try_from(value)?.try_into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as TryInto>>::try_into` in constant functions [INFO] [stdout] --> src/convert.rs:83:42 [INFO] [stdout] | [INFO] [stdout] 83 | Samples::::try_from(value)?.try_into() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: `?` is not allowed on `Result, OverflowError>` in constant functions [INFO] [stdout] --> src/convert.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | Samples::::try_from(value)?.try_into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const associated function ` as From>>::from` in constant functions [INFO] [stdout] --> src/convert.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | Samples::::from(value).try_into() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as TryInto>::try_into` in constant functions [INFO] [stdout] --> src/convert.rs:92:37 [INFO] [stdout] | [INFO] [stdout] 92 | Samples::::from(value).try_into() [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as TryInto>::try_into` in constant functions [INFO] [stdout] --> src/samples.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | match self.try_into() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method `>>::try_into` in constant functions [INFO] [stdout] --> src/samples.rs:57:19 [INFO] [stdout] | [INFO] [stdout] 57 | match dur.try_into() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as TryInto>>::try_into` in constant functions [INFO] [stdout] --> src/samples.rs:69:20 [INFO] [stdout] | [INFO] [stdout] 69 | match self.try_into() { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0015]: cannot call non-const method ` as Into>>::into` in constant functions [INFO] [stdout] --> src/samples.rs:81:15 [INFO] [stdout] | [INFO] [stdout] 81 | bytes.into() [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: calls in constant functions are limited to constant functions, tuple structs and tuple variants [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0015, E0308, E0635, E0658, E0741. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0015`. [INFO] [stdout] [INFO] [stderr] error: could not compile `audio-time` (lib test) due to 73 previous errors; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f9ff3afdac133859db48244c35a89e57441edfc76857df41fc4c52e927d1be29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9ff3afdac133859db48244c35a89e57441edfc76857df41fc4c52e927d1be29", kill_on_drop: false }` [INFO] [stdout] f9ff3afdac133859db48244c35a89e57441edfc76857df41fc4c52e927d1be29